Lines Matching +refs:val +refs:count
151 const struct ldb_val *val;
186 for (i = 0; i < res->count; i++) {
216 val = ldb_dn_get_component_val(res->msgs[i]->dn, 2);
217 domain = talloc_strndup(tmp_ctx, (const char *)val->data, val->length);
312 if (res->count > 1) {
317 if (res->count == 1) {
469 for (i = 0; i < res->count; i++) {
1079 for (i = 0; i < res->count; i++) {
1199 const struct ldb_val *val;
1231 DEBUG(SSSDBG_TRACE_LIBS, "Found %d autofs entries\n", res->count);
1233 for (i = 0; i < res->count; i++) {
1250 val = ldb_dn_get_rdn_val(memberof_dn);
1251 if (!val) {
1257 (const char *) val->data,
1262 key, value, val->data);
1379 for (i = 0; i < dom_res->count; i++) {
1406 for (j = 0; j < res->count; j++) {
1498 for (i = 0; i < res->count; i++) {
1659 const struct ldb_val *val;
1661 val = ldb_dn_get_component_val(dn, domain_index);
1662 if (val == NULL) {
1665 return talloc_strdup(mem_ctx, (const char *) val->data);
1693 typedef bool (*should_qualify_val_fn)(const char *val);
1710 struct ldb_val val;
1744 val.data = (uint8_t *) fqval;
1745 val.length = strlen(fqval);
1747 if (ldb_msg_find_val(mod_el, &val) != NULL) {
1782 const struct ldb_val *val = NULL;
1803 val = ldb_dn_get_rdn_val(old_dn_val);
1804 if (val == NULL) {
1821 ret = sss_parse_name(tmp_ctx, names, (const char *) val->data,
1825 "Cannot parse raw RDN %s\n", (const char *) val->data);
2063 if (objects == NULL || objects->count == 0) {
2068 for (size_t c = 0; c < objects->count; c++) {
2349 if (objects == NULL || objects->count == 0) {
2369 DEBUG(SSSDBG_TRACE_ALL, "Found [%d] objects.\n", objects->count);
2370 for (c = 0; c < objects->count; c++) {