/netbsd-src/external/bsd/openldap/dist/libraries/liblber/ |
H A D | memory.c | 198 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 D | decode.c | 426 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 D | io.c | 415 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 D | ucstr.c | 33 #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 D | map.c | 386 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 D | ch_malloc.c | 59 if ( (new = (void *) ber_memalloc_x( size, NULL )) == NULL ) { in ch_malloc()
|
H A D | saslauthz.c | 572 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 D | sl_malloc.c | 307 newptr = ber_memalloc_x( size, NULL ); in slap_sl_malloc()
|
H A D | zn_malloc.c | 255 if (!zh) return ber_memalloc_x(size, NULL); in slap_zn_malloc()
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
H A D | util.c | 89 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 D | ldifutil.c | 401 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 D | ldap-int.h | 662 #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 D | lber_pvt.h | 90 ber_memalloc_x LDAP_P((
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | homedir.c | 628 (*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 D | accesslog.c | 1286 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 D | pcache.c | 410 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 D | utils.c | 892 tmp = ber_memalloc_x( out->bv_len, ctx ); in lutil_str2bin()
|
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/ucdata/ |
H A D | ucdata.c | 949 *out = (ac_uint4 *) ber_memalloc_x(size * sizeof(**out), ctx); in uccanoncompatdecomp()
|