Lines Matching refs:op
29 Operation *op,
35 Operation *op,
41 Operation *op,
48 Operation *op,
54 Operation *op,
61 Operation *op,
71 Operation *op,
81 Operation *op,
91 Operation *op,
102 Operation *op,
132 struct bdb_info *bdb = (struct bdb_info *)op->o_bd->be_private;
142 rc = presence_candidates( op, rtxn, f->f_desc, ids );
149 rc = ava_comp_candidates ( op, rtxn, f->f_ava, aa, ids, tmp, stack );
154 rc = equality_candidates( op, rtxn, f->f_ava, ids, tmp );
160 rc = approx_candidates( op, rtxn, f->f_ava, ids, tmp );
165 rc = substring_candidates( op, rtxn, f->f_sub, ids, tmp );
173 rc = inequality_candidates( op, rtxn, f->f_ava, ids, tmp, LDAP_FILTER_GE );
175 rc = presence_candidates( op, rtxn, f->f_ava->aa_desc, ids );
183 rc = inequality_candidates( op, rtxn, f->f_ava, ids, tmp, LDAP_FILTER_LE );
185 rc = presence_candidates( op, rtxn, f->f_ava->aa_desc, ids );
191 { struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
198 rc = list_candidates( op, rtxn,
204 rc = list_candidates( op, rtxn,
209 rc = ext_candidates( op, rtxn, f->f_mra, ids, tmp, stack );
215 { struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
233 Operation *op,
253 rc = comp_candidates( op, rtxn, mra, f, save, tmp, save+BDB_IDL_UM_SIZE );
298 Operation *op,
306 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
323 ai = bdb_attr_mask( op->o_bd->be_private, mra->ma_desc );
341 rc = bdb_index_param( op->o_bd, mra->ma_desc, LDAP_FILTER_EQUALITY,
363 &keys, op->o_tmpmemctx );
373 rc = bdb_key_read( op->o_bd, db, rtxn, &keys[i], tmp, NULL, 0 );
397 ber_bvarray_free_x( keys, op->o_tmpmemctx );
409 Operation *op,
421 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
428 return comp_candidates ( op, rtxn, &mra, ava->aa_cf, ids, tmp, stack );
433 Operation *op,
451 rc = comp_list_candidates( op, rtxn, mra, f->cf_and, LDAP_COMP_FILTER_AND, ids, tmp, stack );
454 rc = comp_list_candidates( op, rtxn, mra, f->cf_or, LDAP_COMP_FILTER_OR, ids, tmp, stack );
460 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
466 rc = comp_equality_candidates( op, rtxn, mra, f->cf_ca, ids, tmp, stack );
470 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
482 Operation *op,
489 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
497 return comp_candidates ( op, rtxn, mra, mra->ma_cf, ids, tmp, stack);
507 rc = bdb_cache_find_ndn( op, rtxn, &mra->ma_value, &ei );
515 op->o_bd->be_nsuffix )) {
521 bdb_cache_find_ndn( op, rtxn, &pdn, &ei );
541 rc = bdb_cache_find_ndn( op, rtxn, &mra->ma_value, &ei );
545 int sc = op->ors_scope;
546 op->ors_scope = scope;
547 rc = bdb_dn2idl( op, rtxn, &mra->ma_value, ei, ids,
549 op->ors_scope = sc;
562 Operation *op,
581 rc = bdb_filter_candidates( op, rtxn, f, save, tmp,
631 Operation *op,
636 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
651 rc = bdb_index_param( op->o_bd, desc, LDAP_FILTER_PRESENT,
677 rc = bdb_key_read( op->o_bd, db, rtxn, &prefix, ids, NULL, 0 );
702 Operation *op,
708 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
722 rc = bdb_cache_find_ndn( op, rtxn, &ava->aa_value, &ei );
736 rc = bdb_index_param( op->o_bd, ava->aa_desc, LDAP_FILTER_EQUALITY,
770 &keys, op->o_tmpmemctx );
788 rc = bdb_key_read( op->o_bd, db, rtxn, &keys[i], tmp, NULL, 0 );
820 ber_bvarray_free_x( keys, op->o_tmpmemctx );
833 Operation *op,
839 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
853 rc = bdb_index_param( op->o_bd, ava->aa_desc, LDAP_FILTER_APPROX,
892 &keys, op->o_tmpmemctx );
910 rc = bdb_key_read( op->o_bd, db, rtxn, &keys[i], tmp, NULL, 0 );
942 ber_bvarray_free_x( keys, op->o_tmpmemctx );
953 Operation *op,
959 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
973 rc = bdb_index_param( op->o_bd, sub->sa_desc, LDAP_FILTER_SUBSTRINGS,
1008 &keys, op->o_tmpmemctx );
1026 rc = bdb_key_read( op->o_bd, db, rtxn, &keys[i], tmp, NULL, 0 );
1058 ber_bvarray_free_x( keys, op->o_tmpmemctx );
1069 Operation *op,
1076 struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
1090 rc = bdb_index_param( op->o_bd, ava->aa_desc, LDAP_FILTER_EQUALITY,
1124 &keys, op->o_tmpmemctx );
1143 rc = bdb_key_read( op->o_bd, db, rtxn, &keys[0], tmp, &cursor, gtorlt );
1165 if( op->ors_limit && op->ors_limit->lms_s_unchecked != -1 &&
1166 BDB_IDL_N( ids ) >= (unsigned) op->ors_limit->lms_s_unchecked ) {
1171 ber_bvarray_free_x( keys, op->o_tmpmemctx );