/external/skia/tools/ |
D | BigPathBench.inc | 2 path.moveTo(-1113, 81); 3 path.lineTo(-1113, 83); 4 path.lineTo(-1113, 82); 5 path.lineTo(-1112, 82); 6 path.lineTo(-1112, 83); 7 path.lineTo(-1111, 82); 8 path.lineTo(-1111, 82); 9 path.lineTo(-1110, 81); 10 path.lineTo(-1110, 81); 11 path.lineTo(-1109, 80); [all …]
|
/external/skia/tests/ |
D | PathOpsSimplifyTest.cpp | 12 SkPath path; in testLine1() local 13 path.moveTo(2,0); in testLine1() 14 path.lineTo(1,1); in testLine1() 15 path.lineTo(0,0); in testLine1() 16 path.close(); in testLine1() 17 testSimplify(reporter, path, filename); in testLine1() 21 SkPath path; in testLine1x() local 22 path.setFillType(SkPath::kEvenOdd_FillType); in testLine1x() 23 path.moveTo(2,0); in testLine1x() 24 path.lineTo(1,1); in testLine1x() [all …]
|
D | PathOpsSkpTest.cpp | 12 SkPath path; in skpcheeseandburger_com225() local 13 path.setFillType(SkPath::kEvenOdd_FillType); in skpcheeseandburger_com225() 14 path.moveTo(555, 468); in skpcheeseandburger_com225() 15 path.lineTo(555, 362); in skpcheeseandburger_com225() 16 path.lineTo(872, 362); in skpcheeseandburger_com225() 17 path.lineTo(872, 468); in skpcheeseandburger_com225() 18 path.lineTo(555, 468); in skpcheeseandburger_com225() 19 path.close(); in skpcheeseandburger_com225() 369 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); in skpcheeseandburger_com225() 373 SkPath path; in skpeverytechpro_blogspot_com100() local [all …]
|
D | TessellatingPathRendererTests.cpp | 24 SkPath path; in create_path_0() local 25 path.moveTo(229.127044677734375f, 67.34100341796875f); in create_path_0() 26 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0() 27 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0() 28 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in create_path_0() 29 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in create_path_0() 30 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0() 31 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0() 32 return path; in create_path_0() 38 SkPath path; in create_path_1() local [all …]
|
D | PathOpsBuildUseTest.cpp | 14 SkPath path; in build1_1() local 15 path.reset(); in build1_1() 16 path.setFillType((SkPath::FillType) 0); in build1_1() 17 path.moveTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43adff26)); // 234.901f, 347.993f in build1_1() 18 path.quadTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() 19 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43ba7f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 20 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43ba7f26), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 21 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4338e68e), SkBits2Fl… in build1_1() 22 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43a8d1aa), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 23 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43a17f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() [all …]
|
D | PathOpsBattles.cpp | 92 SkPath path; in battleOp1() local 93 path.setFillType((SkPath::FillType) 0); in battleOp1() 94 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 95 path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2F… in battleOp1() 96 path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); in battleOp1() 97 path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2F… in battleOp1() 98 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 99 path.close(); in battleOp1() 101 SkPath path1(path); in battleOp1() 102 path.reset(); in battleOp1() [all …]
|
D | PathOpsFuzz763Test.cpp | 13 SkPath path; in fuzz763_3084() local 14 path.setFillType((SkPath::FillType) 1); in fuzz763_3084() 15 path.moveTo(SkBits2Float(0xc19e6455), SkBits2Float(0xc19e6455)); in fuzz763_3084() 16 path.quadTo(SkBits2Float(0xc1399153), SkBits2Float(0xc1e00000), SkBits2Float(0x00000000), SkBits2Fl… in fuzz763_3084() 17 path.quadTo(SkBits2Float(0x41399153), SkBits2Float(0xc1e00000), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 18 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0xc1399153), SkBits2Float(0x41e00000), SkBits2Fl… in fuzz763_3084() 19 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0x41399153), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 20 path.quadTo(SkBits2Float(0x415b75ce), SkBits2Float(0x41cf0dc3), SkBits2Float(0x40b878fc), SkBits2Fl… in fuzz763_3084() 21 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x41ee1ba4), SkBits2Float(0x41000000), SkBits2Fl… in fuzz763_3084() 22 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x4211413d), SkBits2Float(0x40b504f3), SkBits2Fl… in fuzz763_3084() [all …]
|
D | PathOpsOpTest.cpp | 12 PathTest_Private(SkPath* path) in PathTest_Private() argument 13 : fPath(path) {} in PathTest_Private() 22 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument 23 PathTest_Private testPath(path); in path_edit() 24 for (int index = 0; index < path->countPoints(); ++index) { in path_edit() 25 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit() 33 SkPath path, pathB; in cubicOp1d() local 34 path.setFillType(SkPath::kWinding_FillType); in cubicOp1d() 35 path.moveTo(0,1); in cubicOp1d() 36 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d() [all …]
|
D | PathOpsBuilderConicTest.cpp | 129 static bool simplify_fails(skiatest::Reporter* reporter, const SkPath& path) { in simplify_fails() argument 131 bool failed = !Simplify(path, &dummy); in simplify_fails() 134 failed = !!comparePaths(reporter, __FUNCTION__, path, dummy, bitmap); in simplify_fails() 139 static SkPath subset_simplify_fail(skiatest::Reporter* reporter, const SkPath& path) { in subset_simplify_fail() argument 140 SubsetContours subsetContours(path); in subset_simplify_fail() 141 bool failed = simplify_fails(reporter, path); in subset_simplify_fail() 143 SkPath lastFailed = path; in subset_simplify_fail() 167 SkPath path; in DEF_TEST() local 168 path.moveTo(SkBits2Float(0x434d53ca), SkBits2Float(0x43ad6ab0)); // 205.327f, 346.833f in DEF_TEST() 169 path.conicTo(SkBits2Float(0x434d53ca), SkBits2Float(0x40a00000), SkBits2Float(0x42d253ca), SkBits2F… in DEF_TEST() [all …]
|
D | PathOpsIssue3651.cpp | 13 SkPath path; in path1() local 14 path.moveTo(SkBits2Float(0x431d8000), SkBits2Float(0x42823333)); // 157.5f, 65.1f in path1() 15 path.lineTo(SkBits2Float(0x431d8000), SkBits2Float(0x42823333)); // 157.5f, 65.1f in path1() 16 path.cubicTo(SkBits2Float(0x431e3333), SkBits2Float(0x42823333), SkBits2Float(0x431ee666), SkBits2F… in path1() 17 path.cubicTo(SkBits2Float(0x43204ccd), SkBits2Float(0x42822fd9), SkBits2Float(0x43210000), SkBits2F… in path1() 18 path.cubicTo(SkBits2Float(0x43226666), SkBits2Float(0x428215ce), SkBits2Float(0x4323199a), SkBits2F… in path1() 19 path.cubicTo(SkBits2Float(0x43248000), SkBits2Float(0x4281efd8), SkBits2Float(0x43253333), SkBits2F… in path1() 20 path.cubicTo(SkBits2Float(0x4326999a), SkBits2Float(0x4281ce2c), SkBits2Float(0x43274ccd), SkBits2F… in path1() 21 path.cubicTo(SkBits2Float(0x4328b333), SkBits2Float(0x4281b039), SkBits2Float(0x43296666), SkBits2F… in path1() 22 path.cubicTo(SkBits2Float(0x432acccd), SkBits2Float(0x4281a54c), SkBits2Float(0x432b8000), SkBits2F… in path1() [all …]
|
D | DrawPathTest.cpp | 54 static void moveToH(SkPath* path, const uint32_t raw[]) { in moveToH() argument 56 path->moveTo(fptr[0], fptr[1]); in moveToH() 59 static void cubicToH(SkPath* path, const uint32_t raw[]) { in cubicToH() argument 61 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]); in cubicToH() 94 SkPath path; in test_crbug131181() local 95 moveToH(&path, &data[0]); in test_crbug131181() 96 cubicToH(&path, &data[2]); in test_crbug131181() 102 surface->getCanvas()->drawPath(path, paint); in test_crbug131181() 113 SkPath path; in test_crbug_140803() local 114 path.moveTo(2762, 20); in test_crbug_140803() [all …]
|
/external/skia/gm/ |
D | strokefill.cpp | 19 SkPath path; in papyrus_hello() local 20 path.moveTo(169.824f, 83.4102f); in papyrus_hello() 21 path.lineTo(167.285f, 85.6074f); in papyrus_hello() 22 path.lineTo(166.504f, 87.2188f); in papyrus_hello() 23 path.lineTo(165.82f, 86.7793f); in papyrus_hello() 24 path.lineTo(165.186f, 87.1211f); in papyrus_hello() 25 path.lineTo(164.6f, 88.1953f); in papyrus_hello() 26 path.lineTo(161.914f, 89.416f); in papyrus_hello() 27 path.lineTo(161.719f, 89.2207f); in papyrus_hello() 28 path.lineTo(160.596f, 88.8789f); in papyrus_hello() [all …]
|
D | concavepaths.cpp | 18 SkPath path; in test_concave() local 20 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_concave() 21 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_concave() 22 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_concave() 23 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_concave() 24 canvas->drawPath(path, paint); in test_concave() 29 SkPath path; in test_reverse_concave() local 32 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_reverse_concave() 33 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_reverse_concave() 34 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_reverse_concave() [all …]
|
D | pathreverse.cpp | 24 SkPath path; in hiragino_maru_goth_pro_e() local 25 path.moveTo(98.6f, 24.7f); in hiragino_maru_goth_pro_e() 26 path.cubicTo(101.7f, 24.7f, 103.6f, 22.8f, 103.6f, 19.2f); in hiragino_maru_goth_pro_e() 27 path.cubicTo(103.6f, 18.9f, 103.6f, 18.7f, 103.6f, 18.4f); in hiragino_maru_goth_pro_e() 28 path.cubicTo(102.6f, 5.3f, 94.4f, -6.1f, 79.8f, -6.1f); in hiragino_maru_goth_pro_e() 29 path.cubicTo(63.5f, -6.1f, 54.5f, 6, 54.5f, 23.3f); in hiragino_maru_goth_pro_e() 30 path.cubicTo(54.5f, 40.6f, 64, 52.2f, 80.4f, 52.2f); in hiragino_maru_goth_pro_e() 31 path.cubicTo(93.4f, 52.2f, 99.2f, 45.6f, 102.4f, 39); in hiragino_maru_goth_pro_e() 32 path.cubicTo(102.8f, 38.4f, 102.9f, 37.8f, 102.9f, 37.2f); in hiragino_maru_goth_pro_e() 33 path.cubicTo(102.9f, 35.4f, 101.5f, 34.2f, 99.8f, 33.7f); in hiragino_maru_goth_pro_e() [all …]
|
D | smallpaths.cpp | 13 static SkScalar make_triangle(SkPath* path) { in make_triangle() argument 17 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); in make_triangle() 18 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle() 19 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle() 20 path->close(); in make_triangle() 21 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_triangle() 25 static SkScalar make_rect(SkPath* path) { in make_rect() argument 28 path->addRect(r); in make_rect() 29 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_rect() 33 static SkScalar make_oval(SkPath* path) { in make_oval() argument [all …]
|
/external/libxml2/result/ |
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 …]
|
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 …]
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/ |
D | zipio.py | 60 def _locate(path): argument 61 full_path = path 62 if _os.path.exists(path): 63 return path, None 67 root = _os.path.splitdrive(path) 68 while path and path != root: 69 path, bn = _os.path.split(path) 71 if _os.path.exists(path): 74 if path == root: 79 if not _os.path.isfile(path): [all …]
|
/external/skia/samplecode/ |
D | SampleConcavePaths.cpp | 50 SkPath path; in onDrawContent() local 52 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent() 53 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in onDrawContent() 54 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent() 55 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent() 56 canvas->drawPath(path, paint); in onDrawContent() 60 SkPath path; in onDrawContent() local 63 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent() 64 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent() 65 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent() [all …]
|
/external/pdfium/testing/utils/ |
D | path_service.cpp | 19 bool PathService::EndsWithSeparator(const std::string& path) { in EndsWithSeparator() argument 20 return path.size() > 1 && path[path.size() - 1] == PATH_SEPARATOR; in EndsWithSeparator() 24 bool PathService::GetExecutableDir(std::string* path) { in GetExecutableDir() argument 32 *path = std::string(path_buffer); in GetExecutableDir() 34 FXSYS_assert(path); in GetExecutableDir() 40 path->reserve(path_length); in GetExecutableDir() 41 path->resize(path_length - 1); in GetExecutableDir() 42 if (_NSGetExecutablePath(&((*path)[0]), &path_length)) in GetExecutableDir() 51 *path = std::string(buf, count); in GetExecutableDir() 55 std::size_t pos = path->size() - 1; in GetExecutableDir() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.groovy | 56 def normalized = normalize(entry.path) 58 throw new FileSystemException("The path [" + normalized + "] already exists") 73 * @param path - the path of the filename to create 76 * @throws AssertionError - if path is null 79 public boolean createFile(String path) { 80 assert path != null 81 checkForInvalidFilename(path) 84 if (!parentDirectoryExists(path)) { 86 String parent = getParent(path) 92 … throw new FileSystemException("Parent directory does not exist: " + getParent(path)) [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 106 String path = entry.getPath(); in add() local 107 checkForInvalidFilename(path); in add() 108 if (getEntry(path) != null) { in add() 109 throw new FileSystemException(path, "filesystem.pathAlreadyExists"); in add() 112 if (!parentDirectoryExists(path)) { in add() 113 String parent = getParent(path); in add() 126 entries.put(getFileSystemEntryKey(path), entry); in add() 141 public boolean delete(String path) { in delete() argument 142 Assert.notNull(path, "path"); in delete() 144 if (getEntry(path) != null && !hasChildren(path)) { in delete() [all …]
|
/external/webrtc/webrtc/base/ |
D | fileutils_unittest.cc | 20 Pathname path; in TEST() local 21 EXPECT_TRUE(Filesystem::GetTemporaryFolder(path, true, NULL)); in TEST() 26 Pathname path; in TEST() local 27 EXPECT_TRUE(Filesystem::GetTemporaryFolder(path, true, NULL)); in TEST() 28 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST() 34 fs = Filesystem::OpenFile(path, "wb"); in TEST() 40 EXPECT_TRUE(Filesystem::IsFile(path)); in TEST() 42 fs = Filesystem::OpenFile(path, "rb"); in TEST() 48 EXPECT_TRUE(Filesystem::DeleteFile(path)); in TEST() 49 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | path.h | 32 struct path; 50 typedef VGboolean (*path_for_each_cb)(struct path *p, 54 struct path *path_create(VGPathDatatype dt, VGfloat scale, VGfloat bias, 58 void path_destroy(struct path *p); 60 VGbitfield path_capabilities(struct path *p); 61 void path_set_capabilities(struct path *p, VGbitfield bf); 63 void path_append_data(struct path *p, 68 void path_append_path(struct path *dst, 69 struct path *src); 71 VGint path_num_segments(struct path *p); [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/ |
D | test_zipio.py | 12 TESTDATA=os.path.join( 13 os.path.dirname(os.path.abspath(__file__)), 28 fp = zipio.open(os.path.join(TESTDATA, 'test.txt'), 'r') 34 fp = zipio.open(os.path.join(TESTDATA, 'test.txt'), 'rb') 40 fp = zipio.open(os.path.join(TESTDATA, 'zipped.egg', 'test.txt'), 'r') 46 fp = zipio.open(os.path.join(TESTDATA, 'zipped.egg', 'test.txt'), 'rb') 52 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir')) 53 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir2')) 54 … self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir2/subdir')) 55 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir3')) [all …]
|