Lines Matching refs:count

146     for (size_t c = 0; c < res->count; c++) {
175 res.count = msgs_count;
274 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
386 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
496 if (ts_res->count == 0) {
519 for (size_t i = 0; i < ts_res->count; i++) {
665 for (c = 0; c < res->count; c++) {
726 for (i = 0; i < res->count; i++) {
774 if (orig_obj->count == 1) {
930 if (orig_obj->count == 1) {
1170 for (c = 0; c < res->count; c++) {
1232 if (res->count == 0) {
1238 } else if (res->count != 1) {
1241 "sysdb_getpwnam returned count: [%d]\n", res->count);
1248 /* note we count on the fact that the default search callback
1339 res->count = 0;
1350 for (i = 0; i < res->count; i++) {
1397 if (res->count == 0) {
1403 } else if (res->count != 1) {
1406 "sysdb_getpwnam returned count: [%d]\n", res->count);
1413 /* note we count on the fact that the default search callback
1466 for (c = 1; c < res->count; c++) {
1590 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
1777 if(!res || res->count == 0) {
1786 for (i=0; i < res->count; i++) {
1804 for (i=0; i < res->count; i++) {
2115 if (res->count == 0) {
2125 if (ret == EOK && res->count == 1) {
2143 } else if (res->count == 1) {
2147 "sysdb_getpwnam returned count: [%d]\n", res->count);
2205 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
2236 size_t i, ii, count, total;
2239 if (ts_res == NULL || ts_res->count == 0) {
2243 total = sysdb_res->count + ts_res->count;
2252 count = sysdb_res->count;
2253 for (i = 0; i < ts_res->count; i++) {
2254 for (ii = 0; ii < sysdb_res->count; ii++) {
2261 if (ii < sysdb_res->count) {
2268 sysdb_res->msgs[count] = talloc_steal(sysdb_res, ts_res->msgs[i]);
2269 count++;
2272 if (count < total) {
2275 count);
2280 sysdb_res->count = count;