/external/angle/src/common/ |
D | system_utils_unittest.cpp | 63 std::string path1 = "/this/is/path1"; in TEST() local 66 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST() 71 std::string path1 = ""; in TEST() local 74 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST() 79 std::string path1 = "/this/is/path1"; in TEST() local 82 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST() 87 std::string path1 = "/this/is/path1"; in TEST() local 90 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST() 95 std::string path1 = "/this/is/path1/"; in TEST() local 98 EXPECT_EQ(ConcatenatePath(path1, path2), expected); in TEST() [all …]
|
/external/skia/modules/pathkit/perf/ |
D | pathops.bench.js | 38 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 …]
|
/external/skqp/modules/pathkit/perf/ |
D | pathops.bench.js | 55 ctx.path1 = drawStar(X=120, Y=120); 60 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE); 65 ctx.path1.delete(); 79 ctx.path1 = drawStar(X=120, Y=120); 84 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT); 89 ctx.path1.delete(); 103 ctx.path1 = drawStar(X=120, Y=120); 108 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION); 113 ctx.path1.delete(); 127 ctx.path1 = drawStar(X=120, Y=120); [all …]
|
/external/skia/docs/examples/ |
D | Path_rewind.cpp | 7 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()
|
D | Path_reset.cpp | 7 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()
|
D | Path_copy_operator.cpp | 7 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()
|
D | Path_swap.cpp | 7 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()
|
/external/skia/tests/ |
D | PathOpsBuilderTest.cpp | 275 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 …]
|
D | PathOpsBattles.cpp | 13 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 …]
|
D | PathOpsOpTest.cpp | 1845 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 …]
|
/external/skqp/tests/ |
D | PathOpsBuilderTest.cpp | 275 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 …]
|
D | PathOpsBattles.cpp | 13 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 …]
|
D | PathOpsOpTest.cpp | 1845 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 …]
|
/external/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); 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 …]
|
/external/openssh/ |
D | sftp.c | 1328 unsigned long *n_arg, char **path1, char **path2) in parse_args() argument 1384 *path1 = *path2 = NULL; in parse_args() 1400 *path1 = xstrdup(argv[optidx]); in parse_args() 1425 *path1 = xstrdup(argv[optidx]); in parse_args() 1428 undo_glob_escape(*path1); in parse_args() 1449 *path1 = xstrdup(argv[optidx]); in parse_args() 1452 undo_glob_escape(*path1); in parse_args() 1460 *path1 = NULL; in parse_args() 1462 *path1 = xstrdup(argv[optidx]); in parse_args() 1463 undo_glob_escape(*path1); in parse_args() [all …]
|
/external/apache-http/src/org/apache/http/cookie/ |
D | CookiePathComparator.java | 72 String path1 = normalizePath(c1); in compare() local 74 if (path1.equals(path2)) { in compare() 76 } else if (path1.startsWith(path2)) { in compare() 78 } else if (path2.startsWith(path1)) { in compare()
|
/external/angle/third_party/vulkan-deps/glslang/src/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
|
/external/deqp-deps/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
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.filesystem_error/ |
D | filesystem_error.members.pass.cpp | 52 assert(e.path1().empty() && e.path2().empty()); in test_constructors() 60 assert(e.path1() == p1); in test_constructors() 69 assert(e.path1() == p1); in test_constructors() 82 ASSERT_SAME_TYPE(path const&, decltype(e.path1())); in test_signatures() 83 ASSERT_NOEXCEPT(e.path1()); in test_signatures()
|
/external/libcxx/test/std/input.output/filesystems/class.filesystem_error/ |
D | filesystem_error.members.pass.cpp | 53 assert(e.path1().empty() && e.path2().empty()); in test_constructors() 61 assert(e.path1() == p1); in test_constructors() 70 assert(e.path1() == p1); in test_constructors() 83 ASSERT_SAME_TYPE(path const&, decltype(e.path1())); in test_signatures() 84 ASSERT_NOEXCEPT(e.path1()); in test_signatures()
|
/external/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 131 wstring join_paths(const wstring& path1, const wstring& path2) { in join_paths() argument 132 if (path1.empty() || is_path_absolute(path2.c_str()) || in join_paths() 137 return path1; in join_paths() 140 if (is_separator(path1[path1.size() - 1])) { in join_paths() 141 return is_separator(path2[0]) ? (path1 + path2.substr(1)) in join_paths() 142 : (path1 + path2); in join_paths() 144 return is_separator(path2[0]) ? (path1 + path2) in join_paths() 145 : (path1 + L'\\' + path2); in join_paths()
|
/external/skqp/gm/ |
D | bug530095.cpp | 13 SkPath path1, path2; variable 14 path1.addCircle(200, 200, 124); 24 canvas->drawPath(path1, paint); 40 canvas->drawPath(path1, paint);
|
/external/dtc/tests/ |
D | dtbs_equal_unordered.c | 169 char path1[PATH_MAX], path2[PATH_MAX]; in compare_node() local 171 CHECK(fdt_get_path(fdt1, offset1, path1, sizeof(path1))); in compare_node() 174 if (!streq(path1, path2)) in compare_node() 175 TEST_BUG("Path mismatch %s vs. %s\n", path1, path2); in compare_node() 177 verbose_printf("Checking %s\n", path1); in compare_node()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | PathServiceTest.java | 128 JimfsPath path1 = new JimfsPath(pathService, null, ImmutableList.of(Name.create("FOO", "foo"))); in testHash_usingDisplayForm() local 134 assertThat(pathService.hash(path1)).isEqualTo(pathService.hash(path2)); in testHash_usingDisplayForm() 142 JimfsPath path1 = new JimfsPath(pathService, null, ImmutableList.of(Name.create("foo", "foo"))); in testHash_usingCanonicalForm() local 148 assertThat(pathService.hash(path1)).isEqualTo(pathService.hash(path2)); in testHash_usingCanonicalForm() 156 JimfsPath path1 = new JimfsPath(pathService, null, ImmutableList.of(Name.create("a", "z"))); in testCompareTo_usingDisplayForm() local 160 assertThat(pathService.compare(path1, path2)).isEqualTo(-1); in testCompareTo_usingDisplayForm() 168 JimfsPath path1 = new JimfsPath(pathService, null, ImmutableList.of(Name.create("a", "z"))); in testCompareTo_usingCanonicalForm() local 172 assertThat(pathService.compare(path1, path2)).isEqualTo(1); in testCompareTo_usingCanonicalForm()
|
/external/fonttools/Tests/ufoLib/ |
D | UFOConversion_test.py | 35 def compareFileStructures(self, path1, path2, expectedInfoData, testFeatures): argument 37 metainfoPath1 = os.path.join(path1, "metainfo.plist") 38 fontinfoPath1 = os.path.join(path1, "fontinfo.plist") 39 kerningPath1 = os.path.join(path1, "kerning.plist") 40 groupsPath1 = os.path.join(path1, "groups.plist") 41 libPath1 = os.path.join(path1, "lib.plist") 42 featuresPath1 = os.path.join(path1, "features.plist") 43 glyphsPath1 = os.path.join(path1, "glyphs")
|