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

/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/allowed/
H A Dallowed.c268 bv_allowed = ber_memalloc( sizeof( struct berval ) * ( i + 1 ) );
271 bv_effective = ber_memalloc( sizeof( struct berval ) * ( i + 1 ) );
339 bv_allowed = ber_memalloc( sizeof( struct berval ) * ( i + 1 ) );
342 bv_effective = ber_memalloc( sizeof( struct berval ) * ( i + 1 ) );
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblutil/
H A Dpassfile.c65 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 );
H A Davl.c42 #define ber_memalloc malloc macro
79 if (( r = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
103 if (( q = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
597 avl_list = (void* *) ber_memalloc(AVL_GRABSIZE * sizeof(void*));
H A Dpasswd.c194 ptr = ber_memalloc( sizeof( struct pw_slist ));
356 pw->bv_val = ber_memalloc( len + 1 );
411 pw.bv_val = ber_memalloc( pw.bv_len + 1 );
440 string.bv_val = ber_memalloc( string.bv_len + 1 );
458 b64->bv_val = ber_memalloc( b64->bv_len + 1 );
503 orig_pass = (unsigned char *) ber_memalloc( (size_t) (
548 orig_pass = (unsigned char *) ber_memalloc( (size_t) (
590 orig_pass = (unsigned char *) ber_memalloc( (size_t) (
635 orig_pass = (unsigned char *) ber_memalloc( (size_t) (
H A Dldif.c52 #define ber_memalloc malloc macro
416 must_b64_encode = ber_memalloc( sizeof( must_b64_encode_s ) * ( i + 2 ) );
708 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED( nlen, vlen ) + 1 );
758 lfp = ber_memalloc( sizeof( LDIFFP ));
868 LDIFFP *lnew = ber_memalloc( sizeof( LDIFFP ));
H A Dtavl.c29 #define ber_memalloc malloc macro
69 if (( r = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
94 if (( q = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) {
H A Dsasl.c76 defaults = ber_memalloc( sizeof( lutilSASLdefaults ) );
H A Dutils.c416 d = ber_memalloc( sizeof(DIR) );
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dldif.c52 #define ber_memalloc malloc macro
416 must_b64_encode = ber_memalloc( sizeof( must_b64_encode_s ) * ( i + 2 ) );
736 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED_WRAP( nlen, vlen, wrap ) + 1 );
786 lfp = ber_memalloc( sizeof( LDIFFP ));
896 LDIFFP *lnew = ber_memalloc( sizeof( LDIFFP ));
H A Dcyrus.c110 ber_memalloc,
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblber/
H A Dlber-int.h86 * ber_memctx Context passed to ber_memalloc() & co.
197 #define LBER_MALLOC(s) ber_memalloc((s))
H A Dmemory.c217 fprintf(stderr, "0x%08lx 0x%08lx -a- %ld ber_memalloc %ld\n",
242 ber_memalloc( ber_len_t s ) function
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/clients/tools/
H A Dldapmodify.c333 if (( rejbuf = (char *)ber_memalloc( len+1 )) == NULL ) {
645 lm = ber_memalloc( nmods * sizeof(LDAPMod) +
677 mops = ber_memalloc( lines+1 );
796 lm = ber_memalloc( nmods * sizeof(LDAPMod) +
976 newctrl = (LDAPControl *)ber_memalloc(sizeof(LDAPControl));
H A Dcommon.c690 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2007 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2070 bv.bv_val = ber_memalloc( bv.bv_len + 1 );
2288 b64.bv_val = ber_memalloc( b64.bv_len + 1 );
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/passwd/
H A Dapr1.c131 orig_pass = (unsigned char *) ber_memalloc((size_t) (n + 1));
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/librewrite/
H A Drewrite-int.h43 #define malloc(x) ber_memalloc(x)
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/tests/progs/
H A Dslapd-addel.c249 if (( bvp = (struct berval *)ber_memalloc( sizeof( struct berval )))
251 tester_perror( "ber_memalloc", NULL );
/macosx-10.9.5/Heimdal-323.92.1/lib/hdb/
H A Dhdb-ldap.c173 (*modlist)[cMods] = (LDAPMod *)ber_memalloc(sizeof(LDAPMod));
218 bv = ber_memalloc(2 * sizeof(*bv));
224 bv[i] = ber_memalloc(sizeof(**bv));;
257 bv = ber_memalloc(2 * sizeof(*bv));
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/include/
H A Dlber.h589 ber_memalloc LDAP_P((
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/
H A Dmr.c444 mru = (MatchingRuleUse *)ber_memalloc( sizeof( MatchingRuleUse ) );
H A Ddaemon.c1753 l.sl_name.bv_val = ber_memalloc( l.sl_name.bv_len + 1 );
1771 ber_memalloc( sizeof("IP=255.255.255.255:65535") );
1786 l.sl_name.bv_val = ber_memalloc( l.sl_name.bv_len );
H A Dslap.h91 #define SLAP_MALLOC(s) ber_memalloc((s))
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/back-bdb/
H A Dinit.c808 db_env_set_func_malloc( (db_malloc *)ber_memalloc );
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/back-meta/
H A Dconfig.c1385 bv.bv_val = ber_memalloc( bv.bv_len + 1 );

Completed in 299 milliseconds