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