Lines Matching refs:from_
51 Interval() : from_(kNone), to_(kNone - 1) {} // '- 1' for branchless size().
52 Interval(int from, int to) : from_(from), to_(to) {}
54 if (that.from_ == kNone) return *this;
55 if (from_ == kNone) return that;
56 return Interval(std::min(from_, that.from_), std::max(to_, that.to_));
61 bool Contains(int value) const { return (from_ <= value) && (value <= to_); }
62 bool is_empty() const { return from_ == kNone; }
63 int from() const { return from_; }
65 int size() const { return to_ - from_ + 1; }
70 int from_;
87 // Represents code points (with values up to 0x10FFFF) in the range from from_
124 bool Contains(base::uc32 i) const { return from_ <= i && i <= to_; }
125 base::uc32 from() const { return from_; }
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) {}
149 base::uc32 from_ = 0;