Lines Matching refs:op
58 parse_comp_filter( Operation* op, ComponentAssertionValue* cav,
164 dup_comp_ref ( Operation* op, ComponentReference* cr )
170 dup_cr = op->o_tmpalloc( sizeof( ComponentReference ), op->o_tmpmemctx );
181 *ci_temp = op->o_tmpalloc( sizeof( ComponentId ), op->o_tmpmemctx );
193 Operation *op,
203 rc = dup_comp_filter( op, bv, f, new );
228 Operation *op,
237 *out_ca = op->o_tmpalloc( sizeof( ComponentAssertion ), op->o_tmpmemctx );
243 (*out_ca)->ca_comp_ref = dup_comp_ref ( op, in_ca->ca_comp_ref );
257 Operation* op,
269 rc = dup_comp_filter_list( op, bv, in_f->cf_and, &dup_f.cf_and);
273 rc = dup_comp_filter_list( op, bv, in_f->cf_or, &dup_f.cf_or);
277 rc = dup_comp_filter( op, bv, in_f->cf_not, &dup_f.cf_not);
281 rc = dup_comp_filter_item( op, bv, in_f->cf_ca ,&dup_f.cf_ca );
289 *out_f = op->o_tmpalloc( sizeof(dup_f), op->o_tmpmemctx );
297 get_aliased_filter_aa ( Operation* op, AttributeAssertion* a_assert, AttributeAliasing* aa, const char** text )
312 return dup_comp_filter ( op, &assert_bv, aa->aa_cf, &a_assert->aa_cf );
316 get_aliased_filter( Operation* op,
335 return dup_comp_filter ( op, &assert_bv, aa->aa_cf, &ma->ma_cf );
339 get_comp_filter( Operation* op, struct berval* bv,
349 rc = parse_comp_filter( op, &cav, filt, text );
409 get_comp_filter_list( Operation *op, ComponentAssertionValue *cav,
422 err = parse_comp_filter( op, cav, new, text );
432 get_componentId( Operation *op, ComponentAssertionValue* cav,
491 if ( op ) {
492 *cid = op->o_tmpalloc( sizeof( ComponentId ), op->o_tmpmemctx );
551 Operation *op,
566 if ( op ) {
567 ca_comp_ref = op->o_tmpalloc( sizeof( ComponentReference ),
568 op->o_tmpmemctx );
580 rc = get_componentId( op, cav, cr_list, text );
586 if ( op ) {
587 op->o_tmpfree( ca_comp_ref , op->o_tmpmemctx );
597 if ( op ) {
598 op->o_tmpfree( ca_comp_ref , op->o_tmpmemctx );
686 get_ca_use_default( Operation *op,
708 get_matching_rule( Operation *op, ComponentAssertionValue* cav,
856 get_matching_value( Operation *op, ComponentAssertion* ca,
945 get_item( Operation *op, ComponentAssertionValue* cav, ComponentAssertion** ca,
954 if ( op )
955 _ca = op->o_tmpalloc( sizeof( ComponentAssertion ), op->o_tmpmemctx );
967 rc = get_component_reference( op, cav, &_ca->ca_comp_ref, text );
969 if ( op )
970 op->o_tmpfree( _ca, op->o_tmpmemctx );
983 rc = get_ca_use_default( op, cav, &_ca->ca_use_def, text );
985 if ( op )
986 op->o_tmpfree( _ca, op->o_tmpmemctx );
997 get_matching_rule( op, cav , &_ca->ca_ma_rule, text ) == LDAP_SUCCESS )) {
998 if ( op )
999 op->o_tmpfree( _ca, op->o_tmpmemctx );
1008 get_matching_value( op, _ca, cav,&value ,text ) == LDAP_SUCCESS )) {
1009 if ( op )
1010 op->o_tmpfree( _ca, op->o_tmpmemctx );
1021 if ( op && !(mr->smr_usage & (SLAP_MR_COMPONENT)) && mr->smr_normalize ) {
1027 &value, &_ca->ca_ma_value, op->o_tmpmemctx );
1036 if ( op && mr->smr_syntax->ssyn_validate( mr->smr_syntax, &_ca->ca_ma_value) != LDAP_SUCCESS ) {
1046 rc = get_comp_filter( op, &bv,(ComponentFilter**)&_ca->ca_cf, text );
1048 if ( op )
1049 op->o_tmpfree( _ca, op->o_tmpmemctx );
1063 parse_comp_filter( Operation* op, ComponentAssertionValue* cav,
1098 err = get_comp_filter_list( op, cav, &f.cf_and, text );
1110 err = get_comp_filter_list( op, cav, &f.cf_or, text );
1123 err = parse_comp_filter( op, cav, &f.cf_not, text );
1132 op->o_tmpfree( f.cf_not, op->o_tmpmemctx );
1150 err = get_item( op, cav, &f.cf_ca, text );
1173 if ( op ) {
1174 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx );