/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() 91 builder.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 | 206 for (Range<Integer> range2 : RANGES) { in testSpanTwoRanges() 209 rangeMap.put(range2, 2); in testSpanTwoRanges() 213 if (range2.isEmpty()) { in testSpanTwoRanges() 216 expected = range2; in testSpanTwoRanges() 219 if (range2.isEmpty()) { in testSpanTwoRanges() 222 expected = range1.span(range2); in testSpanTwoRanges() 248 for (Range<Integer> range2 : RANGES) { in testAllRangePairs() 251 putModel(model, range2, 2); in testAllRangePairs() 254 test.put(range2, 2); in testAllRangePairs() 262 for (Range<Integer> range2 : RANGES) { in testAllRangeTriples() [all …]
|
D | TreeRangeSetTest.java | 174 for (Range<Integer> range2 : QUERY_RANGES) { in testAllTwoRangesEnclosing() 177 rangeSet.add(range2); in testAllTwoRangesEnclosing() 186 for (Range<Integer> range2 : QUERY_RANGES) { in testCreateCopy() 189 rangeSet.add(range2); in testCreateCopy() 216 for (Range<Integer> range2 : QUERY_RANGES) { in testSubRangeSet() 219 rangeSet.add(range2); in testSubRangeSet() 230 for (Range<Integer> range2 : QUERY_RANGES) { in testComplement() 233 rangeSet.add(range2); in testComplement() 241 for (Range<Integer> range2 : QUERY_RANGES) { in testSubRangeSetOfComplement() 244 rangeSet.add(range2); in testSubRangeSetOfComplement() [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 | 481 for (Range<Integer> range2 : ranges) { in testSubRangeSet() 482 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeSet() 485 .add(range2) in testSubRangeSet()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/ |
D | TryWithResourcesJavacFilterTest.java | 110 final Range range2 = new Range(); in javac9() local 150 range2.fromInclusive = m.instructions.getLast(); in javac9() 158 range2.toInclusive = m.instructions.getLast(); in javac9() 232 assertEquals(range2.fromInclusive, from.get(2)); in javac9() 233 assertEquals(range2.toInclusive, to.get(2)); in javac9() 361 final Range range2 = new Range(); in javac_7_8() local 423 range2.fromInclusive = m.instructions.getLast(); in javac_7_8() 448 range2.toInclusive = m.instructions.getLast(); in javac_7_8() 561 assertEquals(range2.fromInclusive, from.get(2)); in javac_7_8() 562 assertEquals(range2.toInclusive, to.get(2)); in javac_7_8()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | TypedRangeTest.java | 52 TypedRange<String> range2 = new TypedRange<String>(2, 777, null); in testCompare() local 53 Assert.assertTrue(range1.compareTo(range2) < 0); in testCompare() 54 Assert.assertTrue(range2.compareTo(range1) > 0); in testCompare()
|
/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/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/swiftshader/third_party/LLVM/lib/DebugInfo/ |
D | DWARFDebugAranges.cpp | 21 const DWARFDebugAranges::Range &range2) { in RangeLessThan() argument 22 return range1.LoPC < range2.LoPC; in RangeLessThan()
|
/external/v8/src/compiler/ |
D | types.cc | 878 Type* range2 = type2->GetRange(); in Union() local 879 if (range1 != NULL && range2 != NULL) { in Union() 882 RangeType::Limits(range2->AsRange())); in Union() 887 } else if (range2 != NULL) { in Union() 888 range = NormalizeRangeAndBitset(range2, &new_bitset, zone); in Union()
|
/external/clang/test/CodeGen/ |
D | struct.c | 80 range range2; member
|
/external/v8/src/ast/ |
D | ast-types.cc | 986 AstType* range2 = type2->GetRange(); in Union() local 987 if (range1 != NULL && range2 != NULL) { in Union() 990 AstRangeType::Limits(range2->AsRange())); in Union() 995 } else if (range2 != NULL) { in Union() 996 range = NormalizeRangeAndBitset(range2, &new_bitset, zone); in Union()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 4102 const DescriptorProto_ReservedRange& range2 = proto.reserved_range(j); in BuildMessage() local 4103 if (range1.end() > range2.start() && range2.end() > range1.start()) { in BuildMessage() 4108 range2.start(), range2.end() - 1, in BuildMessage() 4163 const Descriptor::ReservedRange* range2 = result->reserved_range(j); in BuildMessage() local 4164 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage() 4170 range2->start, range2->end - 1)); in BuildMessage() 4174 const Descriptor::ExtensionRange* range2 = result->extension_range(j); in BuildMessage() local 4175 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage() 4180 range2->start, range2->end - 1, in BuildMessage()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2488 const DescriptorProto::ExtensionRange& range2 = in TEST_F() local 2500 EXPECT_TRUE(HasSpan('f', 'g', range2)); in TEST_F() 2501 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); in TEST_F() 2502 EXPECT_TRUE(HasSpan('f', 'g', range2, "end")); in TEST_F()
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 3560 …ect(layer_data const *dev_data, MEMORY_RANGE const *range1, MEMORY_RANGE const *range2, bool *skip, in rangesIntersect() argument 3565 auto r2_start = range2->start; in rangesIntersect() 3566 auto r2_end = range2->end; in rangesIntersect() 3568 if (range1->linear != range2->linear) { in rangesIntersect() 3574 if (!skip_checks && (range1->linear != range2->linear)) { in rangesIntersect() 3578 const char *r2_linear_str = range2->linear ? "linear" : "non-linear"; in rangesIntersect() 3579 const char *r2_type_str = range2->image ? "image" : "buffer"; in rangesIntersect() 3587 r1_linear_str, r1_type_str, range1->handle, r2_linear_str, r2_type_str, range2->handle); in rangesIntersect() 8434 bool isRegionOverlapping(VkImageSubresourceRange range1, VkImageSubresourceRange range2) { in isRegionOverlapping() argument 8435 …return (isRangeOverlapping(range1.baseMipLevel, range1.levelCount, range2.baseMipLevel, range2.lev… in isRegionOverlapping() [all …]
|
/external/clang/include/clang-c/ |
D | Index.h | 445 CXSourceRange range2);
|