Home | History | Annotate | Download | only in lib

Lines Matching full:match_first

658   Idx match_first;
744 match_first = start;
760 for (;; match_first += incr)
763 if (match_first < left_lim || right_lim < match_first)
779 while (BE (match_first < right_lim, 1)
780 && !fastmap[t[(unsigned char) string[match_first]]])
781 ++match_first;
786 while (BE (match_first < right_lim, 1)
787 && !fastmap[(unsigned char) string[match_first]])
788 ++match_first;
791 if (BE (match_first == right_lim, 0))
793 ch = match_first >= length
794 ? 0 : (unsigned char) string[match_first];
803 while (match_first >= left_lim)
805 ch = match_first >= length
806 ? 0 : (unsigned char) string[match_first];
809 --match_first;
811 if (match_first < left_lim)
821 /* If MATCH_FIRST is out of the valid range, reconstruct the
823 __re_size_t offset = match_first - mctx.input.raw_mbs_idx;
826 err = re_string_reconstruct (&mctx.input, match_first,
831 offset = match_first - mctx.input.raw_mbs_idx;
833 /* If MATCH_FIRST is out of the buffer, leave it as '\0'.
834 Note that MATCH_FIRST must not be smaller than 0. */
835 ch = (match_first >= length
839 match_first += incr;
840 if (match_first < left_lim || match_first > right_lim)
851 err = re_string_reconstruct (&mctx.input, match_first, eflags);
866 start <= last_start ? &match_first : NULL);
951 pmatch[reg_idx].rm_so += match_first;
952 pmatch[reg_idx].rm_eo += match_first;
1233 /* We found a match, do not modify match_first below. */