Searched refs:nrdns (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/
H A Dtls2.c1000 int i, navas, nrdns, rc = LDAP_SUCCESS; local
1015 nrdns = 0;
1029 nrdns++;
1040 dnsize = sizeof(LDAPRDN) * (nrdns+1);
1041 dnsize += sizeof(LDAPAVA *) * (navas+nrdns);
1051 newDN[nrdns] = NULL;
1052 newRDN = (LDAPRDN)(newDN + nrdns+1);
1053 newAVA = (LDAPAVA *)(newRDN + navas + nrdns);
1060 for ( i = nrdns - 1; i >= 0; i-- ) {
H A Dgetdn.c696 int nrdns = 0; local
824 tmpDN[nrdns++] = newRDN;
830 if ( nrdns == num_slots ) {
857 newDN = (LDAPDN)LDAP_MALLOCX( sizeof(LDAPRDN *) * (nrdns+1), ctx );
866 for ( i=0; i<nrdns; i++ )
867 newDN[i] = tmpDN[nrdns-1-i];
869 for ( i=0; i<nrdns; i++ )
872 newDN[nrdns] = NULL;
884 for ( nrdns-- ;nrdns >
[all...]

Completed in 102 milliseconds