Lines Matching refs:vals
457 char **vals = NULL;
463 vals = ldap_get_values(lmap->ldap_ld, entry, "objectClass");
464 if (vals == NULL)
467 for (i = 0; vals[i] != NULL; i++)
478 if ((p - q) == strlen(vals[i]) &&
479 sm_strncasecmp(vals[i], q, p - q) == 0)
481 ldap_value_free(vals);
491 ldap_value_free(vals);
681 char **vals = NULL;
803 vals = ldap_get_values(lmap->ldap_ld,
806 if (vals == NULL)
844 ldap_value_free(vals);
878 if (vals[0] == NULL)
880 ldap_value_free(vals);
885 vsize = strlen(vals[0]) + 1;
895 vals[0]);
897 sm_strlcpy(*result, vals[0],
899 ldap_value_free(vals);
956 for (i = 0; vals[i] != NULL; i++)
964 vals[i],
975 vsize += strlen(vals[i]) + 1;
1015 for (i = 0; vals[i] != NULL; i++)
1029 p += sm_strlcpy(p, vals[i],
1042 ldap_value_free(vals);