/third_party/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 …]
|
/third_party/flutter/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 …]
|
/third_party/flutter/skia/tests/ |
D | TessellatingPathRendererTests.cpp | 29 SkPath path; in create_path_0() local 30 path.moveTo(229.127044677734375f, 67.34100341796875f); in create_path_0() 31 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0() 32 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0() 33 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in create_path_0() 34 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in create_path_0() 35 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0() 36 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0() 37 return path; in create_path_0() 43 SkPath path; in create_path_1() local [all …]
|
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 | 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 | 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 | PathOpsOpTest.cpp | 13 PathTest_Private(SkPath* path) in PathTest_Private() argument 14 : fPath(path) {} in PathTest_Private() 23 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument 24 PathTest_Private testPath(path); in path_edit() 25 for (int index = 0; index < path->countPoints(); ++index) { in path_edit() 26 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit() 34 SkPath path, pathB; in cubicOp1d() local 35 path.setFillType(SkPath::kWinding_FillType); in cubicOp1d() 36 path.moveTo(0,1); in cubicOp1d() 37 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d() [all …]
|
/third_party/flutter/skia/gm/ |
D | pathfill.cpp | 21 static SkScalar make_frame(SkPath* path) { in make_frame() argument 24 path->addRoundRect(r, SkIntToScalar(15), SkIntToScalar(15)); in make_frame() 29 paint.getFillPath(*path, path); in make_frame() 33 static SkScalar make_triangle(SkPath* path) { in make_triangle() argument 37 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); in make_triangle() 38 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle() 39 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle() 40 path->close(); in make_triangle() 41 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_triangle() 45 static SkScalar make_rect(SkPath* path) { in make_rect() argument [all …]
|
D | collapsepaths.cpp | 15 SkPath 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(SkPath::FillType::kEvenOdd_FillType); in test_collapse1() 25 canvas->drawPath(path, paint); in test_collapse1() [all …]
|
D | strokefill.cpp | 29 SkPath path; in papyrus_hello() local 30 path.moveTo(169.824f, 83.4102f); in papyrus_hello() 31 path.lineTo(167.285f, 85.6074f); in papyrus_hello() 32 path.lineTo(166.504f, 87.2188f); in papyrus_hello() 33 path.lineTo(165.82f, 86.7793f); in papyrus_hello() 34 path.lineTo(165.186f, 87.1211f); in papyrus_hello() 35 path.lineTo(164.6f, 88.1953f); in papyrus_hello() 36 path.lineTo(161.914f, 89.416f); in papyrus_hello() 37 path.lineTo(161.719f, 89.2207f); in papyrus_hello() 38 path.lineTo(160.596f, 88.8789f); in papyrus_hello() [all …]
|
/third_party/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(SkPathFillType::kEvenOdd); in testLine1x() 23 path.moveTo(2,0); in testLine1x() 24 path.lineTo(1,1); in testLine1x() [all …]
|
D | TriangulatingPathRendererTests.cpp | 34 SkPath path; in __anon020b0a9e0102() local 35 path.moveTo(229.127044677734375f, 67.34100341796875f); in __anon020b0a9e0102() 36 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon020b0a9e0102() 37 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon020b0a9e0102() 38 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in __anon020b0a9e0102() 39 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in __anon020b0a9e0102() 40 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon020b0a9e0102() 41 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon020b0a9e0102() 42 return path; in __anon020b0a9e0102() 48 SkPath path; in __anon020b0a9e0202() local [all …]
|
D | PathOpsBattles.cpp | 92 SkPath path; in battleOp1() local 93 path.setFillType((SkPathFillType) 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 | PathOpsSkpTest.cpp | 12 SkPath path; in skpcheeseandburger_com225() local 13 path.setFillType(SkPathFillType::kEvenOdd); 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 | PathOpsOpTest.cpp | 13 PathTest_Private(SkPath* path) in PathTest_Private() argument 14 : fPath(path) {} in PathTest_Private() 23 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument 24 PathTest_Private testPath(path); in path_edit() 25 for (int index = 0; index < path->countPoints(); ++index) { in path_edit() 26 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit() 34 SkPath path, pathB; in cubicOp1d() local 35 path.setFillType(SkPathFillType::kWinding); in cubicOp1d() 36 path.moveTo(0,1); in cubicOp1d() 37 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d() [all …]
|
/third_party/skia/gm/ |
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 …]
|
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 | 21 SkPath path; member 31 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local 35 paint.getFillPath(path, &path); in make_frame() 36 return {path, 15}; in make_frame() 155 // We don't expect any output from this path. 171 SkPathBuilder path; in make_info() local 172 path.moveTo(24, 4); in make_info() 173 path.cubicTo(12.94999980926514f, 4, in make_info() 176 path.cubicTo(4, 35.04999923706055f, in make_info() 179 path.cubicTo(35.04999923706055f, 44, in make_info() [all …]
|
/third_party/ninja/src/ |
D | util_test.cc | 21 bool CanonicalizePath(string* path, string* err) { in CanonicalizePath() argument 23 return ::CanonicalizePath(path, &unused, err); in CanonicalizePath() 29 string path; in TEST() local 32 EXPECT_FALSE(CanonicalizePath(&path, &err)); in TEST() 33 EXPECT_EQ("empty path", err); in TEST() 35 path = "foo.h"; err = ""; in TEST() 36 EXPECT_TRUE(CanonicalizePath(&path, &err)); in TEST() 37 EXPECT_EQ("foo.h", path); in TEST() 39 path = "./foo.h"; in TEST() 40 EXPECT_TRUE(CanonicalizePath(&path, &err)); in TEST() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | path_test.dart | 10 final Path path = Path(); 11 expect(path.subpaths.length, 0); 15 final Path path = Path(); 16 path.moveTo(5.0, 10.0); 17 path.lineTo(20.0, 40.0); 18 path.lineTo(30.0, 50.0); 19 expect(path.subpaths.length, 1); 20 expect(path.subpaths[0].currentX, 30.0); 21 expect(path.subpaths[0].currentY, 50.0); 24 test('LineTo should add moveTo 0,0 when first call to Path API', () { [all …]
|
/third_party/node/doc/api/ |
D | path.md | 1 # Path chapter 7 <!-- source_link=lib/path.js --> 9 The `path` module provides utilities for working with file and directory paths. 13 const path = require('path'); 18 The default operation of the `path` module varies based on the operating system 20 Windows operating system, the `path` module will assume that Windows-style 23 So using `path.basename()` might yield different results on POSIX and Windows: 28 path.basename('C:\\temp\\myfile.html'); 35 path.basename('C:\\temp\\myfile.html'); 40 operating system, use [`path.win32`][]: [all …]
|
/third_party/typescript/src/compiler/ |
D | path.ts | 13 //// Path Tests 23 …* Determines whether a path starts with a URL scheme (e.g. starts with `http://`, `ftp://`, `file:… 25 export function isUrl(path: string) { 26 return getEncodedRootLength(path) < 0; 30 * Determines whether a path is an absolute disk path (e.g. starts with `/`, or a dos path 33 export function isRootedDiskPath(path: string) { 34 return getEncodedRootLength(path) > 0; 38 * Determines whether a path consists only of a path root. 40 export function isDiskPathRoot(path: string) { 41 const rootLength = getEncodedRootLength(path); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===// 10 // This file declares the llvm::sys::path namespace. It is designed after 12 // path class. 25 namespace path { 30 /// @brief Path iterator. 33 /// \a path. The traversal order is as follows: 51 StringRef Path; ///< The entire path. variable 52 StringRef Component; ///< The current component. Not necessarily in Path. 53 size_t Position; ///< The iterators current position within Path. 55 // An end iterator has Position = Path.size() + 1. [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | configuredProjects.ts | 5 path: "/a/b/tsconfig.json", 15 path: "/a/b/c/f1.ts", 19 path: "/a/b/d/f2.ts", 23 path: "/a/b/e/f3.ts", 29 const { configFileName, configFileErrors } = projectService.openClientFile(file1.path); 37 … checkProjectActualFiles(project, [file1.path, libFile.path, file2.path, configFile.path]); 38 checkProjectRootFiles(project, [file1.path, file2.path]); 40 checkWatchedFiles(host, [configFile.path, file2.path, libFile.path]); 41 const configFileDirectory = getDirectoryPath(configFile.path); 47 path: "/a/b/tsconfig.json", [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Path.h | 1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===// 9 // This file declares the llvm::sys::path namespace. It is designed after 11 // path class. 26 namespace path { 33 /// Path iterator. 36 /// \a path. The traversal order is as follows: 55 StringRef Path; ///< The entire path. variable 56 StringRef Component; ///< The current component. Not necessarily in Path. 57 size_t Position = 0; ///< The iterators current position within Path. 58 Style S = Style::native; ///< The path style to use. [all …]
|