Lines Matching refs:result

828 	if (cookie->result == NULL) {
829 cookie->result = (ns_ldap_result_t *)
831 if (cookie->result == NULL) {
836 cookie->result->entry = curEntry;
842 cookie->result->entries_count++;
1037 if (cookie->result)
1038 (void) __ns_ldap_freeResult(&cookie->result);
2193 * If something was to remain in libldap queue as a result of some error then
2244 * foreach (result entry) {
2245 * process result [via callback if appropriate]
2246 * save result for caller if accepted.
2342 (void) __ns_ldap_freeResult(&cookie->result);
2815 for (nextEntry = cookie->result->entry;
2833 (void) __ns_ldap_freeResult(&cookie->result);
2834 cookie->result = NULL;
3060 ns_ldap_result_t **rResult, /* return result entries */
3253 *rResult = cookie->result;
3257 cookie->result = NULL;
3283 ns_ldap_result_t **rResult, /* return result entries */
3317 ns_ldap_result_t **rResult, /* return result entries */
3364 ns_ldap_result_t **rResult, /* return result entries */
3519 *c->caller_result = c->result;
3522 (c->result == NULL && c->err_from_result == 0)
3524 c->result = NULL;
3565 * or the result states.
3672 if (cookie->result == NULL)
3675 value = __ns_ldap_getAttr(cookie->result->entry,
3682 if (cookie->result != NULL)
3683 (void) __ns_ldap_freeResult(&cookie->result);
3725 ns_ldap_result_t **result,
3740 *result = NULL;
3879 *result = cookie->result;
3880 cookie->result = NULL;
3928 ns_ldap_result_t **result,
3941 attribute, auth, flags, vcookie, result, errorp, userdata,
3949 __ns_ldap_nextEntry(void *vcookie, ns_ldap_result_t **result,
3957 cookie->result = NULL;
3958 *result = NULL;
3972 *result = cookie->result;
3973 cookie->result = NULL;
4003 cookie->result = NULL;
4028 __ns_ldap_freeResult(ns_ldap_result_t **result)
4034 ns_ldap_result_t *res = *result;
4054 *result = NULL;
4138 ns_ldap_result_t *result = NULL;
4202 &result, errorp, NULL,
4209 if (result) {
4210 (void) __ns_ldap_freeResult(&result);
4211 result = NULL;
4215 if (result->entries_count > 1) {
4216 (void) __ns_ldap_freeResult(&result);
4217 result = NULL;
4226 value = __ns_ldap_getAttr(result->entry, "dn");
4228 (void) __ns_ldap_freeResult(&result);
4229 result = NULL;
4242 ns_ldap_result_t *result = NULL;
4279 NULL, cred, NS_LDAP_NOT_CVT_DN, &result,
4287 if (result) {
4288 (void) __ns_ldap_freeResult(&result);
4289 result = NULL;
4294 if (result->entries_count > 1) {
4295 (void) __ns_ldap_freeResult(&result);
4296 result = NULL;
4305 value = __ns_ldap_getAttr(result->entry, "dn");
4307 (void) __ns_ldap_freeResult(&result);
4308 result = NULL;
5763 if (cookie->result == NULL)