/external/chromium/base/i18n/ |
icu_util.cc | 16 #include "base/file_util.h" 110 static file_util::MemoryMappedFile mapped_file;
|
/external/chromium/base/ |
sys_info_chromeos.cc | 9 #include "base/file_util.h" 58 if (file_util::ReadFileToString(path, &contents)) {
|
/external/chromium/chrome/browser/download/ |
drag_download_util.cc | 9 #include "base/file_util.h" 78 if (!file_util::PathExists(new_file_path) &&
|
/external/chromium/chrome/browser/extensions/ |
app_background_page_apitest.cc | 32 int bytes_written = file_util::WriteFile(manifest_path,
|
extension_resource_request_policy_apitest.cc | 64 ASSERT_TRUE(file_util::ReadFileToString(
|
external_pref_extension_loader.cc | 9 #include "base/file_util.h" 75 if (file_util::PathExists(json_file)) {
|
file_reader_unittest.cc | 7 #include "base/file_util.h" 62 bool file_exists = file_util::ReadFileToString(path, &file_contents);
|
user_script_master_unittest.cc | 10 #include "base/file_util.h" 91 size_t written = file_util::WriteFile(path, content, sizeof(content)); 222 size_t written = file_util::WriteFile(path, content.c_str(), content.size()); 244 size_t written = file_util::WriteFile(path, content.c_str(), content.size());
|
user_script_master.cc | 11 #include "base/file_util.h" 164 if (path.empty() || !file_util::ReadFileToString(path, &content)) { 189 if (!file_util::DirectoryExists(script_dir)) 190 file_util::CreateDirectory(script_dir); 192 file_util::FileEnumerator enumerator(script_dir, false, 193 file_util::FileEnumerator::FILES,
|
/external/chromium/chrome/browser/history/ |
redirect_uitest.cc | 10 #include "base/file_util.h" 112 ASSERT_TRUE(file_util::CreateTemporaryFileInDir(temp_directory.path(), 115 file_util::WriteFile(temp_file, 147 ASSERT_TRUE(file_util::AbsolutePath(&first_path)); 188 ASSERT_TRUE(file_util::AbsolutePath(¤t_path));
|
/external/chromium/chrome/common/ |
chrome_paths_linux.cc | 8 #include "base/file_util.h" 94 FilePath home = file_util::GetHomeDir();
|
json_value_serializer_perftest.cc | 7 #include "base/file_util.h" 34 EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case));
|
json_pref_store.cc | 11 #include "base/file_util.h" 51 no_dir_ = !file_util::PathExists(path.DirName()); 116 if (file_util::PathExists(bad)) 118 file_util::Move(path, bad);
|
/external/chromium/net/tools/dump_cache/ |
cache_dumper.h | 11 #include "base/file_util.h" 67 file_util::CreateDirectory(FilePath(path));
|
cache_dumper.cc | 63 return file_util::CreateDirectory(path); 103 entry_ = file_util::OpenFile(entry_path_, "w+"); 210 file_util::CloseFile(entry_);
|
/external/chromium/chrome/browser/ |
browser_shutdown.cc | 12 #include "base/file_util.h" 252 file_util::WriteFile(shutdown_ms_file, shutdown_ms.c_str(), len); 271 if (file_util::ReadFileToString(shutdown_ms_file, &shutdown_ms_str)) 273 file_util::Delete(shutdown_ms_file, false);
|
browsing_data_indexed_db_helper.cc | 7 #include "base/file_util.h" 104 file_util::FileEnumerator file_enumerator( 107 false, file_util::FileEnumerator::FILES); 120 bool ret = file_util::GetFileInfo(file_path, &file_info);
|
browsing_data_local_storage_helper.cc | 7 #include "base/file_util.h" 92 file_util::FileEnumerator file_enumerator( 95 false, file_util::FileEnumerator::FILES); 108 bool ret = file_util::GetFileInfo(file_path, &file_info);
|
/external/chromium/chrome/browser/policy/ |
user_policy_identity_strategy.cc | 7 #include "base/file_util.h" 88 if (file_util::PathExists(cache_file_)) { 91 if (file_util::ReadFileToString(cache_file_, &data) && 130 file_util::WriteFile(cache_file_, data.c_str(), data.length());
|
/external/chromium/chrome/browser/search_engines/ |
template_url_parser_unittest.cc | 5 #include "base/file_util.h" 22 if (!file_util::PathExists(full_path_)) { 44 ASSERT_TRUE(file_util::PathExists(full_path)); 47 ASSERT_TRUE(file_util::ReadFileToString(full_path, &contents));
|
/external/chromium/chrome/browser/sync/util/ |
user_settings_unittest.cc | 9 #include "base/file_util.h" 56 static_cast<size_t>(file_util::WriteFile( 196 EXPECT_FALSE(file_util::PathExists(old_style_sync_data_path())); 202 ASSERT_TRUE(file_util::ReadFileToString(new_style_path, &contents));
|
/external/chromium/chrome/browser/profiles/ |
profile_impl.cc | 11 #include "base/file_util.h" 188 int64 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("*")); 192 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("History")); 196 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("History*")); 200 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Cookies")); 204 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Bookmarks")); 208 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Favicons")); 212 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Top Sites")); 216 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Visited Links")); 220 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Web Data")) [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils.cc | 11 #include "base/file_util.h" 100 file_util::ReadFileToString(compatibility_file, &content); 131 file_util::ReadFileToString(file, &content); 199 file_util::ReadFileToString(*file_iter, &content); 248 file_util::ReadFileToString(path, content); 366 if (!file_util::ReadFileToString(pref_file, &contents))
|
/external/chromium/net/url_request/ |
url_request_unittest.cc | 15 #include "base/file_util.h" 791 file_util::SetCurrentDirectory(dir); 811 ASSERT_EQ(true, file_util::GetFileSize(path, &longsize)); 815 int size_read = static_cast<int>(file_util::ReadFile(path, 938 EXPECT_TRUE(file_util::GetFileSize(app_path, &file_size)); 955 EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); 957 EXPECT_TRUE(file_util::WriteFile(temp_path, buffer.get(), buffer_size)); 960 EXPECT_TRUE(file_util::GetFileSize(temp_path, &file_size)); 990 EXPECT_TRUE(file_util::Delete(temp_path, false)); 999 EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)) [all...] |
/external/chromium/net/proxy/ |
proxy_config_service_linux_unittest.cc | 12 #include "base/file_util.h" 353 file_util::CreateNewTempDirectory(prefix, &user_home_); 357 file_util::CreateDirectory(path); 368 file_util::Delete(user_home_, true); [all...] |