/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeMapTest.java | 84 for (Range<Integer> range2 : RANGES) { in testOverlapRejection() 86 range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); in testOverlapRejection() 88 builder.put(range1, 1).put(range2, 2); in testOverlapRejection() 101 for (Range<Integer> range2 : RANGES) { in testGet() 102 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testGet() 104 ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); in testGet() 110 } else if (range2.contains(i)) { in testGet() 139 for (Range<Integer> range2 : RANGES) { in testSpanTwoRanges() 140 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSpanTwoRanges() 142 ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); in testSpanTwoRanges() [all …]
|
D | TreeRangeMapTest.java | 324 for (Range<Integer> range2 : RANGES) { in testSpanTwoRanges() 327 rangeMap.put(range2, 2); in testSpanTwoRanges() 331 if (range2.isEmpty()) { in testSpanTwoRanges() 334 expected = range2; in testSpanTwoRanges() 337 if (range2.isEmpty()) { in testSpanTwoRanges() 340 expected = range1.span(range2); in testSpanTwoRanges() 366 for (Range<Integer> range2 : RANGES) { in testAllRangePairs() 369 putModel(model, range2, 2); in testAllRangePairs() 372 test.put(range2, 2); in testAllRangePairs() 380 for (Range<Integer> range2 : RANGES) { in testAllRangeTriples() [all …]
|
D | TreeRangeSetTest.java | 208 for (Range<Integer> range2 : QUERY_RANGES) { in testAllTwoRangesIntersecting() 211 rangeSet.add(range2); in testAllTwoRangesIntersecting() 234 for (Range<Integer> range2 : QUERY_RANGES) { in testAllTwoRangesEnclosing() 237 rangeSet.add(range2); in testAllTwoRangesEnclosing() 246 for (Range<Integer> range2 : QUERY_RANGES) { in testCreateCopy() 249 rangeSet.add(range2); in testCreateCopy() 276 for (Range<Integer> range2 : QUERY_RANGES) { in testSubRangeSet() 279 rangeSet.add(range2); in testSubRangeSet() 290 for (Range<Integer> range2 : QUERY_RANGES) { in testComplement() 293 rangeSet.add(range2); in testComplement() [all …]
|
D | AbstractRangeSetTest.java | 46 Range<C> range2 = asRanges.get(i + 1); in testInvariantsInternal() local 47 assertFalse(range1.isConnected(range2)); in testInvariantsInternal()
|
D | ImmutableRangeSetTest.java | 568 for (Range<Integer> range2 : ranges) { in testSubRangeSet() 569 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeSet() 571 ImmutableRangeSet.<Integer>builder().add(range1).add(range2).build(); in testSubRangeSet()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeMapTest.java | 85 for (Range<Integer> range2 : RANGES) { in testOverlapRejection() 87 range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); in testOverlapRejection() 89 builder.put(range1, 1).put(range2, 2); in testOverlapRejection() 102 for (Range<Integer> range2 : 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() 111 } else if (range2.contains(i)) { in testGet() 140 for (Range<Integer> range2 : 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 | 324 for (Range<Integer> range2 : RANGES) { in testSpanTwoRanges() 327 rangeMap.put(range2, 2); in testSpanTwoRanges() 331 if (range2.isEmpty()) { in testSpanTwoRanges() 334 expected = range2; in testSpanTwoRanges() 337 if (range2.isEmpty()) { in testSpanTwoRanges() 340 expected = range1.span(range2); in testSpanTwoRanges() 366 for (Range<Integer> range2 : RANGES) { in testAllRangePairs() 369 putModel(model, range2, 2); in testAllRangePairs() 372 test.put(range2, 2); in testAllRangePairs() 380 for (Range<Integer> range2 : RANGES) { in testAllRangeTriples() [all …]
|
D | TreeRangeSetTest.java | 208 for (Range<Integer> range2 : QUERY_RANGES) { in testAllTwoRangesIntersecting() 211 rangeSet.add(range2); in testAllTwoRangesIntersecting() 234 for (Range<Integer> range2 : QUERY_RANGES) { in testAllTwoRangesEnclosing() 237 rangeSet.add(range2); in testAllTwoRangesEnclosing() 246 for (Range<Integer> range2 : QUERY_RANGES) { in testCreateCopy() 249 rangeSet.add(range2); in testCreateCopy() 276 for (Range<Integer> range2 : QUERY_RANGES) { in testSubRangeSet() 279 rangeSet.add(range2); in testSubRangeSet() 290 for (Range<Integer> range2 : QUERY_RANGES) { in testComplement() 293 rangeSet.add(range2); in testComplement() [all …]
|
D | AbstractRangeSetTest.java | 46 Range<C> range2 = asRanges.get(i + 1); in testInvariantsInternal() local 47 assertFalse(range1.isConnected(range2)); in testInvariantsInternal()
|
D | ImmutableRangeSetTest.java | 569 for (Range<Integer> range2 : ranges) { in testSubRangeSet() 570 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeSet() 572 ImmutableRangeSet.<Integer>builder().add(range1).add(range2).build(); in testSubRangeSet()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/ |
D | TryWithResourcesJavac11FilterTest.java | 40 final Range range2 = new Range(); in without_null_check() local 58 range2.fromInclusive = m.instructions.getLast(); in without_null_check() 73 range2.toInclusive = m.instructions.getLast(); in without_null_check() 79 assertIgnored(range1, range2); in without_null_check() 92 final Range range2 = new Range(); in with_null_check() local 112 range2.fromInclusive = m.instructions.getLast(); in with_null_check() 129 range2.toInclusive = m.instructions.getLast(); in with_null_check() 135 assertIgnored(range1, range2); in with_null_check()
|
D | KotlinCoroutineFilterTest.java | 68 final Range range2 = new Range(); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30() local 69 range2.fromInclusive = m.instructions.getLast(); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30() 89 range2.toInclusive = m.instructions.getLast(); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30() 110 assertIgnored(range0, range1, range2); in should_filter_suspending_lambdas_generated_by_Kotlin_1_3_30() 172 final Range range2 = new Range(); in should_filter_suspending_lambdas() local 173 range2.fromInclusive = m.instructions.getLast(); in should_filter_suspending_lambdas() 201 range2.toInclusive = m.instructions.getLast(); in should_filter_suspending_lambdas() 222 assertIgnored(range0, range1, range2); in should_filter_suspending_lambdas() 327 final Range range2 = new Range(); in should_filter_suspending_functions() local 328 range2.fromInclusive = m.instructions.getLast(); in should_filter_suspending_functions() [all …]
|
D | KotlinWhenFilterTest.java | 48 final Range range2 = new Range(); in should_filter_implicit_else() local 50 range2.fromInclusive = m.instructions.getLast(); in should_filter_implicit_else() 56 range2.toInclusive = m.instructions.getLast(); in should_filter_implicit_else() 60 assertIgnored(range1, range2); in should_filter_implicit_else()
|
D | TryWithResourcesJavacFilterTest.java | 106 final Range range2 = new Range(); in javac9() local 146 range2.fromInclusive = m.instructions.getLast(); in javac9() 154 range2.toInclusive = m.instructions.getLast(); in javac9() 220 assertIgnored(range0, range1, range2, range3); in javac9() 345 final Range range2 = new Range(); in javac_7_8() local 407 range2.fromInclusive = m.instructions.getLast(); in javac_7_8() 432 range2.toInclusive = m.instructions.getLast(); in javac_7_8() 537 assertIgnored(range0, range1, range2, range3); in javac_7_8()
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/ |
D | testbench.cpp | 347 auto range2 = in TEST() local 356 auto cur = range2.get_cursor(); in TEST() 389 auto range2 = from(range1) in TEST() local 399 VERIFY_EQ(_countof(expect), std::distance(range2.begin(), range2.end())); in TEST() 400 VERIFY_EQ(_countof(expect), std::distance(range2.begin(), range2.end())); in TEST() 402 auto result = std::mismatch(expect, expect + _countof(expect), range2.begin()); in TEST() 403 if (result.second != range2.end()) { in TEST() 406 VERIFY( result.second == range2.end()); in TEST() 412 linq_driver<dynamic_collection<int>> range2 = from(range1).late_bind(); in TEST() local 414 VERIFY_EQ(1, range2.element_at(1)); in TEST()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | TextElement.java | 82 Optional<Range> range2 = textElement.getRange(); in matchByRange() 83 if (range1.isPresent() && range2.isPresent()) { in matchByRange() 84 return range1.get().equals(range2.get()); in matchByRange()
|
/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/libxml2/ |
D | xmlregexp.c | 2081 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { in xmlFACompareRanges() argument 2085 (range2->type == XML_REGEXP_RANGES) || in xmlFACompareRanges() 2086 (range2->type == XML_REGEXP_SUBREG) || in xmlFACompareRanges() 2089 (range2->type == XML_REGEXP_STRING)) in xmlFACompareRanges() 2093 if (range1->type > range2->type) { in xmlFACompareRanges() 2097 range1 = range2; in xmlFACompareRanges() 2098 range2 = tmp; in xmlFACompareRanges() 2101 (range2->type == XML_REGEXP_ANYCHAR)) { in xmlFACompareRanges() 2104 (range2->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() 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/python/cpython3/Lib/idlelib/idle_test/ |
D | test_parenmatch.py | 54 for style, range1, range2 in ( 80 text.tag_prevrange('paren', 'end'), range2)
|
/external/deqp/framework/referencerenderer/ |
D | rrVertexAttrib.cpp | 182 const deUint32 range2 = (deUint32)((1ull << 2)-1); in readUnorm2101010RevOrder() local 190 if (size >= 4) dst[Order::T3] = float((aligned >> 30) & ((1 << 2) - 1)) / float(range2); in readUnorm2101010RevOrder() 198 const deUint32 range2 = (deUint32)((1ull << ( 2-1))-1); in readSnorm2101010RevClampOrder() local 206 …er::T3] = de::max(-1.0f, float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) / float(range2)); in readSnorm2101010RevClampOrder() 214 const deUint32 range2 = (deUint32)((1ull << 2)-1); in readSnorm2101010RevScaleOrder() local 222 …er::T3] = (float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) * 2.0f + 1.0f) / float(range2); in readSnorm2101010RevScaleOrder()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_location.py | 90 range2 = SourceRange.from_locations(location1, location2) 91 assert range1 == range2
|
/external/clang/test/CodeGen/ |
D | struct.c | 80 range range2; member
|
/external/v8/src/compiler/ |
D | types.cc | 859 Type range2 = type2.GetRange(); in Union() local 860 if (range1 != nullptr && range2 != nullptr) { in Union() 863 RangeType::Limits(range2.AsRange())); in Union() 868 } else if (range2 != nullptr) { in Union() 869 range = NormalizeRangeAndBitset(range2, &new_bitset, zone); in Union()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2909 const DescriptorProto::ExtensionRange& range2 = in TEST_F() local 2921 EXPECT_TRUE(HasSpan('f', 'g', range2)); in TEST_F() 2922 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); in TEST_F() 2923 EXPECT_TRUE(HasSpan('f', 'g', range2, "end")); in TEST_F() 2943 const DescriptorProto::ReservedRange& range2 = in TEST_F() local 2952 EXPECT_TRUE(HasSpan('f', 'g', range2)); in TEST_F() 2953 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); in TEST_F() 2954 EXPECT_TRUE(HasSpan('f', 'g', range2, "end")); in TEST_F()
|