/netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
H A D | filter.c | 317 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx ); in get_filter0() 526 f->f_sub = op->o_tmpalloc( sizeof( ssa ), op->o_tmpmemctx ); in get_ssa() 682 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in filter2bv_undef_x() 701 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx ); in filter2bv_undef_x() 776 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in filter2bv_undef_x() 787 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx ); in filter2bv_undef_x() 832 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in filter2bv_undef_x() 1103 *filt = op->o_tmpalloc( sizeof vrf, op->o_tmpmemctx ); in get_simple_vrFilter() 1243 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx ); in vrFilter2bv() 1284 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in simple_vrFilter2bv() [all …]
|
H A D | component.c | 175 dup_cr = op->o_tmpalloc( sizeof( ComponentReference ), op->o_tmpmemctx ); in dup_comp_ref() 186 *ci_temp = op->o_tmpalloc( sizeof( ComponentId ), op->o_tmpmemctx ); in dup_comp_ref() 242 *out_ca = op->o_tmpalloc( sizeof( ComponentAssertion ), op->o_tmpmemctx ); in dup_comp_filter_item() 294 *out_f = op->o_tmpalloc( sizeof(dup_f), op->o_tmpmemctx ); in dup_comp_filter() 497 *cid = op->o_tmpalloc( sizeof( ComponentId ), op->o_tmpmemctx ); in get_componentId() 572 ca_comp_ref = op->o_tmpalloc( sizeof( ComponentReference ), in get_component_reference() 966 _ca = op->o_tmpalloc( sizeof( ComponentAssertion ), op->o_tmpmemctx ); in get_item() 1180 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx ); in parse_comp_filter()
|
H A D | ava.c | 85 aa = op->o_tmpalloc( sizeof( AttributeAssertion ), op->o_tmpmemctx ); in get_ava()
|
H A D | mra.c | 226 f->f_mra = op->o_tmpalloc( length, op->o_tmpmemctx ); in get_mra()
|
/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() 178 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); in mdb_dn2id_add() 189 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2id_add() 259 p2 = op->o_tmpalloc( rlen + 2, op->o_tmpmemctx ); in mdb_dn2id_delete() 270 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2id_delete() 362 d = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2id() 415 ptr = op->o_tmpalloc( matched->bv_len+1, op->o_tmpmemctx ); in mdb_dn2id() 485 d = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); in mdb_dn2sups() 612 name->bv_val = op->o_tmpalloc( name->bv_len + 1, op->o_tmpmemctx ); in mdb_id2name() 613 nname->bv_val = op->o_tmpalloc( nname->bv_len + 1, op->o_tmpmemctx ); in mdb_id2name() [all …]
|
H A D | index.c | 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()
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
H A D | search.c | 113 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 125 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 137 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 149 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 159 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 128, memctx ); /* FIXME: why 128 ? */ in asyncmeta_int_filter2bv() 213 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 223 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 128, memctx ); /* FIXME: why 128? */ in asyncmeta_int_filter2bv() 264 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv() 509 op->o_ctrls = op->o_tmpalloc( len, op->o_tmpmemctx ); in asyncmeta_back_search_start()
|
H A D | modify.c | 76 mods = op->o_tmpalloc( sizeof( LDAPMod )*i, op->o_tmpmemctx ); in asyncmeta_back_modify_start() 84 modv = ( LDAPMod ** )op->o_tmpalloc( ( i + 1 )*sizeof( LDAPMod * ), op->o_tmpmemctx ); in asyncmeta_back_modify_start() 106 …mods[ i ].mod_bvalues =(struct berval **)op->o_tmpalloc( ( j + 1 ) *sizeof( struct berval * ), op-… in asyncmeta_back_modify_start() 108 mods[ i ].mod_bvalues[ j ] = op->o_tmpalloc(sizeof( struct berval ), op->o_tmpmemctx ); in asyncmeta_back_modify_start()
|
H A D | add.c | 98 attrs = op->o_tmpalloc(sizeof( LDAPMod * )*i, op->o_tmpmemctx); in asyncmeta_back_add_start() 109 attrs[ i ] = op->o_tmpalloc( sizeof( LDAPMod ), op->o_tmpmemctx ); in asyncmeta_back_add_start() 116 …attrs[ i ]->mod_bvalues = op->o_tmpalloc( ( j + 1 ) * sizeof( struct berval * ), op->o_tmpmemctx ); in asyncmeta_back_add_start() 118 attrs[ i ]->mod_bvalues[ j ] = op->o_tmpalloc( sizeof( struct berval ), op->o_tmpmemctx ); in asyncmeta_back_add_start()
|
H A D | message_queue.c | 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()
|
H A D | map.c | 213 res->bv_val = dc->op->o_tmpalloc( res->bv_len + 1, dc->memctx ); in asyncmeta_dn_massage()
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/adremap/ |
H A D | adremap.c | 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() 496 f->f_next = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 511 f = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 519 fnew = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter() 530 f = op->o_tmpalloc(sizeof(Filter), op->o_tmpmemctx); in adremap_filter()
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/authzid/ |
H A D | authzid.c | 224 ctrls = op->o_tmpalloc( sizeof( LDAPControl * )*( n + 2 ), op->o_tmpmemctx ); in authzid_response() 233 ctrls[n] = op->o_tmpalloc( sizeof( LDAPControl ) + len + 1, op->o_tmpmemctx ); in authzid_response() 296 op->o_callback = op->o_tmpalloc( sizeof( slap_callback ), op->o_tmpmemctx ); in authzid_op_bind()
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | rwmmap.c | 571 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, 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() 605 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 622 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 641 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 706 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 716 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite() 763 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite()
|
H A D | sssvlv.c | 238 ctrl = (LDAPControl *)op->o_tmpalloc( sizeof(LDAPControl)+ in pack_vlv_response_control() 292 ctrl = (LDAPControl *)op->o_tmpalloc( sizeof(LDAPControl)+ in pack_pagedresult_response_control() 331 ctrl = (LDAPControl *)op->o_tmpalloc( sizeof(LDAPControl)+ in pack_sss_response_control() 531 sn = op->o_tmpalloc( sizeof(sort_node) + in send_list() 738 sn = op->o_tmpalloc( len, op->o_tmpmemctx ); in sssvlv_op_response() 938 slap_callback *cb = op->o_tmpalloc( sizeof(slap_callback), in sssvlv_op_search() 1157 sc = op->o_tmpalloc( sizeof(sort_ctrl) + in sss_parseCtrl() 1237 vc = op->o_tmpalloc( sizeof(vlv_ctrl), op->o_tmpmemctx ); in vlv_parseCtrl()
|
H A D | syncprov.c | 253 cp = op->o_tmpalloc( sizeof( LDAPControl ) + bv.bv_len, op->o_tmpmemctx ); in syncprov_state_ctrl() 305 cp = op->o_tmpalloc( sizeof( LDAPControl ) + bv.bv_len, op->o_tmpmemctx ); in syncprov_done_ctrl() 796 pcookie.uuids = op->o_tmpalloc( (SLAP_SYNCUUID_SET_SIZE+1) * in syncprov_findcsn() 932 rs.sr_ctrls = op->o_tmpalloc( sizeof(LDAPControl *)*2, op->o_tmpmemctx ); in syncprov_sendresp() 1449 sm = op->o_tmpalloc( sizeof(syncmatches), op->o_tmpmemctx ); in syncprov_matchops() 2042 uuids = op->o_tmpalloc( (num) * sizeof( struct berval ) + in syncprov_play_sessionlog() 2045 csns = op->o_tmpalloc( (num) * sizeof( struct berval ) + in syncprov_play_sessionlog() 2299 fop.ors_filterstr.bv_val = fop.o_tmpalloc( in syncprov_play_accesslog() 2332 …uuid_progress.uuid_list = fop.o_tmpalloc( (uuid_progress.list_len) * sizeof(struct berval), fop.o_… in syncprov_play_accesslog() 2333 uuid_progress.uuid_buf = fop.o_tmpalloc( (uuid_progress.list_len) * UUID_LEN, fop.o_tmpmemctx ); in syncprov_play_accesslog() [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() 1155 andf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_dyngroup() 1161 andf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_dyngroup() 1165 dnf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_dyngroup() 1215 dnf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_stgroup() 1221 dnf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_stgroup() 1228 dnf = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_stgroup() 1292 n = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in dynlist_filter_dup()
|
H A D | refint.c | 467 ip = op->o_tmpalloc(sizeof(dependent_data), op->o_tmpmemctx ); in refint_search_cb() 658 m = op2.o_tmpalloc( sizeof(Modifications) + in refint_repair() 686 m = op2.o_tmpalloc( len, op2.o_tmpmemctx ); in refint_repair() 718 m = op2.o_tmpalloc( len, op2.o_tmpmemctx ); in refint_repair()
|
H A D | autoca.c | 310 args->derpkey.bv_val = op->o_tmpalloc( args->derpkey.bv_len, op->o_tmpmemctx ); in autoca_gencert() 389 args->dercert.bv_val = op->o_tmpalloc( args->dercert.bv_len, op->o_tmpmemctx ); in autoca_gencert() 848 extras[0].value = op->o_tmpalloc( sizeof("email:") + a->a_vals[0].bv_len, op->o_tmpmemctx ); in autoca_op_response() 861 extras[0].value = op->o_tmpalloc( sizeof("IP:") + a->a_vals[0].bv_len, op->o_tmpmemctx ); in autoca_op_response()
|
H A D | translucent.c | 978 n = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in trans_filter_dup() 986 n = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in trans_filter_dup() 1002 n = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in trans_filter_dup() 1005 nava = op->o_tmpalloc( sizeof(AttributeAssertion), op->o_tmpmemctx ); in trans_filter_dup() 1019 n = op->o_tmpalloc( sizeof(Filter), op->o_tmpmemctx ); in trans_filter_dup()
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
H A D | search.c | 119 filter->bv_val = op->o_tmpalloc( filter->bv_len + 1, in ldap_back_munge_filter() 209 attrs = op->o_tmpalloc( ( i + x + 1 )*sizeof( char * ), in ldap_back_search() 443 rs->sr_ref = op->o_tmpalloc( ( cnt + 1 ) * sizeof( struct berval ), in ldap_back_search() 542 rs->sr_ref = op->o_tmpalloc( ( cnt + 1 ) * sizeof( struct berval ), in ldap_back_search() 980 filter = op->o_tmpalloc( STRLENOF( "(objectClass=" ")" ) in ldap_back_entry_get()
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sock/ |
H A D | extended.c | 59 b64.bv_val = op->o_tmpalloc( b64.bv_len + 1, op->o_tmpmemctx ); in sock_back_extended()
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
H A D | rdnval.c | 141 op2.ors_filterstr.bv_val = op->o_tmpalloc( op2.ors_filterstr.bv_len + 1, op->o_tmpmemctx ); in rdnval_unique_check() 454 mod = op->o_tmpalloc( len, op->o_tmpmemctx ); in rdnval_repair_cb() 510 op->ors_filterstr.bv_val = op->o_tmpalloc( op->ors_filterstr.bv_len + 1, op->o_tmpmemctx ); in rdnval_repair()
|
H A D | vernum.c | 226 mod = op->o_tmpalloc( len, op->o_tmpmemctx ); in vernum_repair_cb() 282 op->ors_filterstr.bv_val = op->o_tmpalloc( op->ors_filterstr.bv_len + 1, op->o_tmpmemctx ); in vernum_repair()
|
H A D | pguid.c | 261 mod = op->o_tmpalloc( len, op->o_tmpmemctx ); in pguid_repair_cb() 317 op->ors_filterstr.bv_val = op->o_tmpalloc( op->ors_filterstr.bv_len + 1, op->o_tmpmemctx ); in pguid_repair()
|