/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeMapTest.java | 84 for (Range<Integer> range1 : RANGES) { in testOverlapRejection() 87 range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); in testOverlapRejection() 89 builder.put(range1, 1); in testOverlapRejection() 101 for (Range<Integer> range1 : RANGES) { in testGet() 103 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testGet() 105 ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); in testGet() 109 if (range1.contains(i)) { in testGet() 139 for (Range<Integer> range1 : RANGES) { in testSpanTwoRanges() 141 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSpanTwoRanges() 143 ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); in testSpanTwoRanges() [all …]
|
D | TreeRangeMapTest.java | 205 for (Range<Integer> range1 : RANGES) { in testSpanTwoRanges() 208 rangeMap.put(range1, 1); in testSpanTwoRanges() 212 if (range1.isEmpty()) { in testSpanTwoRanges() 220 expected = range1; in testSpanTwoRanges() 222 expected = range1.span(range2); in testSpanTwoRanges() 247 for (Range<Integer> range1 : RANGES) { in testAllRangePairs() 250 putModel(model, range1, 1); in testAllRangePairs() 253 test.put(range1, 1); in testAllRangePairs() 261 for (Range<Integer> range1 : RANGES) { in testAllRangeTriples() 265 putModel(model, range1, 1); in testAllRangeTriples() [all …]
|
D | TreeRangeSetTest.java | 173 for (Range<Integer> range1 : QUERY_RANGES) { in testAllTwoRangesEnclosing() 176 rangeSet.add(range1); in testAllTwoRangesEnclosing() 185 for (Range<Integer> range1 : QUERY_RANGES) { in testCreateCopy() 188 rangeSet.add(range1); in testCreateCopy() 215 for (Range<Integer> range1 : QUERY_RANGES) { in testSubRangeSet() 218 rangeSet.add(range1); in testSubRangeSet() 229 for (Range<Integer> range1 : QUERY_RANGES) { in testComplement() 232 rangeSet.add(range1); in testComplement() 240 for (Range<Integer> range1 : QUERY_RANGES) { in testSubRangeSetOfComplement() 243 rangeSet.add(range1); in testSubRangeSetOfComplement() [all …]
|
D | AbstractRangeSetTest.java | 45 Range<C> range1 = asRanges.get(i); in testInvariantsInternal() local 47 assertFalse(range1.isConnected(range2)); in testInvariantsInternal()
|
D | ImmutableRangeSetTest.java | 480 for (Range<Integer> range1 : ranges) { in testSubRangeSet() 482 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeSet() 484 .add(range1) in testSubRangeSet()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | TypedRangeTest.java | 51 TypedRange<String> range1 = new TypedRange<String>(1, 777, null); in testCompare() local 53 Assert.assertTrue(range1.compareTo(range2) < 0); in testCompare() 54 Assert.assertTrue(range2.compareTo(range1) > 0); in testCompare() 55 Assert.assertTrue(range1.compareTo(range1) == 0); in testCompare()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/ |
D | TryWithResourcesJavacFilterTest.java | 109 final Range range1 = new Range(); in javac9() local 168 range1.fromInclusive = m.instructions.getLast(); in javac9() 186 range1.toInclusive = m.instructions.getLast(); in javac9() 229 assertEquals(range1.fromInclusive, from.get(1)); in javac9() 230 assertEquals(range1.toInclusive, to.get(1)); in javac9() 360 final Range range1 = new Range(); in javac_7_8() local 457 range1.fromInclusive = m.instructions.getLast(); in javac_7_8() 498 range1.toInclusive = m.instructions.getLast(); in javac_7_8() 558 assertEquals(range1.fromInclusive, from.get(1)); in javac_7_8() 559 assertEquals(range1.toInclusive, to.get(1)); in javac_7_8() [all …]
|
D | TryWithResourcesEcjFilterTest.java | 165 final Range range1 = new Range(); in ecj() local 195 range1.fromInclusive = m.instructions.getLast(); in ecj() 308 range1.toInclusive = m.instructions.getLast(); in ecj() 320 assertEquals(range1.fromInclusive, from.get(1)); in ecj() 321 assertEquals(range1.toInclusive, to.get(1)); in ecj() 450 final Range range1 = new Range(); in ecj_noFlowOut() local 501 range1.fromInclusive = m.instructions.getLast(); in ecj_noFlowOut() 596 range1.toInclusive = m.instructions.getLast(); in ecj_noFlowOut() 608 assertEquals(range1.fromInclusive, from.get(1)); in ecj_noFlowOut() 609 assertEquals(range1.toInclusive, to.get(1)); in ecj_noFlowOut()
|
/external/clang/test/CodeGen/ |
D | struct.c | 79 range range1; member 86 range r = p.range1; in f8() 170 return f16_ext().range1; in f16() 182 return (rp = f18_ext()).range1; in f18()
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/ |
D | testbench.cpp | 346 int_range range1(0, 3); in TEST() local 349 from(range1) in TEST() 388 int_range range1(0, 3); in TEST() local 389 auto range2 = from(range1) in TEST() 411 int_range range1(0, 100); in TEST() local 412 linq_driver<dynamic_collection<int>> range2 = from(range1).late_bind(); in TEST() 416 auto q1 = from(range1).select([](int x){ return x*2; }).where([](int x){ return x%10!=0; }); in TEST() 492 auto range1 = int_range(0, _countof(num)-5); // 5 digit numbers, plus null terminator in TEST() local 494 auto products = from(range1) in TEST()
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 77 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) { in clang_equalRanges() argument 78 return range1.ptr_data[0] == range2.ptr_data[0] in clang_equalRanges() 79 && range1.ptr_data[1] == range2.ptr_data[1] in clang_equalRanges() 80 && range1.begin_int_data == range2.begin_int_data in clang_equalRanges() 81 && range1.end_int_data == range2.end_int_data; in clang_equalRanges()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_location.py | 89 range1 = SourceRange.from_locations(location1, location2) 91 assert range1 == range2 95 assert range1 != range3
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_parenmatch.py | 54 for style, range1, range2 in ( 70 text.tag_prevrange('paren', 'end'), range1)
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
D | DWARFDebugAranges.cpp | 20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, in RangeLessThan() argument 22 return range1.LoPC < range2.LoPC; in RangeLessThan()
|
/external/libxml2/ |
D | xmlregexp.c | 2081 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { in xmlFACompareRanges() argument 2084 if ((range1->type == XML_REGEXP_RANGES) || in xmlFACompareRanges() 2087 (range1->type == XML_REGEXP_SUBREG) || in xmlFACompareRanges() 2088 (range1->type == XML_REGEXP_STRING) || in xmlFACompareRanges() 2093 if (range1->type > range2->type) { in xmlFACompareRanges() 2096 tmp = range1; in xmlFACompareRanges() 2097 range1 = range2; in xmlFACompareRanges() 2100 if ((range1->type == XML_REGEXP_ANYCHAR) || in xmlFACompareRanges() 2103 } else if ((range1->type == XML_REGEXP_EPSILON) || in xmlFACompareRanges() 2106 } else if (range1->type == range2->type) { in xmlFACompareRanges() [all …]
|
D | xpointer.c | 311 xmlXPtrRangesEqual(xmlXPathObjectPtr range1, xmlXPathObjectPtr range2) { in xmlXPtrRangesEqual() argument 312 if (range1 == range2) in xmlXPtrRangesEqual() 314 if ((range1 == NULL) || (range2 == NULL)) in xmlXPtrRangesEqual() 316 if (range1->type != range2->type) in xmlXPtrRangesEqual() 318 if (range1->type != XPATH_RANGE) in xmlXPtrRangesEqual() 320 if (range1->user != range2->user) in xmlXPtrRangesEqual() 322 if (range1->index != range2->index) in xmlXPtrRangesEqual() 324 if (range1->user2 != range2->user2) in xmlXPtrRangesEqual() 326 if (range1->index2 != range2->index2) in xmlXPtrRangesEqual()
|
/external/v8/src/compiler/ |
D | types.cc | 868 Type range1 = type1.GetRange(); in Union() local 870 if (range1 != nullptr && range2 != nullptr) { in Union() 872 RangeType::Limits::Union(RangeType::Limits(range1.AsRange()), in Union() 876 } else if (range1 != nullptr) { in Union() 877 range = NormalizeRangeAndBitset(range1, &new_bitset, zone); in Union()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 4100 const DescriptorProto_ReservedRange& range1 = proto.reserved_range(i); in BuildMessage() local 4103 if (range1.end() > range2.start() && range2.end() > range1.start()) { in BuildMessage() 4109 range1.start(), range1.end() - 1)); in BuildMessage() 4161 const Descriptor::ExtensionRange* range1 = result->extension_range(i); in BuildMessage() local 4164 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage() 4169 range1->start, range1->end - 1, in BuildMessage() 4175 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage() 4181 range1->start, range1->end - 1)); in BuildMessage()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2486 const DescriptorProto::ExtensionRange& range1 = in TEST_F() local 2496 EXPECT_TRUE(HasSpan('b', 'e', range1)); in TEST_F() 2497 EXPECT_TRUE(HasSpan('b', 'c', range1, "start")); in TEST_F() 2498 EXPECT_TRUE(HasSpan('d', 'e', range1, "end")); in TEST_F()
|
/external/python/dateutil/docs/ |
D | examples.rst | 1346 >>> range1 = tzrange("EST", -18000, "EDT") 1352 >>> tzstr('EST5EDT') == range1 == range2
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 4169 bool CoreChecks::RangesIntersect(layer_data const *dev_data, MEMORY_RANGE const *range1, MEMORY_RAN… in RangesIntersect() argument 4172 auto r1_start = range1->start; in RangesIntersect() 4173 auto r1_end = range1->end; in RangesIntersect() 4177 if (range1->linear != range2->linear) { in RangesIntersect() 4183 if (!skip_checks && (range1->linear != range2->linear)) { in RangesIntersect() 4185 const char *r1_linear_str = range1->linear ? "Linear" : "Non-linear"; in RangesIntersect() 4186 const char *r1_type_str = range1->image ? "image" : "buffer"; in RangesIntersect() 4189 …auto obj_type = range1->image ? VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT : VK_DEBUG_REPORT_OBJECT_TYP… in RangesIntersect() 4191 …dev_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, obj_type, range1->handle, kVUID_Core_MemTr… in RangesIntersect() 4195 …r1_linear_str, r1_type_str, dev_data->report_data->FormatHandle(range1->handle).c_str(), r2_linear… in RangesIntersect() [all …]
|
D | core_validation.h | 437 …bool RangesIntersect(layer_data const* dev_data, MEMORY_RANGE const* range1, VkDeviceSize offset, … 438 …bool RangesIntersect(layer_data const* dev_data, MEMORY_RANGE const* range1, MEMORY_RANGE const* r…
|
/external/clang/include/clang-c/ |
D | Index.h | 444 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
|