/external/skia/bench/ |
D | BigPath.cpp | 20 SkPathBuilder path; in make_big_path() local 22 path.moveTo(-1113, 81); in make_big_path() 23 path.lineTo(-1113, 83); in make_big_path() 24 path.lineTo(-1113, 82); in make_big_path() 25 path.lineTo(-1112, 82); in make_big_path() 26 path.lineTo(-1112, 83); in make_big_path() 27 path.lineTo(-1111, 82); in make_big_path() 28 path.lineTo(-1111, 82); in make_big_path() 29 path.lineTo(-1110, 81); in make_big_path() 30 path.lineTo(-1110, 81); in make_big_path() [all …]
|
/external/skia/tests/ |
D | PathOpsSimplifyTest.cpp | 24 SkPath path; in testLine1() local 25 path.moveTo(2,0); in testLine1() 26 path.lineTo(1,1); in testLine1() 27 path.lineTo(0,0); in testLine1() 28 path.close(); in testLine1() 29 testSimplify(reporter, path, filename); in testLine1() 33 SkPath path; in testLine1x() local 34 path.setFillType(SkPathFillType::kEvenOdd); in testLine1x() 35 path.moveTo(2,0); in testLine1x() 36 path.lineTo(1,1); in testLine1x() [all …]
|
D | PathOpsOpTest.cpp | 32 PathTest_Private(SkPath* path) in PathTest_Private() argument 33 : fPath(path) {} in PathTest_Private() 42 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument 43 PathTest_Private testPath(path); in path_edit() 44 for (int index = 0; index < path->countPoints(); ++index) { in path_edit() 45 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit() 53 SkPath path, pathB; in cubicOp1d() local 54 path.setFillType(SkPathFillType::kWinding); in cubicOp1d() 55 path.moveTo(0,1); in cubicOp1d() 56 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d() [all …]
|
D | PathOpsSkpTest.cpp | 20 SkPath path; in skpcheeseandburger_com225() local 21 path.setFillType(SkPathFillType::kEvenOdd); in skpcheeseandburger_com225() 22 path.moveTo(555, 468); in skpcheeseandburger_com225() 23 path.lineTo(555, 362); in skpcheeseandburger_com225() 24 path.lineTo(872, 362); in skpcheeseandburger_com225() 25 path.lineTo(872, 468); in skpcheeseandburger_com225() 26 path.lineTo(555, 468); in skpcheeseandburger_com225() 27 path.close(); in skpcheeseandburger_com225() 377 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); in skpcheeseandburger_com225() 381 SkPath path; in skpeverytechpro_blogspot_com100() local [all …]
|
D | TriangulatingPathRendererTests.cpp | 80 SkPath path; in __anon7111d3d00102() local 81 path.moveTo(229.127044677734375f, 67.34100341796875f); in __anon7111d3d00102() 82 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon7111d3d00102() 83 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon7111d3d00102() 84 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in __anon7111d3d00102() 85 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in __anon7111d3d00102() 86 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon7111d3d00102() 87 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon7111d3d00102() 88 return path; in __anon7111d3d00102() 94 SkPath path; in __anon7111d3d00202() local [all …]
|
D | PathOpsBuildUseTest.cpp | 22 SkPath path; in build1_1() local 23 path.reset(); in build1_1() 24 path.moveTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43adff26)); // 234.901f, 347.993f in build1_1() 25 path.quadTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() 26 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43ba7f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 27 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43ba7f26), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 28 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4338e68e), SkBits2Fl… in build1_1() 29 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43a8d1aa), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 30 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43a17f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 31 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43a17f26), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() [all …]
|
D | PathOpsBattles.cpp | 100 SkPath path; in battleOp1() local 101 path.setFillType((SkPathFillType) 0); in battleOp1() 102 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 103 path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2F… in battleOp1() 104 path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); in battleOp1() 105 path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2F… in battleOp1() 106 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 107 path.close(); in battleOp1() 109 SkPath path1(path); in battleOp1() 110 path.reset(); in battleOp1() [all …]
|
D | PathOpsFuzz763Test.cpp | 22 SkPath path; in fuzz763_3084() local 23 path.setFillType((SkPathFillType) 1); in fuzz763_3084() 24 path.moveTo(SkBits2Float(0xc19e6455), SkBits2Float(0xc19e6455)); in fuzz763_3084() 25 path.quadTo(SkBits2Float(0xc1399153), SkBits2Float(0xc1e00000), SkBits2Float(0x00000000), SkBits2Fl… in fuzz763_3084() 26 path.quadTo(SkBits2Float(0x41399153), SkBits2Float(0xc1e00000), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 27 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0xc1399153), SkBits2Float(0x41e00000), SkBits2Fl… in fuzz763_3084() 28 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0x41399153), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 29 path.quadTo(SkBits2Float(0x415b75ce), SkBits2Float(0x41cf0dc3), SkBits2Float(0x40b878fc), SkBits2Fl… in fuzz763_3084() 30 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x41ee1ba4), SkBits2Float(0x41000000), SkBits2Fl… in fuzz763_3084() 31 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x4211413d), SkBits2Float(0x40b504f3), SkBits2Fl… in fuzz763_3084() [all …]
|
D | PathOpsBuilderConicTest.cpp | 140 static bool simplify_fails(skiatest::Reporter* reporter, const SkPath& path) { in simplify_fails() argument 142 bool failed = !Simplify(path, &simplifiedPath); in simplify_fails() 145 failed = !!comparePaths(reporter, __FUNCTION__, path, simplifiedPath, bitmap); in simplify_fails() 150 static SkPath subset_simplify_fail(skiatest::Reporter* reporter, const SkPath& path) { in subset_simplify_fail() argument 151 SubsetContours subsetContours(path); in subset_simplify_fail() 152 bool failed = simplify_fails(reporter, path); in subset_simplify_fail() 154 SkPath lastFailed = path; in subset_simplify_fail() 178 SkPath path; in DEF_TEST() local 179 path.moveTo(SkBits2Float(0x434d53ca), SkBits2Float(0x43ad6ab0)); // 205.327f, 346.833f in DEF_TEST() 180 path.conicTo(SkBits2Float(0x434d53ca), SkBits2Float(0x40a00000), SkBits2Float(0x42d253ca), SkBits2F… in DEF_TEST() [all …]
|
D | PathOpsTigerTest.cpp | 24 SkPath path; in tiger8() local 25 path.moveTo(SkBits2Float(0x43f639c5), SkBits2Float(0x4361375a)); // 492.451f, 225.216f in tiger8() 26 path.quadTo(SkBits2Float(0x43f58ce4), SkBits2Float(0x435d2a04), SkBits2Float(0x43f71bd9), SkBits2Fl… in tiger8() 27 path.quadTo(SkBits2Float(0x43f7d69d), SkBits2Float(0x4359aa35), SkBits2Float(0x43f8b3b3), SkBits2Fl… in tiger8() 28 path.conicTo(SkBits2Float(0x43f8ba67), SkBits2Float(0x43594f16), SkBits2Float(0x43f8c136), SkBits2F… in tiger8() 29 path.quadTo(SkBits2Float(0x43fcc3a8), SkBits2Float(0x43589340), SkBits2Float(0x43ff01dc), SkBits2Fl… in tiger8() 30 path.conicTo(SkBits2Float(0x43ff5113), SkBits2Float(0x4352187b), SkBits2Float(0x43ffb59e), SkBits2F… in tiger8() 31 path.conicTo(SkBits2Float(0x43ffdc85), SkBits2Float(0x4352f435), SkBits2Float(0x43ffe4a9), SkBits2F… in tiger8() 32 path.quadTo(SkBits2Float(0x4400461c), SkBits2Float(0x435b3080), SkBits2Float(0x4400b692), SkBits2Fl… in tiger8() 33 path.conicTo(SkBits2Float(0x4400c662), SkBits2Float(0x43617856), SkBits2Float(0x44009920), SkBits2F… in tiger8() [all …]
|
/external/curl/tests/ |
D | pathhelp.pm | 203 my ($path) = @_; 206 return $path unless (os_is_win()); 209 return $path if ($path eq ''); 211 if($path =~ s{^([a-zA-Z]):$}{\u$1:}) { 218 return $path; 220 elsif($path =~ m{^\\} || $path =~ m{^[a-zA-Z]:[^/\\]}) { 229 my $first_char = ucfirst(substr($path, 0, 1)); 232 $path =~ s{[\\/]+}{/}g; 236 substr($path, 0, 1) = $first_char; 237 return $path; [all …]
|
/external/skia/gm/ |
D | strokefill.cpp | 36 SkPath path; in papyrus_hello() local 37 path.moveTo(169.824f, 83.4102f); in papyrus_hello() 38 path.lineTo(167.285f, 85.6074f); in papyrus_hello() 39 path.lineTo(166.504f, 87.2188f); in papyrus_hello() 40 path.lineTo(165.82f, 86.7793f); in papyrus_hello() 41 path.lineTo(165.186f, 87.1211f); in papyrus_hello() 42 path.lineTo(164.6f, 88.1953f); in papyrus_hello() 43 path.lineTo(161.914f, 89.416f); in papyrus_hello() 44 path.lineTo(161.719f, 89.2207f); in papyrus_hello() 45 path.lineTo(160.596f, 88.8789f); in papyrus_hello() [all …]
|
D | pathfill.cpp | 23 SkPath path; member 33 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local 37 skpathutils::FillPathWithPaint(path, paint, &path); in make_frame() 38 return {path, 15}; in make_frame() 173 SkPathBuilder path; in make_info() local 174 path.moveTo(24, 4); in make_info() 175 path.cubicTo(12.94999980926514f, 4, in make_info() 178 path.cubicTo(4, 35.04999923706055f, in make_info() 181 path.cubicTo(35.04999923706055f, 44, in make_info() 184 path.cubicTo(44, 12.95000076293945f, in make_info() [all …]
|
D | collapsepaths.cpp | 15 SkPathBuilder path; in test_collapse1() local 17 path.moveTo( 652.830078125, 673.9365234375); in test_collapse1() 18 path.lineTo( 479.50152587890625, 213.412628173828125); in test_collapse1() 19 path.lineTo( 511.840545654296875, 209.1551055908203125); in test_collapse1() 20 path.lineTo( 528.14959716796875, 208.6212158203125); in test_collapse1() 21 path.moveTo( 370.50653076171875, 73.684051513671875); in test_collapse1() 22 path.lineTo( 525.02093505859375, 208.6413726806640625); in test_collapse1() 23 path.lineTo( 478.403564453125, 213.5998992919921875); in test_collapse1() 24 path.setFillType(SkPathFillType::kEvenOdd); in test_collapse1() 25 canvas->drawPath(path.detach(), paint); in test_collapse1() [all …]
|
/external/cpuinfo/test/mock/ |
D | galaxy-s9-us.h | 4 .path = "/proc/cpuinfo", 84 .path = "/proc/cpuinfo", 172 .path = "/sys/class/kgsl/kgsl-3d0/bus_split", 177 .path = "/sys/class/kgsl/kgsl-3d0/clock_mhz", 182 .path = "/sys/class/kgsl/kgsl-3d0/default_pwrlevel", 187 .path = "/sys/class/kgsl/kgsl-3d0/dev", 192 .path = "/sys/class/kgsl/kgsl-3d0/freq_table_mhz", 197 .path = "/sys/class/kgsl/kgsl-3d0/ft_hang_intr_status", 202 .path = "/sys/class/kgsl/kgsl-3d0/ft_long_ib_detect", 207 .path = "/sys/class/kgsl/kgsl-3d0/ft_pagefault_policy", [all …]
|
D | pixel-2-xl.h | 3 .path = "/proc/cpuinfo", 82 .path = "/sys/devices/system/cpu/kernel_max", 87 .path = "/sys/devices/system/cpu/possible", 92 .path = "/sys/devices/system/cpu/present", 97 .path = "/sys/devices/system/cpu/online", 102 .path = "/sys/devices/system/cpu/offline", 107 .path = "/sys/devices/system/cpu/modalias", 112 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 171 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 176 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", [all …]
|
D | oneplus-5.h | 4 .path = "/proc/cpuinfo", 84 .path = "/proc/cpuinfo", 172 .path = "/sys/devices/soc0/accessory_chip", 177 .path = "/sys/devices/soc0/build_id", 182 .path = "/sys/devices/soc0/family", 187 .path = "/sys/devices/soc0/foundry_id", 192 .path = "/sys/devices/soc0/hw_platform", 197 .path = "/sys/devices/soc0/image_crm_version", 204 .path = "/sys/devices/soc0/image_variant", 211 .path = "/sys/devices/soc0/image_version", [all …]
|
D | oneplus-5t.h | 4 .path = "/proc/cpuinfo", 84 .path = "/proc/cpuinfo", 172 .path = "/sys/devices/soc0/accessory_chip", 177 .path = "/sys/devices/soc0/build_id", 182 .path = "/sys/devices/soc0/family", 187 .path = "/sys/devices/soc0/foundry_id", 192 .path = "/sys/devices/soc0/hw_platform", 197 .path = "/sys/devices/soc0/image_crm_version", 204 .path = "/sys/devices/soc0/image_variant", 211 .path = "/sys/devices/soc0/image_version", [all …]
|
D | pixel-c.h | 3 .path = "/proc/cpuinfo", 40 .path = "/sys/devices/system/cpu/kernel_max", 45 .path = "/sys/devices/system/cpu/possible", 50 .path = "/sys/devices/system/cpu/present", 55 .path = "/sys/devices/system/cpu/online", 60 .path = "/sys/devices/system/cpu/offline", 65 .path = "/sys/devices/system/cpu/modalias", 70 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 96 .path = "/sys/devices/system/cpu/cpufreq/current_in_state", 105 .path = "/sys/devices/system/cpu/cpuidle/current_driver", [all …]
|
D | alldocube-iwork8.h | 179 .path = "/proc/cpuinfo", 288 .path = "/system/build.prop", 374 .path = "/sys/devices/system/cpu/kernel_max", 379 .path = "/sys/devices/system/cpu/possible", 384 .path = "/sys/devices/system/cpu/present", 389 .path = "/sys/devices/system/cpu/online", 394 .path = "/sys/devices/system/cpu/offline", 399 .path = "/sys/devices/system/cpu/modalias", 404 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 429 .path = "/sys/devices/system/cpu/cpuidle/current_driver", [all …]
|
/external/pdfium/core/fxge/ |
D | cfx_path_unittest.cpp | 11 CFX_Path path; in TEST() local 12 path.AppendRect(/*left=*/1, /*bottom=*/2, /*right=*/3, /*top=*/5); in TEST() 13 EXPECT_EQ(5u, path.GetPoints().size()); in TEST() 14 EXPECT_TRUE(path.IsRect()); in TEST() 15 absl::optional<CFX_FloatRect> rect = path.GetRect(nullptr); in TEST() 18 EXPECT_EQ(CFX_FloatRect(1, 2, 3, 5), path.GetBoundingBox()); in TEST() 21 rect = path.GetRect(&kScaleMatrix); in TEST() 24 EXPECT_EQ(CFX_FloatRect(1, 2, 3, 5), path.GetBoundingBox()); in TEST() 26 path.Clear(); in TEST() 27 EXPECT_EQ(0u, path.GetPoints().size()); in TEST() [all …]
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativePathTest.java | 53 Path path = new Path(); in testAddRect1() local 54 assertTrue(path.isEmpty()); in testAddRect1() 56 path.addRect(rect, Path.Direction.CW); in testAddRect1() 57 assertFalse(path.isEmpty()); in testAddRect1() 62 Path path = new Path(); in testAddRect2() local 63 assertTrue(path.isEmpty()); in testAddRect2() 64 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 65 assertFalse(path.isEmpty()); in testAddRect2() 70 Path path = new Path(); in testMoveTo() local 71 path.moveTo(10.0f, 10.0f); in testMoveTo() [all …]
|
/external/libxml2/result/ |
D | svg3.rde | 7 2 1 path 1 0 16 2 1 path 1 0 25 2 1 path 1 0 34 2 1 path 1 0 43 2 1 path 1 0 52 2 1 path 1 0 61 2 1 path 1 0 70 2 1 path 1 0 79 2 1 path 1 0 88 2 1 path 1 0 [all …]
|
D | svg3.rdr | 7 2 1 path 1 0 16 2 1 path 1 0 25 2 1 path 1 0 34 2 1 path 1 0 43 2 1 path 1 0 52 2 1 path 1 0 61 2 1 path 1 0 70 2 1 path 1 0 79 2 1 path 1 0 88 2 1 path 1 0 [all …]
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_pathlib_test.py | 43 self.path = None 49 self.path = self.pathlib.Path 55 path = self.path('/test') 57 self.assertTrue(isinstance(path, self.pathlib.WindowsPath)) 58 self.assertTrue(isinstance(path, self.pathlib.PureWindowsPath)) 67 self.assertTrue(isinstance(path, self.pathlib.PosixPath)) 68 self.assertTrue(isinstance(path, self.pathlib.PurePosixPath)) 79 self.assertEqual(self.path('/', 'foo', 'bar', 'baz'), 80 self.path('/foo/bar/baz')) 81 self.assertEqual(self.path(), self.path('.')) [all …]
|