Lines Matching defs:range
6 // 1. Convert the complete unicode range of code points, except for the
10 // sequence. For each range, ensure the bytes on the left and the ranges
86 // Add a byte to the range. We intentionally only support adding a byte at the
111 // the appropriate range.
204 // characters and adds a range to the set on the right. For example, the first
205 // pass converts the range from "\xe0\xa0\x80" to "\xe0\xa0\xbf" to ("\xe0\xa0",
206 // [\x80-\xbf]), then the second pass converts the range from ("\xe0\xa0",
229 // that each byte range will be contiguous. This would not necessarily be
280 // start bytes and target states. All input bytes in the range between the start
292 // range are invalid).
294 const StateRange range = {0, 1};
295 return State(1, range);
308 const Range& range = set.front();
314 DCHECK_LT(0, range.from());
315 DCHECK_LT(range.to(), 0xFF);
317 {0, 1}, {range.from(), target_state},
318 {static_cast<uint8>(range.to() + 1), 1}};
336 const Range& range = it->set.front();
342 if (states[0].back().from == range.from()) {
345 DCHECK_LT(range.to(), 0xFF);
346 const StateRange new_range = {static_cast<uint8>(range.to() + 1), 1};
349 DCHECK_LT(range.to(), 0xFF);
350 const StateRange new_range_initializer[] = {{range.from(), target_state},
351 {static_cast<uint8>(range.to() + 1), 1}};
380 // bits we can discard and still determine what range a byte lies in. Sadly