Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 8786) sorted by relevance

12345678910>>...352

/third_party/skia/bench/
DBigPath.cpp20 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/
DPathOpsSimplifyTest.cpp12 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 …]
DPathOpsOpTest.cpp13 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 …]
DTriangulatingPathRendererTests.cpp34 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 …]
DPathOpsSkpTest.cpp12 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 …]
DPathOpsBuildUseTest.cpp14 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 …]
DPathOpsBattles.cpp92 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 …]
DPathOpsFuzz763Test.cpp13 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 …]
DPathOpsBuilderConicTest.cpp132 static bool simplify_fails(skiatest::Reporter* reporter, const SkPath& path) { in simplify_fails() argument
134 bool failed = !Simplify(path, &simplifiedPath); in simplify_fails()
137 failed = !!comparePaths(reporter, __FUNCTION__, path, simplifiedPath, bitmap); in simplify_fails()
142 static SkPath subset_simplify_fail(skiatest::Reporter* reporter, const SkPath& path) { in subset_simplify_fail() argument
143 SubsetContours subsetContours(path); in subset_simplify_fail()
144 bool failed = simplify_fails(reporter, path); in subset_simplify_fail()
146 SkPath lastFailed = path; in subset_simplify_fail()
170 SkPath path; in DEF_TEST() local
171 path.moveTo(SkBits2Float(0x434d53ca), SkBits2Float(0x43ad6ab0)); // 205.327f, 346.833f in DEF_TEST()
172 path.conicTo(SkBits2Float(0x434d53ca), SkBits2Float(0x40a00000), SkBits2Float(0x42d253ca), SkBits2F… in DEF_TEST()
[all …]
DPathOpsTigerTest.cpp16 SkPath path; in tiger8() local
17 path.moveTo(SkBits2Float(0x43f639c5), SkBits2Float(0x4361375a)); // 492.451f, 225.216f in tiger8()
18 path.quadTo(SkBits2Float(0x43f58ce4), SkBits2Float(0x435d2a04), SkBits2Float(0x43f71bd9), SkBits2Fl… in tiger8()
19 path.quadTo(SkBits2Float(0x43f7d69d), SkBits2Float(0x4359aa35), SkBits2Float(0x43f8b3b3), SkBits2Fl… in tiger8()
20 path.conicTo(SkBits2Float(0x43f8ba67), SkBits2Float(0x43594f16), SkBits2Float(0x43f8c136), SkBits2F… in tiger8()
21 path.quadTo(SkBits2Float(0x43fcc3a8), SkBits2Float(0x43589340), SkBits2Float(0x43ff01dc), SkBits2Fl… in tiger8()
22 path.conicTo(SkBits2Float(0x43ff5113), SkBits2Float(0x4352187b), SkBits2Float(0x43ffb59e), SkBits2F… in tiger8()
23 path.conicTo(SkBits2Float(0x43ffdc85), SkBits2Float(0x4352f435), SkBits2Float(0x43ffe4a9), SkBits2F… in tiger8()
24 path.quadTo(SkBits2Float(0x4400461c), SkBits2Float(0x435b3080), SkBits2Float(0x4400b692), SkBits2Fl… in tiger8()
25 path.conicTo(SkBits2Float(0x4400c662), SkBits2Float(0x43617856), SkBits2Float(0x44009920), SkBits2F… in tiger8()
[all …]
DPathOpsIssue3651.cpp13 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 …]
DPathOpsSimplifyFailTest.cpp42 SkPath path; in failOne() local
47 case 0: path.lineTo(nonFinitePts[i]); break; in failOne()
48 case 1: path.quadTo(nonFinitePts[i], nonFinitePts[i]); break; in failOne()
49 case 2: path.quadTo(nonFinitePts[i], finitePts[f]); break; in failOne()
50 case 3: path.quadTo(finitePts[f], nonFinitePts[i]); break; in failOne()
51 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; in failOne()
52 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; in failOne()
53 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; in failOne()
54 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; in failOne()
55 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break; in failOne()
[all …]
/third_party/ninja/src/
Dutil_test.cc23 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/curl/tests/
Dpathhelp.pm195 my ($path) = @_;
198 return $path if (!os_is_win());
201 return $path if ($path eq '');
203 if($path =~ s{^([a-zA-Z]):$}{\u$1:}) {
210 return $path;
212 elsif($path =~ m{^\\} || $path =~ m{^[a-zA-Z]:[^/\\]}) {
221 my $first_char = ucfirst(substr($path, 0, 1));
224 $path =~ s{[\\/]+}{/}g;
228 substr($path, 0, 1, $first_char);
229 return $path;
[all …]
/third_party/skia/gm/
Dstrokefill.cpp36 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 …]
Dpathfill.cpp21 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()
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()
182 path.cubicTo(44, 12.95000076293945f, in make_info()
[all …]
Dcollapsepaths.cpp15 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 …]
Dthinconcavepaths.cpp17 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 …]
Dconcavepaths.cpp83 auto path = SkPathBuilder().addPolygon({{20,20}, {60,50}, {20,80}}, false) in test_fast_forward() local
86 canvas->drawPath(path, paint); in test_fast_forward()
94 auto path = SkPathBuilder().addPolygon({{20,20}, {80,20}, {80,80}, {20,80}}, false) in test_hole() local
97 canvas->drawPath(path, paint); in test_hole()
154 auto path = SkPathBuilder().addPolygon({{20,80}, {80,80}, {80,20}, {20,20}}, false) in test_partners() local
158 canvas->drawPath(path, paint); in test_partners()
165 SkPathBuilder path; in test_winding_merged_to_zero() local
168 path.moveTo(20, 80); in test_winding_merged_to_zero()
169 path.moveTo(70, -0.000001f); in test_winding_merged_to_zero()
170 path.lineTo(70, 0.0); in test_winding_merged_to_zero()
[all …]
/third_party/json/docs/docset/
DdocSet.sql2 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/typescript/src/testRunner/unittests/tsserver/
DconfiguredProjects.ts5 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 …]
Dprojects.ts5 path: "/a/b/commonFile1.ts",
15 { file: file1.path }
21 host.writeFile(commonFile2.path, commonFile2.content);
29 path: "/a/b/tsconfig.json",
32 "files": ["${commonFile1.path}", "${commonFile2.path}"]
38 projectService.openClientFile(commonFile1.path);
41 checkProjectRootFiles(project, [commonFile1.path, commonFile2.path]);
44 "files": ["${commonFile1.path}"]
46 host.writeFile(configFile.path, configFile.content);
49 checkProjectRootFiles(project, [commonFile1.path, commonFile2.path]);
[all …]
/third_party/python/Lib/
Dntpath.py34 def _get_bothseps(path): argument
35 if isinstance(path, bytes):
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.
90 result_drive, result_path = splitdrive(path)
117 genericpath._check_arg_types('join', path, *paths)
228 def islink(path): argument
233 st = os.lstat(path)
[all …]
/third_party/node/test/parallel/
Dtest-path-basename.js4 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 …]
/third_party/typescript/src/compiler/
Dpath.ts25 export function isUrl(path: string) {
26 return getEncodedRootLength(path) < 0;
33 export function isRootedDiskPath(path: string) {
34 return getEncodedRootLength(path) > 0;
40 export function isDiskPathRoot(path: string) {
41 const rootLength = getEncodedRootLength(path);
42 return rootLength > 0 && rootLength === path.length;
60 export function pathIsAbsolute(path: string): boolean {
61 return getEncodedRootLength(path) !== 0;
67 export function pathIsRelative(path: string): boolean {
[all …]

12345678910>>...352