Lines Matching refs:results

447 	ad_subnet_t	*results;  in find_subnets()  local
494 if ((results = calloc(n + 1, sizeof (ad_subnet_t))) == NULL) { in find_subnets()
515 (void) snprintf(results[i].subnet, sizeof (ad_subnet_t), in find_subnets()
522 return (results); in find_subnets()
610 char **results; in subnets_to_DNs() local
616 results = calloc(i + 1, sizeof (char *)); in subnets_to_DNs()
617 if (results == NULL) in subnets_to_DNs()
621 (void) asprintf(&results[i], "CN=%s,CN=Subnets,CN=Sites,%s", in subnets_to_DNs()
623 if (results[i] == NULL) { in subnets_to_DNs()
625 free(results[j]); in subnets_to_DNs()
626 free(results); in subnets_to_DNs()
631 return (results); in subnets_to_DNs()
910 LDAPMessage *results = NULL; in ldap_lookup_entry_attr() local
926 "(objectclass=*)", attrs, 0, &results); in ldap_lookup_entry_attr()
928 for (entry = ldap_first_entry(*ld, results); in ldap_lookup_entry_attr()
936 (void) ldap_msgfree(results); in ldap_lookup_entry_attr()
942 if (results != NULL) { in ldap_lookup_entry_attr()
943 (void) ldap_msgfree(results); in ldap_lookup_entry_attr()
944 results = NULL; in ldap_lookup_entry_attr()
967 LDAPMessage *results = NULL; in ldap_lookup_trusted_domains() local
997 rc = ldap_search_s(*ld, base_dn, scope, filter, attrs, 0, &results); in ldap_lookup_trusted_domains()
1001 for (entry = ldap_first_entry(*ld, results); in ldap_lookup_trusted_domains()
1020 (void) ldap_msgfree(results); in ldap_lookup_trusted_domains()
1043 if (results != NULL) in ldap_lookup_trusted_domains()
1044 (void) ldap_msgfree(results); in ldap_lookup_trusted_domains()