Home
last modified time | relevance | path

Searched refs:region2 (Results 1 – 25 of 33) sorted by relevance

12

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeRegionTest.java769 Region region2 = new Region(0, 0, 20, 20); in testOp3() local
775 verifyDifferenceOp3(region1, region2, region3, region4, region5); in testOp3()
776 verifyIntersectOp3(region1, region2, region3, region4, region5); in testOp3()
777 verifyUnionOp3(region1, region2, region3, region4, region5); in testOp3()
778 verifyXorOp3(region1, region2, region3, region4, region5); in testOp3()
779 verifyReverseDifferenceOp3(region1, region2, region3, region4, region5); in testOp3()
780 verifyReplaceOp3(region1, region2, region3, region4, region5); in testOp3()
795 Region region1, Region region2, Region region3, Region region4, Region region5) { in verifyDifferenceOp3() argument
800 region.set(region2); in verifyDifferenceOp3()
804 region.set(region2); in verifyDifferenceOp3()
[all …]
/external/skia/docs/examples/
DRegion_setRegion.cpp12 SkRegion region2; in draw() local
13 region2.setRegion(region); in draw()
15 debugster("region2 bounds", region2); in draw()
16 region2.setEmpty(); in draw()
19 debugster("region2 bounds", region2); in draw()
DRegion_copy_const_SkIRect.cpp8 SkRegion region2; in draw() local
9 region2.setRect({1, 2, 3, 4}); in draw()
10 SkDebugf("region %c= region2\n", region == region2 ? '=' : '!'); in draw()
DRegion_set.cpp12 SkRegion region2; in draw() local
13 region2.set(region1); in draw()
15 debugster("region2 bounds", region2); in draw()
DRegion_swap.cpp12 SkRegion region2; in draw() local
13 region1.swap(region2); in draw()
15 debugster("region2 bounds", region2); in draw()
DRegion_copy_const_SkRegion.cpp12 SkRegion region2(region); in draw() local
14 debugster("region2 bounds", region2); in draw()
18 debugster("region2 bounds", region2); in draw()
DRegion_destructor.cpp8 SkRegion region2(*region); in draw() local
10 auto r = region2.getBounds(); in draw()
DRegion_copy_operator.cpp12 SkRegion region2 = region1; in draw() local
14 debugster("region2 bounds", region2); in draw()
/external/llvm/test/CodeGen/SystemZ/
Dframe-15.ll38 %region2 = alloca [978 x float], align 8
40 %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0
43 %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 1
65 %region2 = alloca [978 x float], align 8
67 %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0
70 %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 2
92 %region2 = alloca [978 x float], align 8
94 %start2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 0
97 %ptr2 = getelementptr inbounds [978 x float], [978 x float]* %region2, i64 0, i64 3
119 %region2 = alloca [2002 x float], align 8
[all …]
Dframe-13.ll36 %region2 = alloca [978 x i32], align 8
38 %ptr2 = getelementptr inbounds [978 x i32], [978 x i32]* %region2, i64 0, i64 1
56 %region2 = alloca [978 x i32], align 8
58 %ptr2 = getelementptr inbounds [978 x i32], [978 x i32]* %region2, i64 0, i64 2
76 %region2 = alloca [978 x i32], align 8
78 %ptr2 = getelementptr inbounds [978 x i32], [978 x i32]* %region2, i64 0, i64 3
96 %region2 = alloca [2002 x i32], align 8
98 %ptr2 = getelementptr inbounds [2002 x i32], [2002 x i32]* %region2, i64 0, i64 1
116 %region2 = alloca [2002 x i32], align 8
118 %ptr2 = getelementptr inbounds [2002 x i32], [2002 x i32]* %region2, i64 0, i64 2
[all …]
Dframe-16.ll35 %region2 = alloca [3912 x i8], align 8
37 %ptr2 = getelementptr inbounds [3912 x i8], [3912 x i8]* %region2, i64 0, i64 7
53 %region2 = alloca [3912 x i8], align 8
55 %ptr2 = getelementptr inbounds [3912 x i8], [3912 x i8]* %region2, i64 0, i64 8
74 %region2 = alloca [524104 x i8], align 8
76 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 7
96 %region2 = alloca [524104 x i8], align 8
98 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 8
117 %region2 = alloca [524104 x i8], align 8
119 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 4103
[all …]
Dframe-14.ll35 %region2 = alloca [3912 x i8], align 8
37 %ptr2 = getelementptr inbounds [3912 x i8], [3912 x i8]* %region2, i64 0, i64 7
53 %region2 = alloca [3912 x i8], align 8
55 %ptr2 = getelementptr inbounds [3912 x i8], [3912 x i8]* %region2, i64 0, i64 8
74 %region2 = alloca [524104 x i8], align 8
76 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 7
98 %region2 = alloca [524104 x i8], align 8
100 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 8
121 %region2 = alloca [524104 x i8], align 8
123 %ptr2 = getelementptr inbounds [524104 x i8], [524104 x i8]* %region2, i64 0, i64 4103
[all …]
/external/libchrome/base/memory/
Dplatform_shared_memory_region_unittest.cc44 PlatformSharedMemoryRegion region2 = in TEST_F() local
46 EXPECT_FALSE(region2.IsValid()); in TEST_F()
58 PlatformSharedMemoryRegion region2 = in TEST_F() local
60 EXPECT_FALSE(region2.IsValid()); in TEST_F()
135 PlatformSharedMemoryRegion region2 = PlatformSharedMemoryRegion::Take( in TEST_F() local
137 EXPECT_FALSE(region2.IsValid()); in TEST_F()
146 PlatformSharedMemoryRegion region2 = PlatformSharedMemoryRegion::Take( in TEST_F() local
150 EXPECT_FALSE(region2.IsValid()); in TEST_F()
250 PlatformSharedMemoryRegion region2 = in TEST_F() local
252 ASSERT_TRUE(region2.IsValid()); in TEST_F()
[all …]
/external/cronet/base/memory/
Dplatform_shared_memory_region_unittest.cc59 PlatformSharedMemoryRegion region2 = in TEST_F() local
61 EXPECT_FALSE(region2.IsValid()); in TEST_F()
73 PlatformSharedMemoryRegion region2 = in TEST_F() local
75 EXPECT_FALSE(region2.IsValid()); in TEST_F()
86 PlatformSharedMemoryRegion region2 = in TEST_F() local
88 EXPECT_FALSE(region2.IsValid()); in TEST_F()
163 PlatformSharedMemoryRegion region2 = PlatformSharedMemoryRegion::Take( in TEST_F() local
165 EXPECT_FALSE(region2.IsValid()); in TEST_F()
174 PlatformSharedMemoryRegion region2 = PlatformSharedMemoryRegion::Take( in TEST_F() local
178 EXPECT_FALSE(region2.IsValid()); in TEST_F()
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DRectRegionTest.java64 RectRegion region2 = new RectRegion(5, 10, 5, 10, ""); in testIsWithin() local
66 assertTrue(region1.intersects(region2)); in testIsWithin()
67 assertTrue(region2.intersects(region1)); in testIsWithin()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc218 NamedRegionPtr region2; in TEST_F() local
219 mojo::internal::Deserialize<NamedRegionDataView>(data, &region2, &context); in TEST_F()
221 EXPECT_EQ("region", *region2->name); in TEST_F()
223 EXPECT_EQ(4U, region2->rects->size()); in TEST_F()
224 for (size_t i = 0; i < region2->rects->size(); ++i) in TEST_F()
225 CheckRect(*(*region2->rects)[i], static_cast<int32_t>(i) + 1); in TEST_F()
242 NamedRegionPtr region2; in TEST_F() local
243 mojo::internal::Deserialize<NamedRegionDataView>(data, &region2, &context); in TEST_F()
245 EXPECT_FALSE(region2->name); in TEST_F()
246 EXPECT_FALSE(region2->rects); in TEST_F()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DLenientDateParser.java993 for (String region2 : regionToZone.keySet()) {
994 String zone = regionToZone.get(region2);
995 addRank(region2, zone);
997 if (region3 != null && !region3.equals(region2)) {
1005 private void addRank(String region2, String zone) {
1006 Map<String, Integer> zoneToRank = regionToZoneToRank.get(region2);
1007 if (zoneToRank == null) regionToZoneToRank.put(region2, zoneToRank = new TreeMap<>());
1064 final String region2 = supplementalData.getZone_territory(zone2);
1066 if (region1 == region2 || region1 != null && region1.equals(region2)) {
1082 } else if (region2 == null) {
[all …]
/external/autotest/server/site_tests/firmware_FMap/
Dfirmware_FMap.py149 def _is_overlapping(self, region1, region2): argument
151 return (min(region1[1], region2[1]) > max(region1[0], region2[0]))
/external/webrtc/modules/desktop_capture/
Ddesktop_region_unittest.cc711 DesktopRegion region2; in TEST() local
716 region2.AddRect(DesktopRect::MakeLTRB(x + span_set.spans[span].start, 0, in TEST()
719 r.Subtract(region2); in TEST()
786 DesktopRegion region2; in TEST() local
791 region2.AddRect(DesktopRect::MakeLTRB(0, y + span_set.spans[span].start, in TEST()
794 r.Subtract(region2); in TEST()
/external/clang/test/Lexer/
Dpragma-region.c25 #pragma region2 // expected-warning {{unknown pragma ignored}}
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXLikelySubtags.java179 String region2 = regionAliases.get(region); in canonicalize() local
180 if (lang2 != null || region2 != null) { in canonicalize()
184 region2 == null ? region : region2); in canonicalize()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLikelySubtags.java172 String region2 = regionAliases.get(region); in canonicalize() local
173 if (lang2 != null || region2 != null) { in canonicalize()
177 region2 == null ? region : region2); in canonicalize()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/util/
DLocaleMatcher.java160 String region2 = canonicalMap.get(region); in canonicalize() local
161 if (lang2 != null || script2 != null || region2 != null) { in canonicalize()
165 region2 == null ? region : region2); in canonicalize()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DXLikelySubtags.java118 public LSR replace(String language2, String script2, String region2) { in replace() argument
119 if (language2 == null && script2 == null && region2 == null) return this; in replace()
123 region2 == null ? region : region2); in replace()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DLikelySubtags.java170 for (String region2 : noRegion ? Arrays.asList(region) : Arrays.asList(region, "")) { in maximize()
171 ltp.setRegion(region2); in maximize()

12