Home
last modified time | relevance | path

Searched refs:encloses (Results 1 – 22 of 22) 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/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/clang/lib/CodeGen/
DCGCleanup.cpp973 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in isObviouslyBranchWithoutCleanups()
984 TopCleanup.encloses(Dest.getScopeDepth())) // works for invalid in isObviouslyBranchWithoutCleanups()
998 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in EmitBranchThroughCleanup()
1015 TopCleanup.encloses(Dest.getScopeDepth())) { // works for invalid in EmitBranchThroughCleanup()
DEHScopeStack.h124 bool encloses(stable_iterator I) const { return Size <= I.Size; }
DCGCleanup.h561 bool encloses(iterator other) const { return Ptr >= other.Ptr; } in encloses() function
DCGStmt.cpp502 assert(innermostScope.encloses(dest.getScopeDepth())); in rescopeLabels()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
Dtbaa.ll104 ; If one access encloses the other, then the merged access is the enclosed one
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/
Dtbaa.ll104 ; If one access encloses the other, then the merged access is the enclosed one
/external/antlr/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
/external/apache-commons-bcel/docs/verifier/
DJustIce.lyx6442 ) structure encloses a
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt62986 encloses %15705