Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 25 of 137) sorted by relevance

123456

/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils_unittest.cpp96 std::string path2 = "this/is/path2"; in TEST() local
98 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
104 std::string path2 = "this/is/path2"; in TEST() local
106 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
112 std::string path2 = ""; in TEST() local
114 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
120 std::string path2 = "/this/is/path2"; in TEST() local
122 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
128 std::string path2 = "this/is/path2"; in TEST() local
130 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
[all …]
/third_party/flutter/skia/modules/pathkit/perf/
Dpathops.bench.js39 ctx.path2 = drawStar(X=140, Y=145);
43 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
49 ctx.path2.delete();
63 ctx.path2 = drawStar(X=140, Y=145);
67 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
73 ctx.path2.delete();
87 ctx.path2 = drawStar(X=140, Y=145);
91 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
97 ctx.path2.delete();
111 ctx.path2 = drawStar(X=140, Y=145);
[all …]
/third_party/skia/modules/pathkit/perf/
Dpathops.bench.js39 ctx.path2 = drawStar(X=140, Y=145);
43 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
49 ctx.path2.delete();
63 ctx.path2 = drawStar(X=140, Y=145);
67 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
73 ctx.path2.delete();
87 ctx.path2 = drawStar(X=140, Y=145);
91 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
97 ctx.path2.delete();
111 ctx.path2 = drawStar(X=140, Y=145);
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dioctl.c145 char path2[40 + sizeof(path1)]; /* less than 40 bytes more than path1 */ in fstrim_limits() local
167 snprintf(path2, sizeof path2, "%s/discard_alignment", path1); in fstrim_limits()
168 ret = read_u64(path2, discard_alignment); in fstrim_limits()
180 snprintf(path2, sizeof path2, "%s/queue/discard_granularity", path1); in fstrim_limits()
181 ret = read_u64(path2, discard_granularity); in fstrim_limits()
186 snprintf(path2, sizeof path2, in fstrim_limits()
188 ret = read_u64(path2, discard_granularity); in fstrim_limits()
198 snprintf(path2, sizeof path2, "%s/queue/discard_max_bytes", path1); in fstrim_limits()
199 ret = read_u64(path2, discard_max_bytes); in fstrim_limits()
204 snprintf(path2, sizeof path2, in fstrim_limits()
[all …]
/third_party/flutter/skia/docs/examples/
DPath_reverseAddPath.cpp14 SkPath path2; in draw() local
15 path2.moveTo(60, 60); in draw()
16 path2.lineTo(80, 60); in draw()
17 path2.lineTo(80, 40); in draw()
20 test.reverseAddPath(path2); in draw()
23 path2.close(); in draw()
DPath_setLastPt_2.cpp10 SkPath path, path2;
12 paint.getTextPath("Z", 1, 60, 100, &path2);
15 path2.getLastPt(&pt2);
17 path2.setLastPt(pt);
19 canvas->drawPath(path2, paint);
DPath_AddPathMode.cpp7 SkPath path, path2; in draw() local
11 path2.moveTo(60, 60); in draw()
12 path2.lineTo(80, 60); in draw()
13 path2.lineTo(80, 40); in draw()
19 test.addPath(path2, addPathMode); in draw()
DPath_copy_const_SkPath.cpp9 SkPath path2(path); in draw() local
10 path2.close(); in draw()
12 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
15 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
DPaint_getTextPath.cpp10 SkPath path, path2;
12 path.offset(20, 20, &path2);
13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path);
14 path.addPath(path2);
/third_party/skia/docs/examples/
DPath_reverseAddPath.cpp14 SkPath path2; in draw() local
15 path2.moveTo(60, 60); in draw()
16 path2.lineTo(80, 60); in draw()
17 path2.lineTo(80, 40); in draw()
20 test.reverseAddPath(path2); in draw()
23 path2.close(); in draw()
DPath_setLastPt_2.cpp10 SkPath path, path2;
12 paint.getTextPath("Z", 1, 60, 100, &path2);
15 path2.getLastPt(&pt2);
17 path2.setLastPt(pt);
19 canvas->drawPath(path2, paint);
DPath_AddPathMode.cpp7 SkPath path, path2; in draw() local
11 path2.moveTo(60, 60); in draw()
12 path2.lineTo(80, 60); in draw()
13 path2.lineTo(80, 40); in draw()
19 test.addPath(path2, addPathMode); in draw()
DPath_copy_const_SkPath.cpp9 SkPath path2(path); in draw() local
10 path2.close(); in draw()
12 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
15 SkDebugf("path2 verbs: %d\n", path2.countVerbs()); in draw()
DPaint_getTextPath.cpp10 SkPath path, path2;
12 path.offset(20, 20, &path2);
13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path);
14 path.addPath(path2);
/third_party/flutter/skia/tests/
DPathOpsBuilderTest.cpp96 SkPath path2; in DEF_TEST() local
99 builder.resolve(&path2); in DEF_TEST()
100 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2); in DEF_TEST()
284 SkPath path2; in DEF_TEST() local
285 path2.moveTo(5940, 2790); in DEF_TEST()
286 path2.lineTo(5940, 2160); in DEF_TEST()
287 path2.lineTo(5970, 1980); in DEF_TEST()
288 path2.lineTo(5688, 773669888); in DEF_TEST()
289 path2.lineTo(5688, 2160); in DEF_TEST()
290 path2.lineTo(5688, 2430); in DEF_TEST()
[all …]
DPathOpsBattles.cpp13 SkPath path1, path2; in issue414409() local
29 path2.moveTo(46.9383f, 68.4529f); in issue414409()
30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); in issue414409()
31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); in issue414409()
32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); in issue414409()
33 path2.lineTo(4.22689e-14f, -60); in issue414409()
34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); in issue414409()
35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); in issue414409()
36 path2.cubicTo(-15.5552f, 63.4296f, 12.6591f, 64.0704f, 33.9313f, 49.484f); in issue414409()
37 path2.lineTo(46.9383f, 68.4529f); in issue414409()
[all …]
DParsePathTest.cpp15 SkPath path2; in test_to_from() local
16 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); in test_to_from()
19 SkParsePath::ToSVGString(path2, &str2); in test_to_from()
23 REPORTER_ASSERT(reporter, path == path2); in test_to_from()
24 if (path != path2) { in test_to_from()
81 SkPath path, path2; in DEF_TEST() local
/third_party/skia/tests/
DPathOpsBuilderTest.cpp96 SkPath path2; in DEF_TEST() local
99 builder.resolve(&path2); in DEF_TEST()
100 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2); in DEF_TEST()
284 SkPath path2; in DEF_TEST() local
285 path2.moveTo(5940, 2790); in DEF_TEST()
286 path2.lineTo(5940, 2160); in DEF_TEST()
287 path2.lineTo(5970, 1980); in DEF_TEST()
288 path2.lineTo(5688, 773669888); in DEF_TEST()
289 path2.lineTo(5688, 2160); in DEF_TEST()
290 path2.lineTo(5688, 2430); in DEF_TEST()
[all …]
DPathOpsBattles.cpp13 SkPath path1, path2; in issue414409() local
29 path2.moveTo(46.9383f, 68.4529f); in issue414409()
30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); in issue414409()
31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); in issue414409()
32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); in issue414409()
33 path2.lineTo(4.22689e-14f, -60); in issue414409()
34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); in issue414409()
35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); in issue414409()
36 path2.cubicTo(-15.5552f, 63.4296f, 12.6591f, 64.0704f, 33.9313f, 49.484f); in issue414409()
37 path2.lineTo(46.9383f, 68.4529f); in issue414409()
[all …]
DParsePathTest.cpp15 SkPath path2; in test_to_from() local
16 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); in test_to_from()
19 SkParsePath::ToSVGString(path2, &str2); in test_to_from()
23 REPORTER_ASSERT(reporter, path == path2); in test_to_from()
24 if (path != path2) { in test_to_from()
81 SkPath path, path2; in DEF_TEST() local
/third_party/cef/tests/shared/browser/
Dfile_util.cc94 std::string JoinPath(const std::string& path1, const std::string& path2) { in JoinPath() argument
95 if (path1.empty() && path2.empty()) in JoinPath()
98 return path2; in JoinPath()
99 if (path2.empty()) in JoinPath()
105 if (path2[0] == kPathSep) in JoinPath()
106 result += path2.substr(1); in JoinPath()
108 result += path2; in JoinPath()
/third_party/libunwind/src/
Dos-hpux.c40 const char *path2; in tdep_get_elf_image() local
54 path2 = dlgetname (&lmd, sizeof (lmd), NULL, 0, 0); in tdep_get_elf_image()
55 if (!path2) in tdep_get_elf_image()
59 strncpy(path, path2, pathlen); in tdep_get_elf_image()
61 if (strcmp(path, path2) != 0) in tdep_get_elf_image()
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c224 void delete_files(char *path1, char *path2);
316 int creat_both(char *path1, char *path2, char *path3);
317 int creat_symlink(char *path1, char *path2, char *_path3);
318 int creat_path_max(char *path1, char *path2, char *path3);
319 int ck_symlink(char *path1, char *path2, char *path3);
321 int ck_object(char *path1, char *path2, char *path3);
322 int ck_both(char *path1, char *path2, char *path3);
323 int ck_path_max(char *path1, char *path2, char *path3);
333 int (*test_setup) (char *path1, char *path2, char *path3);
334 int (*ck_test) (char *path1, char *path2, char *path3);
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dpath_test.dart131 final Path path2 = new Path();
132 path2.moveTo(250, 300);
133 path2.lineTo(50, 60);
134 expect(path2.getBounds(), Rect.fromLTRB(50, 60, 250, 300));
147 // final Path path2 = new Path();
148 // path2.moveTo(285.2, 682.1);
149 // path2.quadraticBezierTo(447.4, 946.8, 594.9, 681.2);
151 // path2.getBounds(),
175 // final Path path2 = new Path();
176 // path2.moveTo(220, 300);
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dio_win32.cc135 wstring join_paths(const wstring& path1, const wstring& path2) { in join_paths() argument
136 if (path1.empty() || is_path_absolute(path2.c_str()) || in join_paths()
137 has_longpath_prefix(path2.c_str())) { in join_paths()
138 return path2; in join_paths()
140 if (path2.empty()) { in join_paths()
145 return is_separator(path2[0]) ? (path1 + path2.substr(1)) in join_paths()
146 : (path1 + path2); in join_paths()
148 return is_separator(path2[0]) ? (path1 + path2) in join_paths()
149 : (path1 + L'\\' + path2); in join_paths()

123456