Home
last modified time | relevance | path

Searched refs:range2 (Results 1 – 24 of 24) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeMapTest.java85 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 …]
DTreeRangeMapTest.java206 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 …]
DTreeRangeSetTest.java174 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 …]
DAbstractRangeSetTest.java46 Range<C> range2 = asRanges.get(i + 1); in testInvariantsInternal() local
47 assertFalse(range1.isConnected(range2)); in testInvariantsInternal()
DImmutableRangeSetTest.java481 for (Range<Integer> range2 : ranges) { in testSubRangeSet()
482 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { in testSubRangeSet()
485 .add(range2) in testSubRangeSet()
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/
Dtestbench.cpp347 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/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DTryWithResourcesJavacFilterTest.java110 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/
DTypedRangeTest.java52 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/
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/libxml2/
Dxmlregexp.c2081 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 …]
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()
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/
DrrVertexAttrib.cpp182 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/python/cpython3/Lib/idlelib/idle_test/
Dtest_parenmatch.py54 for style, range1, range2 in (
80 text.tag_prevrange('paren', 'end'), range2)
/external/clang/bindings/python/tests/cindex/
Dtest_location.py90 range2 = SourceRange.from_locations(location1, location2)
91 assert range1 == range2
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugAranges.cpp21 const DWARFDebugAranges::Range &range2) { in RangeLessThan() argument
22 return range1.LoPC < range2.LoPC; in RangeLessThan()
/external/v8/src/compiler/
Dtypes.cc869 Type range2 = type2.GetRange(); in Union() local
870 if (range1 != nullptr && range2 != nullptr) { in Union()
873 RangeType::Limits(range2.AsRange())); in Union()
878 } else if (range2 != nullptr) { in Union()
879 range = NormalizeRangeAndBitset(range2, &new_bitset, zone); in Union()
/external/clang/test/CodeGen/
Dstruct.c80 range range2; member
/external/protobuf/src/google/protobuf/
Ddescriptor.cc4102 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/deqp-deps/glslang/glslang/MachineIndependent/
DlinkValidate.cpp1063 TIoRange range2(locationRange2, componentRange2, type.getBasicType(), 0); in addUsedLocation() local
1066 collision = checkLocationRange(set, range2, type, typeCollision); in addUsedLocation()
1068 usedIo[set].push_back(range2); in addUsedLocation()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2488 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/python/dateutil/docs/
Dexamples.rst1347 >>> range2 = tzrange("EST", -18000, "EDT", -14400,
1352 >>> tzstr('EST5EDT') == range1 == range2
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp4169 …ect(layer_data const *dev_data, MEMORY_RANGE const *range1, MEMORY_RANGE const *range2, bool *skip, in RangesIntersect() argument
4174 auto r2_start = range2->start; in RangesIntersect()
4175 auto r2_end = range2->end; in RangesIntersect()
4177 if (range1->linear != range2->linear) { in RangesIntersect()
4183 if (!skip_checks && (range1->linear != range2->linear)) { in RangesIntersect()
4187 const char *r2_linear_str = range2->linear ? "linear" : "non-linear"; in RangesIntersect()
4188 const char *r2_type_str = range2->image ? "image" : "buffer"; in RangesIntersect()
4196 dev_data->report_data->FormatHandle(range2->handle).c_str()); in RangesIntersect()
9202 bool IsRegionOverlapping(VkImageSubresourceRange range1, VkImageSubresourceRange range2) { in IsRegionOverlapping() argument
9203 …return (IsRangeOverlapping(range1.baseMipLevel, range1.levelCount, range2.baseMipLevel, range2.lev… in IsRegionOverlapping()
[all …]
Dcore_validation.h438 …ect(layer_data const* dev_data, MEMORY_RANGE const* range1, MEMORY_RANGE const* range2, bool* skip,
/external/clang/include/clang-c/
DIndex.h445 CXSourceRange range2);