Home | History | Annotate | Download | only in lib

Lines Matching refs:Idx

132 typedef __re_idx_t Idx;
135 #define REG_MISSING ((Idx) -1)
138 #define REG_ERROR ((Idx) -2)
142 # define REG_VALID_INDEX(n) ((Idx) (n) < REG_ERROR)
149 # define REG_VALID_NONZERO_INDEX(n) ((Idx) ((n) - 1) < (Idx) (REG_ERROR - 1))
227 Idx alloc;
228 Idx nelem;
229 Idx *elems;
315 Idx nmbchars;
318 Idx ncoll_syms;
321 Idx nequiv_classes;
324 Idx nranges;
327 Idx nchar_classes;
340 Idx idx; /* for BACK_REF */
374 Idx *offsets;
379 Idx raw_mbs_idx;
381 Idx valid_len;
383 Idx valid_raw_len;
385 Idx bufs_len;
387 Idx cur_idx;
389 Idx raw_len;
391 Idx len;
395 Idx raw_stop;
397 Idx stop;
432 Idx new_buf_len)
441 static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
448 #define re_string_first_byte(pstr, idx) \
449 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
450 #define re_string_is_single_byte_char(pstr, idx) \
451 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
452 || (pstr)->wcs[(idx) + 1] != WEOF))
457 #define re_string_byte_at(pstr,idx) ((pstr)->mbs[idx])
458 #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
459 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
496 Idx node_idx;
560 Idx num;
561 Idx alloc;
569 Idx next_idx;
570 Idx alloc;
578 Idx node;
579 Idx str_idx; /* The position NODE match at. */
589 Idx str_idx;
590 Idx node;
592 Idx alasts; /* Allocation size of LASTS. */
593 Idx nlasts; /* The number of LASTS. */
599 Idx node;
600 Idx str_idx;
601 Idx subexp_from;
602 Idx subexp_to;
620 Idx match_last;
621 Idx last_node;
624 Idx state_log_top;
626 Idx nbkref_ents;
627 Idx abkref_ents;
630 Idx nsub_tops;
631 Idx asub_tops;
639 Idx last_node;
640 Idx last_str_idx;
646 Idx idx;
647 Idx node;
654 Idx num;
655 Idx alloc;
664 Idx *nexts;
665 Idx *org_indices;
681 Idx init_node;
682 Idx nbackref; /* The number of backreference in this dfa. */
699 Idx *subexp_map;
740 bitset_set (bitset_t set, Idx i)
746 bitset_clear (bitset_t set, Idx i)
752 bitset_contain (const bitset_t set, Idx i)
810 re_string_char_size_at (const re_string_t *pstr, Idx idx)
815 for (byte_idx = 1; idx + byte_idx < pstr->valid_len; ++byte_idx)
816 if (pstr->wcs[idx + byte_idx] != WEOF)
823 re_string_wchar_at (const re_string_t *pstr, Idx idx)
826 return (wint_t) pstr->mbs[idx];
827 return (wint_t) pstr->wcs[idx];
832 re_string_elem_size_at (const re_string_t *pstr, Idx idx)
848 p = pstr->mbs + idx;
850 return p - pstr->mbs - idx;