/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2EdgeUtilTest.java | 204 assertFalse(pruner.intersects(S2NP(-0.1, 1.0, 0.2))); in testXYZPruner() 205 assertFalse(pruner.intersects(S2NP(0.0, 1.0, 0.2))); in testXYZPruner() 206 assertFalse(pruner.intersects(S2NP(0.2, 1.0, 0.2))); in testXYZPruner() 207 assertFalse(pruner.intersects(S2NP(0.2, 1.0, 0.05))); in testXYZPruner() 208 assertFalse(pruner.intersects(S2NP(0.2, 1.0, -0.1))); in testXYZPruner() 209 assertFalse(pruner.intersects(S2NP(-0.1, 1.0, -0.1))); in testXYZPruner() 210 assertFalse(pruner.intersects(S2NP(-0.1, 1.0, 0.0))); in testXYZPruner() 215 assertTrue(pruner.intersects(S2NP(0.02, 1.0, 0.04))); in testXYZPruner() 219 assertTrue(pruner.intersects(S2NP(-0.1, 1.0, -0.03))); in testXYZPruner() 220 assertFalse(pruner.intersects(S2NP(0.05, 1.0, -0.03))); // not close in testXYZPruner() [all …]
|
D | S2CellUnionTest.java | 191 assertTrue(cellunion.intersects(input.get(j))); in testNormalize() 193 assertTrue(cellunion.intersects(input.get(j).parent())); in testNormalize() 195 assertTrue(cellunion.intersects(input.get(j).parent().parent())); in testNormalize() 196 assertTrue(cellunion.intersects(input.get(j).parent(0))); in testNormalize() 201 assertTrue(cellunion.intersects(input.get(j).childBegin())); in testNormalize() 203 assertTrue(cellunion.intersects(input.get(j).childEnd().prev())); in testNormalize() 205 assertTrue(cellunion.intersects(input.get(j).childBegin(S2CellId.MAX_LEVEL))); in testNormalize() 281 boolean contains = false, intersects = false; in testNormalize() 286 if (expected.get(k).intersects(test.get(j))) { in testNormalize() 287 intersects = true; in testNormalize() [all …]
|
D | S2LoopTest.java | 284 S2Loop a, S2Loop b, int containsOrCrosses, boolean intersects, boolean nestable) { in assertRelation() argument 286 assertEquals(a.intersects(b), intersects); in assertRelation() local 413 boolean intersects = (aBegin.lessThan(bEnd) && bBegin.lessThan(aEnd)); in suppressedTestLoopRelations2() 416 + ", intersects = " + intersects); in suppressedTestLoopRelations2() 419 assertEquals(intersects, a.intersects(b)); in suppressedTestLoopRelations2()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | RectRegionTest.java | 66 assertTrue(region1.intersects(region2)); in testIsWithin() 67 assertTrue(region2.intersects(region1)); in testIsWithin() 70 assertFalse(region1.intersects(region3)); in testIsWithin() 71 assertFalse(region3.intersects(region1)); in testIsWithin() 74 assertTrue(region1.intersects(region4)); in testIsWithin() 75 assertTrue(region4.intersects(region1)); in testIsWithin() 79 assertTrue(region1.intersects(region5)); in testIsWithin() 80 assertTrue(region5.intersects(region1)); in testIsWithin()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeSetTest.java | 136 assertFalse(rangeSet.intersects(Range.singleton(0))); in testEmpty() 147 assertTrue(rangeSet.intersects(Range.singleton(0))); in testAll() 148 assertTrue(rangeSet.intersects(Range.<Integer>all())); in testAll() 159 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedRange() 160 assertTrue(rangeSet.intersects(Range.closedOpen(0, 2))); in testSingleBoundedRange() 161 assertTrue(rangeSet.intersects(Range.closedOpen(3, 7))); in testSingleBoundedRange() 162 assertTrue(rangeSet.intersects(Range.greaterThan(2))); in testSingleBoundedRange() 163 assertFalse(rangeSet.intersects(Range.greaterThan(7))); in testSingleBoundedRange() 186 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedBelowRange() 187 assertTrue(rangeSet.intersects(Range.closedOpen(1, 5))); in testSingleBoundedBelowRange() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeSetTest.java | 135 assertFalse(rangeSet.intersects(Range.singleton(0))); in testEmpty() 146 assertTrue(rangeSet.intersects(Range.singleton(0))); in testAll() 147 assertTrue(rangeSet.intersects(Range.<Integer>all())); in testAll() 158 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedRange() 159 assertTrue(rangeSet.intersects(Range.closedOpen(0, 2))); in testSingleBoundedRange() 160 assertTrue(rangeSet.intersects(Range.closedOpen(3, 7))); in testSingleBoundedRange() 161 assertTrue(rangeSet.intersects(Range.greaterThan(2))); in testSingleBoundedRange() 162 assertFalse(rangeSet.intersects(Range.greaterThan(7))); in testSingleBoundedRange() 185 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedBelowRange() 186 assertTrue(rangeSet.intersects(Range.closedOpen(1, 5))); in testSingleBoundedBelowRange() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | RectRegion.java | 73 public boolean intersects(RectRegion region) { in intersects() method in RectRegion 74 return intersects(region.getMinX(), region.getMaxX(), region.getMinY(), region.getMaxY()); in intersects() 89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) { in intersects() method in RectRegion 90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY); in intersects() 93 …public boolean intersects(RectF region, Number visMinX, Number visMaxX, Number visMinY, Number vis… in intersects() method in RectRegion 97 return RectF.intersects(thisRegion, region); in intersects() 134 if(r.intersects(minX, maxX, minY, maxY)) { in regionsWithin()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
D | RegionTest.java | 46 assertFalse(line1.intersects(line2)); in testIntersects() 49 assertTrue(line1.intersects(line2)); in testIntersects() 53 assertTrue(line1.intersects(line2)); in testIntersects() 57 assertFalse(line1.intersects(line2)); in testIntersects()
|
D | LineRegionTest.java | 62 assertFalse(line1.intersects(line2)); in testIntersects() 65 assertTrue(line1.intersects(line2)); in testIntersects() 69 assertTrue(line1.intersects(line2)); in testIntersects() 73 assertFalse(line1.intersects(line2)); in testIntersects()
|
/external/fonttools/Tests/misc/ |
D | arrayTools_test.py | 70 intersects, rect = sectRect((0, 10, 20, 30), (0, 40, 20, 50)) 71 assert not intersects 73 intersects, rect = sectRect((0, 10, 20, 30), (5, 20, 35, 50)) 74 assert intersects
|
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/ |
D | OverlayCull.comp | 77 const bool intersects = widgetCoords.x < widgetCoords.z && 83 return subgroupBallot(intersects).xy; 89 localId < MAX_TEXT_WIDGETS ? uint(intersects) << localId : 0; 91 localId >= MAX_TEXT_WIDGETS ? uint(intersects) << (localId - MAX_TEXT_WIDGETS) : 0; 94 return uvec2(subgroupOr(uint(intersects) << localId), 0); 105 intersectingWidgets[localId] = uint(intersects) << localId; 115 intersectingWidgets[graphLocalId] = uint(intersects) << graphLocalId; 123 intersectingWidgets[localId] = uint(intersects) << localId;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
D | LineRegion.java | 54 public boolean intersects(LineRegion lineRegion) { in intersects() method in LineRegion 55 return intersects(lineRegion.getMinVal(), lineRegion.getMaxVal()); in intersects() 64 public boolean intersects(Number line2Min, Number line2Max) { in intersects() method in LineRegion
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 46 bool intersects (const hb_set_t *glyphs) const in intersects() function 47 { return (this+coverage).intersects (glyphs); } in intersects() 145 bool intersects (const hb_set_t *glyphs) const in intersects() function 146 { return (this+coverage).intersects (glyphs); } in intersects() 303 bool intersects (const hb_set_t *glyphs) const in intersects() function 359 if (!intersects (&glyphset)) return_trace (false); in subset() 385 bool intersects (const hb_set_t *glyphs) const in intersects() function 386 { return (this+coverage).intersects (glyphs); } in intersects() 520 bool intersects (const hb_set_t *glyphs) const in intersects() function 596 bool intersects (const hb_set_t *glyphs) const in intersects() function [all …]
|
D | hb-ot-layout-gsubgpos.hh | 49 return_t dispatch (const T &obj) { return obj.intersects (this->glyphs); } in dispatch() 682 intersects_func_t intersects; member 706 return (data+coverage).intersects (glyphs); in intersects_coverage() 1233 lookup_context.funcs.intersects, lookup_context.intersects_data); in context_intersects() 1297 bool intersects (const hb_set_t *glyphs, ContextClosureLookupContext &lookup_context) const in intersects() function 1373 bool intersects (const hb_set_t *glyphs, in intersects() function 1379 | hb_map ([&] (const Rule &_) { return _.intersects (glyphs, lookup_context); }) in intersects() 1445 bool intersects (const hb_set_t *glyphs) const in intersects() function 1457 | hb_map ([&] (const RuleSet &_) { return _.intersects (glyphs, lookup_context); }) in intersects() 1547 bool intersects (const hb_set_t *glyphs) const in intersects() function [all …]
|
D | hb-ot-layout-gpos-table.hh | 517 bool intersects (const hb_set_t *glyphs) const in intersects() function 518 { return (this+coverage).intersects (glyphs); } in intersects() 600 bool intersects (const hb_set_t *glyphs) const in intersects() function 601 { return (this+coverage).intersects (glyphs); } in intersects() 790 bool intersects (const hb_set_t *glyphs, in intersects() function 926 bool intersects (const hb_set_t *glyphs) const in intersects() function 933 { return (this+_).intersects (glyphs, valueFormat); }) in intersects() 1043 bool intersects (const hb_set_t *glyphs) const in intersects() function 1045 return (this+coverage).intersects (glyphs) && in intersects() 1046 (this+classDef2).intersects (glyphs); in intersects() [all …]
|
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2LatLngRect.java | 265 if (a.lng().intersects(b.lng())) { in getDistance() 266 if (a.lat().intersects(b.lat())) { in getDistance() 376 public boolean intersects(S2LatLngRect other) { in intersects() method in S2LatLngRect 377 return lat.intersects(other.lat) && lng.intersects(other.lng); in intersects() 384 public boolean intersects(S2Cell cell) { in intersects() method in S2LatLngRect 400 if (!intersects(cell.getRectBound())) { in intersects() 422 if (!lng.intersects(edgeLng)) { in intersects() 652 return intersects(cell.getRectBound()); in mayIntersect()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowRectTest.java | 130 assertThat(Rect.intersects(a, b)).isFalse(); in doesntIntersect() 134 public void intersects() { in intersects() method in ShadowRectTest 137 assertThat(Rect.intersects(a, b)).isTrue(); in intersects() 144 assertThat(Rect.intersects(a, b)).isFalse(); in almostIntersects()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFAddressRange.h | 40 bool intersects(const DWARFAddressRange &RHS) const { in intersects() function 59 if (!intersects(RHS)) in merge()
|
/external/skia/tests/ |
D | RegionTest.cpp | 18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 89 REPORTER_ASSERT(reporter, !empty.intersects(empty2)); in test_empties() 90 REPORTER_ASSERT(reporter, !valid.intersects(empty)); in test_empties() 175 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter() 177 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter() 184 bool c0 = a.intersects(b); in intersects_proc()
|
D | PathOpsDRectTest.cpp | 54 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 68 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
|
/external/skqp/tests/ |
D | RegionTest.cpp | 18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 89 REPORTER_ASSERT(reporter, !empty.intersects(empty2)); in test_empties() 90 REPORTER_ASSERT(reporter, !valid.intersects(empty)); in test_empties() 175 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter() 177 REPORTER_ASSERT(reporter, rgn.intersects(r)); in test_intersects_iter() 184 bool c0 = a.intersects(b); in intersects_proc()
|
D | PathOpsDRectTest.cpp | 54 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST() 68 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
|
/external/skia/modules/sksg/src/ |
D | SkSGGroup.cpp | 91 if (!fRequiresIsolation && i > 0 && child_bounds.intersects(bounds)) { in onRevalidate() 98 if (child_bounds.intersects(fChildren[i]->bounds())) { in onRevalidate()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | IdentifierInfo.java | 109 } else if (!requiredScripts.intersects(temp) in setIdentifier() 125 if (requiredScripts.intersects(next)) { in setIdentifier() 266 && !temp.intersects(CONFUSABLE_WITH_LATIN)) { in getRestrictionLevel() 286 if (!container.intersects(alternatives)) { in containsWithAlternates()
|
D | TestMixedScript.java | 176 if (!match.intersects(combo)) { in checkHighlyRestricted() 228 || DISALLOWED_WITH_LATIN.intersects(singleScripts)) { in checkModeratelyRestricted() 253 public boolean intersects(BitSet other) { in intersects() method in TestMixedScript.ScriptMatch 254 return match.intersects(other); in intersects()
|