| /src/external/bsd/openldap/dist/servers/slapd/ |
| filter.c | 217 f.f_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); 272 op->o_tmpfree( f.f_not, op->o_tmpmemctx ); 317 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx ); 406 ssa.sa_desc = slap_bv2tmp_ad( &desc, op->o_tmpmemctx ); 480 usage, &value, &nvalue, text, op->o_tmpmemctx ); 486 ber_dupbv_x( &nvalue, &value, op->o_tmpmemctx ); 497 ber_bvarray_add_x( &ssa.sa_any, &nvalue, op->o_tmpmemctx ); 507 slap_sl_free( nvalue.bv_val, op->o_tmpmemctx ); 513 slap_sl_free( ssa.sa_initial.bv_val, op->o_tmpmemctx ); 514 ber_bvarray_free_x( ssa.sa_any, op->o_tmpmemctx ); [all...] |
| ava.c | 55 op->o_tmpfree( ava->aa_value.bv_val, op->o_tmpmemctx ); 57 op->o_tmpfree( ava->aa_desc, op->o_tmpmemctx ); 58 if ( freeit ) op->o_tmpfree( (char *) ava, op->o_tmpmemctx ); 101 aa = op->o_tmpalloc( sizeof( AttributeAssertion ), op->o_tmpmemctx ); 119 aa->aa_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); 120 ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx ); 128 usage, &value, &aa->aa_value, text, op->o_tmpmemctx ); 134 ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx );
|
| str2filter.c | 59 if ( op->o_tmpmemctx ) { 60 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); 85 op.o_tmpmemctx = NULL;
|
| sets.c | 75 cp->set_op->o_tmpfree( set, cp->set_op->o_tmpmemctx ); 79 ber_bvarray_free_x( set, cp->set_op->o_tmpmemctx ); 103 cp->set_op->o_tmpmemctx ); 111 cp->set_op->o_tmpmemctx ); 157 cp->set_op->o_tmpmemctx ); 177 set = cp->set_op->o_tmpcalloc( i, sizeof( struct berval ), cp->set_op->o_tmpmemctx ); 186 ber_dupbv_x( &set[ i ], &lset[ i ], cp->set_op->o_tmpmemctx ); 205 cp->set_op->o_tmpfree( rset[ i ].bv_val, cp->set_op->o_tmpmemctx ); 217 ber_dupbv_x( &set[ last ], &rset[ i ], cp->set_op->o_tmpmemctx ); 238 cp->set_op->o_tmpmemctx ); [all...] |
| modrdn.c | 141 rs->sr_err = dnPrettyNormal( NULL, &dn, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx ); 151 rs->sr_err = dnPrettyNormal( NULL, &newrdn, &op->orr_newrdn, &op->orr_nnewrdn, op->o_tmpmemctx ); 168 &nnewSuperior, op->o_tmpmemctx ); 183 build_new_dn( &op->orr_newDN, &dest_pdn, &op->orr_newrdn, op->o_tmpmemctx ); 184 build_new_dn( &op->orr_nnewDN, &dest_pndn, &op->orr_nnewrdn, op->o_tmpmemctx ); 212 op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx ); 213 op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx ); 215 op->o_tmpfree( op->orr_newrdn.bv_val, op->o_tmpmemctx ); 216 op->o_tmpfree( op->orr_nnewrdn.bv_val, op->o_tmpmemctx ); 218 op->o_tmpfree( op->orr_newDN.bv_val, op->o_tmpmemctx ); [all...] |
| search.c | 118 rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx ); 280 slap_sl_free( op->o_req_dn.bv_val, op->o_tmpmemctx ); 283 slap_sl_free( op->o_req_ndn.bv_val, op->o_tmpmemctx ); 286 op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx ); 292 op->o_tmpfree( op->ors_attrs, op->o_tmpmemctx ); 369 slap_sl_free( op->o_req_dn.bv_val, op->o_tmpmemctx ); 370 slap_sl_free( op->o_req_ndn.bv_val, op->o_tmpmemctx ); 372 ber_dupbv_x( &op->o_req_dn, &default_search_base, op->o_tmpmemctx ); 373 ber_dupbv_x( &op->o_req_ndn, &default_search_nbase, op->o_tmpmemctx );
|
| mra.c | 47 /* op->o_tmpfree( mra->ma_value.bv_val, op->o_tmpmemctx ); */ 50 op->o_tmpfree( mra->ma_desc, op->o_tmpmemctx ); 51 if ( freeit ) op->o_tmpfree( (char *) mra, op->o_tmpmemctx ); 156 ma.ma_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx ); 206 &value, &ma.ma_value, text, op->o_tmpmemctx ); 226 f->f_mra = op->o_tmpalloc( length, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
| dn2entry.c | 76 ber_dupbv_x( &(*e)->e_nname, dn, op->o_tmpmemctx ); 78 ber_dupbv_x( &(*e)->e_nname, &nmbv, op->o_tmpmemctx ); 80 op->o_tmpfree( mbv.bv_val, op->o_tmpmemctx );
|
| dn2id.c | 115 d = op->o_tmpalloc(sizeof(diskNode) + rlen + nrlen + sizeof(ID), op->o_tmpmemctx); 162 op->o_tmpfree( d, op->o_tmpmemctx ); 178 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); 183 op->o_tmpfree( p2, op->o_tmpmemctx ); 189 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); 194 op->o_tmpfree( p2, op->o_tmpmemctx ); 259 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); 264 op->o_tmpfree( p2, op->o_tmpmemctx ); 270 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); 275 op->o_tmpfree( p2, op->o_tmpmemctx ); [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| refint.c | 478 ip = op->o_tmpalloc(sizeof(dependent_data), op->o_tmpmemctx ); 479 ber_dupbv_x( &ip->dn, &rs->sr_entry->e_name, op->o_tmpmemctx ); 480 ber_dupbv_x( &ip->ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx ); 506 op->o_tmpmemctx ); 523 ber_dupbv_x( &olddn, &a->a_vals[i], op->o_tmpmemctx ); 524 ber_bvarray_add_x( &na->old_vals, &olddn, op->o_tmpmemctx ); 526 ber_dupbv_x( &oldndn, &a->a_nvals[i], op->o_tmpmemctx ); 527 ber_bvarray_add_x( &na->old_nvals, &oldndn, op->o_tmpmemctx ); 535 build_new_dn( &newdn, &rq->newdn, &newsub, op->o_tmpmemctx ); 536 ber_bvarray_add_x( &na->new_vals, &newdn, op->o_tmpmemctx ); [all...] |
| nestgroup.c | 277 nf = op->o_tmprealloc( nf, (n + 1) * sizeof(nestgroup_filterinst_t), op->o_tmpmemctx ); 343 DNpair *dp = op->o_tmpalloc( sizeof(DNpair), op->o_tmpmemctx ); 346 op->o_tmpfree( dp, op->o_tmpmemctx ); 348 ber_dupbv_x( &dp->dp_ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx ); 350 ber_dupbv_x( &dp->dp_dn, &rs->sr_entry->e_name, op->o_tmpmemctx ); 408 sc = op->o_tmpcalloc( 1, sizeof(slap_callback) + sizeof(gdn_info), op->o_tmpmemctx); 438 f = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); 445 nf->f_ava = op->o_tmpcalloc( 1, sizeof( AttributeAssertion ), op->o_tmpmemctx ); 449 f = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); 453 op->o_tmpfree( dp, op->o_tmpmemctx ); [all...] |
| rwmmap.c | 218 op->o_tmpmemctx ); 550 ber_dupbv_x( fstr, &ber_bvnone, op->o_tmpmemctx ); 565 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) 571 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); 576 op->o_tmpfree( vtmp.bv_val, op->o_tmpmemctx ); 582 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) 588 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); 593 op->o_tmpfree( vtmp.bv_val, op->o_tmpmemctx ); 599 &f->f_av_value, &vtmp, RWM_MAP, op->o_tmpmemctx ) ) 605 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); [all...] |
| deref.c | 201 op->o_tmpmemctx ); 240 ber_memfree_x( attributes, op->o_tmpmemctx ); 260 op->o_tmpfree( dshead, op->o_tmpmemctx ); 266 ber_memfree_x( attributes, op->o_tmpmemctx ); 276 op->o_tmpfree( op->o_callback, op->o_tmpmemctx ); 279 op->o_tmpfree( op->o_ctrlderef, op->o_tmpmemctx ); 326 op->o_tmpmemctx ); 349 ber_dupbv_x( &dv[ i ].dv_derefSpecVal, &a->a_vals[ i ], op->o_tmpmemctx ); 375 aa->a_vals, op->o_tmpmemctx ); 386 op->o_tmpmemctx ); [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
| search.c | 90 out->bv_val = op->o_tmpalloc( out->bv_len + 1, op->o_tmpmemctx ); 117 bsi->bsi_op->o_tmpfree( bsi->bsi_attrs, bsi->bsi_op->o_tmpmemctx ); 148 bsi->bsi_op->o_tmpmemctx ); 224 bsi->bsi_op->o_tmpmemctx ); 236 bsi->bsi_op->o_tmpmemctx ); 250 bsi->bsi_op->o_tmpmemctx ); 289 bsi->bsi_op->o_tmpmemctx ); 303 bsi->bsi_op->o_tmpmemctx ); 390 op->o_tmpmemctx ); 405 bsi->bsi_op->o_tmpmemctx ); [all...] |
| entry-id.c | 169 op->o_tmpmemctx ); 171 op->o_tmpmemctx ); 179 op->o_tmpmemctx ); 181 op->o_tmpmemctx ); 269 backsql_BindRowAsStrings_x( sth, &row, op->o_tmpmemctx ); 287 op->o_tmpmemctx ); 289 op->o_tmpmemctx ); 314 op->o_tmpmemctx ); 323 (void)backsql_free_entryID( id, 0, op->o_tmpmemctx ); 368 backsql_FreeRow_x( &row, op->o_tmpmemctx ); [all...] |
| bind.c | 100 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx ); 108 op->o_tmpfree( bsi.bsi_attrs, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
| message_queue.c | 72 *new_bc = op->o_tmpcalloc( 1, sizeof( bm_context_t ), op->o_tmpmemctx ); 76 (*new_bc)->candidates = op->o_tmpcalloc(ntargets, sizeof(SlapReply),op->o_tmpmemctx); 77 (*new_bc)->msgids = op->o_tmpcalloc(ntargets, sizeof(int),op->o_tmpmemctx); 78 (*new_bc)->nretries = op->o_tmpcalloc(ntargets, sizeof(int),op->o_tmpmemctx); 85 AttributeAssertion *ava = op->o_tmpcalloc( 1, sizeof(AttributeAssertion), op->o_tmpmemctx ); 92 struct berval *bv = op->o_tmpalloc( sizeof( struct berval ), op->o_tmpmemctx ); 98 struct berval *bv = op->o_tmpalloc( sizeof( struct berval ), op->o_tmpmemctx ); 174 memctx = op->o_tmpmemctx;
|
| meta_result.c | 176 mem_mark = slap_sl_mark( op->o_tmpmemctx ); 177 ber_set_option( &ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx ); 196 dc.memctx = op->o_tmpmemctx; 208 op->o_tmpmemctx ); 210 op->o_tmpfree( dn.bv_val, op->o_tmpmemctx ); 252 attr = op->o_tmpcalloc( 1, sizeof(Attribute), op->o_tmpmemctx ); 263 op->o_tmpfree( attr, op->o_tmpmemctx ); 288 op->o_tmpfree( attr, op->o_tmpmemctx ); 307 ber_bvarray_free_x( attr->a_vals, op->o_tmpmemctx ); 308 op->o_tmpfree( attr, op->o_tmpmemctx ); [all...] |
| map.c | 123 ber_memfree_x( a_vals[ i ].bv_val, dc->op->o_tmpmemctx ); 190 dnPretty( NULL, dn, &pretty, dc->op->o_tmpmemctx ); 200 dc->op->o_tmpfree( pretty.bv_val, dc->op->o_tmpmemctx ); 228 dc->op->o_tmpfree( pretty.bv_val, dc->op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-sock/ |
| extended.c | 59 b64.bv_val = op->o_tmpalloc( b64.bv_len + 1, op->o_tmpmemctx ); 70 op->o_tmpfree( b64.bv_val, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| index.c | 182 atname, vals, &keys, op->o_tmpmemctx ); 188 ber_bvarray_free_x( keys, op->o_tmpmemctx ); 192 ber_bvarray_free_x( keys, op->o_tmpmemctx ); 203 atname, vals, &keys, op->o_tmpmemctx ); 209 ber_bvarray_free_x( keys, op->o_tmpmemctx ); 213 ber_bvarray_free_x( keys, op->o_tmpmemctx ); 225 atname, vals, &keys, op->o_tmpmemctx ); 231 ber_bvarray_free_x( keys, op->o_tmpmemctx ); 235 ber_bvarray_free_x( keys, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/servers/slapd/back-meta/ |
| modrdn.c | 58 op->o_tmpfree( candidates, op->o_tmpmemctx ); 134 ber_dupbv_x( &newrdn, &op->orr_newrdn, op->o_tmpmemctx ); 176 op->o_tmpfree( newrdn.bv_val, op->o_tmpmemctx ); 183 op->o_tmpfree( candidates, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/proxyOld/ |
| proxyOld.c | 99 rc = dnNormalize( 0, NULL, NULL, &dn, &authzDN, op->o_tmpmemctx ); 105 op->o_tmpfree( authzDN.bv_val, op->o_tmpmemctx );
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
| rdnval.c | 127 op->o_tmpmemctx ); 136 1, op->o_tmpmemctx ); 141 op2.ors_filterstr.bv_val = op->o_tmpalloc( op2.ors_filterstr.bv_len + 1, op->o_tmpmemctx ); 167 op->o_tmpfree( op2.ors_filterstr.bv_val, op->o_tmpmemctx ); 170 op->o_tmpfree( fvals[ i ].bv_val, op->o_tmpmemctx ); 173 op->o_tmpfree( fvals, op->o_tmpmemctx ); 201 LDAP_DN_FORMAT_LDAP, op->o_tmpmemctx ) ) 214 (char **)&rs->sr_text, LDAP_DN_FORMAT_LDAP, op->o_tmpmemctx ) ) 263 op->o_tmpmemctx ) 281 ldap_rdnfree_x( rdn, op->o_tmpmemctx ); [all...] |
| /src/external/bsd/openldap/dist/contrib/slapd-modules/dupent/ |
| dupent.c | 146 op->o_tmpmemctx ); 225 op->o_tmpfree( ds, op->o_tmpmemctx ); 229 ber_memfree_x( AttributeDescriptionList, op->o_tmpmemctx ); 279 op->o_tmpmemctx ); 329 ctrl = op->o_tmpcalloc( 1, sizeof( LDAPControl ), op->o_tmpmemctx ); 415 valnum = op->o_tmpcalloc( sizeof(valnum_t), nattrs, op->o_tmpmemctx ); 459 op->o_tmpfree( valnum, op->o_tmpmemctx ); 494 op->o_tmpfree( op->o_callback, op->o_tmpmemctx ); 497 op->o_tmpfree( op->o_ctrldupent, op->o_tmpmemctx ); 511 sc = op->o_tmpcalloc( 1, sizeof( slap_callback ) + sizeof( dupent_cb_t ), op->o_tmpmemctx ); [all...] |