/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/base/ |
file_path_unittest.cc | 13 #define FPL(x) FILE_PATH_LITERAL(x) 54 { FPL(""), FPL(".") }, 55 { FPL("aa"), FPL(".") }, 56 { FPL("/aa/bb"), FPL("/aa") }, 57 { FPL("/aa/bb/"), FPL("/aa") }, 58 { FPL("/aa/bb//"), FPL("/aa") } [all...] |
file_util_unittest.cc | 34 #define FPL(x) FILE_PATH_LITERAL(x) 357 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt")); 363 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2")); 366 FilePath file_02 = subdir_path.Append(FPL("The file 02.txt")); 372 FilePath subsubdir_path = subdir_path.Append(FPL("Level3")); 375 FilePath file_03 = subsubdir_path.Append(FPL("The file 03.txt")); 382 file_util::ComputeFilesSize(temp_dir_.path(), FPL("The file*")); 385 computed_size = file_util::ComputeFilesSize(temp_dir_.path(), FPL("bla*")); 392 FilePath file_a_path = temp_dir_.path().Append(FPL("file_a")); 393 FilePath dir_path = temp_dir_.path().Append(FPL("dir")) [all...] |
/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/chrome/common/ |
chrome_constants.cc | 9 #define FPL FILE_PATH_LITERAL 28 const FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome.exe"); 29 const FilePath::CharType kHelperProcessExecutableName[] = FPL("chrome.exe"); 31 const FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome"); 34 const FilePath::CharType kHelperProcessExecutableName[] = FPL("exe"); 36 const FilePath::CharType kBrowserProcessExecutableName[] = FPL(PRODUCT_STRING); 38 FPL(PRODUCT_STRING " Helper"); 41 const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome.exe"); 42 const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome.exe"); 44 const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome") [all...] |
/external/chromium_org/webkit/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...] |
isolated_context_unittest.cc | 13 #define FPL(x) FILE_PATH_LITERAL(x) 16 #define DRIVE FPL("C:") 28 base::FilePath(DRIVE FPL("/a/b.txt")), 29 base::FilePath(DRIVE FPL("/c/d/e")), 30 base::FilePath(DRIVE FPL("/h/")), 31 base::FilePath(DRIVE FPL("/")), 33 base::FilePath(DRIVE FPL("\\foo\\bar")), 34 base::FilePath(DRIVE FPL("\\")), 37 base::FilePath(DRIVE FPL("/")), 38 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/") 44 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 45 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 54 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 55 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 64 EXPECT_EQ(FPL("file"), VirtualPath::BaseName(url.path()).value()); 65 EXPECT_EQ(FPL("directory"), url.path().DirName().value()); 80 EXPECT_EQ(FPL("space bar"), VirtualPath::BaseName(url.path()).value()) [all...] |
sandbox_directory_database_unittest.cc | 21 #define FPL(x) FILE_PATH_LITERAL(x) 26 const base::FilePath::CharType kDirectoryDatabaseName[] = FPL("Paths"); 527 CreateFile(0, FPL("foo"), FPL("hoge"), NULL); 528 CreateDirectory(0, FPL("bar"), &dir_id); 529 CreateFile(dir_id, FPL("baz"), FPL("fuga"), NULL); 530 CreateFile(dir_id, FPL("fizz"), FPL("buzz"), NULL); 537 const base::FilePath::CharType kBackingFileName[] = FPL("the celeb") [all...] |
/external/chromium/chrome/browser/download/ |
save_package_unittest.cc | 19 #define FPL FILE_PATH_LITERAL 48 FilePath::StringType::size_type r_paren_index = filename.rfind(FPL(')')); 49 FilePath::StringType::size_type l_paren_index = filename.rfind(FPL('(')); 142 FPL("saved_resource") FPL_HTML_EXTENSION, true}, 145 {"filename=1.css", "http://www.savepage.com", FPL("1.css"), false}, 148 {"filename=1.js", "http://www.savepage.com", FPL("1.js"), false}, 151 {"filename=1.css", "http://www.savepage.com", FPL("1(1).css"), false}, 154 {"filename=1(1).js", "http://www.savepage.com", FPL("1(1).js"), false}, 157 {"filename=1.css", "http://www.savepage.com", FPL("1(2).css"), false}, 160 {"filename=1(1).css", "http://www.savepage.com", FPL("1(3).css"), false} [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/chromeos/fileapi/ |
file_system_backend_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) 59 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/usr/share/oem")))); 83 base::FilePath(FPL("/a/b/c"))); 87 base::FilePath(FPL("/b/c/d"))); 93 base::FilePath(FPL("/g/c/d"))); 97 base::FilePath(FPL("/g/d/e"))); 102 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/a/b/c")))); 103 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/b/c/d")))); 104 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/g/c/d")))); 105 EXPECT_TRUE(root_dirs_set.count(base::FilePath(FPL("/g/d/e")))) [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_context_unittest.cc | 18 #define FPL(x) FILE_PATH_LITERAL(x) 21 #define DRIVE FPL("C:") 108 base::FilePath(DRIVE FPL("/test/isolated/root")), 115 base::FilePath(DRIVE FPL("/test/sys/")))); 126 DRIVE FPL("/test/isolated/root/file")).NormalizePathSeparators(), 127 base::FilePath::FromUTF8Unsafe(isolated_id).Append(FPL("root/file")). 140 DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), 141 base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), 159 base::FilePath(DRIVE FPL("/test/sys/")))); 178 DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators() [all...] |
/external/chromium/chrome/browser/ |
shell_integration_unittest.cc | 29 #define FPL FILE_PATH_LITERAL 144 { FPL("http___foo_.desktop"), "http://foo" }, 145 { FPL("http___foo_bar_.desktop"), "http://foo/bar/" }, 146 { FPL("http___foo_bar_a=b&c=d.desktop"), "http://foo/bar?a=b&c=d" }, 149 { FPL("http___foo_.desktop"), "http://foo/bar/baz/../../../../../" }, 150 { FPL("http___foo_.desktop"), "http://foo/bar/././../baz/././../" }, 151 { FPL("http___.._.desktop"), "http://../../../../" },
|
/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/chromium/chrome/browser/chromeos/ |
boot_times_loader.cc | 32 #define FPL(value) FILE_PATH_LITERAL(value) 35 static const FilePath::CharType kLogPath[] = FPL("/tmp"); 37 static const FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 39 static const FilePath::CharType kDiskPrefix[] = FPL("disk-"); 41 static const FilePath::CharType kChromeMain[] = FPL("chrome-main"); 48 static const FilePath::CharType kLoginSuccess[] = FPL("login-success"); 50 FPL("chrome-first-render"); 60 static const FilePath::CharType kLoginTimes[] = FPL("login-times-sent"); 137 FPL("/tmp/boot-times-sent"); 174 const FilePath::CharType kFirmwareBootTime[] = FPL("firmware-boot-time") [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 | 41 #define FPL(x) FILE_PATH_LITERAL(x) 250 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt")); 256 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2")); 259 FilePath file_02 = subdir_path.Append(FPL("The file 02.txt")); 265 FilePath subsubdir_path = subdir_path.Append(FPL("Level3")); 268 FilePath file_03 = subsubdir_path.Append(FPL("The file 03.txt")); 278 FilePath file_a_path = temp_dir_.path().Append(FPL("file_a")); 279 FilePath dir_path = temp_dir_.path().Append(FPL("dir")); 280 FilePath file_b_path = dir_path.Append(FPL("file_b")); 320 FilePath base_a = temp_dir_.path().Append(FPL("base_a")) [all...] |
/external/chromium_org/third_party/leveldatabase/ |
env_chromium_unittest.cc | 18 #define FPL FILE_PATH_LITERAL 133 if (fname.MatchesExtension(FPL(".ldb"))) { 158 int ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 159 int bak_files = CountFilesWithExtension(dir, FPL(".bak")); 166 EXPECT_EQ(ldb_files - 1, CountFilesWithExtension(dir, FPL(".ldb"))); 178 int orig_ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 179 int orig_bak_files = CountFilesWithExtension(dir, FPL(".bak")); 184 ldb_files = CountFilesWithExtension(dir, FPL(".ldb")); 185 bak_files = CountFilesWithExtension(dir, FPL(".bak")); 207 base::FilePath new_file_dir = dir.Append(FPL("tmp_file")) [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
boot_times_loader.cc | 76 #define FPL(value) FILE_PATH_LITERAL(value) 79 static const base::FilePath::CharType kLogPath[] = FPL("/tmp"); 82 FPL("/home/chronos/user"); 84 static const base::FilePath::CharType kUptimePrefix[] = FPL("uptime-"); 86 static const base::FilePath::CharType kDiskPrefix[] = FPL("disk-"); 88 static const base::FilePath::CharType kChromeMain[] = FPL("chrome-main"); 93 static const base::FilePath::CharType kLoginSuccess[] = FPL("login-success"); 95 FPL("chrome-first-render"); 104 static const base::FilePath::CharType kLoginTimes[] = FPL("login-times"); 258 const base::FilePath kProcUptime(FPL("/proc/uptime")) [all...] |
/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...] |
/external/chromium_org/chrome/browser/ |
shell_integration_linux_unittest.cc | 28 #define FPL FILE_PATH_LITERAL 425 { FPL("http___foo_.desktop"), "http://foo" }, 426 { FPL("http___foo_bar_.desktop"), "http://foo/bar/" }, 427 { FPL("http___foo_bar_a=b&c=d.desktop"), "http://foo/bar?a=b&c=d" }, 430 { FPL("http___foo_.desktop"), "http://foo/bar/baz/../../../../../" }, 431 { FPL("http___foo_.desktop"), "http://foo/bar/././../baz/././../" }, 432 { FPL("http___.._.desktop"), "http://../../../../" },
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
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"));
|