Lines Matching refs:range

270            the range 0 to one less than the pattern buffer's re_nsub
279 number, in the range 0 to one less than `re_nsub' in the
833 "Invalid range end", /* REG_ERANGE */
1408 /* Look ahead to see if it's a range when the last thing
1413 /* Look ahead to see if it's a range when the last thing
1415 beginning or the end of a list, then it's the range
2192 /* Read the ending character of a range (in a bracket expression) from the
2220 is set, the range endpoints will be negative if we fetch using a
2232 /* If the start is after the end, the range is empty. */
2237 char' -- the range is inclusive, so if `range_end' == 0xff
2852 re_search (bufp, string, size, startpos, range, regs)
2855 int size, startpos, range;
2858 return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
2885 re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
2890 int range;
2898 int endpos = startpos + range;
2900 /* Check for out-of-range STARTPOS. */
2907 range = -1 - startpos;
2909 range = total_size - startpos;
2913 if (bufp->used > 0 && (re_opcode_t) bufp->buffer[0] == begbuf && range > 0)
2918 range = 1;
2935 if (range > 0) /* Searching forwards. */
2939 int irange = range;
2941 if (startpos < size1 && startpos + range >= size1)
2942 lim = range - (size1 - startpos);
2949 while (range > lim
2952 range--;
2954 while (range > lim && !fastmap[(unsigned char) *d++])
2955 range--;
2957 startpos += irange - range;
2971 if (range >= 0 && startpos == total_size && fastmap
2984 if (!range)
2986 else if (range > 0)
2988 range--;
2993 range++;
4859 /* start: */ 0, /* range: */ len,