Lines Matching refs:ncomp
45 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp,
85 int ncomp, in ldap_ufn_search_ctx() argument
122 for ( ncomp--; ncomp != -1; ncomp-- ) { in ldap_ufn_search_ctx()
123 if ( *ufncomp[ncomp] == '"' ) { in ldap_ufn_search_ctx()
126 if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL ) in ldap_ufn_search_ctx()
128 strcpy( ufncomp[ncomp], ufncomp[ncomp] + 1 ); in ldap_ufn_search_ctx()
130 if ( ncomp == 0 ) in ldap_ufn_search_ctx()
205 ufncomp[ncomp] ); fi != NULL; in ldap_ufn_search_ctx()
259 int ncomp, pcomp, i, err = 0; in ldap_ufn_search_ct() local
274 for ( ncomp = 0; ufncomp[ncomp] != NULL; ncomp++ ) in ldap_ufn_search_ct()
278 if ( ncomp > 2 || ld->ld_ufnprefix == NULL ) { in ldap_ufn_search_ct()
279 err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, NULL, attrs, in ldap_ufn_search_ct()
323 err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, pbuf, attrs, in ldap_ufn_search_ct()