Home
last modified time | relevance | path

Searched refs:range1 (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeMapTest.java84 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 …]
DTreeRangeMapTest.java205 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 …]
DTreeRangeSetTest.java173 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 …]
DAbstractRangeSetTest.java45 Range<C> range1 = asRanges.get(i); in testInvariantsInternal() local
47 assertFalse(range1.isConnected(range2)); in testInvariantsInternal()
DImmutableRangeSetTest.java480 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/
DTypedRangeTest.java51 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/clang/test/CodeGen/
Dstruct.c79 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/chromium-trace/catapult/dashboard/dashboard/
Dassociate_alerts.py205 def _RangesOverlap(range1, range2): argument
217 if not range1 or not range2:
219 return range1[0] <= range2[1] and range1[1] >= range2[0]
/external/clang/bindings/python/tests/cindex/
Dtest_location.py89 range1 = SourceRange.from_locations(location1, location2)
91 assert range1 == range2
95 assert range1 != range3
/external/clang/tools/libclang/
DCXSourceLocation.cpp77 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/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugArangeSet.cpp90 static bool DescriptorLessThan (const DWARFDebugArangeSet::Descriptor& range1, const DWARFDebugAran… in DescriptorLessThan() argument
92 return range1.address < range2.address; in DescriptorLessThan()
/external/libxml2/
Dxmlregexp.c2081 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 …]
Dxpointer.c302 xmlXPtrRangesEqual(xmlXPathObjectPtr range1, xmlXPathObjectPtr range2) { in xmlXPtrRangesEqual() argument
303 if (range1 == range2) in xmlXPtrRangesEqual()
305 if ((range1 == NULL) || (range2 == NULL)) in xmlXPtrRangesEqual()
307 if (range1->type != range2->type) in xmlXPtrRangesEqual()
309 if (range1->type != XPATH_RANGE) in xmlXPtrRangesEqual()
311 if (range1->user != range2->user) in xmlXPtrRangesEqual()
313 if (range1->index != range2->index) in xmlXPtrRangesEqual()
315 if (range1->user2 != range2->user2) in xmlXPtrRangesEqual()
317 if (range1->index2 != range2->index2) in xmlXPtrRangesEqual()
/external/v8/src/
Dtypes.cc948 Type* range1 = type1->GetRange(); in Union() local
950 if (range1 != NULL && range2 != NULL) { in Union()
952 RangeType::Limits::Union(RangeType::Limits(range1->AsRange()), in Union()
956 } else if (range1 != NULL) { in Union()
957 range = NormalizeRangeAndBitset(range1, &new_bitset, zone); in Union()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2013 const DescriptorProto::ExtensionRange& range1 = in TEST_F() local
2023 EXPECT_TRUE(HasSpan('b', 'e', range1)); in TEST_F()
2024 EXPECT_TRUE(HasSpan('b', 'c', range1, "start")); in TEST_F()
2025 EXPECT_TRUE(HasSpan('d', 'e', range1, "end")); in TEST_F()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc3577 const Descriptor::ExtensionRange* range1 = result->extension_range(i); in BuildMessage() local
3580 if (range1->end > range2->start && range2->end > range1->start) { in BuildMessage()
3586 range1->start, range1->end - 1)); in BuildMessage()
/external/clang/include/clang-c/
DIndex.h444 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp9087 bool isRegionOverlapping(VkImageSubresourceRange range1, VkImageSubresourceRange range2) { in isRegionOverlapping() argument
9088 …return (isRangeOverlapping(range1.baseMipLevel, range1.levelCount, range2.baseMipLevel, range2.lev… in isRegionOverlapping()
9089 …isRangeOverlapping(range1.baseArrayLayer, range1.layerCount, range2.baseArrayLayer, range2.layerCo… in isRegionOverlapping()