/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/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 __anonc3d3a53d0102() local 35 path.moveTo(229.127044677734375f, 67.34100341796875f); in __anonc3d3a53d0102() 36 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anonc3d3a53d0102() 37 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anonc3d3a53d0102() 38 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in __anonc3d3a53d0102() 39 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in __anonc3d3a53d0102() 40 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anonc3d3a53d0102() 41 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anonc3d3a53d0102() 42 return path; in __anonc3d3a53d0102() 48 SkPath path; in __anonc3d3a53d0202() 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 …]
|
D | PathOpsFuzz763Test.cpp | 13 SkPath path; in fuzz763_3084() local 14 path.setFillType((SkPathFillType) 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 | PathOpsBuildUseTest.cpp | 14 SkPath path; in build1_1() local 15 path.reset(); in build1_1() 16 path.moveTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43adff26)); // 234.901f, 347.993f in build1_1() 17 path.quadTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() 18 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43ba7f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 19 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43ba7f26), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 20 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4338e68e), SkBits2Fl… in build1_1() 21 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43a8d1aa), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 22 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43a17f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 23 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43a17f26), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() [all …]
|
/third_party/ninja/src/ |
D | util_test.cc | 23 void CanonicalizePath(string* path) { in CanonicalizePath() argument 25 ::CanonicalizePath(path, &unused); in CanonicalizePath() 31 string path; in TEST() local 33 CanonicalizePath(&path); in TEST() 34 EXPECT_EQ("", path); in TEST() 36 path = "foo.h"; in TEST() 37 CanonicalizePath(&path); in TEST() 38 EXPECT_EQ("foo.h", path); in TEST() 40 path = "./foo.h"; in TEST() 41 CanonicalizePath(&path); in TEST() [all …]
|
/third_party/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 | 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 …]
|
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 | thinconcavepaths.cpp | 17 SkPath path; in draw_thin_stroked_rect() local 18 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect() 19 path.lineTo(40, 10 + width); in draw_thin_stroked_rect() 20 path.lineTo(40, 20); in draw_thin_stroked_rect() 21 path.lineTo(10 + width, 20); in draw_thin_stroked_rect() 22 path.moveTo(10, 10); in draw_thin_stroked_rect() 23 path.lineTo(10, 20 + width); in draw_thin_stroked_rect() 24 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect() 25 path.lineTo(40 + width, 10); in draw_thin_stroked_rect() 26 canvas->drawPath(path, paint); in draw_thin_stroked_rect() [all …]
|
/third_party/node/doc/api/ |
D | path.md | 1 # Path chapter 7 <!-- source_link=lib/path.js --> 9 The `node:path` module provides utilities for working with file and directory 13 const path = require('node:path'); 18 The default operation of the `node:path` module varies based on the operating 20 a Windows operating system, the `node:path` module will assume that 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/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 …]
|
/third_party/python/Lib/ |
D | posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 13 # Strings representing various path-related bits and pieces. 41 def _get_sep(path): argument 42 if isinstance(path, bytes): 57 # Return whether a path is absolute. 61 """Test whether a path is absolute""" 73 If any component is an absolute path, all previous path components 74 will be discarded. An empty last part will result in a path that 78 path = a [all …]
|
D | ntpath.py | 5 module as os.path. 8 # strings representing various path-related bits and pieces 34 def _get_bothseps(path): argument 35 if isinstance(path, bytes): 55 # Return whether a path is absolute. 62 """Test whether a path is absolute""" 77 def join(path, *paths): argument 78 path = os.fspath(path) 79 if isinstance(path, bytes): 89 path[:0] + sep #23780: Ensure compatible data type even if p is null. [all …]
|
/third_party/curl/tests/ |
D | pathhelp.pm | 25 # This Perl package helps with path transforming when running curl tests on 30 # (1) /some/path - absolute path in Unix-style 31 # (2) D:/some/path - absolute path in Win32-style 32 # (3) some/path - relative path 33 # (4) D:some/path - path relative to current directory on Win32 drive (paths 35 # (5) \some/path - path from root directory on current Win32 drive (*) 50 # control on Win32 current drive and Win32 current path on specific drive. 104 # Returns boolean true if 'cygpath' utility should be used for path conversion. 116 # Performs path "normalization": all slashes converted to forward 120 # Path processed as string, directories are not checked for presence so [all …]
|
/third_party/json/docs/docset/ |
D | docSet.sql | 2 CREATE TABLE searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT); field 3 CREATE UNIQUE INDEX anchor ON searchIndex (name, type, path); 6 INSERT INTO searchIndex(name, type, path) VALUES ('adl_serializer', 'Class', 'api/adl_serializer/in… 7 INSERT INTO searchIndex(name, type, path) VALUES ('adl_serializer::from_json', 'Function', 'api/adl… 8 INSERT INTO searchIndex(name, type, path) VALUES ('adl_serializer::to_json', 'Function', 'api/adl_s… 9 INSERT INTO searchIndex(name, type, path) VALUES ('byte_container_with_subtype', 'Class', 'api/byte… 10 INSERT INTO searchIndex(name, type, path) VALUES ('byte_container_with_subtype::byte_container_with… 11 INSERT INTO searchIndex(name, type, path) VALUES ('byte_container_with_subtype::clear_subtype', 'Me… 12 INSERT INTO searchIndex(name, type, path) VALUES ('byte_container_with_subtype::has_subtype', 'Meth… 13 INSERT INTO searchIndex(name, type, path) VALUES ('byte_container_with_subtype::set_subtype', 'Meth… [all …]
|
/third_party/node/lib/ |
D | path.js | 65 // Resolves . and .. elements in a path with directory names 66 function normalizeString(path, allowAboveRoot, separator, isPathSeparator) { argument 72 for (let i = 0; i <= path.length; ++i) { 73 if (i < path.length) 74 code = StringPrototypeCharCodeAt(path, i); 114 res += `${separator}${StringPrototypeSlice(path, lastSlash + 1, i)}`; 116 res = StringPrototypeSlice(path, lastSlash + 1, i); 154 * path.resolve([from ...], to) 164 let path; 166 path = args[i]; [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); 39 path: "/a/b/tsconfig.json", 47 path: "/a/b/f1.ts", 51 path: "/a/b/f2.ts", 55 path: "/a/b/c/f3.ts", 61 const { configFileName, configFileErrors } = projectService.openClientFile(file1.path); [all …]
|
/third_party/node/deps/npm/test/lib/workspaces/ |
D | get-workspaces.js | 1 const { resolve } = require('path') 9 const cleanOutput = (str, path) => normalizePath(str) argument 10 .replace(normalizePath(path), '{PATH}') 12 const clean = (res, path) => { argument 15 cleaned.set(key, cleanOutput(value, path)) 20 const path = t.testdir({ 80 workspaces = await getWorkspaces(['a', 'b'], { path, relativeFrom: path }) property 82 clean(workspaces, path), 84 a: '{PATH}/packages/a', 85 b: '{PATH}/packages/b', [all …]
|
/third_party/node/test/parallel/ |
D | test-path-basename.js | 4 const path = require('path'); constant 6 assert.strictEqual(path.basename(__filename), 'test-path-basename.js'); 7 assert.strictEqual(path.basename(__filename, '.js'), 'test-path-basename'); 8 assert.strictEqual(path.basename('.js', '.js'), ''); 9 assert.strictEqual(path.basename('js', '.js'), 'js'); 10 assert.strictEqual(path.basename('file.js', '.ts'), 'file.js'); 11 assert.strictEqual(path.basename('file', '.js'), 'file'); 12 assert.strictEqual(path.basename('file.js.old', '.js.old'), 'file'); 13 assert.strictEqual(path.basename(''), ''); 14 assert.strictEqual(path.basename('/dir/basename.ext'), 'basename.ext'); [all …]
|