Searched refs:ber_memalloc (Results 1 - 25 of 25) sorted by relevance

/netbsd-current/external/bsd/openldap/dist/servers/slapd/pwmods/
H A Dargon2.c93 salt.bv_val = ber_memalloc( salt.bv_len );
104 p = hash->bv_val = ber_memalloc( scheme->bv_len + encoded_length );
131 p = hash->bv_val = ber_memalloc( scheme->bv_len + crypto_pwhash_STRBYTES );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dslapd-sha2.c202 cred_b64.bv_val = ber_memalloc(cred_b64.bv_len + 1);
246 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
290 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
334 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
378 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
422 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
466 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dpasswd.c162 ptr = ber_memalloc( sizeof( struct pw_slist ));
324 pw->bv_val = ber_memalloc( len + 1 );
379 pw.bv_val = ber_memalloc( pw.bv_len + 1 );
408 string.bv_val = ber_memalloc( string.bv_len + 1 );
426 b64->bv_val = ber_memalloc( b64->bv_len + 1 );
472 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
517 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
559 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
604 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
H A Dpassfile.c70 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 );
H A Dsasl.c81 defaults = ber_memalloc( sizeof( lutilSASLdefaults ) );
H A Dutils.c506 d = ber_memalloc( sizeof(DIR) );
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Dldif.c54 #define ber_memalloc malloc macro
364 must_b64_encode = ber_memalloc( sizeof( must_b64_encode_s ) * ( i + 2 ) );
685 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED_WRAP( nlen, vlen, wrap ) + 1 );
735 lfp = ber_memalloc( sizeof( LDIFFP ));
757 lfp = ber_memalloc( sizeof( LDIFFP ));
879 LDIFFP *lnew = ber_memalloc( sizeof( LDIFFP ));
H A Dtavl.c34 #define ber_memalloc malloc macro
74 if (( r = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) {
99 if (( q = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) {
H A Davl.c47 #define ber_memalloc malloc macro
84 if (( r = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
109 if (( q = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
604 avl_list = (void* *) ber_memalloc(AVL_GRABSIZE * sizeof(void*));
H A Dcyrus.c108 ber_memalloc,
H A Dldifutil.c684 newctrl = (LDAPControl *)ber_memalloc(sizeof(LDAPControl));
/netbsd-current/external/bsd/openldap/dist/libraries/liblber/
H A Dlber-int.h89 * ber_memctx Context passed to ber_memalloc() & co.
200 #define LBER_MALLOC(s) ber_memalloc((s))
H A Dmemory.c222 fprintf(stderr, "0x%08lx 0x%08lx -a- %ld ber_memalloc %ld\n",
247 ber_memalloc( ber_len_t s ) function
/netbsd-current/external/bsd/openldap/dist/libraries/librewrite/
H A Drewrite-int.h45 #define malloc(x) ber_memalloc(x)
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c139 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1);
/netbsd-current/external/bsd/openldap/dist/tests/progs/
H A Dslapd-addel.c200 if (( bvp = (struct berval *)ber_memalloc( sizeof( struct berval )))
202 tester_perror( "ber_memalloc", NULL );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/ppm/
H A Dppm.c373 *target = (char *) ber_memalloc(curlen);
450 char *szErrStr = (char *) ber_memalloc(MEM_INIT_SZ);
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/
H A Dslapd-totp.c478 key.mv_val = ber_memalloc(key.mv_len+1);
635 hash->bv_val = ber_memalloc(hash->bv_len + 1);
688 hash->bv_val = ber_memalloc(hash->bv_len + 1);
/netbsd-current/external/bsd/openldap/dist/clients/tools/
H A Dcommon.c748 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2085 ptr = ber_memalloc( bv.bv_len + 1 + plen );
2201 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2408 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2459 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2492 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2689 b64.bv_val = ber_memalloc( b64.bv_len + 1 );
H A Dldapsearch.c2137 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2164 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2199 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2235 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
H A Dldapmodify.c296 if (( rejbuf = (char *)ber_memalloc( len+1 )) == NULL ) {
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dmr.c449 mru = (MatchingRuleUse *)ber_memalloc( sizeof( MatchingRuleUse ) );
H A Dslap.h97 #define SLAP_MALLOC(s) ber_memalloc((s))
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Dhdb-ldap.c183 (*modlist)[cMods] = (LDAPMod *)ber_memalloc(sizeof(LDAPMod));
228 bv = ber_memalloc(2 * sizeof(*bv));
234 bv[i] = ber_memalloc(sizeof(**bv));;
267 bv = ber_memalloc(2 * sizeof(*bv));
/netbsd-current/external/bsd/openldap/dist/include/
H A Dlber.h601 ber_memalloc LDAP_P((

Completed in 383 milliseconds