Lines Matching defs:to_
51 Interval() : from_(kNone), to_(kNone - 1) {} // '- 1' for branchless size().
52 Interval(int from, int to) : from_(from), to_(to) {}
56 return Interval(std::min(from_, that.from_), std::max(to_, that.to_));
61 bool Contains(int value) const { return (from_ <= value) && (value <= to_); }
64 int to() const { return to_; }
65 int size() const { return to_ - from_ + 1; }
71 int to_;
88 // to to_, both ends are inclusive.
124 bool Contains(base::uc32 i) const { return from_ <= i && i <= to_; }
126 base::uc32 to() const { return to_; }
127 bool IsEverything(base::uc32 max) const { return from_ == 0 && to_ >= max; }
128 bool IsSingleton() const { return from_ == to_; }
145 CharacterRange(base::uc32 from, base::uc32 to) : from_(from), to_(to) {}
150 base::uc32 to_ = 0;