Home
last modified time | relevance | path

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

12

/external/chromium_org/webkit/browser/fileapi/
Dsandbox_isolated_origin_database_unittest.cc28 base::FilePath path1, path2; in TEST() local
30 EXPECT_FALSE(database.GetPathForOrigin(std::string(), &path1)); in TEST()
31 EXPECT_FALSE(database.GetPathForOrigin("foo", &path1)); in TEST()
34 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path1)); in TEST()
36 EXPECT_FALSE(path1.empty()); in TEST()
38 EXPECT_EQ(path1, path2); in TEST()
Dsandbox_origin_database_unittest.cc47 base::FilePath path1; in TEST() local
54 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1)); in TEST()
56 EXPECT_FALSE(path1.empty()); in TEST()
57 EXPECT_EQ(path0, path1); in TEST()
77 base::FilePath path1; in TEST() local
81 EXPECT_TRUE(database.GetPathForOrigin(origin1, &path1)); in TEST()
84 EXPECT_FALSE(path1.empty()); in TEST()
85 EXPECT_NE(path0, path1); in TEST()
111 base::FilePath path1; in TEST() local
113 EXPECT_TRUE(database.GetPathForOrigin(origin, &path1)); in TEST()
[all …]
Dsandbox_prioritized_origin_database_unittest.cc146 base::FilePath path1, path2; in TEST() local
156 EXPECT_TRUE(database_old.GetPathForOrigin(kOrigin1, &path1)); in TEST()
157 EXPECT_FALSE(path1.empty()); in TEST()
164 old_dir_db_path1 = dir.path().Append(path1); in TEST()
191 EXPECT_TRUE(database.GetPathForOrigin(kOrigin1, &path1)); in TEST()
197 base::FilePath dir_db_path = dir.path().Append(path1); in TEST()
/external/openssh/
Dsftp.c1116 int *hflag, int *sflag, unsigned long *n_arg, char **path1, char **path2) in parse_args() argument
1161 *path1 = *path2 = NULL; in parse_args()
1175 *path1 = xstrdup(argv[optidx]); in parse_args()
1193 *path1 = xstrdup(argv[optidx]); in parse_args()
1196 undo_glob_escape(*path1); in parse_args()
1211 *path1 = xstrdup(argv[optidx]); in parse_args()
1214 undo_glob_escape(*path1); in parse_args()
1222 *path1 = NULL; in parse_args()
1224 *path1 = xstrdup(argv[optidx]); in parse_args()
1225 undo_glob_escape(*path1); in parse_args()
[all …]
/external/apache-http/src/org/apache/http/cookie/
DCookiePathComparator.java67 String path1 = normalizePath(c1); in compare() local
69 if (path1.equals(path2)) { in compare()
71 } else if (path1.startsWith(path2)) { in compare()
73 } 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/chromium_org/chrome/browser/profiles/
Dfile_path_verifier_win.cc58 PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1, in ComparePathsIgnoreCase() argument
62 if (base::FilePath::CompareEqualIgnoreCase(path1.value(), path2.value())) { in ComparePathsIgnoreCase()
64 } else if (base::FilePath::CompareEqualIgnoreCase(path1.BaseName().value(), in ComparePathsIgnoreCase()
67 } else if (base::FilePath::CompareEqualIgnoreCase(path1.DirName().value(), in ComparePathsIgnoreCase()
Dfile_path_verifier_win.h25 PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1,
/external/skia/tests/
DPathOpsOpTest.cpp1838 SkPath path1; in issue1417() local
1839 path1.moveTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1840 path1.quadTo(129.8215789794921875f, 80, 138, 80); in issue1417()
1841 path1.quadTo(147.15692138671875f, 80, 155.1280364990234375f, 82.86279296875f); in issue1417()
1842 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1843 path1.lineTo(161.1764678955078125f, 100); in issue1417()
1844 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1845 path1.lineTo(115.29412078857421875f, 100); in issue1417()
1846 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
1847 path1.lineTo(122.58908843994140625f, 82.2836456298828125f); in issue1417()
[all …]
DPathTest.cpp872 SkPath path0, path1; in test_bounds() local
875 add_rect(&path1, rects[i]); in test_bounds()
878 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
1578 SkPath path1; in test_isRect() local
1579 path1.moveTo(r1[0].fX, r1[0].fY); in test_isRect()
1581 path1.lineTo(r1[index].fX, r1[index].fY); in test_isRect()
1583 path1.close(); in test_isRect()
1584 path1.lineTo(1, 0); in test_isRect()
1585 REPORTER_ASSERT(reporter, !path1.isRect(NULL)); in test_isRect()
1588 path1.reset(); in test_isRect()
[all …]
/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/content/shell/app/
Dwebkit_test_platform_support_linux.cc21 FcConfig* fontcfg, const char* path1, const char* path2) { in CheckAndLoadFontFile() argument
22 const char* font = path1; in CheckAndLoadFontFile()
26 std::cerr << "You are missing " << path1 << " or " << path2 << ". " in CheckAndLoadFontFile()
/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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDecimalFormatSymbolsTest.java83 URL path1 = new File("src/test/resources/provider/correct").toURL(); in test_getAvailableLocales_correct_provider() local
86 new URL[] { path1, path2 }) { in test_getAvailableLocales_correct_provider()
113 URL path1 = new File("src/test/resources/provider/wrong").toURL(); in test_getAvailableLocales_wrong_provider() local
116 new URL[] { path1, path2 }) { in test_getAvailableLocales_wrong_provider()
189 URL path1 = new File("src/test/resources/provider/correct").toURL(); in test_getInstanceLjava_util_Locale_correct_provider() local
192 new URL[] { path1, path2 }) { in test_getInstanceLjava_util_Locale_correct_provider()
212 URL path1 = new File("src/test/resources/provider/wrong").toURL(); in test_getInstanceLjava_util_Locale_wrong_provider() local
215 new URL[] { path1, path2 }) { in test_getInstanceLjava_util_Locale_wrong_provider()
DDateFormatSymbolsTest.java74 URL path1 = new File("src/test/resources/provider/correct").toURL(); in test_getAvailableLocales_correct_provider() local
77 new URL[] { path1, path2 }) { in test_getAvailableLocales_correct_provider()
104 URL path1 = new File("src/test/resources/provider/wrong").toURL(); in test_getAvailableLocales_wrong_provider() local
107 new URL[] { path1, path2 }) { in test_getAvailableLocales_wrong_provider()
178 URL path1 = new File("src/test/resources/provider/correct").toURL(); in test_getInstanceLjava_util_Locale_correct_provider() local
181 new URL[] { path1, path2 }) { in test_getInstanceLjava_util_Locale_correct_provider()
201 URL path1 = new File("src/test/resources/provider/wrong").toURL(); in test_getInstanceLjava_util_Locale_wrong_provider() local
204 new URL[] { path1, path2 }) { in test_getInstanceLjava_util_Locale_wrong_provider()
/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/tools/telemetry/telemetry/page/
Dpage_unittest.py13 def assertPathEqual(self, path1, path2): argument
14 self.assertEqual(os.path.normpath(path1), os.path.normpath(path2))
/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/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,
/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/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Ddrive_metadata_store_unittest.cc341 const base::FilePath path1(FPL("file1")); in GetConflictURLs_Body() local
348 URL(path1), in GetConflictURLs_Body()
362 EXPECT_FALSE(ContainsKey(urls, URL(path1))); in GetConflictURLs_Body()
376 const base::FilePath path1(FPL("file1")); in GetToBeFetchedFiles_Body() local
383 URL(path1), in GetToBeFetchedFiles_Body()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dparser.h222 LocationRecorder(const LocationRecorder& parent, int path1);
223 LocationRecorder(const LocationRecorder& parent, int path1, int path2);
/external/chromium_org/chrome/common/favicon/
Dfavicon_url_parser_unittest.cc41 const std::string path1 = url; in TEST_F() local
42 EXPECT_TRUE(chrome::ParseFaviconPath(path1, icon_types, &parsed)); in TEST_F()
/external/chromium_org/chromeos/dbus/
Dmodem_messaging_client_unittest.cc221 dbus::ObjectPath path1("/SMS/1"); in TEST_F() local
224 expected_result.push_back(path1); in TEST_F()

12