Home
last modified time | relevance | path

Searched refs:ber_memalloc (Results 1 – 23 of 23) sorted by relevance

/netbsd/src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
Dslapd-sha2.c202 cred_b64.bv_val = ber_memalloc(cred_b64.bv_len + 1); in chk_sha_debug()
246 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha256()
290 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha256()
334 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha384()
378 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha384()
422 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha512()
466 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha512()
/netbsd/src/external/bsd/openldap/dist/libraries/liblutil/
Dpasswd.c162 ptr = ber_memalloc( sizeof( struct pw_slist )); in lutil_passwd_add()
324 pw->bv_val = ber_memalloc( len + 1 ); in lutil_passwd_generate()
379 pw.bv_val = ber_memalloc( pw.bv_len + 1 ); in pw_string()
408 string.bv_val = ber_memalloc( string.bv_len + 1 ); in lutil_passwd_string64()
426 b64->bv_val = ber_memalloc( b64->bv_len + 1 ); in lutil_passwd_string64()
472 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha1()
517 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha1()
559 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_smd5()
604 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_md5()
Dpassfile.c70 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 ); in lutil_get_filed_password()
Dsasl.c81 defaults = ber_memalloc( sizeof( lutilSASLdefaults ) ); in lutil_sasl_defaults()
Dutils.c506 d = ber_memalloc( sizeof(DIR) ); in opendir()
/netbsd/src/external/bsd/openldap/dist/libraries/libldap/
Dldif.c54 #define ber_memalloc malloc macro
364 must_b64_encode = ber_memalloc( sizeof( must_b64_encode_s ) * ( i + 2 ) ); in ldif_must_b64_encode_register()
685 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED_WRAP( nlen, vlen, wrap ) + 1 ); in ldif_put_wrap()
735 lfp = ber_memalloc( sizeof( LDIFFP )); in ldif_open()
757 lfp = ber_memalloc( sizeof( LDIFFP )); in ldif_open_mem()
879 … LDIFFP *lnew = ber_memalloc( sizeof( LDIFFP )); in ldif_read_record()
Davl.c47 #define ber_memalloc malloc macro
84 if (( r = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) { in ldap_avl_insert()
109 if (( q = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) { in ldap_avl_insert()
604 avl_list = (void* *) ber_memalloc(AVL_GRABSIZE * sizeof(void*)); in avl_buildlist()
Dtavl.c34 #define ber_memalloc malloc macro
74 if (( r = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) { in ldap_tavl_insert()
99 if (( q = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) { in ldap_tavl_insert()
Dldifutil.c684 newctrl = (LDAPControl *)ber_memalloc(sizeof(LDAPControl)); in parse_ldif_control()
Dcyrus.c108 ber_memalloc, in ldap_int_sasl_init()
/netbsd/src/external/bsd/openldap/lib/liblber/
Dlber.expsym66 ber_memalloc
/netbsd/src/external/bsd/openldap/dist/libraries/liblber/
Dlber-int.h200 #define LBER_MALLOC(s) ber_memalloc((s))
Dmemory.c247 ber_memalloc( ber_len_t s ) in ber_memalloc() function
/netbsd/src/external/bsd/openldap/dist/clients/tools/
Dcommon.c748 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in tool_args()
2085 ptr = ber_memalloc( bv.bv_len + 1 + plen ); in print_paged_results()
2201 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_vlv()
2408 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncstate()
2459 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncdone()
2492 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_dirsync()
2689 b64.bv_val = ber_memalloc( b64.bv_len + 1 ); in tool_print_ctrls()
Dldapsearch.c2137 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2164 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2199 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2235 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
Dldapmodify.c296 if (( rejbuf = (char *)ber_memalloc( len+1 )) == NULL ) { in main()
/netbsd/src/external/bsd/openldap/dist/tests/progs/
Dslapd-addel.c200 if (( bvp = (struct berval *)ber_memalloc( sizeof( struct berval ))) in addmodifyop()
/netbsd/src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
Dapr1.c139 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_phk()
/netbsd/src/external/bsd/openldap/dist/libraries/librewrite/
Drewrite-int.h45 #define malloc(x) ber_memalloc(x)
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hdb/
Dhdb-ldap.c183 (*modlist)[cMods] = (LDAPMod *)ber_memalloc(sizeof(LDAPMod)); in LDAP__setmod()
228 bv = ber_memalloc(2 * sizeof(*bv)); in LDAP_addmod_len()
234 bv[i] = ber_memalloc(sizeof(**bv));; in LDAP_addmod_len()
267 bv = ber_memalloc(2 * sizeof(*bv)); in LDAP_addmod()
/netbsd/src/external/bsd/openldap/dist/servers/slapd/
Dmr.c449 mru = (MatchingRuleUse *)ber_memalloc( sizeof( MatchingRuleUse ) ); in matching_rule_use_init()
Dslap.h97 #define SLAP_MALLOC(s) ber_memalloc((s))
/netbsd/src/external/bsd/openldap/dist/include/
Dlber.h601 ber_memalloc LDAP_P((