Lines Matching refs:idx

56 				     const re_dfastate_t *state, Idx idx);
161 const re_string_t *input, Idx idx);
172 const re_token_t *node, Idx idx);
1002 Idx idx) in acquire_init_state_context() argument
1008 context = re_string_context_at (&mctx->input, idx - 1, mctx->eflags); in acquire_init_state_context()
1194 const re_dfastate_t *state, Idx idx) in check_halt_state_context() argument
1199 context = re_string_context_at (&mctx->input, idx, mctx->eflags); in check_halt_state_context()
1271 Idx subexp_idx = dfa->nodes[node].opr.idx + 1; in proceed_next_node()
1338 fs->stack[num].idx = str_idx; in push_fail_stack()
1357 *pidx = fs->stack[num].idx; in pop_fail_stack()
1384 Idx idx, cur_node; in set_regs() local
1415 for (idx = pmatch[0].rm_so; idx <= pmatch[0].rm_eo ;) in set_regs()
1417 update_regs (dfa, pmatch, prev_idx_match, cur_node, idx, nmatch); in set_regs()
1419 if ((idx == pmatch[0].rm_eo && cur_node == mctx->last_node) in set_regs()
1429 cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch, in set_regs()
1444 &idx, cur_node, in set_regs()
1456 cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch, in set_regs()
1495 Idx reg_num = dfa->nodes[cur_node].opr.idx + 1; in update_regs()
1507 Idx reg_num = dfa->nodes[cur_node].opr.idx + 1; in update_regs()
1840 Idx idx = re_node_set_contains (dest_nodes, cur_node) - 1; in sub_epsilon_src_nodes() local
1841 re_node_set_remove_at (dest_nodes, idx); in sub_epsilon_src_nodes()
1862 subexp_idx = dfa->nodes[ent->node].opr.idx; in check_dst_limits()
1947 if ((boundaries & 1) && subexp_idx == dfa->nodes[node].opr.idx) in check_dst_limits_calc_pos_1()
1952 if ((boundaries & 2) && subexp_idx == dfa->nodes[node].opr.idx) in check_dst_limits_calc_pos_1()
2010 subexp_idx = dfa->nodes[ent->node].opr.idx; in check_subexp_limits()
2020 && subexp_idx == dfa->nodes[node].opr.idx) in check_subexp_limits()
2023 && subexp_idx == dfa->nodes[node].opr.idx) in check_subexp_limits()
2065 if (subexp_idx != dfa->nodes[node].opr.idx) in check_subexp_limits()
2393 && dfa->nodes[node].opr.idx < BITSET_WORD_BITS in check_subexp_matching_top()
2395 & ((bitset_word_t) 1 << dfa->nodes[node].opr.idx))) in check_subexp_matching_top()
2647 subexp_num = dfa->nodes[bkref_node].opr.idx; in get_subexp()
2657 if (dfa->nodes[sub_top->node].opr.idx != subexp_num) in get_subexp()
2820 && node->opr.idx == subexp_idx) in find_subexp_node()
2845 subexp_num = dfa->nodes[top_node].opr.idx; in check_arrival()
3081 Idx idx, outside_node; in check_arrival_expand_ecl() local
3090 for (idx = 0; idx < cur_nodes->nelem; ++idx) in check_arrival_expand_ecl()
3092 Idx cur_node = cur_nodes->elems[idx]; in check_arrival_expand_ecl()
3137 && dfa->nodes[cur_node].opr.idx == ex_subexp) in check_arrival_expand_ecl_sub()
3820 int32_t idx = findidx (table, indirect, extra, &cp, elem_len); in check_node_accept_bytes() local
3821 int32_t rule = idx >> 24; in check_node_accept_bytes()
3822 idx &= 0xffffff; in check_node_accept_bytes()
3823 if (idx > 0) in check_node_accept_bytes()
3825 size_t weight_len = weights[idx]; in check_node_accept_bytes()
3833 && memcmp (weights + idx + 1, in check_node_accept_bytes()
3889 int32_t idx; in find_collation_sequence_value() local
3895 for (idx = 0; idx < extrasize;) in find_collation_sequence_value()
3901 idx = idx + extra[idx] + 1; in find_collation_sequence_value()
3902 elem_mbs_len = extra[idx++]; in find_collation_sequence_value()
3906 if (extra[idx + mbs_cnt] != mbs[mbs_cnt]) in find_collation_sequence_value()
3913 idx += elem_mbs_len; in find_collation_sequence_value()
3915 idx = (idx + 3) & ~3; in find_collation_sequence_value()
3917 idx += sizeof (uint32_t); in find_collation_sequence_value()
3919 idx = idx + sizeof (uint32_t) * (*(int32_t *) (extra + idx) + 1); in find_collation_sequence_value()
3922 return *(uint32_t *) (extra + idx); in find_collation_sequence_value()
3924 idx += sizeof (uint32_t); in find_collation_sequence_value()
3937 Idx idx) in check_node_accept() argument
3940 ch = re_string_byte_at (&mctx->input, idx); in check_node_accept()
3973 unsigned int context = re_string_context_at (&mctx->input, idx, in check_node_accept()