/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ImmutableRangeMapTest.java | 85 for (Range<Integer> range2 : RANGES) { 87 range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); 91 builder.put(range2, 2); 102 for (Range<Integer> range2 : RANGES) { 103 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { 105 ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); 111 } else if (range2.contains(i)) { 140 for (Range<Integer> range2 [all...] |
H A D | AbstractRangeSetTest.java | 46 Range<C> range2 = asRanges.get(i + 1); 47 assertFalse(range1.isConnected(range2));
|
H A D | TreeRangeMapTest.java | 206 for (Range<Integer> range2 : RANGES) { 209 rangeMap.put(range2, 2); 213 if (range2.isEmpty()) { 216 expected = range2; 219 if (range2.isEmpty()) { 222 expected = range1.span(range2); 248 for (Range<Integer> range2 : RANGES) { 251 putModel(model, range2, 2); 254 test.put(range2, 2); 262 for (Range<Integer> range2 [all...] |
H A D | TreeRangeSetTest.java | 174 for (Range<Integer> range2 : QUERY_RANGES) { 177 rangeSet.add(range2); 186 for (Range<Integer> range2 : QUERY_RANGES) { 189 rangeSet.add(range2); 216 for (Range<Integer> range2 : QUERY_RANGES) { 219 rangeSet.add(range2); 230 for (Range<Integer> range2 : QUERY_RANGES) { 233 rangeSet.add(range2); 241 for (Range<Integer> range2 : QUERY_RANGES) { 244 rangeSet.add(range2); [all...] |
H A D | ImmutableRangeSetTest.java | 481 for (Range<Integer> range2 : ranges) { 482 if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) { 485 .add(range2)
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
H A D | TypedRangeTest.java | 52 TypedRange<String> range2 = new TypedRange<String>(2, 777, null); 53 Assert.assertTrue(range1.compareTo(range2) < 0); 54 Assert.assertTrue(range2.compareTo(range1) > 0);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/ |
H A D | TryWithResourcesJavacFilterTest.java | 110 final Range range2 = new Range(); 150 range2.fromInclusive = m.instructions.getLast(); 158 range2.toInclusive = m.instructions.getLast(); 232 assertEquals(range2.fromInclusive, from.get(2)); 233 assertEquals(range2.toInclusive, to.get(2)); 361 final Range range2 = new Range(); 423 range2.fromInclusive = m.instructions.getLast(); 448 range2.toInclusive = m.instructions.getLast(); 561 assertEquals(range2.fromInclusive, from.get(2)); 562 assertEquals(range2 [all...] |
/external/clang/tools/libclang/ |
H A D | CXSourceLocation.cpp | 77 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) { argument 78 return range1.ptr_data[0] == range2.ptr_data[0] 79 && range1.ptr_data[1] == range2.ptr_data[1] 80 && range1.begin_int_data == range2.begin_int_data 81 && range1.end_int_data == range2.end_int_data;
|
/external/clang/bindings/python/tests/cindex/ |
H A D | test_location.py | 90 range2 = SourceRange.from_locations(location1, location2) 91 assert range1 == range2
|
/external/deqp/framework/referencerenderer/ |
H A D | rrVertexAttrib.cpp | 182 const deUint32 range2 = (deUint32)((1ull << 2)-1); local 190 if (size >= 4) dst[Order::T3] = float((aligned >> 30) & ((1 << 2) - 1)) / float(range2); 198 const deUint32 range2 = (deUint32)((1ull << ( 2-1))-1); local 206 if (size >= 4) dst[Order::T3] = de::max(-1.0f, float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) / float(range2)); 214 const deUint32 range2 = (deUint32)((1ull << 2)-1); local 222 if (size >= 4) dst[Order::T3] = (float(extendSign< 2>((aligned >> 30) & ((1 << 2) - 1))) * 2.0f + 1.0f) / float(range2);
|
/external/clang/test/CodeGen/ |
H A D | struct.c | 80 range range2; member in struct:__anon2619
|
/external/libxml2/ |
H A D | xmlregexp.c | 2081 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { argument 2085 (range2->type == XML_REGEXP_RANGES) || 2086 (range2->type == XML_REGEXP_SUBREG) || 2089 (range2->type == XML_REGEXP_STRING)) 2093 if (range1->type > range2->type) { 2097 range1 = range2; 2098 range2 = tmp; 2101 (range2->type == XML_REGEXP_ANYCHAR)) { 2104 (range2->type == XML_REGEXP_EPSILON)) { 2106 } else if (range1->type == range2 [all...] |
H A D | xpointer.c | 304 * @range2: the second range 311 xmlXPtrRangesEqual(xmlXPathObjectPtr range1, xmlXPathObjectPtr range2) { argument 312 if (range1 == range2) 314 if ((range1 == NULL) || (range2 == NULL)) 316 if (range1->type != range2->type) 320 if (range1->user != range2->user) 322 if (range1->index != range2->index) 324 if (range1->user2 != range2->user2) 326 if (range1->index2 != range2->index2)
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
H A D | DWARFDebugAranges.cpp | 21 const DWARFDebugAranges::Range &range2) { 22 return range1.LoPC < range2.LoPC; 20 RangeLessThan(const DWARFDebugAranges::Range &range1, const DWARFDebugAranges::Range &range2) argument
|
/external/v8/src/ast/ |
H A D | ast-types.cc | 986 AstType* range2 = type2->GetRange(); local 987 if (range1 != NULL && range2 != NULL) { 990 AstRangeType::Limits(range2->AsRange())); 995 } else if (range2 != NULL) { 996 range = NormalizeRangeAndBitset(range2, &new_bitset, zone);
|
/external/v8/src/compiler/ |
H A D | types.cc | 878 Type* range2 = type2->GetRange(); local 879 if (range1 != NULL && range2 != NULL) { 882 RangeType::Limits(range2->AsRange())); 887 } else if (range2 != NULL) { 888 range = NormalizeRangeAndBitset(range2, &new_bitset, zone);
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | parser_unittest.cc | 2488 const DescriptorProto::ExtensionRange& range2 = local 2500 EXPECT_TRUE(HasSpan('f', 'g', range2)); 2501 EXPECT_TRUE(HasSpan('f', 'g', range2, "start")); 2502 EXPECT_TRUE(HasSpan('f', 'g', range2, "end"));
|
/external/protobuf/src/google/protobuf/ |
H A D | descriptor.cc | 4102 const DescriptorProto_ReservedRange& range2 = proto.reserved_range(j); local 4103 if (range1.end() > range2.start() && range2.end() > range1.start()) { 4108 range2.start(), range2.end() - 1, 4163 const Descriptor::ReservedRange* range2 = result->reserved_range(j); local 4164 if (range1->end > range2->start && range2->end > range1->start) { 4170 range2->start, range2 4174 const Descriptor::ExtensionRange* range2 = result->extension_range(j); local [all...] |
/external/vulkan-validation-layers/layers/ |
H A D | core_validation.cpp | 3560 static bool rangesIntersect(layer_data const *dev_data, MEMORY_RANGE const *range1, MEMORY_RANGE const *range2, bool *skip, argument 3565 auto r2_start = range2->start; 3566 auto r2_end = range2->end; 3568 if (range1->linear != range2->linear) { 3574 if (!skip_checks && (range1->linear != range2->linear)) { 3578 const char *r2_linear_str = range2->linear ? "linear" : "non-linear"; 3579 const char *r2_type_str = range2->image ? "image" : "buffer"; 3587 r1_linear_str, r1_type_str, range1->handle, r2_linear_str, r2_type_str, range2->handle); 8434 bool isRegionOverlapping(VkImageSubresourceRange range1, VkImageSubresourceRange range2) { argument 8435 return (isRangeOverlapping(range1.baseMipLevel, range1.levelCount, range2 [all...] |
/external/clang/include/clang-c/ |
H A D | Index.h | 445 CXSourceRange range2);
|