/external/chromium_org/base/files/ |
file_path_unittest.cc | 12 #define FPL(x) FILE_PATH_LITERAL(x) 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("/aa/bb/"), FPL("/aa") } [all...] |
/external/chromium_org/components/bookmarks/common/ |
bookmark_constants.cc | 7 #define FPL FILE_PATH_LITERAL 11 const base::FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
|
/external/chromium_org/chromeos/ |
chromeos_constants.cc | 7 #define FPL FILE_PATH_LITERAL 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/ |
chrome_constants.cc | 9 #define FPL FILE_PATH_LITERAL 55 FPL("chrome.exe"); 57 FPL("chrome.exe"); 59 FPL("chrome.exe"); 61 FPL("chrome.exe"); 64 FPL(CHROMIUM_PRODUCT_STRING); 66 FPL(PRODUCT_STRING); 68 FPL(CHROMIUM_PRODUCT_STRING " Helper"); 70 FPL(PRODUCT_STRING " Helper"); 73 const base::FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome") [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
subtree_set_unittest.cc | 9 #define FPL(path) base::FilePath(FILE_PATH_LITERAL(path)) 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("/a/b/c"))) [all...] |
/external/chromium_org/content/browser/fileapi/ |
external_mount_points_unittest.cc | 13 #define FPL FILE_PATH_LITERAL 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("/foo/test1") } [all...] |
file_system_context_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) 21 #define DRIVE FPL("C:") 118 base::FilePath(DRIVE FPL("/test/isolated/root")), 125 base::FilePath(DRIVE FPL("/test/sys/")))); 136 DRIVE FPL("/test/isolated/root/file")).NormalizePathSeparators(), 137 base::FilePath::FromUTF8Unsafe(isolated_id).Append(FPL("root/file")). 150 DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), 151 base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), 169 base::FilePath(DRIVE FPL("/test/sys/")))); 188 DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators() [all...] |
isolated_context_unittest.cc | 13 #define FPL(x) FILE_PATH_LITERAL(x) 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("/f/e")) [all...] |
file_system_url_unittest.cc | 13 #define FPL FILE_PATH_LITERAL 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("space bar"), VirtualPath::BaseName(url.path()).value()) [all...] |
sandbox_directory_database_unittest.cc | 21 #define FPL(x) FILE_PATH_LITERAL(x) 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("the celeb") [all...] |
/external/chromium_org/content/browser/download/ |
save_package_unittest.cc | 21 #define FPL FILE_PATH_LITERAL 51 filename.rfind(FPL(')')); 53 filename.rfind(FPL('(')); 141 FPL("saved_resource") FPL_HTML_EXTENSION, true}, 144 {"filename=1.css", "http://www.savepage.com", FPL("1.css"), false}, 147 {"filename=1.js", "http://www.savepage.com", FPL("1.js"), false}, 150 {"filename=1.css", "http://www.savepage.com", FPL("1(1).css"), false}, 153 {"filename=1(1).js", "http://www.savepage.com", FPL("1(1).js"), false}, 156 {"filename=1.css", "http://www.savepage.com", FPL("1(2).css"), false}, 159 {"filename=1(1).css", "http://www.savepage.com", FPL("1(3).css"), false} [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
task_dependency_manager_unittest.cc | 10 #define FPL(path) FILE_PATH_LITERAL(path) 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("/ancestor/parent/self")) [all...] |
drive_backend_sync_unittest.cc | 37 #define FPL(a) FILE_PATH_LITERAL(a) 619 AddOrUpdateLocalFile(app_id, FPL("file"), "abcde"); 626 VerifyLocalFile(app_id, FPL("file"), "abcde"); 649 VerifyLocalFile(app_id, FPL("file"), "abcde"); 657 const base::FilePath::StringType kPath(FPL("file")); 672 VerifyLocalFile(app_id, FPL("file"), "1234567890"); 701 VerifyLocalFile(app_id, FPL("file"), "1234567890"); 709 const base::FilePath::StringType path(FPL("file")); 731 const base::FilePath::StringType path(FPL("file")); 755 const base::FilePath::StringType path(FPL("file")) [all...] |
metadata_db_migration_util_unittest.cc | 19 #define FPL FILE_PATH_LITERAL 52 const base::FilePath kFile(FPL("foo bar")); 105 const base::FilePath kFile(FPL("foo bar")); 213 const base::FilePath kFile(FPL("foo bar"));
|
metadata_database_unittest.cc | 26 #define FPL(a) FILE_PATH_LITERAL(a) 765 EXPECT_EQ(base::FilePath(FPL("/")).NormalizePathSeparators(), path); 768 EXPECT_EQ(base::FilePath(FPL("/folder/file")).NormalizePathSeparators(), 822 CreateNormalizedPath(FPL("folder1/folder2/file")), 830 kAppID, CreateNormalizedPath(FPL("")), &tracker, &path)); 832 EXPECT_EQ(CreateNormalizedPath(FPL("")), path); 839 kAppID, CreateNormalizedPath(FPL("folder1/folder2")), 842 EXPECT_EQ(CreateNormalizedPath(FPL("folder1/folder2")), path); 849 kAppID, CreateNormalizedPath(FPL("folder1/folder2/file")), 852 EXPECT_EQ(CreateNormalizedPath(FPL("folder1/folder2/file")), path) [all...] |
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
file_system_backend_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) 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("/g/d/e")))) [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
native_media_file_util_unittest.cc | 30 #define FPL(x) FILE_PATH_LITERAL(x) 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("foobar.cod"), false, false, false, "abc" } [all...] |
/external/clang/test/Sema/ |
block-call.c | 7 int (*FPL) (int) = FP; // C doesn't consider this an error.
|
/external/clang/test/SemaCXX/ |
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/base/ |
file_util_unittest.cc | 49 #define FPL(x) FILE_PATH_LITERAL(x) 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_a")) [all...] |
/external/chromium_org/third_party/leveldatabase/ |
env_chromium_unittest.cc | 22 #define FPL FILE_PATH_LITERAL 165 if (fname.MatchesExtension(FPL(".ldb"))) { 190 int ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 191 int bak_files = CountFilesWithExtension(dir, FPL(".bak")); 198 EXPECT_EQ(ldb_files - 1, CountFilesWithExtension(dir, FPL(".ldb"))); 210 int orig_ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 215 ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 216 bak_files = CountFilesWithExtension(dir, FPL(".bak")); 238 base::FilePath new_file_dir = dir.Append(FPL("tmp_file"));
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
drive_metadata_store_unittest.cc | 29 #define FPL FILE_PATH_LITERAL 341 const base::FilePath path1(FPL("file1")); 342 const base::FilePath path2(FPL("file2")); 343 const base::FilePath path3(FPL("file3")); 376 const base::FilePath path1(FPL("file1")); 377 const base::FilePath path2(FPL("file2")); 378 const base::FilePath path3(FPL("file3")); 489 CreateSyncableFileSystemURL(kOrigin1, base::FilePath(FPL("guf"))), 493 CreateSyncableFileSystemURL(kOrigin2, base::FilePath(FPL("mof"))), 497 CreateSyncableFileSystemURL(kOrigin3, base::FilePath(FPL("waf"))) [all...] |
drive_file_sync_service_sync_unittest.cc | 38 #define FPL(path) FILE_PATH_LITERAL(path) 399 AddOrUpdateLocalFile(kOrigin, base::FilePath(FPL("file")), "abcde"); 432 const base::FilePath kPath(FPL("file")); 448 const base::FilePath kPath(FPL("file")); 480 const base::FilePath kPath(FPL("file")); 496 const base::FilePath kPath(FPL("file"));
|
/external/chromium_org/chrome/browser/chromeos/ |
boot_times_loader.cc | 97 #define FPL(value) FILE_PATH_LITERAL(value) 100 static const base::FilePath::CharType kLogPath[] = FPL("/tmp"); 103 FPL("/home/chronos/user"); 105 static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 107 static const base::FilePath::CharType kDiskPrefix[] = FPL("disk-"); 109 static const base::FilePath::CharType kChromeMain[] = FPL("chrome-main"); 114 static const base::FilePath::CharType kLoginSuccess[] = FPL("login-success"); 116 FPL("chrome-first-render"); 127 static const base::FilePath::CharType kLoginTimes[] = FPL("login-times"); 137 const base::FilePath kProcUptime(FPL("/proc/uptime")) [all...] |
/external/chromium_org/chrome/browser/ |
shell_integration_linux_unittest.cc | 28 #define FPL FILE_PATH_LITERAL 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://../../../../" },
|