/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-meta/ |
H A D | map.c | 257 void *memctx ) 309 NULL, NULL, value, &vtmp, memctx ) ) 325 filter_escape_value_x( &vtmp, mapped_value, memctx ); 332 ber_memfree_x( vtmp.bv_val, memctx ); 345 void *memctx ) 372 ber_dupbv_x( fstr, &ber_bvnone, memctx ); 379 &f->f_av_value, &vtmp, remap, memctx ) ) 386 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); 388 ber_memfree_x( vtmp.bv_val, memctx ); 395 ber_memfree_x( vtmp.bv_val, memctx ); [all...] |
H A D | back-meta.h | 124 void *memctx ); 137 void *memctx );
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
H A D | search.c | 92 void *memctx = dc->memctx; local 98 ber_dupbv_x( fstr, &ber_bvnone, memctx ); 110 filter_escape_value_x( &vtmp, &ntmp, memctx ); 113 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); 118 ber_memfree_x( ntmp.bv_val, memctx ); 122 filter_escape_value_x( &f->f_av_value, &ntmp, memctx ); 125 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); 130 ber_memfree_x( ntmp.bv_val, memctx ); 134 filter_escape_value_x( &f->f_av_value, &ntmp, memctx ); [all...] |
H A D | map.c | 116 dc->op->o_tmpfree( dn.bv_val, dc->memctx ); 124 ber_str2bv_x( newurl, 0, 1, &a_vals[ i ], dc->memctx ); 147 ber_memfree_x( a_vals[i].bv_val, dc->memctx ); 213 res->bv_val = dc->op->o_tmpalloc( res->bv_len + 1, dc->memctx );
|
H A D | message_queue.c | 59 static void asyncmeta_memctx_put(void *threadctx, void *memctx) argument 62 slap_sl_mem_destroy((void *)1, memctx); 160 void *thrctx, *memctx; local 174 memctx = op->o_tmpmemctx; 179 asyncmeta_memctx_put(thrctx, memctx);
|
H A D | compare.c | 64 dc.memctx = op->o_tmpmemctx;
|
H A D | delete.c | 61 dc.memctx = op->o_tmpmemctx;
|
H A D | modrdn.c | 64 dc.memctx = op->o_tmpmemctx;
|
H A D | add.c | 90 dc.memctx = op->o_tmpmemctx;
|
H A D | meta_result.c | 196 dc.memctx = op->o_tmpmemctx; 838 dc.memctx = op->o_tmpmemctx; 946 dc.memctx = NULL; 990 dc.memctx = op->o_tmpmemctx; 1500 oldctx = slap_sl_mem_create(SLAP_SLAB_SIZE, SLAP_SLAB_STACK, ctx, 0); /* get existing memctx */ 1573 /* set our memctx */ 1676 /* set our memctx */ 1734 /* set our memctx */
|
H A D | modify.c | 68 dc.memctx = op->o_tmpmemctx;
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/ |
H A D | ldapsync.c | 175 slap_parse_csn_sids( BerVarray csns, int numcsns, void *memctx ) 179 ret = slap_sl_malloc( numcsns * sizeof(int), memctx ); 226 slap_sort_csn_sids( BerVarray csns, int *sids, int numcsns, void *memctx ) 233 a.a_nvals = slap_sl_malloc( numcsns * sizeof(struct berval), memctx ); 241 rc = slap_sort_vals( (Modifications *)&a, &text, &i, memctx ); 244 slap_sl_free( a.a_nvals, memctx ); 273 void *memctx 364 &stamp, &bv, memctx ) != LDAP_SUCCESS ) 366 ber_bvarray_add_x( &cookie->ctxcsn, &bv, memctx ); 410 &stamp, &bv, memctx ) ! [all...] |
H A D | attr.c | 508 void *memctx ) 522 nvals = slap_sl_calloc( sizeof(struct berval), i + 1, memctx ); 528 &vals[i], &nvals[i], memctx ); 540 ber_bvarray_free_x( nvals, memctx ); 551 void *memctx ) 556 rc = attr_normalize( desc, vals, &nvals, memctx ); 560 ber_bvarray_free_x( nvals, memctx ); 599 void *memctx ) 612 val, nval, memctx ); 627 void *memctx ) [all...] |
H A D | filterentry.c | 169 void *memctx; local 176 memctx = NULL; 179 memctx = op->o_tmpmemctx; 308 bv, &nbv, memctx ) != LDAP_SUCCESS ) 322 memfree( nbv.bv_val, memctx ); 349 &mra->ma_value, &value, &text, memctx ); 356 memfree( value.bv_val, memctx ); 398 bv, &nbv, memctx ) != LDAP_SUCCESS ) 412 memfree( nbv.bv_val, memctx ); 422 memfree( value.bv_val, memctx ); [all...] |
H A D | sl_malloc.c | 120 # define SET_MEMCTX(thrctx, memctx, kfree) \ 121 ldap_pvt_thread_pool_setkey(thrctx,memctx_key, memctx,kfree, NULL,NULL) 196 void *memctx; local 203 sh = GET_MEMCTX(thrctx, &memctx); 290 void *memctx 293 SET_MEMCTX(thrctx, memctx, slap_sl_mem_destroy); 673 void *memctx; local 678 sh = GET_MEMCTX(ldap_pvt_thread_pool_context(), &memctx); 719 Debug(level, "NULL memctx\n" );
|
H A D | filter.c | 892 filter_dup( Filter *f, void *memctx ) 900 n = mf->bmf_malloc( sizeof(Filter), memctx ); 910 n->f_desc = slap_bv2tmp_ad( &f->f_desc->ad_cname, memctx ); 919 n->f_ava = mf->bmf_calloc( 1, sizeof(AttributeAssertion), memctx ); 922 n->f_av_desc = slap_bv2tmp_ad( &f->f_av_desc->ad_cname, memctx ); 923 ber_dupbv_x( &n->f_av_value, &f->f_av_value, memctx ); 926 n->f_sub = mf->bmf_calloc( 1, sizeof(SubstringsAssertion), memctx ); 928 n->f_sub_desc = slap_bv2tmp_ad( &f->f_sub_desc->ad_cname, memctx ); 932 ber_dupbv_x( &n->f_sub_initial, &f->f_sub_initial, memctx ); 937 memctx ); [all...] |
H A D | proto-slap.h | 162 void *memctx )); 301 BerVarray vals, BerVarray *nvalsp, void *memctx )); 303 struct berval *val, struct berval *nval, void *memctx )); 306 BerVarray vals, void *memctx )); 309 struct berval *val, void *memctx )); 1012 void *memctx )); 1135 LDAP_SLAPD_F (Filter *) filter_dup LDAP_P(( Filter *f, void *memctx )); 1205 BerVarray, int, void *memctx )); 1207 BerVarray, int *, int, void *memctx )); 1211 struct sync_cookie *, void *memctx )); [all...] |
H A D | dn.c | 1152 void *memctx ) 1157 ber_dupbv_x( new_dn, newrdn, memctx ); 1162 new_dn->bv_val = (char *) slap_sl_malloc( new_dn->bv_len + 1, memctx );
|
H A D | connection.c | 1026 void *memctx = NULL; local 1100 memctx = slap_sl_mem_create( memsiz, SLAP_SLAB_STACK, ctx, 1 ); 1101 op->o_tmpmemctx = memctx; 1108 ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, &memctx ); 1124 * else with it now. Detach memctx too.
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/ |
H A D | util.c | 73 backsql_strcat_x( struct berbuf *dest, void *memctx, ... ) argument 87 va_start( strs, memctx ); 89 dest->bb_val.bv_val = (char *)ber_memalloc_x( BACKSQL_STR_GROW * sizeof( char ), memctx ); 108 dest->bb_len + grow * sizeof( char ), memctx ); 140 backsql_strfcat_x( struct berbuf *dest, void *memctx, const char *fmt, ... ) argument 157 dest->bb_val.bv_val = (char *)ber_memalloc_x( BACKSQL_STR_GROW * sizeof( char ), memctx ); 215 ( dest->bb_len ) + grow * sizeof( char ), memctx ); 254 void *memctx ) 263 rc = attr_merge_normalize_one( e, ad, val, memctx ); 491 void *memctx ) [all...] |
H A D | proto-sql.h | 260 struct berbuf * backsql_strcat_x( struct berbuf *dest, void *memctx, ... ); 261 struct berbuf * backsql_strfcat_x( struct berbuf *dest, void *memctx, const char *fmt, ... ); 264 struct berval *at_val, void *memctx ); 276 struct berval *entryUUID, void *memctx );
|
/netbsd-current/external/bsd/openldap/dist/include/ |
H A D | ldap_pvt_uc.h | 154 void *memctx ); 160 void *memctx );
|
/netbsd-current/external/mpl/bind/dist/tests/ns/ |
H A D | query_test.c | 658 test_hookasync(query_ctx_t *qctx, isc_mem_t *memctx, void *arg, argument 669 ctx = isc_mem_get(memctx, sizeof(*ctx)); 671 memctx, task, NS_EVENT_HOOKASYNCDONE, action, evarg, 681 isc_mem_attach(memctx, &ctx->mctx); 1299 test_hookasync_e2e(query_ctx_t *qctx, isc_mem_t *memctx, void *arg, argument 1310 ctx = isc_mem_get(memctx, sizeof(*ctx)); 1312 memctx, task, NS_EVENT_HOOKASYNCDONE, action, evarg, 1321 isc_mem_attach(memctx, &ctx->mctx);
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/slapi/ |
H A D | slapi_pblock.c | 848 pblock_set_dn( void *value, struct berval *dn, struct berval *ndn, void *memctx ) 853 slap_sl_free( dn->bv_val, memctx ); 857 slap_sl_free( ndn->bv_val, memctx ); 864 return dnPrettyNormal( NULL, &bv, dn, ndn, memctx );
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | rwmmap.c | 428 void *memctx ) 478 NULL, NULL, value, &vtmp, memctx ) ) 496 filter_escape_value_x( &vtmp, mapped_value, memctx ); 504 ber_memfree_x( vtmp.bv_val, memctx );
|