Home
last modified time | relevance | path

Searched refs:encloses (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeSetTest.java149 assertFalse(rangeSet.encloses(Range.singleton(0))); in testEmpty()
159 assertTrue(rangeSet.encloses(Range.<Integer>all())); in testAll()
169 assertTrue(rangeSet.encloses(Range.closed(3, 4))); in testSingleBoundedRange()
170 assertTrue(rangeSet.encloses(Range.closedOpen(1, 4))); in testSingleBoundedRange()
171 assertTrue(rangeSet.encloses(Range.closedOpen(1, 5))); in testSingleBoundedRange()
172 assertFalse(rangeSet.encloses(Range.greaterThan(2))); in testSingleBoundedRange()
190 assertTrue(rangeSet.encloses(Range.closed(3, 4))); in testSingleBoundedBelowRange()
191 assertTrue(rangeSet.encloses(Range.greaterThan(3))); in testSingleBoundedBelowRange()
192 assertFalse(rangeSet.encloses(Range.closedOpen(1, 5))); in testSingleBoundedBelowRange()
207 assertTrue(rangeSet.encloses(Range.closed(2, 3))); in testSingleBoundedAboveRange()
[all …]
DRangeTest.java311 assertTrue(range.encloses(range)); in testEncloses_open()
312 assertTrue(range.encloses(Range.open(2, 4))); in testEncloses_open()
313 assertTrue(range.encloses(Range.open(3, 5))); in testEncloses_open()
314 assertTrue(range.encloses(Range.closed(3, 4))); in testEncloses_open()
316 assertFalse(range.encloses(Range.openClosed(2, 5))); in testEncloses_open()
317 assertFalse(range.encloses(Range.closedOpen(2, 5))); in testEncloses_open()
318 assertFalse(range.encloses(Range.closed(1, 4))); in testEncloses_open()
319 assertFalse(range.encloses(Range.closed(3, 6))); in testEncloses_open()
320 assertFalse(range.encloses(Range.greaterThan(3))); in testEncloses_open()
321 assertFalse(range.encloses(Range.lessThan(3))); in testEncloses_open()
[all …]
DTreeRangeSetTest.java133 if (expectedRange.encloses(query)) { in testEnclosing()
140 rangeSet.encloses(query)); in testEnclosing()
/external/guava/guava/src/com/google/common/collect/
DAbstractRangeSet.java58 if (!encloses(range)) { in enclosesAll()
80 public abstract boolean encloses(Range<C> otherRange); in encloses() method in AbstractRangeSet
DImmutableRangeSet.java90 } else if (rangeSet.encloses(Range.<C>all())) { in copyOf()
115 public boolean encloses(Range<C> otherRange) { in encloses() method in ImmutableRangeSet
122 return index != -1 && ranges.get(index).encloses(otherRange); in encloses()
263 } else if (range.encloses(span())) { in intersectRanges()
319 if (range.encloses(span)) {
562 } else if (!rangeSet.complement().encloses(range)) {
DTreeRangeSet.java109 public boolean encloses(Range<C> range) { in encloses() method in TreeRangeSet
112 return floorEntry != null && floorEntry.getValue().encloses(range); in encloses()
119 return (floorEntry != null && floorEntry.getValue().encloses(range)) in rangeEnclosing()
798 public boolean encloses(Range<C> range) {
799 if (!restriction.isEmpty() && restriction.encloses(range)) {
818 checkArgument(restriction.encloses(rangeToAdd), "Cannot add range %s to subRangeSet(%s)",
842 if (view.encloses(restriction)) {
DRangeSet.java67 boolean encloses(Range<C> otherRange); in encloses() method
DImmutableRangeMap.java109 if (!keyRanges.complement().encloses(range)) { in put()
232 } else if (ranges.isEmpty() || range.encloses(span())) { in subRangeMap()
DTreeRangeMap.java374 checkArgument(subRange.encloses(range),
385 checkArgument(subRange.encloses(span),
448 if (!subRange.encloses(r) || r.isEmpty()) {
DRange.java509 public boolean encloses(Range<C> other) { in encloses() method in Range
/external/skia/site/user/api/
Dskrect.md50 such that an empty rectangle encloses zero pixels:
/external/clang/lib/CodeGen/
DCGCleanup.cpp944 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in isObviouslyBranchWithoutCleanups()
955 TopCleanup.encloses(Dest.getScopeDepth())) // works for invalid in isObviouslyBranchWithoutCleanups()
969 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in EmitBranchThroughCleanup()
986 TopCleanup.encloses(Dest.getScopeDepth())) { // works for invalid in EmitBranchThroughCleanup()
DEHScopeStack.h121 bool encloses(stable_iterator I) const { return Size <= I.Size; }
DCGCleanup.h559 bool encloses(iterator other) const { return Ptr >= other.Ptr; } in encloses() function
DCGStmt.cpp472 assert(innermostScope.encloses(dest.getScopeDepth())); in rescopeLabels()
/external/vboot_reference/futility/
Dcmd_dump_fmap.c242 static int encloses(int i, int j) in encloses() function
366 if (encloses(j, i) in human_fmap()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DDFA.as25 /** Which recognizer encloses this DFA? Needed to check backtracking */
/external/clang/docs/
DAutomaticReferenceCounting.rst2003 autorelease pools it encloses, then sets the current autorelease pool to the