Home
last modified time | relevance | path

Searched refs:range1 (Results 1 – 21 of 21) 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/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DTryWithResourcesJavacFilterTest.java109 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 …]
DTryWithResourcesEcjFilterTest.java165 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/
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/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/clang/bindings/python/tests/cindex/
Dtest_location.py89 range1 = SourceRange.from_locations(location1, location2)
91 assert range1 == range2
95 assert range1 != range3
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugAranges.cpp20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, in RangeLessThan() argument
22 return range1.LoPC < range2.LoPC; in RangeLessThan()
/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.c311 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/
Dtypes.cc877 Type* range1 = type1->GetRange(); in Union() local
879 if (range1 != NULL && range2 != NULL) { in Union()
881 RangeType::Limits::Union(RangeType::Limits(range1->AsRange()), in Union()
885 } else if (range1 != NULL) { in Union()
886 range = NormalizeRangeAndBitset(range1, &new_bitset, zone); in Union()
/external/v8/src/ast/
Dast-types.cc985 AstType* range1 = type1->GetRange(); in Union() local
987 if (range1 != NULL && range2 != NULL) { in Union()
989 AstRangeType::Limits::Union(AstRangeType::Limits(range1->AsRange()), in Union()
993 } else if (range1 != NULL) { in Union()
994 range = NormalizeRangeAndBitset(range1, &new_bitset, zone); in Union()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc4100 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/
Dparser_unittest.cc2486 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/vulkan-validation-layers/layers/
Dcore_validation.cpp3560 static bool rangesIntersect(layer_data const *dev_data, MEMORY_RANGE const *range1, MEMORY_RANGE co… in rangesIntersect() argument
3563 auto r1_start = range1->start; in rangesIntersect()
3564 auto r1_end = range1->end; in rangesIntersect()
3568 if (range1->linear != range2->linear) { in rangesIntersect()
3574 if (!skip_checks && (range1->linear != range2->linear)) { in rangesIntersect()
3576 const char *r1_linear_str = range1->linear ? "Linear" : "Non-linear"; in rangesIntersect()
3577 const char *r1_type_str = range1->image ? "image" : "buffer"; in rangesIntersect()
3580 …auto obj_type = range1->image ? VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT : VK_DEBUG_REPORT_OBJECT_TYP… in rangesIntersect()
3582 …dev_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, obj_type, range1->handle, 0, MEMTRACK_INVA… in rangesIntersect()
3587 r1_linear_str, r1_type_str, range1->handle, r2_linear_str, r2_type_str, range2->handle); in rangesIntersect()
[all …]
Dcore_validation_types.h860 bool rangesIntersect(layer_data const *dev_data, MEMORY_RANGE const *range1, VkDeviceSize offset, V…
/external/clang/include/clang-c/
DIndex.h444 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,