Home | History | Annotate | Download | only in range

Lines Matching defs:Range

5 #include "ui/gfx/range/range.h"
13 Range::Range(const CHARRANGE& range, LONG total_length) {
14 // Check if this is an invalid range.
15 if (range.cpMin == -1 && range.cpMax == -1) {
18 DCHECK_GE(range.cpMin, 0);
19 set_start(range.cpMin);
20 // {0,-1} is the "whole range" but that doesn't mean much out of context,
22 if (range.cpMax == -1) {
23 DCHECK_EQ(0, range.cpMin);
27 set_end(range.cpMax);
32 CHARRANGE Range::ToCHARRANGE() const {