Lines Matching full:range
368 the range 0 to one less than the pattern buffer's re_nsub
377 number, in the range 0 to one less than `re_nsub' in the
682 /* Are we starting a range? */
688 /* Have we broken a range? */
957 gettext_noop ("Invalid range end"), /* REG_ERANGE */
2019 /* Look ahead to see if it's a range when the last thing
2024 /* Look ahead to see if it's a range when the last thing
2026 beginning or the end of a list, then it's the range
2859 /* Read the ending character of a range (in a bracket expression) from the
2887 is set, the range endpoints will be negative if we fetch using a
2900 /* If the start is after the end, the range is empty. */
2905 char' -- the range is inclusive, so if `range_end' == 0xff
3266 re_search (bufp, string, size, startpos, range, regs)
3269 int size, startpos, range;
3272 return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
3283 RANGE is how far to scan while trying to match. RANGE = 0 means try
3285 RANGE.
3299 re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
3304 int range;
3312 int endpos = startpos + range;
3315 /* Check for out-of-range STARTPOS. */
3319 /* Fix up RANGE if it might eventually take us outside
3323 range = 0 - startpos;
3325 range = total_size - startpos;
3329 if (bufp->used > 0 && (re_opcode_t) bufp->buffer[0] == begbuf && range > 0)
3334 range = 1;
3340 if (bufp->used > 0 && (re_opcode_t) bufp->buffer[0] == at_dot && range > 0)
3342 range = PT - startpos;
3343 if (range <= 0)
3379 if (range > 0) /* Searching forwards. */
3383 int irange = range;
3385 if (startpos < size1 && startpos + range >= size1)
3386 lim = range - (size1 - startpos);
3393 while (range > lim
3396 range--;
3398 while (range > lim && !fastmap[(unsigned char) *d++])
3399 range--;
3401 startpos += irange - range;
3415 if (range >= 0 && startpos == total_size && fastmap
3434 if (!range)
3436 else if (range > 0)
3438 range--;
3443 range++;
5453 /* start: */ 0, /* range: */ len,