/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils_unittest.cpp | 96 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/skia/modules/pathkit/perf/ |
D | pathops.bench.js | 39 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/ |
D | ioctl.c | 145 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/skia/tests/ |
D | PathOpsBattles.cpp | 13 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 …]
|
D | PathOpsBuilderTest.cpp | 96 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 …]
|
D | PathOpsOpTest.cpp | 1897 SkPath path2; in issue1417() local 1898 path2.moveTo(174.117645263671875f, 100); in issue1417() 1899 path2.lineTo(161.1764678955078125f, 100); in issue1417() 1900 path2.lineTo(161.1764678955078125f, 100); in issue1417() 1901 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417() 1902 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417() 1903 …path2.quadTo(153.14971923828125f, 82.15229034423828125f, 151.098419189453125f, 81.618133544921875f… in issue1417() 1904 path2.lineTo(143.5294189453125f, 100); in issue1417() 1905 path2.lineTo(143.5294189453125f, 100); in issue1417() 1906 path2.lineTo(161.1764678955078125f, 100); in issue1417() [all …]
|
D | ParsePathTest.cpp | 15 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/docs/examples/ |
D | Path_reverseAddPath.cpp | 14 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()
|
D | Path_setLastPt_2.cpp | 10 SkPath path, path2; 12 paint.getTextPath("Z", 1, 60, 100, &path2); 15 path2.getLastPt(&pt2); 17 path2.setLastPt(pt); 19 canvas->drawPath(path2, paint);
|
D | Path_AddPathMode.cpp | 7 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()
|
D | Path_copy_const_SkPath.cpp | 9 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()
|
D | Paint_getTextPath.cpp | 10 SkPath path, path2; 12 path.offset(20, 20, &path2); 13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path); 14 path.addPath(path2);
|
D | Path_reset.cpp | 7 SkPath path1, path2; in draw() local 10 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw() 12 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
|
D | Path_rewind.cpp | 7 SkPath path1, path2; in draw() local 10 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw() 12 SkDebugf("path1 %c= path2\n", path1 == path2 ? '=' : '!'); in draw()
|
D | Path_isInterpolatable.cpp | 7 SkPath path, path2; in draw() local 13 path2.addRect({20, 20, 40, 40}); in draw() 14 SkDebugf("paths are " "%s" "interpolatable", path.isInterpolatable(path2) ? "" : "not "); in draw()
|
D | Path_swap.cpp | 7 SkPath path1, path2; in draw() local 9 path1.swap(path2); in draw() 12 const SkRect& b2 = path2.getBounds(); in draw()
|
D | Path_interpolate.cpp | 10 SkPath path, path2; in draw() local 16 path2.addRect({20, 20, 40, 40}); in draw() 19 path.interpolate(path2, i, &interp); in draw()
|
D | Path_Iter_setPath.cpp | 30 SkPath path2; in draw() local 31 path2.conicTo(1, 2, 3, 4, .5f); in draw() 32 iter.setPath(path2, true); in draw()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 224 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/libunwind/libunwind/src/ |
D | os-hpux.c | 40 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/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 135 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()
|
/third_party/skia/gm/ |
D | strokefill.cpp | 297 SkPath path2; variable 298 path2.setFillType(SkPathFillType::kWinding); 299 …path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection… 300 …path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPathDirection… 301 canvas->drawPath(path2, paint); 303 path2.reset(); 304 …path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPathDirection… 305 canvas->drawPath(path2, paint); 306 SkASSERT(SkPathPriv::ComputeFirstDirection(path2) == SkPathFirstDirection::kCCW); 308 path2.reset(); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | importCallExpressionSpecifierNotStringTypeError.types | 45 var p3 = import(["path1", "path2"]); 47 >import(["path1", "path2"]) : Promise<any> 48 >["path1", "path2"] : string[] 50 >"path2" : "path2"
|
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
D | poll_sup.c | 24 const char *path2 = "/data/polltest2.txt"; variable 45 int fd2 = open(path2, O_WRONLY | O_CREAT, TEST_MODE); in poll_0100() 58 fds[1].fd = open(path2, O_RDONLY | O_NONBLOCK); in poll_0100() 95 remove(path2); in poll_0100()
|
/third_party/glslang/Test/ |
D | hlsl.dashI.vert | 1 // 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
|