Lines Matching refs:opr
325 re_set_fastmap (fastmap, icase, dfa->nodes[node].opr.c);
335 *p++ = dfa->nodes[node].opr.c;
339 *p++ = dfa->nodes[node].opr.c;
355 bitset_word_t w = dfa->nodes[node].opr.sbcset[i];
364 re_charset_t *cset = dfa->nodes[node].opr.mbcset;
1015 && clexp_node->opr.idx == dfa->nodes[node_idx].opr.idx)
1077 if (dfa->nodes[node].opr.c >= ASCII_CHARS)
1081 switch (dfa->nodes[node].opr.ctx_type)
1090 opr.ctx_type since constraints (for all DFA nodes) are
1091 created by ORing one or more opr.ctx_type values. */
1115 if (dfa->nodes[node].opr.sbcset[i] >> rshift != 0)
1129 && dfa->nodes[node].opr.c >= ASCII_CHARS)
1272 re_search_internal to map the inner one's opr.idx to this one's. Adjust
1281 int idx = node->token.opr.idx;
1282 node->token.opr.idx = dfa->subexp_map[idx];
1283 dfa->used_bkref_map |= 1 << node->token.opr.idx;
1289 Idx other_idx = node->left->token.opr.idx;
1295 dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx];
1340 && (node->token.opr.idx >= BITSET_WORD_BITS
1342 & ((bitset_word_t) 1 << node->token.opr.idx))))
1357 op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx;
1380 dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type;
1785 token->opr.c = c;
1808 token->opr.c = c2;
1832 token->opr.idx = c2 - '1';
1839 token->opr.ctx_type = WORD_FIRST;
1846 token->opr.ctx_type = WORD_LAST;
1853 token->opr.ctx_type = WORD_DELIM;
1860 token->opr.ctx_type = NOT_WORD_DELIM;
1883 token->opr.ctx_type = BUF_FIRST;
1890 token->opr.ctx_type = BUF_LAST;
1932 token->word_char = IS_WORD_CHAR (token->opr.c);
1986 token->opr.ctx_type = LINE_FIRST;
2000 token->opr.ctx_type = LINE_LAST;
2022 token->opr.c = c;
2040 token->opr.c = c2;
2052 token->opr.c = c2;
2071 token->opr.c = c;
2269 if (!BE (dfa->completed_bkref_map & (1 << token->opr
2274 dfa->used_bkref_map |= 1 << token->opr.idx;
2328 if ((token->opr.ctx_type
2332 if (token->opr.ctx_type == WORD_DELIM
2333 || token->opr.ctx_type == NOT_WORD_DELIM)
2336 if (token->opr.ctx_type == WORD_DELIM)
2338 token->opr.ctx_type = WORD_FIRST;
2340 token->opr.ctx_type = WORD_LAST;
2344 token->opr.ctx_type = INSIDE_WORD;
2346 token->opr.ctx_type = INSIDE_NOTWORD;
2472 tree->token.opr.idx = cur_nsub;
2492 if (token->type == CHARACTER && token->opr.c == ',')
2504 : ((token->type == CHARACTER && token->opr.c == ',')
2575 postorder (elem, mark_opt_subexp, (void *) (long) elem->token.opr.idx);
2640 && strlen ((char *) start_elem->opr.name) > 1)
2642 && strlen ((char *) end_elem->opr.name) > 1), 0))
2652 start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch
2653 : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0]
2655 end_ch = ((end_elem->type == SB_CHAR) ? end_elem->opr.ch
2656 : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0]
2659 ? __btowc (start_ch) : start_elem->opr.wch);
2661 ? __btowc (end_ch) : end_elem->opr.wch);
2716 start_ch = ((start_elem->type == SB_CHAR ) ? start_elem->opr.ch
2717 : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0]
2719 end_ch = ((end_elem->type == SB_CHAR ) ? end_elem->opr.ch
2720 : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0]
2828 return collseqmb[br_elem->opr.ch];
2831 wint_t wc = __btowc (br_elem->opr.ch);
2837 return __collseq_table_lookup (collseqwc, br_elem->opr.wch);
2841 size_t sym_name_len = strlen ((char *) br_elem->opr.name);
2845 opr.name,
2869 return collseqmb[br_elem->opr.name[0]];
2873 return collseqmb[br_elem->opr.name[0]];
3109 start_elem.opr.name = start_name_buf;
3152 end_elem.opr.name = end_name_buf;
3183 bitset_set (sbcset, start_elem.opr.ch);
3201 mbcset->mbchars[mbcset->nmbchars++] = start_elem.opr.wch;
3209 start_elem.opr.name);
3218 start_elem.opr.name);
3227 start_elem.opr.name, syntax);
3265 br_token.opr.mbcset = mbcset;
3278 br_token.opr.sbcset = sbcset;
3302 br_token.opr.sbcset = sbcset;
3332 elem->opr.wch = re_string_wchar_at (regexp, re_string_cur_idx (regexp));
3353 elem->opr.ch = token->opr.c;
3365 unsigned char ch, delim = token->opr.c;
3381 elem->opr.name[i] = ch;
3384 elem->opr.name[i] = '\0';
3652 br_token.opr.sbcset = sbcset;
3663 br_token.opr.mbcset = mbcset;
3704 c = token->opr.c;
3790 if (node->token.type == SUBEXP && node->token.opr.idx == idx)
3803 free_charset (node->opr.mbcset);
3807 re_free (node->opr.sbcset);