Home
last modified time | relevance | path

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

12

/external/chromium_org/content/browser/fileapi/
Dsandbox_isolated_origin_database_unittest.cc30 base::FilePath path1, path2; in TEST() local
32 EXPECT_FALSE(database.GetPathForOrigin(std::string(), &path1)); in TEST()
33 EXPECT_FALSE(database.GetPathForOrigin("foo", &path1)); in TEST()
36 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path1)); in TEST()
38 EXPECT_FALSE(path1.empty()); in TEST()
40 EXPECT_EQ(path1, path2); in TEST()
Dsandbox_origin_database_unittest.cc49 base::FilePath path1; in TEST() local
56 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1)); in TEST()
58 EXPECT_FALSE(path1.empty()); in TEST()
59 EXPECT_EQ(path0, path1); in TEST()
79 base::FilePath path1; in TEST() local
83 EXPECT_TRUE(database.GetPathForOrigin(origin1, &path1)); in TEST()
86 EXPECT_FALSE(path1.empty()); in TEST()
87 EXPECT_NE(path0, path1); in TEST()
113 base::FilePath path1; in TEST() local
115 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1)); in TEST()
[all …]
Dsandbox_prioritized_origin_database_unittest.cc148 base::FilePath path1, path2; in TEST() local
158 EXPECT_TRUE(database_old.GetPathForOrigin(kOrigin1, &path1)); in TEST()
159 EXPECT_FALSE(path1.empty()); in TEST()
166 old_dir_db_path1 = dir.path().Append(path1); in TEST()
193 EXPECT_TRUE(database.GetPathForOrigin(kOrigin1, &path1)); in TEST()
199 base::FilePath dir_db_path = dir.path().Append(path1); in TEST()
/external/chromium_org/third_party/skia/tests/
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.cpp1837 SkPath path1; in issue1417() local
1838 path1.moveTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1839 path1.quadTo(129.8215789794921875f, 80, 138, 80); in issue1417()
1840 path1.quadTo(147.15692138671875f, 80, 155.1280364990234375f, 82.86279296875f); in issue1417()
1841 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1842 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1843 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1844 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1845 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1846 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
[all …]
DPathTest.cpp939 SkPath path0, path1; in test_bounds() local
942 add_rect(&path1, rects[i]); in test_bounds()
945 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
1717 SkPath path1; in test_isRect() local
1718 path1.moveTo(r1[0].fX, r1[0].fY); in test_isRect()
1720 path1.lineTo(r1[index].fX, r1[index].fY); in test_isRect()
1722 path1.close(); in test_isRect()
1723 path1.lineTo(1, 0); in test_isRect()
1724 REPORTER_ASSERT(reporter, !path1.isRect(NULL)); in test_isRect()
1727 path1.reset(); in test_isRect()
[all …]
/external/apache-http/src/org/apache/http/cookie/
DCookiePathComparator.java72 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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCanvasTest.java92 Path path1 = new Path(); in drawPath_shouldAppendDescriptionToBitmap() local
93 path1.lineTo(10, 10); in drawPath_shouldAppendDescriptionToBitmap()
94 path1.moveTo(20, 15); in drawPath_shouldAppendDescriptionToBitmap()
100 canvas.drawPath(path1, paint); in drawPath_shouldAppendDescriptionToBitmap()
103 assertEquals("Path " + shadowOf(path1).getPoints().toString() + "\n" in drawPath_shouldAppendDescriptionToBitmap()
106 assertEquals("Path " + shadowOf(path1).getPoints().toString() + "\n" in drawPath_shouldAppendDescriptionToBitmap()
/external/skia/tests/
DPathOpsOpTest.cpp1837 SkPath path1; in issue1417() local
1838 path1.moveTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1839 path1.quadTo(129.8215789794921875f, 80, 138, 80); in issue1417()
1840 path1.quadTo(147.15692138671875f, 80, 155.1280364990234375f, 82.86279296875f); in issue1417()
1841 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1842 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1843 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1844 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1845 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1846 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
[all …]
DPathTest.cpp912 SkPath path0, path1; in test_bounds() local
915 add_rect(&path1, rects[i]); in test_bounds()
918 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
1652 SkPath path1; in test_isRect() local
1653 path1.moveTo(r1[0].fX, r1[0].fY); in test_isRect()
1655 path1.lineTo(r1[index].fX, r1[index].fY); in test_isRect()
1657 path1.close(); in test_isRect()
1658 path1.lineTo(1, 0); in test_isRect()
1659 REPORTER_ASSERT(reporter, !path1.isRect(NULL)); in test_isRect()
1662 path1.reset(); in test_isRect()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dfile_path_verifier_win.cc72 PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1, in ComparePathsIgnoreCase() argument
76 if (base::FilePath::CompareEqualIgnoreCase(path1.value(), path2.value())) { in ComparePathsIgnoreCase()
78 } else if (base::FilePath::CompareEqualIgnoreCase(path1.BaseName().value(), in ComparePathsIgnoreCase()
81 } else if (base::FilePath::CompareEqualIgnoreCase(path1.DirName().value(), in ComparePathsIgnoreCase()
Dfile_path_verifier_win.h25 PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1,
/external/mesa3d/src/glsl/tests/
Dcompare_ir48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) variable
55 subprocess.call(['diff', '-u', path1, path2])
57 os.remove(path1)
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
Dcompare_ir48 file1, path1 = tempfile.mkstemp(os.path.basename(sys.argv[1])) variable
55 subprocess.call(['diff', '-u', path1, path2])
57 os.remove(path1)
/external/chromium_org/tools/grit/grit/
Dutil_unittest.py65 for path1 in [base_path, base_path + os.path.sep]:
67 result = util.MakeRelativePath(path1, path2)
73 path1 = root_dir + 'bc'
77 TestRelativePathCombinations(root_dir, path1, result1)
/external/clang/test/Modules/
Dresolution-change.m4 …uts/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -emit-pch -o %t-…
7 …uts/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-…
10 …uts/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-…
22 …ifferent module map file ({{.*path2.*}}) than when the importing AST file was built ({{.*path1.*}})
Dmodules-with-same-name.m5 …macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/path1/A -DDIRECT -DEXPEC…
14 …uts/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -DEXPECTED_PATH=1
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_write_watcher_unittest.cc95 base::FilePath path1 = GetTempPath("foo.txt"); in TEST_F() local
100 path1, in TEST_F()
101 base::Bind(&WriteSomethingAfterStartWatch, path1), in TEST_F()
/external/chromium_org/extensions/browser/
Dcomputed_hashes_unittest.cc34 base::FilePath path1(FILE_PATH_LITERAL("foo.txt")); in TEST() local
45 writer.AddHashes(path1, 4096, hashes1); in TEST()
56 EXPECT_TRUE(reader.GetHashes(path1, &block_size, &read_hashes1)); in TEST()
/external/chromium_org/tools/findit/
Dcrash_utils.py355 def GuessIfSameSubPath(path1, path2): argument
368 path1 = path1.split('/')
371 intersection = set(path1).intersection(set(path2))
372 return len(intersection) >= (min(3, min(len(path1), len(path2))))
/external/clang/test/Modules/Inputs/modules-with-same-name/path2/A/
Dmodule.modulemap2 // path1/A/module.modulemap.
/external/clang/test/Modules/Inputs/modules-with-same-name/path1/A/
Dmodule.modulemap1 // path1. This comment keeps this file from being identical to
/external/bison/lib/
Dunistd.in.h1020 _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2)
1022 _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2));
1025 _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2)
1028 _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2));
1050 (int fd1, const char *path1, int fd2, const char *path2,
1054 (int fd1, const char *path1, int fd2, const char *path2,
1059 (int fd1, const char *path1, int fd2, const char *path2,
1064 (int fd1, const char *path1, int fd2, const char *path2,
/external/bison/linux-lib/
Dunistd.h1332 _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2)
1334 _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2));
1337 _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2)
1340 _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2));
1362 (int fd1, const char *path1, int fd2, const char *path2,
1366 (int fd1, const char *path1, int fd2, const char *path2,
1371 (int fd1, const char *path1, int fd2, const char *path2,
1376 (int fd1, const char *path1, int fd2, const char *path2,
/external/bison/darwin-lib/
Dunistd.h1332 _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2)
1334 _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2));
1337 _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2)
1340 _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2));
1362 (int fd1, const char *path1, int fd2, const char *path2,
1366 (int fd1, const char *path1, int fd2, const char *path2,
1371 (int fd1, const char *path1, int fd2, const char *path2,
1376 (int fd1, const char *path1, int fd2, const char *path2,

12