Home
last modified time | relevance | path

Searched refs:ber_memalloc_x (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dmemory.c198 ber_memalloc_x( ber_len_t s, void *ctx ) in ber_memalloc_x() function
249 return ber_memalloc_x( s, NULL ); in ber_memalloc()
315 return ber_memalloc_x( s, ctx ); in ber_memrealloc_x()
443 *bvec = ber_memalloc_x( 2 * sizeof(struct berval *), ctx ); in ber_bvecadd_x()
500 if(( new = ber_memalloc_x( sizeof(struct berval), ctx )) == NULL ) { in ber_dupbv_x()
510 if(( new->bv_val = ber_memalloc_x( src->bv_len + 1, ctx )) == NULL ) { in ber_dupbv_x()
558 if(( new = ber_memalloc_x( sizeof(struct berval), ctx )) == NULL ) { in ber_str2bv_x()
565 if ( (new->bv_val = ber_memalloc_x( new->bv_len+1, ctx )) == NULL ) { in ber_str2bv_x()
602 if(( new = ber_memalloc_x( sizeof(struct berval), ctx )) == NULL ) { in ber_mem2bv_x()
609 if ( (new->bv_val = ber_memalloc_x( new->bv_len+1, ctx )) == NULL ) { in ber_mem2bv_x()
[all …]
H A Ddecode.c426 b->result = ber_memalloc_x( tot_size + siz, ber->ber_memctx ); in ber_get_stringbvl()
466 bvp = ber_memalloc_x( sizeof( struct berval ), in ber_get_stringbvl()
524 bv->bv_val = (char *) ber_memalloc_x( bv->bv_len + 1, in ber_get_stringbv()
562 bv->bv_val = (char *) ber_memalloc_x( bv->bv_len + 1, in ber_get_stringbv_null()
613 *bv = (struct berval *) ber_memalloc_x( sizeof(struct berval), in ber_get_stringal()
656 *buf = (char *) ber_memalloc_x( data.bv_len, ber->ber_memctx ); in ber_get_bitstringa()
H A Dio.c415 bv->bv_val = (char *) ber_memalloc_x( len + 1, ber->ber_memctx ); in ber_flatten2()
445 bv = ber_memalloc_x( sizeof(struct berval), ber->ber_memctx ); in ber_flatten()
640 ber->ber_buf = (char *) ber_memalloc_x( ber->ber_len + 1, ber->ber_memctx ); in ber_get_next()
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/
H A Ducstr.c33 #define malloc(x) ber_memalloc_x(x,ctx)
139 newbv = ber_memalloc_x( sizeof(struct berval), ctx ); in UTF8bvnormalize()
153 out = (char *) ber_memalloc_x( outsize, ctx ); in UTF8bvnormalize()
182 out = (char *) ber_memalloc_x( outsize, ctx ); in UTF8bvnormalize()
191 out = (char *) ber_memalloc_x( outsize, ctx ); in UTF8bvnormalize()
199 p = ucs = ber_memalloc_x( len * sizeof(*ucs), ctx ); in UTF8bvnormalize()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dmap.c386 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
407 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
428 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
449 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
471 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 128, memctx ); /* FIXME: why 128 ? */ in ldap_back_int_filter_map_rewrite()
555 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
568 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 128, memctx ); /* FIXME: why 128? */ in ldap_back_int_filter_map_rewrite()
617 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dch_malloc.c59 if ( (new = (void *) ber_memalloc_x( size, NULL )) == NULL ) { in ch_malloc()
H A Dsaslauthz.c572 normalized->bv_val = ber_memalloc_x( normalized->bv_len + 1, ctx ); in authzPrettyNormal()
606 normalized->bv_val = ber_memalloc_x( normalized->bv_len + 1, ctx ); in authzPrettyNormal()
727 normalized->bv_val = ber_memalloc_x( normalized->bv_len + 1, ctx ); in authzPrettyNormal()
H A Dsl_malloc.c307 newptr = ber_memalloc_x( size, NULL ); in slap_sl_malloc()
H A Dzn_malloc.c255 if (!zh) return ber_memalloc_x(size, NULL); in slap_zn_malloc()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dutil.c89 dest->bb_val.bv_val = (char *)ber_memalloc_x( BACKSQL_STR_GROW * sizeof( char ), memctx ); in backsql_strcat_x()
157 dest->bb_val.bv_val = (char *)ber_memalloc_x( BACKSQL_STR_GROW * sizeof( char ), memctx ); in backsql_strfcat_x()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dldifutil.c401 lr->lr_lm = ber_memalloc_x( nmods * sizeof(LDAPMod) + in ldap_parse_ldif_record_x()
438 lr->lr_mops = ber_memalloc_x( lr->lr_lines+1, ctx ); in ldap_parse_ldif_record_x()
526 lr->lr_lm = ber_memalloc_x( nmods * sizeof(LDAPMod) + in ldap_parse_ldif_record_x()
H A Dldap-int.h662 #define LDAP_MALLOC(s) (ber_memalloc_x((s),NULL))
670 #define LDAP_MALLOCX(s,x) (ber_memalloc_x((s),(x)))
/netbsd-src/external/bsd/openldap/dist/include/
H A Dlber_pvt.h90 ber_memalloc_x LDAP_P((
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dhomedir.c628 (*tail)->name = ber_memalloc_x( full_len, ctx ); in grab_names()
720 dir_stack = ber_memalloc_x( sizeof(*dir_stack), ctx ); in traverse()
831 dest_name = ber_memalloc_x( dest_name_len, ctx ); in traverse_copy_pre()
H A Daccesslog.c1286 ptr = noid.bv_val = ber_memalloc_x( noid.bv_len + 1, memctx ); in accesslog_ctrls()
1301 ptr = bv.bv_val = ber_memalloc_x( bv.bv_len + 1, memctx ); in accesslog_ctrls()
H A Dpcache.c410 ptr = urlbv->bv_val = ber_memalloc_x( urlbv->bv_len + 1, op->o_tmpmemctx ); in query2url()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dutils.c892 tmp = ber_memalloc_x( out->bv_len, ctx ); in lutil_str2bin()
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/ucdata/
H A Ducdata.c949 *out = (ac_uint4 *) ber_memalloc_x(size * sizeof(**out), ctx); in uccanoncompatdecomp()