| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | filter.c | 217 f.f_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); in get_filter0() 272 op->o_tmpfree( f.f_not, op->o_tmpmemctx ); in get_filter0() 317 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx ); in get_filter0() 406 ssa.sa_desc = slap_bv2tmp_ad( &desc, op->o_tmpmemctx ); in get_ssa() 480 usage, &value, &nvalue, text, op->o_tmpmemctx ); in get_ssa() 486 ber_dupbv_x( &nvalue, &value, op->o_tmpmemctx ); in get_ssa() 497 ber_bvarray_add_x( &ssa.sa_any, &nvalue, op->o_tmpmemctx ); in get_ssa() 507 slap_sl_free( nvalue.bv_val, op->o_tmpmemctx ); in get_ssa() 513 slap_sl_free( ssa.sa_initial.bv_val, op->o_tmpmemctx ); in get_ssa() 514 ber_bvarray_free_x( ssa.sa_any, op->o_tmpmemctx ); in get_ssa() [all …]
|
| H A D | sets.c | 75 cp->set_op->o_tmpfree( set, cp->set_op->o_tmpmemctx ); in slap_set_dispose() 79 ber_bvarray_free_x( set, cp->set_op->o_tmpmemctx ); in slap_set_dispose() 103 cp->set_op->o_tmpmemctx ); in set_dup() 111 cp->set_op->o_tmpmemctx ); in set_dup() 157 cp->set_op->o_tmpmemctx ); in slap_set_join() 177 set = cp->set_op->o_tmpcalloc( i, sizeof( struct berval ), cp->set_op->o_tmpmemctx ); in slap_set_join() 186 ber_dupbv_x( &set[ i ], &lset[ i ], cp->set_op->o_tmpmemctx ); in slap_set_join() 205 cp->set_op->o_tmpfree( rset[ i ].bv_val, cp->set_op->o_tmpmemctx ); in slap_set_join() 217 ber_dupbv_x( &set[ last ], &rset[ i ], cp->set_op->o_tmpmemctx ); in slap_set_join() 238 cp->set_op->o_tmpmemctx ); in slap_set_join() [all …]
|
| H A D | ava.c | 55 op->o_tmpfree( ava->aa_value.bv_val, op->o_tmpmemctx ); in ava_free() 57 op->o_tmpfree( ava->aa_desc, op->o_tmpmemctx ); in ava_free() 58 if ( freeit ) op->o_tmpfree( (char *) ava, op->o_tmpmemctx ); in ava_free() 85 aa = op->o_tmpalloc( sizeof( AttributeAssertion ), op->o_tmpmemctx ); in get_ava() 103 aa->aa_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); in get_ava() 104 ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx ); in get_ava() 112 usage, &value, &aa->aa_value, text, op->o_tmpmemctx ); in get_ava() 118 ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx ); in get_ava()
|
| H A D | modrdn.c | 140 rs->sr_err = dnPrettyNormal( NULL, &dn, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx ); in do_modrdn() 150 rs->sr_err = dnPrettyNormal( NULL, &newrdn, &op->orr_newrdn, &op->orr_nnewrdn, op->o_tmpmemctx ); in do_modrdn() 167 &nnewSuperior, op->o_tmpmemctx ); in do_modrdn() 203 op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx ); in do_modrdn() 204 op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx ); in do_modrdn() 206 op->o_tmpfree( op->orr_newrdn.bv_val, op->o_tmpmemctx ); in do_modrdn() 207 op->o_tmpfree( op->orr_nnewrdn.bv_val, op->o_tmpmemctx ); in do_modrdn() 213 op->o_tmpfree( pnewSuperior.bv_val, op->o_tmpmemctx ); in do_modrdn() 216 op->o_tmpfree( nnewSuperior.bv_val, op->o_tmpmemctx ); in do_modrdn() 250 build_new_dn( &dest_ndn, &dest_pndn, &op->orr_nnewrdn, op->o_tmpmemctx ); in fe_op_modrdn() [all …]
|
| H A D | compare.c | 91 op->o_tmpmemctx ); in do_compare() 118 &value, &ava.aa_value, &rs->sr_text, op->o_tmpmemctx ); in do_compare() 139 op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx ); in do_compare() 140 op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx ); in do_compare() 142 op->o_tmpfree( ava.aa_value.bv_val, op->o_tmpmemctx ); in do_compare() 331 vals, &ava->aa_value, op->o_tmpmemctx ) == 0 ) in fe_op_compare() 350 ber_bvarray_free_x( vals, op->o_tmpmemctx ); in fe_op_compare() 401 &ava->aa_value, NULL, op->o_tmpmemctx ) == 0 ) in slap_compare_entry()
|
| H A D | search.c | 118 rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx ); in do_search() 280 slap_sl_free( op->o_req_dn.bv_val, op->o_tmpmemctx ); in do_search() 283 slap_sl_free( op->o_req_ndn.bv_val, op->o_tmpmemctx ); in do_search() 286 op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx ); in do_search() 292 op->o_tmpfree( op->ors_attrs, op->o_tmpmemctx ); in do_search() 369 slap_sl_free( op->o_req_dn.bv_val, op->o_tmpmemctx ); in fe_op_search() 370 slap_sl_free( op->o_req_ndn.bv_val, op->o_tmpmemctx ); in fe_op_search() 372 ber_dupbv_x( &op->o_req_dn, &default_search_base, op->o_tmpmemctx ); in fe_op_search() 373 ber_dupbv_x( &op->o_req_ndn, &default_search_nbase, op->o_tmpmemctx ); in fe_op_search()
|
| H A D | mra.c | 50 op->o_tmpfree( mra->ma_desc, op->o_tmpmemctx ); in mra_free() 51 if ( freeit ) op->o_tmpfree( (char *) mra, op->o_tmpmemctx ); in mra_free() 156 ma.ma_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); in get_mra() 206 &value, &ma.ma_value, text, op->o_tmpmemctx ); in get_mra() 226 f->f_mra = op->o_tmpalloc( length, op->o_tmpmemctx ); in get_mra()
|
| H A D | str2filter.c | 59 if ( op->o_tmpmemctx ) { in str2filter_x() 60 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); in str2filter_x() 85 op.o_tmpmemctx = NULL; in str2filter()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
| H A D | search.c | 85 bsi->bsi_op->o_tmpfree( bsi->bsi_attrs, bsi->bsi_op->o_tmpmemctx ); in backsql_attrlist_add() 116 bsi->bsi_op->o_tmpmemctx ); in backsql_attrlist_add() 192 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 204 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 218 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 257 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 271 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 358 op->o_tmpmemctx ); in backsql_init_search() 373 bsi->bsi_op->o_tmpmemctx ); in backsql_init_search() 390 bsi->bsi_op->o_tmpmemctx, "c", '(' /* ) */ ); in backsql_process_filter_list() [all …]
|
| H A D | entry-id.c | 169 op->o_tmpmemctx ); in backsql_dn2id() 171 op->o_tmpmemctx ); in backsql_dn2id() 179 op->o_tmpmemctx ); in backsql_dn2id() 181 op->o_tmpmemctx ); in backsql_dn2id() 269 backsql_BindRowAsStrings_x( sth, &row, op->o_tmpmemctx ); in backsql_dn2id() 287 op->o_tmpmemctx ); in backsql_dn2id() 289 op->o_tmpmemctx ); in backsql_dn2id() 314 op->o_tmpmemctx ); in backsql_dn2id() 323 (void)backsql_free_entryID( id, 0, op->o_tmpmemctx ); in backsql_dn2id() 368 backsql_FreeRow_x( &row, op->o_tmpmemctx ); in backsql_dn2id() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | refint.c | 467 ip = op->o_tmpalloc(sizeof(dependent_data), op->o_tmpmemctx ); in refint_search_cb() 468 ber_dupbv_x( &ip->dn, &rs->sr_entry->e_name, op->o_tmpmemctx ); in refint_search_cb() 469 ber_dupbv_x( &ip->ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx ); in refint_search_cb() 495 op->o_tmpmemctx ); in refint_search_cb() 512 ber_dupbv_x( &olddn, &a->a_vals[i], op->o_tmpmemctx ); in refint_search_cb() 513 ber_bvarray_add_x( &na->old_vals, &olddn, op->o_tmpmemctx ); in refint_search_cb() 515 ber_dupbv_x( &oldndn, &a->a_nvals[i], op->o_tmpmemctx ); in refint_search_cb() 516 ber_bvarray_add_x( &na->old_nvals, &oldndn, op->o_tmpmemctx ); in refint_search_cb() 524 build_new_dn( &newdn, &rq->newdn, &newsub, op->o_tmpmemctx ); in refint_search_cb() 525 ber_bvarray_add_x( &na->new_vals, &newdn, op->o_tmpmemctx ); in refint_search_cb() [all …]
|
| H A D | rwmmap.c | 218 op->o_tmpmemctx ); in rwm_map_attrnames() 550 ber_dupbv_x( fstr, &ber_bvnone, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 565 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) in rwm_int_filter_map_rewrite() 571 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 576 op->o_tmpfree( vtmp.bv_val, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 582 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) in rwm_int_filter_map_rewrite() 588 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 593 op->o_tmpfree( vtmp.bv_val, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 599 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) in rwm_int_filter_map_rewrite() 605 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() [all …]
|
| H A D | deref.c | 201 op->o_tmpmemctx ); in deref_parseCtrl() 240 ber_memfree_x( attributes, op->o_tmpmemctx ); in deref_parseCtrl() 260 op->o_tmpfree( dshead, op->o_tmpmemctx ); in deref_parseCtrl() 266 ber_memfree_x( attributes, op->o_tmpmemctx ); in deref_parseCtrl() 276 op->o_tmpfree( op->o_callback, op->o_tmpmemctx ); in deref_cleanup() 279 op->o_tmpfree( op->o_ctrlderef, op->o_tmpmemctx ); in deref_cleanup() 326 op->o_tmpmemctx ); in deref_response() 349 ber_dupbv_x( &dv[ i ].dv_derefSpecVal, &a->a_vals[ i ], op->o_tmpmemctx ); in deref_response() 375 aa->a_vals, op->o_tmpmemctx ); in deref_response() 386 op->o_tmpmemctx ); in deref_response() [all …]
|
| H A D | syncprov.c | 231 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); in syncprov_state_ctrl() 253 cp = op->o_tmpalloc( sizeof( LDAPControl ) + bv.bv_len, op->o_tmpmemctx ); in syncprov_state_ctrl() 292 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); in syncprov_done_ctrl() 305 cp = op->o_tmpalloc( sizeof( LDAPControl ) + bv.bv_len, op->o_tmpmemctx ); in syncprov_done_ctrl() 344 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); in syncprov_sendinfo() 798 op->o_tmpmemctx ); in syncprov_findcsn() 841 op->o_tmpfree( pcookie.uuids, op->o_tmpmemctx ); in syncprov_findcsn() 932 rs.sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2, op->o_tmpmemctx ); in syncprov_sendresp() 955 op->o_tmpfree( cookie.bv_val, op->o_tmpmemctx ); in syncprov_sendresp() 1077 op->o_tmpmemctx = slap_sl_mem_create(SLAP_SLAB_SIZE, SLAP_SLAB_STACK, ctx, 1); in syncprov_qtask() [all …]
|
| H A D | dynlist.c | 126 newf->bv_val = op->o_tmpalloc( newf->bv_len + 1, op->o_tmpmemctx ); in dynlist_make_filter() 259 vals = op->o_tmpalloc( ( i + 1 ) * sizeof( struct berval ), op->o_tmpmemctx ); in dynlist_sc_update() 261 nvals = op->o_tmpalloc( ( i + 1 ) * sizeof( struct berval ), op->o_tmpmemctx ); in dynlist_sc_update() 319 op->o_tmpfree( vals, op->o_tmpmemctx ); in dynlist_sc_update() 321 op->o_tmpfree( nvals, op->o_tmpmemctx ); in dynlist_sc_update() 378 op->o_tmpfree( o.ors_filterstr.bv_val, op->o_tmpmemctx ); in dynlist_urlmembers() 594 rc = dnPrettyNormal( NULL, &dn, &o.o_req_dn, &o.o_req_ndn, op->o_tmpmemctx ); in dynlist_prepare_entry() 619 o.ors_attrs = op->o_tmpcalloc( i + 1, sizeof( AttributeName ), op->o_tmpmemctx ); in dynlist_prepare_entry() 694 &dli->dli_default_filter, op->o_tmpmemctx ); in dynlist_prepare_entry() 732 op->o_tmpfree( o.ors_attrs, op->o_tmpmemctx ); in dynlist_prepare_entry() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
| H A D | meta_result.c | 176 mem_mark = slap_sl_mark( op->o_tmpmemctx ); in asyncmeta_send_entry() 177 ber_set_option( &ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); in asyncmeta_send_entry() 196 dc.memctx = op->o_tmpmemctx; in asyncmeta_send_entry() 208 op->o_tmpmemctx ); in asyncmeta_send_entry() 210 op->o_tmpfree( dn.bv_val, op->o_tmpmemctx ); in asyncmeta_send_entry() 252 attr = op->o_tmpcalloc( 1, sizeof(Attribute), op->o_tmpmemctx ); in asyncmeta_send_entry() 263 op->o_tmpfree( attr, op->o_tmpmemctx ); in asyncmeta_send_entry() 288 op->o_tmpfree( attr, op->o_tmpmemctx ); in asyncmeta_send_entry() 307 ber_bvarray_free_x( attr->a_vals, op->o_tmpmemctx ); in asyncmeta_send_entry() 308 op->o_tmpfree( attr, op->o_tmpmemctx ); in asyncmeta_send_entry() [all …]
|
| H A D | message_queue.c | 72 *new_bc = op->o_tmpcalloc( 1, sizeof( bm_context_t ), op->o_tmpmemctx ); in asyncmeta_new_bm_context() 76 (*new_bc)->candidates = op->o_tmpcalloc(ntargets, sizeof(SlapReply),op->o_tmpmemctx); in asyncmeta_new_bm_context() 77 (*new_bc)->msgids = op->o_tmpcalloc(ntargets, sizeof(int),op->o_tmpmemctx); in asyncmeta_new_bm_context() 78 (*new_bc)->nretries = op->o_tmpcalloc(ntargets, sizeof(int),op->o_tmpmemctx); in asyncmeta_new_bm_context() 85 AttributeAssertion *ava = op->o_tmpcalloc( 1, sizeof(AttributeAssertion), op->o_tmpmemctx ); in asyncmeta_new_bm_context() 92 struct berval *bv = op->o_tmpalloc( sizeof( struct berval ), op->o_tmpmemctx ); in asyncmeta_new_bm_context() 98 struct berval *bv = op->o_tmpalloc( sizeof( struct berval ), op->o_tmpmemctx ); in asyncmeta_new_bm_context() 174 memctx = op->o_tmpmemctx; in asyncmeta_clear_bm_context()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
| H A D | rdnval.c | 127 op->o_tmpmemctx ); in rdnval_unique_check() 136 1, op->o_tmpmemctx ); in rdnval_unique_check() 141 op2.ors_filterstr.bv_val = op->o_tmpalloc( op2.ors_filterstr.bv_len + 1, op->o_tmpmemctx ); in rdnval_unique_check() 167 op->o_tmpfree( op2.ors_filterstr.bv_val, op->o_tmpmemctx ); in rdnval_unique_check() 170 op->o_tmpfree( fvals[ i ].bv_val, op->o_tmpmemctx ); in rdnval_unique_check() 173 op->o_tmpfree( fvals, op->o_tmpmemctx ); in rdnval_unique_check() 201 LDAP_DN_FORMAT_LDAP, op->o_tmpmemctx ) ) in rdnval_rdn2vals() 214 (char **)&rs->sr_text, LDAP_DN_FORMAT_LDAP, op->o_tmpmemctx ) ) in rdnval_rdn2vals() 263 op->o_tmpmemctx ) in rdnval_rdn2vals() 281 ldap_rdnfree_x( rdn, op->o_tmpmemctx ); in rdnval_rdn2vals() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/adremap/ |
| H A D | adremap.c | 383 ber_dupbv_x(dn, &rs->sr_entry->e_nname, op->o_tmpmemctx); in adremap_refsearch() 468 op->o_tmpfree(op2.ors_filterstr.bv_val, op->o_tmpmemctx); in adremap_filter() 476 op->o_tmpfree(dn.bv_val, op->o_tmpmemctx); in adremap_filter() 484 f = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 489 f->f_and = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 492 f->f_ava = op->o_tmpcalloc(1, sizeof(AttributeAssertion), op->o_tmpmemctx); in adremap_filter() 494 ber_dupbv_x(&f->f_av_value, &ad->ad_group->soc_cname, op->o_tmpmemctx); in adremap_filter() 496 f->f_next = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 499 f->f_ava = op->o_tmpcalloc(1, sizeof(AttributeAssertion), op->o_tmpmemctx); in adremap_filter() 511 f = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| H A D | index.c | 184 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 190 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 194 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 205 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 211 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 215 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 227 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 233 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 237 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/dupent/ |
| H A D | dupent.c | 146 op->o_tmpmemctx ); in dupent_parseCtrl() 225 op->o_tmpfree( ds, op->o_tmpmemctx ); in dupent_parseCtrl() 229 ber_memfree_x( AttributeDescriptionList, op->o_tmpmemctx ); in dupent_parseCtrl() 279 op->o_tmpmemctx ); in dupent_response_done() 329 ctrl = op->o_tmpcalloc( 1, sizeof( LDAPControl ), op->o_tmpmemctx ); in dupent_response_entry_1level() 415 valnum = op->o_tmpcalloc( sizeof(valnum_t), nattrs, op->o_tmpmemctx ); in dupent_response_entry() 459 op->o_tmpfree( valnum, op->o_tmpmemctx ); in dupent_response_entry() 494 op->o_tmpfree( op->o_callback, op->o_tmpmemctx ); in dupent_cleanup() 497 op->o_tmpfree( op->o_ctrldupent, op->o_tmpmemctx ); in dupent_cleanup() 511 sc = op->o_tmpcalloc( 1, sizeof( slap_callback ) + sizeof( dupent_cb_t ), op->o_tmpmemctx ); in dupent_op_search()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
| H A D | search.c | 120 op->o_tmpmemctx ); in ldap_back_munge_filter() 127 filter->bv_len + 1, op->o_tmpmemctx ); in ldap_back_munge_filter() 210 op->o_tmpmemctx ); in ldap_back_search() 397 op->o_tmpfree( ent.e_name.bv_val, op->o_tmpmemctx ); in ldap_back_search() 401 op->o_tmpfree( ent.e_nname.bv_val, op->o_tmpmemctx ); in ldap_back_search() 444 op->o_tmpmemctx ); in ldap_back_search() 467 op->o_tmpfree( rs->sr_ref, op->o_tmpmemctx ); in ldap_back_search() 543 op->o_tmpmemctx ); in ldap_back_search() 607 if ( dnPretty( NULL, &match, &pmatch, op->o_tmpmemctx ) != LDAP_SUCCESS ) { in ldap_back_search() 629 op->o_tmpfree( filter.bv_val, op->o_tmpmemctx ); in ldap_back_search() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
| H A D | dn2id.c | 115 d = op->o_tmpalloc(sizeof(diskNode) + rlen + nrlen + sizeof(ID), op->o_tmpmemctx); in mdb_dn2id_add() 162 op->o_tmpfree( d, op->o_tmpmemctx ); in mdb_dn2id_add() 178 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); in mdb_dn2id_add() 183 op->o_tmpfree( p2, op->o_tmpmemctx ); in mdb_dn2id_add() 189 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2id_add() 194 op->o_tmpfree( p2, op->o_tmpmemctx ); in mdb_dn2id_add() 259 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); in mdb_dn2id_delete() 264 op->o_tmpfree( p2, op->o_tmpmemctx ); in mdb_dn2id_delete() 270 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2id_delete() 275 op->o_tmpfree( p2, op->o_tmpmemctx ); in mdb_dn2id_delete() [all …]
|
| H A D | index.c | 223 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 227 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 242 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 246 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 262 atname, vals, &keys, op->o_tmpmemctx ); in indexer() 266 ber_bvarray_free_x( keys, op->o_tmpmemctx ); in indexer() 518 ap->a_comp_data = op->o_tmpalloc( sizeof( ComponentData ), op->o_tmpmemctx ); in mdb_index_entry() 526 cr->cr_nvals = (BerVarray)op->o_tmpalloc( sizeof( struct berval )*num_attr, op->o_tmpmemctx ); in mdb_index_entry() 551 &value, &cr->cr_nvals[i], op->o_tmpmemctx ); in mdb_index_entry() 560 op->o_tmpfree( ap->a_comp_data, op->o_tmpmemctx ); in mdb_index_entry()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ndb/ |
| H A D | search.cpp | 188 buf = (char *)op->o_tmpalloc( rc, op->o_tmpmemctx ); in ndb_filter_set() 198 op->o_tmpfree( buf, op->o_tmpmemctx ); in ndb_filter_set() 237 buf = (char *)op->o_tmpalloc( rc+1, op->o_tmpmemctx ); in ndb_filter_set() 262 op->o_tmpfree( buf, op->o_tmpmemctx ); in ndb_filter_set() 402 ocs = ndb_ref2oclist( ocbuf, op->o_tmpmemctx ); in ndb_oc_search() 446 dnNormalize( 0, NULL, NULL, &e.e_name, &e.e_nname, op->o_tmpmemctx ); in ndb_oc_search() 468 ber_bvarray_free_x( ocs, op->o_tmpmemctx ); in ndb_oc_search() 493 op->o_tmpfree( e.e_nname.bv_val, op->o_tmpmemctx ); in ndb_oc_search() 560 ber_bvarray_free_x( NA.ocs, op->o_tmpmemctx ); in ndb_back_search() 565 ber_bvarray_free_x( NA.ocs, op->o_tmpmemctx ); in ndb_back_search() [all …]
|