Home
last modified time | relevance | path

Searched refs:path1 (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils_unittest.cpp95 std::string path1 = "/this/is/path1"; in TEST() local
98 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
103 std::string path1 = ""; in TEST() local
106 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
111 std::string path1 = "/this/is/path1"; in TEST() local
114 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
119 std::string path1 = "/this/is/path1"; in TEST() local
122 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
127 std::string path1 = "/this/is/path1/"; in TEST() local
130 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST()
[all …]
/third_party/skia/modules/pathkit/perf/
Dpathops.bench.js38 ctx.path1 = drawStar(X=120, Y=120);
43 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
48 ctx.path1.delete();
62 ctx.path1 = drawStar(X=120, Y=120);
67 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
72 ctx.path1.delete();
86 ctx.path1 = drawStar(X=120, Y=120);
91 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
96 ctx.path1.delete();
110 ctx.path1 = drawStar(X=120, Y=120);
[all …]
/third_party/skia/docs/examples/
DPath_reset.cpp7 SkPath path1, path2; in draw() local
8 path1.setFillType(SkPathFillType::kInverseWinding); in draw()
9 path1.addRect({10, 20, 30, 40}); in draw()
10 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
11 path1.reset(); in draw()
12 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
DPath_rewind.cpp7 SkPath path1, path2; in draw() local
8 path1.setFillType(SkPathFillType::kInverseWinding); in draw()
9 path1.addRect({10, 20, 30, 40}); in draw()
10 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
11 path1.rewind(); in draw()
12 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
DPath_copy_operator.cpp7 SkPath path1; in draw() local
8 path1.addRect({10, 20, 30, 40}); in draw()
9 SkPath path2 = path1; in draw()
10 const SkRect& b1 = path1.getBounds(); in draw()
DPath_swap.cpp7 SkPath path1, path2; in draw() local
8 path1.addRect({10, 20, 30, 40}); in draw()
9 path1.swap(path2); in draw()
10 const SkRect& b1 = path1.getBounds(); in draw()
/third_party/skia/tests/
DPathOpsBuilderTest.cpp275 SkPath path1; in DEF_TEST() local
276 path1.moveTo(5, -225); in DEF_TEST()
277 path1.lineTo(-225, 7425); in DEF_TEST()
278 path1.lineTo(7425, 7425); in DEF_TEST()
279 path1.lineTo(7425, -225); in DEF_TEST()
280 path1.lineTo(-225, -225); in DEF_TEST()
281 path1.lineTo(5, -225); in DEF_TEST()
282 path1.close(); in DEF_TEST()
299 builder.add(path1, kUnion_SkPathOp); in DEF_TEST()
312 SkPath path1(path); in DEF_TEST() local
[all …]
DPathOpsBattles.cpp13 SkPath path1, path2; in issue414409() local
16 path1.moveTo(9.53595e-07f, -60); in issue414409()
17 path1.lineTo(5.08228e-15f, -83); in issue414409()
18 path1.cubicTo(32.8673f, -83, 62.6386f, -63.6055f, 75.9208f, -33.5416f); in issue414409()
19 path1.cubicTo(89.2029f, -3.47759f, 83.4937f, 31.5921f, 61.3615f, 55.8907f); in issue414409()
20 path1.lineTo(46.9383f, 68.4529f); in issue414409()
21 path1.lineTo(33.9313f, 49.484f); in issue414409()
22 path1.cubicTo(37.7451f, 46.8689f, 41.2438f, 43.8216f, 44.3577f, 40.4029f); in issue414409()
23 path1.lineTo(44.3577f, 40.4029f); in issue414409()
24 path1.cubicTo(60.3569f, 22.8376f, 64.4841f, -2.51392f, 54.8825f, -24.2469f); in issue414409()
[all …]
DPathOpsOpTest.cpp1845 SkPath path1; in issue1417() local
1846 path1.moveTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1847 path1.quadTo(129.8215789794921875f, 80, 138, 80); in issue1417()
1848 path1.quadTo(147.15692138671875f, 80, 155.1280364990234375f, 82.86279296875f); in issue1417()
1849 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1850 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1851 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1852 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1853 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1854 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
[all …]
DPathTest.cpp1170 SkPath path0, path1; in test_bounds() local
1173 add_rect(&path1, rects[i]); in test_bounds()
1176 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
2159 SkPath path1; in test_isRect() local
2160 path1.moveTo(r1[0].fX, r1[0].fY); in test_isRect()
2162 path1.lineTo(r1[index].fX, r1[index].fY); in test_isRect()
2164 path1.close(); in test_isRect()
2165 path1.lineTo(1, 0); in test_isRect()
2166 REPORTER_ASSERT(reporter, !path1.isRect(nullptr)); in test_isRect()
2169 path1.reset(); in test_isRect()
[all …]
DPathOpsFuzz763Test.cpp50 SkPath path1(path); in fuzz763_3084() local
65 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_3084()
105 SkPath path1(path); in fuzz763_1823() local
120 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_1823()
199 SkPath path1(path); in fuzz763_378() local
213 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378()
226 SkPath path1(path); in fuzz763_378b() local
236 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378b()
248 SkPath path1(path); in fuzz763_378c() local
257 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378c()
[all …]
/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);
320 int creat_object(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);
[all …]
/third_party/skia/gm/
Dpatharcto.cpp78 const SkPath path1 = SkPath::Polygon(p1, SK_ARRAY_COUNT(p1), false); variable
98 canvas->drawPath(path1, paint);
103 path.addPath(path1, SkPath::kAppend_AddPathMode);
110 path.addPath(path1, perspective, SkPath::kAppend_AddPathMode);
117 path.addPath(path1, SkPath::kExtend_AddPathMode);
124 path.addPath(path1, perspective, SkPath::kExtend_AddPathMode);
Dbug530095.cpp19 SkPath path1 = SkPath::Circle(200, 200, 124), variable
29 canvas->drawPath(path1, paint);
45 canvas->drawPath(path1, paint);
/third_party/ntfs-3g/libntfs-3g/
Dioctl.c144 char path1[40]; /* holds "/sys/dev/block/%d:%d" */ in fstrim_limits() local
145 char path2[40 + sizeof(path1)]; /* less than 40 bytes more than path1 */ in fstrim_limits()
164 snprintf(path1, sizeof path1, "/sys/dev/block/%d:%d", in fstrim_limits()
167 snprintf(path2, sizeof path2, "%s/discard_alignment", path1); in fstrim_limits()
180 snprintf(path2, sizeof path2, "%s/queue/discard_granularity", path1); in fstrim_limits()
187 "%s/../queue/discard_granularity", path1); in fstrim_limits()
198 snprintf(path2, sizeof path2, "%s/queue/discard_max_bytes", path1); in fstrim_limits()
205 "%s/../queue/discard_max_bytes", path1); in fstrim_limits()
/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()
97 if (path1.empty()) in JoinPath()
100 return path1; in JoinPath()
102 std::string result = path1; in JoinPath()
/third_party/glslang/Test/
Dhlsl.dashI.vert1 // For -Iinc1/path1 -Iinc1/path2
2 // bar.h from local directory will define i1, while the ones from inc1/path1 and inc1/path2 will no…
3 // notHere.h is only in inc1/path1 and inc2/path2, and only inc1/path1 defines p1, p2, and p3
/third_party/typescript/tests/baselines/reference/
DimportCallExpressionSpecifierNotStringTypeError.types45 var p3 = import(["path1", "path2"]);
47 >import(["path1", "path2"]) : Promise<any>
48 >["path1", "path2"] : string[]
49 >"path1" : "path1"
/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()
141 return path1; in join_paths()
144 if (is_separator(path1[path1.size() - 1])) { 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()
/third_party/musl/libc-test/src/functionalext/supplement/select/
Dpoll_sup.c22 const char *path1 = "/data/polltest1.txt"; variable
38 int fd1 = open(path1, O_WRONLY | O_CREAT, TEST_MODE); in poll_0100()
52 fds[0].fd = open(path1, O_RDONLY | O_NONBLOCK); in poll_0100()
94 remove(path1); in poll_0100()
/third_party/skia/modules/pathkit/tests/
Dpathops.spec.js124 let path1 = PathKit.FromCmds(test.p1);
125 expect(path1).not.toBeNull(`path1 error when loading cmds '${test.p1}'`);
126 path1.setFillType(getFillType(test.fillType1));
132 let combined = path1.op(path2, getPathOp(test.op));
159 path1.delete();
/third_party/icu/icu4c/as_is/os400/
Diculd.c230 char path1[1000]; in main() local
231 sprintf(path1,"/qsys.lib/%s.lib/%s.pgm", in main()
234 printf("# ln -s %s %s\n", path1, prog); in main()
235 if((!TEST_MODE) && symlink(path1,prog)) { in main()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/
Dmain.c181 const char *prot, *path1; in sequencer_start_client() local
190 if (lws_parse_uri(uri, &prot, &i.address, &i.port, &path1)) { in sequencer_start_client()
199 if (path1[0] == '/') in sequencer_start_client()
201 lws_strncpy(&path[n], path1, sizeof(path) - 1); in sequencer_start_client()
/third_party/node/tools/inspector_protocol/
Droll.py80 def FilesAreEqual(path1, path2): argument
82 return (os.stat(path1).st_mode == os.stat(path2).st_mode and
83 open(path1).read() == open(path2).read())
/third_party/node/deps/v8/third_party/inspector_protocol/
Droll.py112 def FilesAreEqual(path1, path2): argument
114 return (os.stat(path1).st_mode == os.stat(path2).st_mode and
115 open(path1).read() == open(path2).read())

1234