• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/

Lines Matching refs:op

41 	Operation *op,
47 Operation *op,
53 Operation *op,
58 Operation *op,
85 Operation *op,
144 err = get_ava( op, ber, &f, SLAP_MR_EQUALITY, text );
154 err = get_ssa( op, ber, &f, text );
163 err = get_ava( op, ber, &f, SLAP_MR_ORDERING, text );
172 err = get_ava( op, ber, &f, SLAP_MR_ORDERING, text );
202 op->o_connid, type.bv_val, err );
205 f.f_desc = slap_bv2tmp_ad( &type, op->o_tmpmemctx );
215 err = get_ava( op, ber, &f, SLAP_MR_EQUALITY_APPROX, text );
224 err = get_filter_list( op, ber, &f.f_and, text );
237 err = get_filter_list( op, ber, &f.f_or, text );
251 err = get_filter( op, ber, &f.f_not, text );
260 op->o_tmpfree( f.f_not, op->o_tmpmemctx );
279 err = get_mra( op, ber, &f, text );
305 *filt = op->o_tmpalloc( sizeof(f), op->o_tmpmemctx );
315 get_filter_list( Operation *op, BerElement *ber,
331 err = get_filter( op, ber, new, text );
344 Operation *op,
380 op->o_connid, desc.bv_val, (long) rc );
382 ssa.sa_desc = slap_bv2tmp_ad( &desc, op->o_tmpmemctx );
456 usage, &value, &nvalue, text, op->o_tmpmemctx );
462 ber_dupbv_x( &nvalue, &value, op->o_tmpmemctx );
473 ber_bvarray_add_x( &ssa.sa_any, &nvalue, op->o_tmpmemctx );
483 slap_sl_free( nvalue.bv_val, op->o_tmpmemctx );
489 slap_sl_free( ssa.sa_initial.bv_val, op->o_tmpmemctx );
490 ber_bvarray_free_x( ssa.sa_any, op->o_tmpmemctx );
492 op->o_tmpfree( ssa.sa_desc, op->o_tmpmemctx );
493 slap_sl_free( ssa.sa_final.bv_val, op->o_tmpmemctx );
502 f->f_sub = op->o_tmpalloc( sizeof( ssa ), op->o_tmpmemctx );
511 filter_free_x( Operation *op, Filter *f, int freeme )
524 op->o_tmpfree( f->f_desc, op->o_tmpmemctx );
531 ava_free( op, f->f_ava, 1 );
536 op->o_tmpfree( f->f_sub_initial.bv_val, op->o_tmpmemctx );
538 ber_bvarray_free_x( f->f_sub_any, op->o_tmpmemctx );
540 op->o_tmpfree( f->f_sub_final.bv_val, op->o_tmpmemctx );
543 op->o_tmpfree( f->f_sub->sa_desc, op->o_tmpmemctx );
544 op->o_tmpfree( f->f_sub, op->o_tmpmemctx );
552 filter_free_x( op, p, 1 );
557 mra_free( op, f->f_mra, 1 );
570 op->o_tmpfree( f, op->o_tmpmemctx );
577 Operation op;
580 op.o_hdr = &ohdr;
581 op.o_tmpmemctx = slap_sl_context( f );
582 op.o_tmpmfuncs = &slap_sl_mfuncs;
583 filter_free_x( &op, f, 1 );
587 filter2bv_x( Operation *op, Filter *f, struct berval *fstr )
589 filter2bv_undef_x( op, f, 0, fstr );
593 filter2bv_undef_x( Operation *op, Filter *f, int noundef, struct berval *fstr )
613 ber_dupbv_x( fstr, &ber_bvnone, op->o_tmpmemctx );
646 NULL, NULL, &f->f_av_value, &value, op->o_tmpmemctx );
649 filter_escape_value_x( &value, &tmp, op->o_tmpmemctx );
658 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
666 ber_memfree_x( value.bv_val, op->o_tmpmemctx );
669 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
677 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
688 filter_escape_value_x( &f->f_sub_initial, &tmp, op->o_tmpmemctx );
692 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
693 fstr->bv_len + 1, op->o_tmpmemctx );
700 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
709 &tmp, op->o_tmpmemctx );
713 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
714 fstr->bv_len + 1, op->o_tmpmemctx );
720 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
729 filter_escape_value_x( &f->f_sub_final, &tmp, op->o_tmpmemctx );
733 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
734 fstr->bv_len + 1, op->o_tmpmemctx );
741 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
752 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
763 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
772 filter2bv_undef_x( op, p, noundef, &tmp );
775 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
776 op->o_tmpmemctx );
782 op->o_tmpfree( tmp.bv_val, op->o_tmpmemctx );
790 filter_escape_value_x( &f->f_mr_value, &tmp, op->o_tmpmemctx );
808 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
817 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
839 ber_dupbv_x( fstr, &tmp, op->o_tmpmemctx );
843 ber_dupbv_x( fstr, &ber_bvunknown, op->o_tmpmemctx );
857 Operation op;
860 op.o_hdr = &ohdr;
861 op.o_tmpmemctx = NULL;
862 op.o_tmpmfuncs = &ch_mfuncs;
864 filter2bv_undef_x( &op, f, noundef, fstr );
954 Operation *op,
981 err = get_ava( op, ber, (Filter *)&vrf, SLAP_MR_EQUALITY, text );
991 err = get_ssa( op, ber, (Filter *)&vrf, text );
996 err = get_ava( op, ber, (Filter *)&vrf, SLAP_MR_ORDERING, text );
1004 err = get_ava( op, ber, (Filter *)&vrf, SLAP_MR_ORDERING, text );
1033 op->o_connid, type.bv_val, err );
1045 err = get_ava( op, ber, (Filter *)&vrf, SLAP_MR_EQUALITY_APPROX, text );
1054 err = get_mra( op, ber, (Filter *)&vrf, text );
1079 *filt = op->o_tmpalloc( sizeof vrf, op->o_tmpmemctx );
1089 get_vrFilter( Operation *op, BerElement *ber,
1146 int err = get_simple_vrFilter( op, ber, n, text );
1159 vrFilter_free( Operation *op, ValuesReturnFilter *vrf )
1178 ava_free( op, vrf->vrf_ava, 1 );
1183 op->o_tmpfree( vrf->vrf_sub_initial.bv_val, op->o_tmpmemctx );
1185 ber_bvarray_free_x( vrf->vrf_sub_any, op->o_tmpmemctx );
1187 op->o_tmpfree( vrf->vrf_sub_final.bv_val, op->o_tmpmemctx );
1189 op->o_tmpfree( vrf->vrf_sub, op->o_tmpmemctx );
1193 mra_free( op, vrf->vrf_mra, 1 );
1205 op->o_tmpfree( vrf, op->o_tmpmemctx );
1210 vrFilter2bv( Operation *op, ValuesReturnFilter *vrf, struct berval *fstr )
1218 1, fstr, op->o_tmpmemctx );
1223 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
1230 simple_vrFilter2bv( op, p, &tmp );
1233 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1234 op->o_tmpmemctx );
1239 op->o_tmpfree( tmp.bv_val, op->o_tmpmemctx );
1244 simple_vrFilter2bv( Operation *op, ValuesReturnFilter *vrf, struct berval *fstr )
1252 op->o_tmpmemctx );
1259 filter_escape_value_x( &vrf->vrf_av_value, &tmp, op->o_tmpmemctx );
1264 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1270 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1274 filter_escape_value_x( &vrf->vrf_av_value, &tmp, op->o_tmpmemctx );
1279 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1285 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1289 filter_escape_value_x( &vrf->vrf_av_value, &tmp, op->o_tmpmemctx );
1294 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1300 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1304 filter_escape_value_x( &vrf->vrf_av_value, &tmp, op->o_tmpmemctx );
1309 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1314 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1321 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
1329 filter_escape_value_x( &vrf->vrf_sub_initial, &tmp, op->o_tmpmemctx );
1332 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1333 op->o_tmpmemctx );
1339 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1347 op->o_tmpmemctx );
1350 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
1351 fstr->bv_len + 1, op->o_tmpmemctx );
1356 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1363 filter_escape_value_x( &vrf->vrf_sub_final, &tmp, op->o_tmpmemctx );
1366 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1367 op->o_tmpmemctx );
1373 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1382 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1390 filter_escape_value_x( &vrf->vrf_mr_value, &tmp, op->o_tmpmemctx );
1405 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1414 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1427 1, fstr, op->o_tmpmemctx );
1432 1, fstr, op->o_tmpmemctx );