/external/chromium_org/base/files/ |
H A D | file_path_unittest.cc | 12 #define FPL(x) FILE_PATH_LITERAL(x) macro 15 #define FPS(x) FilePath::StringType(FPL(x), arraysize(FPL(x)) - 1) 63 { FPL(""), FPL(".") }, 64 { FPL("aa"), FPL(".") }, 65 { FPL("/aa/bb"), FPL("/aa") }, 66 { FPL("/a [all...] |
H A D | file_util_unittest.cc | 49 #define FPL(x) FILE_PATH_LITERAL(x) macro 258 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt")); 264 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2")); 267 FilePath file_02 = subdir_path.Append(FPL("The file 02.txt")); 273 FilePath subsubdir_path = subdir_path.Append(FPL("Level3")); 276 FilePath file_03 = subsubdir_path.Append(FPL("The file 03.txt")); 286 FilePath file_a_path = temp_dir_.path().Append(FPL("file_a")); 287 FilePath dir_path = temp_dir_.path().Append(FPL("dir")); 288 FilePath file_b_path = dir_path.Append(FPL("file_b")); 328 FilePath base_a = temp_dir_.path().Append(FPL("base_ [all...] |
/external/chromium_org/components/bookmarks/common/ |
H A D | bookmark_constants.cc | 7 #define FPL FILE_PATH_LITERAL macro 11 const base::FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
|
/external/chromium_org/chromeos/ |
H A D | chromeos_constants.cc | 7 #define FPL FILE_PATH_LITERAL macro 11 const base::FilePath::CharType kDriveCacheDirname[] = FPL("GCache"); 12 const base::FilePath::CharType kNssCertDbPath[] = FPL(".pki/nssdb/cert9.db"); 13 const base::FilePath::CharType kNssDirPath[] = FPL(".pki"); 14 const base::FilePath::CharType kNssKeyDbPath[] = FPL(".pki/nssdb/key4.db");
|
/external/chromium_org/chrome/common/ |
H A D | chrome_constants.cc | 9 #define FPL FILE_PATH_LITERAL macro 45 FPL("chrome.exe"); 47 FPL("chrome.exe"); 49 FPL("chrome.exe"); 51 FPL("chrome.exe"); 54 FPL(CHROMIUM_PRODUCT_STRING); 56 FPL(PRODUCT_STRING); 58 FPL(CHROMIUM_PRODUCT_STRING " Helper"); 60 FPL(PRODUCT_STRING " Helper"); 63 const base::FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrom 265 #undef FPL macro [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
H A D | subtree_set_unittest.cc | 9 #define FPL(path) base::FilePath(FILE_PATH_LITERAL(path)) macro 17 EXPECT_TRUE(subtrees.insert(FPL("/a/b/c"))); 18 EXPECT_FALSE(subtrees.insert(FPL("/a/b"))); 19 EXPECT_FALSE(subtrees.insert(FPL("/a/b/c"))); 20 EXPECT_FALSE(subtrees.insert(FPL("/a/b/c/d"))); 21 EXPECT_TRUE(subtrees.insert(FPL("/a/b/d"))); 22 EXPECT_FALSE(subtrees.insert(FPL("/"))); 26 EXPECT_FALSE(subtrees.erase(FPL("/"))); 27 EXPECT_FALSE(subtrees.erase(FPL("/a"))); 28 EXPECT_TRUE(subtrees.erase(FPL("/ [all...] |
/external/chromium_org/content/browser/fileapi/ |
H A D | external_mount_points_unittest.cc | 13 #define FPL FILE_PATH_LITERAL macro 16 #define DRIVE FPL("C:") 43 { "test", DRIVE FPL("/foo/test"), true, DRIVE FPL("/foo/test") }, 45 { "bbb", DRIVE FPL("/bbb"), true, DRIVE FPL("/bbb") }, 47 { "test11", DRIVE FPL("/foo/test11"), true, DRIVE FPL("/foo/test11") }, 49 { "test1", DRIVE FPL("/foo/test1"), true, DRIVE FPL("/fo [all...] |
H A D | file_system_context_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) macro 21 #define DRIVE FPL("C:") 118 base::FilePath(DRIVE FPL("/test/isolated/root")), 125 base::FilePath(DRIVE FPL("/test/sys/")))); 135 base::FilePath(DRIVE FPL("/test/isolated/root/file")) 138 .Append(FPL("root/file")) 150 base::FilePath(DRIVE FPL("/test/sys/root/file")) 152 base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), 169 base::FilePath(DRIVE FPL("/test/sys/")))); 187 base::FilePath(DRIVE FPL("/tes [all...] |
H A D | isolated_context_unittest.cc | 13 #define FPL(x) FILE_PATH_LITERAL(x) macro 16 #define DRIVE FPL("C:") 35 base::FilePath(DRIVE FPL("/a/b.txt")), 36 base::FilePath(DRIVE FPL("/c/d/e")), 37 base::FilePath(DRIVE FPL("/h/")), 38 base::FilePath(DRIVE FPL("/")), 40 base::FilePath(DRIVE FPL("\\foo\\bar")), 41 base::FilePath(DRIVE FPL("\\")), 44 base::FilePath(DRIVE FPL("/")), 45 base::FilePath(DRIVE FPL("/ [all...] |
H A D | file_system_url_unittest.cc | 13 #define FPL FILE_PATH_LITERAL macro 16 #define DRIVE FPL("C:") 18 #define DRIVE FPL("/a/") 51 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 52 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 61 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 62 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 71 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 72 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 87 EXPECT_EQ(FPL("spac [all...] |
H A D | sandbox_directory_database_unittest.cc | 21 #define FPL(x) FILE_PATH_LITERAL(x) macro 29 const base::FilePath::CharType kDirectoryDatabaseName[] = FPL("Paths"); 525 CreateFile(0, FPL("foo"), FPL("hoge"), NULL); 526 CreateDirectory(0, FPL("bar"), &dir_id); 527 CreateFile(dir_id, FPL("baz"), FPL("fuga"), NULL); 528 CreateFile(dir_id, FPL("fizz"), FPL("buzz"), NULL); 535 const base::FilePath::CharType kBackingFileName[] = FPL("th [all...] |
/external/chromium_org/content/browser/download/ |
H A D | save_package_unittest.cc | 22 #define FPL FILE_PATH_LITERAL macro 50 filename.rfind(FPL(')')); 52 filename.rfind(FPL('(')); 140 FPL("saved_resource") FPL_HTML_EXTENSION, true}, 143 {"filename=1.css", "http://www.savepage.com", FPL("1.css"), false}, 146 {"filename=1.js", "http://www.savepage.com", FPL("1.js"), false}, 149 {"filename=1.css", "http://www.savepage.com", FPL("1(1).css"), false}, 152 {"filename=1(1).js", "http://www.savepage.com", FPL("1(1).js"), false}, 155 {"filename=1.css", "http://www.savepage.com", FPL("1(2).css"), false}, 158 {"filename=1(1).css", "http://www.savepage.com", FPL(" [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | task_dependency_manager_unittest.cc | 10 #define FPL(path) FILE_PATH_LITERAL(path) macro 57 blocker.paths.push_back(MakePath(FPL("/folder/file"))); 75 &manager, "app_id", FPL("/ancestor/parent/self/child/descendant"))); 76 EXPECT_FALSE(InsertPath(&manager, "app_id", FPL("/ancestor"))); 77 EXPECT_FALSE(InsertPath(&manager, "app_id", FPL("/ancestor/parent"))); 78 EXPECT_FALSE(InsertPath(&manager, "app_id", FPL("/ancestor/parent/self"))); 80 &manager, "app_id", FPL("/ancestor/parent/self/child"))); 82 &manager, "app_id", FPL("/ancestor/parent/self/child/descendant"))); 85 &manager, "another_app_id", FPL("/ancestor/parent/self"))); 86 ErasePath(&manager, "another_app_id", FPL("/ancesto [all...] |
H A D | drive_backend_sync_unittest.cc | 41 #define FPL(a) FILE_PATH_LITERAL(a) macro 649 AddOrUpdateLocalFile(app_id, FPL("file"), "abcde"); 656 VerifyLocalFile(app_id, FPL("file"), "abcde"); 679 VerifyLocalFile(app_id, FPL("file"), "abcde"); 687 const base::FilePath::StringType kPath(FPL("file")); 702 VerifyLocalFile(app_id, FPL("file"), "1234567890"); 731 VerifyLocalFile(app_id, FPL("file"), "1234567890"); 739 const base::FilePath::StringType path(FPL("file")); 761 const base::FilePath::StringType path(FPL("file")); 785 const base::FilePath::StringType path(FPL("fil [all...] |
H A D | metadata_database_unittest.cc | 28 #define FPL(a) FILE_PATH_LITERAL(a) macro 759 EXPECT_EQ(base::FilePath(FPL("/")).NormalizePathSeparators(), path); 762 EXPECT_EQ(base::FilePath(FPL("/folder/file")).NormalizePathSeparators(), 816 CreateNormalizedPath(FPL("folder1/folder2/file")), 824 kAppID, CreateNormalizedPath(FPL("")), &tracker, &path)); 826 EXPECT_EQ(CreateNormalizedPath(FPL("")), path); 833 kAppID, CreateNormalizedPath(FPL("folder1/folder2")), 836 EXPECT_EQ(CreateNormalizedPath(FPL("folder1/folder2")), path); 843 kAppID, CreateNormalizedPath(FPL("folder1/folder2/file")), 846 EXPECT_EQ(CreateNormalizedPath(FPL("folder [all...] |
H A D | metadata_db_migration_util_unittest.cc | 19 #define FPL FILE_PATH_LITERAL macro
|
H A D | fake_drive_service_helper.cc | 20 #define FPL(path) FILE_PATH_LITERAL(path) macro 340 temp_dir_ = base_dir_.path().Append(FPL("tmp"));
|
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
H A D | file_system_backend_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) macro 61 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/usr/share/oem")))); 86 base::FilePath(FPL("/a/b/c"))); 90 base::FilePath(FPL("/b/c/d"))); 96 base::FilePath(FPL("/g/c/d"))); 100 base::FilePath(FPL("/g/d/e"))); 105 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/a/b/c")))); 106 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/b/c/d")))); 107 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/g/c/d")))); 108 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/ [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | native_media_file_util_unittest.cc | 30 #define FPL(x) FILE_PATH_LITERAL(x) macro 49 { FPL("hoge"), true, true, false, NULL }, 50 { FPL("fuga.jpg"), true, true, false, NULL }, 51 { FPL("piyo.txt"), true, true, false, NULL }, 52 { FPL("moga.cod"), true, true, false, NULL }, 56 { FPL("foo"), false, false, false, "abc" }, 58 { FPL("bar.jpg"), false, true, true, "\xFF\xD8\xFF" }, 60 { FPL("sna.jpg"), false, true, false, "abc" }, 62 { FPL("baz.txt"), false, false, false, "abc" }, 64 { FPL("fooba [all...] |
/external/clang/test/Sema/ |
H A D | block-call.c | 7 int (*FPL) (int) = FP; // C doesn't consider this an error.
|
/external/clang/test/SemaCXX/ |
H A D | block-call.cpp | 7 int (*FPL) (int) = FP; // expected-error {{cannot initialize a variable of type 'int (*)(int)' with an lvalue of type 'int (*)()'}}
|
/external/chromium_org/third_party/leveldatabase/ |
H A D | env_chromium_unittest.cc | 19 #define FPL FILE_PATH_LITERAL macro 180 if (fname.MatchesExtension(FPL(".ldb"))) { 205 int ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 206 int bak_files = CountFilesWithExtension(dir, FPL(".bak")); 213 EXPECT_EQ(ldb_files - 1, CountFilesWithExtension(dir, FPL(".ldb"))); 225 int orig_ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 230 ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 231 bak_files = CountFilesWithExtension(dir, FPL(".bak")); 253 base::FilePath new_file_dir = dir.Append(FPL("tmp_file"));
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 96 #define FPL(value) FILE_PATH_LITERAL(value) macro 99 static const base::FilePath::CharType kLogPath[] = FPL("/tmp"); 102 FPL("/home/chronos/user"); 104 static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 106 static const base::FilePath::CharType kDiskPrefix[] = FPL("disk-"); 108 static const base::FilePath::CharType kChromeMain[] = FPL("chrome-main"); 113 static const base::FilePath::CharType kLoginSuccess[] = FPL("login-success"); 115 FPL("chrome-first-render"); 126 static const base::FilePath::CharType kLoginTimes[] = FPL("login-times"); 136 const base::FilePath kProcUptime(FPL("/pro [all...] |
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_linux_unittest.cc | 28 #define FPL FILE_PATH_LITERAL macro 411 { FPL("http___foo_.desktop"), "http://foo" }, 412 { FPL("http___foo_bar_.desktop"), "http://foo/bar/" }, 413 { FPL("http___foo_bar_a=b&c=d.desktop"), "http://foo/bar?a=b&c=d" }, 416 { FPL("http___foo_.desktop"), "http://foo/bar/baz/../../../../../" }, 417 { FPL("http___foo_.desktop"), "http://foo/bar/././../baz/././../" }, 418 { FPL("http___.._.desktop"), "http://../../../../" },
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
H A D | local_file_sync_context_unittest.cc | 32 #define FPL FILE_PATH_LITERAL macro 797 const base::FilePath kFilePath1(temp_dir.path().Append(FPL("file1"))); 798 const base::FilePath kFilePath2(temp_dir.path().Append(FPL("file2"))); 930 const base::FilePath kFilePath(temp_dir.path().Append(FPL("file")));
|