Searched refs:Range (Results 1 - 25 of 642) sorted by relevance

1234567891011>>

/external/chromium_org/ui/gfx/range/
H A Drange.cc16 Range::Range() function in class:gfx::Range
21 Range::Range(size_t start, size_t end) function in class:gfx::Range
26 Range::Range(size_t position) function in class:gfx::Range
32 const Range Range::InvalidRange() {
33 return Range(std::numeric_limits<size_t>::max());
36 bool Range
[all...]
H A Drange.h29 // A Range contains two integer values that represent a numeric range, like the
31 // position; when they are the same, the Range is akin to a caret. Note that
34 class GFX_EXPORT Range { class in namespace:gfx
37 Range();
40 Range(size_t start, size_t end);
43 explicit Range(size_t position);
47 explicit Range(const NSRange& range);
51 Range(const CHARRANGE& range, LONG total_length = -1);
55 static const Range InvalidRange();
80 bool operator==(const Range
[all...]
H A Drange_unittest.cc9 gfx::Range r;
21 gfx::Range r(10, 15);
33 gfx::Range r(10, 5);
45 gfx::Range r(12);
57 gfx::Range r(gfx::Range::InvalidRange());
66 gfx::Range r1(10, 4);
67 gfx::Range r2(10, 4);
68 gfx::Range r3(10, 2);
73 gfx::Range r
[all...]
/external/chromium_org/content/renderer/
H A Drender_view_impl_unittest.cc17 gfx::Range selection_range;
21 { "test", 0, gfx::Range(0, 4), "test", false },
22 { "zebestest", 0, gfx::Range(2, 6), "best", false },
23 { "zebestest", 2, gfx::Range(2, 6), "best", true },
24 { "test", 0, gfx::Range(0, 4), "hello", true },
25 { "best test", 0, gfx::Range(0, 4), "best ", false },
26 { "best test", 0, gfx::Range(0, 5), "best", false },
/external/lzma/Java/SevenZip/Compression/RangeCoder/
H A DDecoder.java12 int Range; field in class:Decoder
30 Range = -1;
40 Range >>>= 1;
41 int t = ((Code - Range) >>> 31);
42 Code -= Range & (t - 1);
45 if ((Range & kTopMask) == 0)
48 Range <<= 8;
57 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
60 Range = newBound;
62 if ((Range
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSurroundingText.h38 class Range;
49 PassRefPtr<Range> rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endOffsetInContent);
52 RefPtr<Range> m_contentRange;
H A DTextCheckingHelper.h31 class Range;
39 explicit TextCheckingParagraph(PassRefPtr<Range> checkingRange);
40 TextCheckingParagraph(PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange);
44 PassRefPtr<Range> subrange(int characterOffset, int characterCount) const;
63 PassRefPtr<Range> paragraphRange() const;
64 PassRefPtr<Range> checkingRange() const { return m_checkingRange; }
68 PassRefPtr<Range> offsetAsRange() const;
70 RefPtr<Range> m_checkingRange;
71 mutable RefPtr<Range> m_paragraphRang
[all...]
H A DPlainTextRange.h36 class Range;
51 PassRefPtr<Range> createRange(const ContainerNode& scope) const;
52 PassRefPtr<Range> createRangeForSelection(const ContainerNode& scope) const;
54 static PlainTextRange create(const Node& scope, const Range&);
60 PassRefPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const;
H A DSpellCheckRequester.h30 #include "core/dom/Range.h"
48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, int requestNumber = 0);
51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; }
52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; }
66 SpellCheckRequest(PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, const String&, TextCheckingTypeMask, TextCheckingProcessType, const Vector<uint32_t>& documentMarkersInRange, const Vector<unsigned>& documentMarkerOffsets, int requestNumber);
69 RefPtr<Range> m_checkingRange;
70 RefPtr<Range> m_paragraphRange;
85 bool isCheckable(Range*) cons
[all...]
H A DSpellingCorrectionCommand.h29 #include "core/dom/Range.h"
36 static PassRefPtr<SpellingCorrectionCommand> create(PassRefPtr<Range> rangeToBeCorrected, const String& correction)
41 SpellingCorrectionCommand(PassRefPtr<Range> rangeToBeCorrected, const String& correction);
45 RefPtr<Range> m_rangeToBeCorrected;
/external/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs12 public uint Range; field in class:SevenZip.Compression.RangeCoder.Encoder
33 Range = 0xFFFFFFFF;
56 Low += start * (Range /= total);
57 Range *= size;
58 while (Range < kTopValue)
60 Range <<= 8;
86 Range >>= 1;
88 Low += Range;
89 if (Range < kTopValue)
91 Range <<
125 public uint Range; field in class:SevenZip.Compression.RangeCoder.Decoder
[all...]
H A DRangeCoderBit.cs29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob;
32 encoder.Range = newBound;
38 encoder.Range -= newBound;
41 if (encoder.Range < Encoder.kTopValue)
43 encoder.Range <<= 8;
91 uint newBound = (uint)(rangeDecoder.Range >> kNumBitModelTotalBits) * (uint)Prob;
94 rangeDecoder.Range = newBound;
96 if (rangeDecoder.Range < Decoder.kTopValue)
99 rangeDecoder.Range <<= 8;
105 rangeDecoder.Range
[all...]
/external/lzma/CPP/7zip/Compress/
H A DRangeCoder.h22 UInt32 Range; member in class:NCompress::NRangeCoder::CEncoder
31 Range = 0xFFFFFFFF;
49 Low += start * (Range /= total);
50 Range *= size;
51 while (Range < kTopValue)
53 Range <<= 8;
79 Range >>= 1;
80 Low += Range & (0 - ((value >> numBits) & 1));
81 if (Range < kTopValue)
83 Range <<
113 UInt32 Range; member in class:NCompress::NRangeCoder::CDecoder
[all...]
H A DRangeCoderBit.h52 UInt32 newBound = (encoder->Range >> kNumBitModelTotalBits) * this->Prob;
55 encoder->Range = newBound;
61 encoder->Range -= newBound;
64 if (encoder->Range < kTopValue)
66 encoder->Range <<= 8;
85 UInt32 newBound = (decoder->Range >> kNumBitModelTotalBits) * this->Prob;
88 decoder->Range = newBound;
90 if (decoder->Range < kTopValue)
93 decoder->Range <<= 8;
99 decoder->Range
[all...]
/external/chromium_org/ui/gfx/
H A Dbreak_list_unittest.cc35 breaks.ApplyValue(true, Range::InvalidRange());
38 breaks.ApplyValue(true, Range(i, i));
48 breaks.ApplyValue(true, Range(2, 3));
57 breaks.ApplyValue(false, Range(0, max));
61 breaks.ApplyValue(false, Range(0, 2));
62 breaks.ApplyValue(false, Range(3, 6));
63 breaks.ApplyValue(false, Range(7, max));
67 breaks.ApplyValue(true, Range(0, 3));
68 breaks.ApplyValue(true, Range(3, 6));
69 breaks.ApplyValue(true, Range(
[all...]
/external/chromium_org/ui/base/ime/
H A Dcomposition_text.cc18 selection = gfx::Range();
/external/chromium_org/content/common/
H A Dtext_input_client_messages.h30 gfx::Range)
34 gfx::Range)
/external/chromium_org/third_party/WebKit/Source/web/
H A DFindInPageCoordinates.h37 class Range;
57 WebCore::FloatRect findInPageRectFromRange(WebCore::Range*);
/external/chromium_org/ui/views/controls/
H A Dstyled_label_listener.h11 class Range;
19 virtual void StyledLabelLinkClicked(const gfx::Range& range,
/external/easymock/src/org/easymock/internal/
H A DResults.java29 private final LinkedList<Range> ranges = new LinkedList<Range>();
33 public void add(Result result, Range range) {
35 Range lastRange = ranges.getLast();
48 Range interval = ranges.get(i);
71 private Range getMainInterval() {
74 for (Range interval : ranges) {
83 return new Range(min, max);
/external/chromium-trace/trace-viewer/src/base/
H A Drange_test.js11 var range = new base.Range();
25 var r1 = new base.Range();
29 var r = new base.Range();
36 var r1 = new base.Range();
38 var r = new base.Range();
46 var r1 = new base.Range();
50 var r = new base.Range();
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DTimeRanges.h78 struct Range { struct in class:WebCore::TimeRanges
79 Range() { } function in struct:WebCore::TimeRanges::Range
80 Range(double start, double end) function in struct:WebCore::TimeRanges::Range
93 inline bool isOverlappingRange(const Range& range) const
98 inline bool isContiguousWithRange(const Range& range) const
103 inline Range unionWithOverlappingOrContiguousRange(const Range& range) const
105 Range ret;
113 inline bool isBeforeRange(const Range& range) const
119 Vector<Range> m_range
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dmagnetism_matcher.h52 typedef std::pair<int,int> Range; typedef in class:ash::internal::MagnetismEdgeMatcher
53 typedef std::vector<Range> Ranges;
56 void UpdateRanges(const Range& range);
88 Range GetPrimaryRange(const gfx::Rect& bounds) const {
92 return Range(bounds.y(), bounds.bottom());
95 return Range(bounds.x(), bounds.right());
98 return Range();
101 Range GetSecondaryRange(const gfx::Rect& bounds) const {
105 return Range(bounds.x(), bounds.right());
108 return Range(bound
[all...]
/external/clang/test/SemaCXX/
H A Dfor-range-no-std.cpp12 struct Range {}; struct
13 int begin(Range); // expected-note {{not viable}}
14 int end(Range);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dre.h27 typedef struct Range { struct
28 struct Range *next;
30 } Range; typedef in typeref:struct:Range
33 Range_init(Range *r, unsigned int l, unsigned int u)
40 static Range *
43 Range *r = malloc(sizeof(Range));
51 Range_copy(Range *ro, const Range *r)
58 static Range *
[all...]

Completed in 475 milliseconds

1234567891011>>