Lines Matching defs:range
39 * Internal format of the range array set up by parse_range()
42 struct range {
49 * parse_ranges() is a function to parse a comma-separated list of range
63 * range can be extracted from the array using the range_min(), range_max(),
86 * at malloc'd space which holds the parsed range
91 * data for a given range.
106 struct range *rp, *ranges;
124 ranges = malloc((ncommas + 1) * sizeof(struct range));
234 * range. It is assumed that rbuf is a range buffer set up by parse_ranges(),
235 * and that r is a valid range within that buffer.
240 return ((struct range *)rbuf)[r].min;
245 return ((struct range *)rbuf)[r].max;
250 return ((struct range *)rbuf)[r].mult;
265 * no numbers in the start-end range that are a multiple of 'mult'
327 "no numbers in the range %d:%d that are a multiple of %d",
414 "no numbers in the range %ld:%ld that are a multiple of %ld",
502 "no numbers in the range %lld:%lld that are a multiple of %lld",
544 * midway value and max. This will reduce the range in half.