Home
last modified time | relevance | path

Searched refs:RangeSet (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/testing/
Drange_set.cpp11 RangeSet::RangeSet() {} in RangeSet() function in RangeSet
12 RangeSet::~RangeSet() {} in ~RangeSet()
14 bool RangeSet::Contains(const Range& range) const { in Contains()
28 void RangeSet::Union(const Range& range) { in Union()
61 void RangeSet::Union(const RangeSet& range_set) { in Union()
67 RangeSet::Range RangeSet::FixDirection(const Range& range) const { in FixDirection()
72 bool RangeSet::IsEmptyRange(const Range& range) const { in IsEmptyRange()
Drange_set.h13 class RangeSet {
17 RangeSet();
18 ~RangeSet();
24 void Union(const RangeSet& range_set);
Dfake_file_access.cpp88 return available_data_.Contains(RangeSet::Range(offset, offset + size)); in IsDataAvail()
92 requested_data_.Union(RangeSet::Range(offset, offset + size)); in AddSegment()
113 available_data_.Union(RangeSet::Range(0, static_cast<size_t>(GetFileSize()))); in SetWholeFileAvailable()
Dfake_file_access.h38 RangeSet available_data_;
39 RangeSet requested_data_;
/external/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp73 class RangeSet { class
82 RangeSet(PrimRangeSet RS) : ranges(RS) {} in RangeSet() function in __anon7dca5b270111::RangeSet
86 RangeSet addRange(Factory &F, const RangeSet &RS) { in addRange()
90 return RangeSet(Ranges); in addRange()
99 RangeSet(Factory &F, const llvm::APSInt &from, const llvm::APSInt &to) in RangeSet() function in __anon7dca5b270111::RangeSet
247 RangeSet Intersect(BasicValueFactory &BV, Factory &F, in Intersect()
283 bool operator==(const RangeSet &other) const { in operator ==()
291 RangeSet))
295 RangeSet GetRange(ProgramStateRef state, SymbolRef sym);
343 RangeSet::Factory F;
[all …]
/external/guava/guava/src/com/google/common/collect/
DAbstractRangeSet.java24 abstract class AbstractRangeSet<C extends Comparable> implements RangeSet<C> {
56 public boolean enclosesAll(RangeSet<C> other) { in enclosesAll()
66 public void addAll(RangeSet<C> other) { in addAll()
73 public void removeAll(RangeSet<C> other) { in removeAll()
86 } else if (obj instanceof RangeSet) { in equals()
87 RangeSet<?> other = (RangeSet<?>) obj; in equals()
DRangeSet.java48 public interface RangeSet<C extends Comparable> { interface
78 boolean enclosesAll(RangeSet<C> other); in enclosesAll()
109 RangeSet<C> complement(); in complement()
119 RangeSet<C> subRangeSet(Range<C> view); in subRangeSet()
169 void addAll(RangeSet<C> other); in addAll()
182 void removeAll(RangeSet<C> other); in removeAll()
DImmutableRangeSet.java86 public static <C extends Comparable> ImmutableRangeSet<C> copyOf(RangeSet<C> rangeSet) { in copyOf()
161 public void addAll(RangeSet<C> other) { in addAll()
171 public void removeAll(RangeSet<C> other) { in removeAll()
546 private final RangeSet<C> rangeSet;
578 public Builder<C> addAll(RangeSet<C> ranges) {
DTreeRangeSet.java60 public static <C extends Comparable<?>> TreeRangeSet<C> create(RangeSet<C> rangeSet) { in create()
232 private transient RangeSet<C> complement;
235 public RangeSet<C> complement() { in complement()
236 RangeSet<C> result = complement; in complement()
615 public RangeSet<C> complement() {
784 public RangeSet<C> subRangeSet(Range<C> view) {
841 public RangeSet<C> subRangeSet(Range<C> view) {
DImmutableRangeMap.java91 private final RangeSet<K> keyRanges;
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java66 void testViewAgainstExpected(RangeSet<Integer> expected, RangeSet<Integer> view) { in testViewAgainstExpected()
129 public void testEnclosing(RangeSet<Integer> rangeSet) { in testEnclosing()
196 private RangeSet<Integer> expectedSubRangeSet( in expectedSubRangeSet()
197 RangeSet<Integer> rangeSet, Range<Integer> subRange) { in expectedSubRangeSet()
198 RangeSet<Integer> expected = TreeRangeSet.create(); in expectedSubRangeSet()
207 private RangeSet<Integer> expectedComplement(RangeSet<Integer> rangeSet) { in expectedComplement()
208 RangeSet<Integer> expected = TreeRangeSet.create(); in expectedComplement()
552 RangeSet<Integer> rangeSet = TreeRangeSet.create(); in testRangeContaining1()
561 RangeSet<Integer> rangeSet = TreeRangeSet.create(); in testRangeContaining2()
DAbstractRangeSetTest.java32 public static void testInvariants(RangeSet<?> rangeSet) { in testInvariants()
37 private static <C extends Comparable> void testInvariantsInternal(RangeSet<C> rangeSet) { in testInvariantsInternal()
DImmutableRangeSetTest.java178 RangeSet<Integer> expectedComplement = TreeRangeSet.create(); in testSingleBoundedRange()
231 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedRanges()
252 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedBelowRanges()
272 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedAboveRanges()
350 RangeSet<Integer> mutable = TreeRangeSet.create(); in testExhaustive()
488 RangeSet<Integer> expected = TreeRangeSet.create(); in testSubRangeSet()
/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp92 available_ranges_.Union(RangeSet::Range(start, start + size)); in SetDataAvailable()
96 return available_ranges_.Contains(RangeSet::Range(start, start + size)); in CheckDataAlreadyAvailable()
151 RangeSet available_ranges_;