Home
last modified time | relevance | path

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

12345678910>>...239

/external/skia/tools/
DBigPathBench.inc2 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/
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(SkPath::kEvenOdd_FillType); in testLine1x()
23 path.moveTo(2,0); in testLine1x()
24 path.lineTo(1,1); in testLine1x()
[all …]
DPathOpsSkpTest.cpp12 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 …]
DTessellatingPathRendererTests.cpp26 SkPath path; in create_path_0() local
27 path.moveTo(229.127044677734375f, 67.34100341796875f); in create_path_0()
28 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0()
29 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0()
30 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in create_path_0()
31 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in create_path_0()
32 path.lineTo(171.411407470703125f, 50.94266510009765625f); in create_path_0()
33 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in create_path_0()
34 return path; in create_path_0()
40 SkPath path; in create_path_1() local
[all …]
DPathOpsBuildUseTest.cpp14 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 …]
DPathOpsBattles.cpp92 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 …]
DPathOpsFuzz763Test.cpp13 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 …]
DPathOpsOpTest.cpp12 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 …]
DPathOpsBuilderConicTest.cpp131 static bool simplify_fails(skiatest::Reporter* reporter, const SkPath& path) { in simplify_fails() argument
133 bool failed = !Simplify(path, &dummy); in simplify_fails()
136 failed = !!comparePaths(reporter, __FUNCTION__, path, dummy, bitmap); in simplify_fails()
141 static SkPath subset_simplify_fail(skiatest::Reporter* reporter, const SkPath& path) { in subset_simplify_fail() argument
142 SubsetContours subsetContours(path); in subset_simplify_fail()
143 bool failed = simplify_fails(reporter, path); in subset_simplify_fail()
145 SkPath lastFailed = path; in subset_simplify_fail()
169 SkPath path; in DEF_TEST() local
170 path.moveTo(SkBits2Float(0x434d53ca), SkBits2Float(0x43ad6ab0)); // 205.327f, 346.833f in DEF_TEST()
171 path.conicTo(SkBits2Float(0x434d53ca), SkBits2Float(0x40a00000), SkBits2Float(0x42d253ca), SkBits2F… in DEF_TEST()
[all …]
DPathOpsTigerTest.cpp13 SkPath path; in tiger8() local
14 path.moveTo(SkBits2Float(0x43f639c5), SkBits2Float(0x4361375a)); // 492.451f, 225.216f in tiger8()
15 path.quadTo(SkBits2Float(0x43f58ce4), SkBits2Float(0x435d2a04), SkBits2Float(0x43f71bd9), SkBits2Fl… in tiger8()
16 path.quadTo(SkBits2Float(0x43f7d69d), SkBits2Float(0x4359aa35), SkBits2Float(0x43f8b3b3), SkBits2Fl… in tiger8()
17 path.conicTo(SkBits2Float(0x43f8ba67), SkBits2Float(0x43594f16), SkBits2Float(0x43f8c136), SkBits2F… in tiger8()
18 path.quadTo(SkBits2Float(0x43fcc3a8), SkBits2Float(0x43589340), SkBits2Float(0x43ff01dc), SkBits2Fl… in tiger8()
19 path.conicTo(SkBits2Float(0x43ff5113), SkBits2Float(0x4352187b), SkBits2Float(0x43ffb59e), SkBits2F… in tiger8()
20 path.conicTo(SkBits2Float(0x43ffdc85), SkBits2Float(0x4352f435), SkBits2Float(0x43ffe4a9), SkBits2F… in tiger8()
21 path.quadTo(SkBits2Float(0x4400461c), SkBits2Float(0x435b3080), SkBits2Float(0x4400b692), SkBits2Fl… in tiger8()
22 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 …]
/external/curl/tests/
Dpathhelp.pm201 my ($path) = @_;
204 return $path unless (os_is_win());
207 return $path if ($path eq '');
209 if($path =~ s{^([a-zA-Z]):$}{\u$1:}) {
216 return $path;
218 elsif($path =~ m{^\\} || $path =~ m{^[a-zA-Z]:[^/\\]}) {
227 my $first_char = ucfirst(substr($path, 0, 1));
230 $path =~ s{[\\/]+}{/}g;
234 substr($path, 0, 1) = $first_char;
235 return $path;
[all …]
/external/skia/gm/
Dstrokefill.cpp20 SkPath path; in papyrus_hello() local
21 path.moveTo(169.824f, 83.4102f); in papyrus_hello()
22 path.lineTo(167.285f, 85.6074f); in papyrus_hello()
23 path.lineTo(166.504f, 87.2188f); in papyrus_hello()
24 path.lineTo(165.82f, 86.7793f); in papyrus_hello()
25 path.lineTo(165.186f, 87.1211f); in papyrus_hello()
26 path.lineTo(164.6f, 88.1953f); in papyrus_hello()
27 path.lineTo(161.914f, 89.416f); in papyrus_hello()
28 path.lineTo(161.719f, 89.2207f); in papyrus_hello()
29 path.lineTo(160.596f, 88.8789f); in papyrus_hello()
[all …]
Dpathfill.cpp13 static SkScalar make_frame(SkPath* path) { in make_frame() argument
16 path->addRoundRect(r, SkIntToScalar(15), SkIntToScalar(15)); in make_frame()
21 paint.getFillPath(*path, path); in make_frame()
25 static SkScalar make_triangle(SkPath* path) { in make_triangle() argument
29 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); in make_triangle()
30 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle()
31 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle()
32 path->close(); in make_triangle()
33 path->offset(SkIntToScalar(10), SkIntToScalar(0)); in make_triangle()
37 static SkScalar make_rect(SkPath* path) { in make_rect() argument
[all …]
Dconcavepaths.cpp15 SkPath path; in test_concave() local
17 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_concave()
18 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in test_concave()
19 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_concave()
20 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_concave()
21 canvas->drawPath(path, paint); in test_concave()
26 SkPath path; in test_reverse_concave() local
29 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in test_reverse_concave()
30 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in test_reverse_concave()
31 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in test_reverse_concave()
[all …]
Dpathreverse.cpp24 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 …]
Dthinconcavepaths.cpp15 SkPath path; in draw_thin_stroked_rect() local
16 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect()
17 path.lineTo(40, 10 + width); in draw_thin_stroked_rect()
18 path.lineTo(40, 20); in draw_thin_stroked_rect()
19 path.lineTo(10 + width, 20); in draw_thin_stroked_rect()
20 path.moveTo(10, 10); in draw_thin_stroked_rect()
21 path.lineTo(10, 20 + width); in draw_thin_stroked_rect()
22 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect()
23 path.lineTo(40 + width, 10); in draw_thin_stroked_rect()
24 canvas->drawPath(path, paint); in draw_thin_stroked_rect()
[all …]
Dsmallpaths.cpp13 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/
Dsvg3.rdr7 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 …]
Dsvg3.rde7 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/
Dzipio.py60 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/
DSampleConcavePaths.cpp47 SkPath path; in onDrawContent() local
49 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
50 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in onDrawContent()
51 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
52 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
53 canvas->drawPath(path, paint); in onDrawContent()
57 SkPath path; in onDrawContent() local
60 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
61 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
62 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp23 using llvm::sys::path::is_separator;
35 StringRef find_first_component(StringRef path) { in find_first_component() argument
43 if (path.empty()) in find_first_component()
44 return path; in find_first_component()
48 if (path.size() >= 2 && std::isalpha(path[0]) && path[1] == ':') in find_first_component()
49 return path.substr(0, 2); in find_first_component()
53 if ((path.size() > 2) && in find_first_component()
54 is_separator(path[0]) && in find_first_component()
55 path[0] == path[1] && in find_first_component()
56 !is_separator(path[2])) { in find_first_component()
[all …]
/external/pdfium/testing/utils/
Dpath_service.cpp21 bool PathService::EndsWithSeparator(const std::string& path) { in EndsWithSeparator() argument
22 return path.size() > 1 && path[path.size() - 1] == PATH_SEPARATOR; in EndsWithSeparator()
26 bool PathService::GetExecutableDir(std::string* path) { in GetExecutableDir() argument
34 *path = std::string(path_buffer); in GetExecutableDir()
36 ASSERT(path); in GetExecutableDir()
42 path->reserve(path_length); in GetExecutableDir()
43 path->resize(path_length - 1); in GetExecutableDir()
44 if (_NSGetExecutablePath(&((*path)[0]), &path_length)) in GetExecutableDir()
53 *path = std::string(buf, count); in GetExecutableDir()
57 std::size_t pos = path->size() - 1; in GetExecutableDir()
[all …]

12345678910>>...239