/external/chromium/chrome/browser/extensions/ |
file_reader.cc | 7 #include "base/file_util.h" 29 bool success = file_util::ReadFileToString(resource_.GetFilePath(), &data);
|
autoupdate_interceptor.cc | 7 #include "base/file_util.h" 65 EXPECT_TRUE(file_util::ReadFileToString(i->second, &contents)); 80 EXPECT_TRUE(file_util::PathExists(path));
|
/external/chromium/chrome/browser/history/ |
history_unittest_base.cc | 20 ASSERT_TRUE(file_util::ReadFileToString(sql_path, &sql));
|
/external/chromium/chrome/browser/net/ |
net_log_logger.cc | 9 #include "base/file_util.h" 18 file_.Set(file_util::OpenFile(log_path, "w"));
|
url_fixer_upper_unittest.cc | 8 #include "base/file_util.h" 188 return file_util::WriteFile(*full_path, "", 0) == 0; 404 EXPECT_TRUE(file_util::Delete(original, false)); 412 ASSERT_TRUE(file_util::AbsolutePath(&full_path)); 430 EXPECT_TRUE(file_util::Delete(full_path, false)); 447 file_util::CreateDirectory(new_dir); 449 ASSERT_TRUE(file_util::AbsolutePath(&full_path)); 472 EXPECT_TRUE(file_util::Delete(full_path, false)); 473 EXPECT_TRUE(file_util::Delete(new_dir, true));
|
/external/chromium/chrome/browser/parsers/ |
metadata_parser_manager.cc | 8 #include "base/file_util.h" 42 amount_read = file_util::ReadFile(path, buffer, sizeof(buffer));
|
/external/chromium/chrome/common/ |
chrome_paths_unittest.cc | 10 #include "base/file_util.h" 25 FilePath homedir = file_util::GetHomeDir();
|
/external/chromium/chrome/common/extensions/ |
extension_l10n_util_unittest.cc | 6 #include "base/file_util.h" 30 ASSERT_TRUE(file_util::CreateDirectory(src_path)); 46 ASSERT_TRUE(file_util::CreateDirectory(src_path)); 47 ASSERT_TRUE(file_util::CreateDirectory(src_path.AppendASCII("sr"))); 63 ASSERT_TRUE(file_util::CreateDirectory(src_path)); 66 ASSERT_TRUE(file_util::CreateDirectory(locale_1)); 68 ASSERT_TRUE(file_util::WriteFile( 72 ASSERT_TRUE(file_util::CreateDirectory(src_path.AppendASCII("xxx_yyy"))); 136 ASSERT_TRUE(file_util::CreateDirectory(src_path)); 155 ASSERT_TRUE(file_util::CreateDirectory(src_path)) [all...] |
/external/chromium/net/base/ |
cert_test_util.cc | 8 #include "base/file_util.h" 29 if (!file_util::ReadFileToString(cert_path, &cert_data))
|
test_root_certs.cc | 10 #include "base/file_util.h" 26 if (!file_util::ReadFileToString(filename, &raw_cert)) {
|
/external/chromium/net/disk_cache/ |
disk_cache_test_util.cc | 8 #include "base/file_util.h" 25 if (!file_util::PathExists(path)) 26 file_util::CreateDirectory(path); 92 return file_util::CopyDirectory(path, dest, false); 120 file_util::Delete(path(), true);
|
disk_cache_perftest.cc | 9 #include "base/file_util.h" 188 ASSERT_TRUE(file_util::EvictFileFromSystemCache( 190 ASSERT_TRUE(file_util::EvictFileFromSystemCache( 192 ASSERT_TRUE(file_util::EvictFileFromSystemCache( 194 ASSERT_TRUE(file_util::EvictFileFromSystemCache( 196 ASSERT_TRUE(file_util::EvictFileFromSystemCache(
|
/external/chromium/net/url_request/ |
url_request_file_job.h | 20 namespace file_util { namespace
|
/external/chromium/webkit/glue/ |
iframe_redirect_unittest.cc | 7 #include "base/file_util.h" 32 ASSERT_TRUE(file_util::PathExists(iframes_data_dir_));
|
/external/chromium/base/ |
sync_socket_posix.cc | 14 #include "base/file_util.h" 93 int len = file_util::WriteFileDescriptor(handle_, charbuffer, length); 100 if (file_util::ReadFromFD(handle_, charbuffer, length)) {
|
/external/chromium/chrome/browser/first_run/ |
upgrade_util_win.cc | 14 #include "base/file_util.h" 75 return file_util::PathExists(new_chrome_exe); 82 if (!file_util::PathExists(new_chrome_exe))
|
/external/chromium/chrome/browser/ |
spellcheck_host_impl.cc | 9 #include "base/file_util.h" 155 if (!file_util::PathExists(bdict_file_path_) && 156 file_util::PathExists(fallback)) { 190 file_util::ReadFileToString(custom_dictionary_file_, &contents); 246 FILE* f = file_util::OpenFile(custom_dictionary_file_, "a+"); 249 file_util::CloseFile(f); 298 file_util::WriteFile(bdict_file_path_, data_.data(), data_.length()); 304 file_util::WriteFile(GetFallbackFilePath(bdict_file_path_), 313 file_util::Delete(bdict_file_path_, false);
|
transport_security_persister.cc | 8 #include "base/file_util.h" 41 if (!file_util::ReadFileToString(state_file_, &state)) 95 file_util::WriteFile(state_file_, state.data(), state.size());
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_unittest.cc | 5 #include "base/file_util.h" 348 ASSERT_TRUE(file_util::CreateDirectory(temp_directory)); 350 file_util::WriteFile(sync_file1, nonsense1, strlen(nonsense1))); 352 file_util::WriteFile(sync_file2, nonsense2, strlen(nonsense2))); 354 file_util::WriteFile(sync_file3, nonsense3, strlen(nonsense3))); 369 ASSERT_FALSE(file_util::PathExists(sync_file3)); 370 ASSERT_FALSE(file_util::PathExists(sync_file1)); 373 ASSERT_TRUE(file_util::PathExists(sync_file2)); 375 ASSERT_TRUE(file_util::ReadFileToString(sync_file2, &file2text));
|
/external/chromium/chrome/browser/ui/webui/ |
screenshot_source.cc | 7 #include "base/file_util.h" 40 if (!file_util::GetFileSize(file, &file_size)) { 49 if (!(bytes_read = file_util::ReadFile(file,
|
/external/chromium/chrome/browser/chromeos/ |
boot_times_loader.cc | 11 #include "base/file_util.h" 114 if (file_util::ReadFileToString(log_file, &contents)) { 139 if (file_util::PathExists(sent)) 168 file_util::WriteFile(sent, boot_times_text.data(), boot_times_text.size()); 169 DCHECK(file_util::PathExists(sent)); 188 if (!file_util::PathExists(log_file)) { 222 // TODO(satorux): Move this to file_util. 226 FILE* file = file_util::OpenFile(file_path, "a"); 231 file_util::CloseFile(file); 298 file_util::WriteFile [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set_unittest.cc | 9 #include "base/file_util.h" 132 ASSERT_TRUE(file_util::GetFileSize(filename, &size_64)); 134 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); 140 ASSERT_TRUE(file_util::GetFileSize(filename, &new_size_64)); 326 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); 335 file.reset(file_util::OpenFile(filename, "r+b")); 396 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")) [all...] |
/external/chromium/chrome/browser/diagnostics/ |
recon_diagnostics.cc | 9 #include "base/file_util.h" 235 if (!file_util::PathExists(dir_or_file)) { 243 dir_or_file_size = file_util::ComputeDirectorySize(dir_or_file); 245 file_util::GetFileSize(dir_or_file, &dir_or_file_size); 268 if (!file_util::PathIsWritable(dir_or_file)) { 324 if (!file_util::PathExists(path_)) { 329 if (!file_util::GetFileSize(path_, &file_size)) { 340 if (!file_util::ReadFileToString(path_, &json_data)) {
|
/external/chromium/net/tools/dump_cache/ |
dump_files.cc | 13 #include "base/file_util.h" 147 file_util::AppendToPath(&index_name, kIndexName); 269 file_util::AppendToPath(&index_name, kIndexName); 276 file_util::AppendToPath(&data_name, L"data_0"); 281 file_util::AppendToPath(&data_name, L"data_1"); 291 file_util::AppendToPath(&index_name, kIndexName); 296 file_util::FileEnumerator iter(FilePath(input_path), false, 297 file_util::FileEnumerator::FILES, pattern);
|
/external/chromium/chrome/browser/web_applications/ |
web_app.cc | 12 #include "base/file_util.h" 119 return file_util::WriteFile(cheksum_file, 129 if (!file_util::PathExists(icon_file) || 130 !file_util::PathExists(checksum_file)) 134 if (sizeof(persisted_image_checksum) != file_util::ReadFile(checksum_file, 302 if (!file_util::PathExists(web_app_path_) && 303 !file_util::CreateDirectory(web_app_path_)) { 364 success &= file_util::CreateShortcutLink(chrome_exe.value().c_str(), 380 success &= file_util::TaskbarPinShortcutLink( 526 file_util::ReplaceIllegalCharactersInPath(&app_name, '_') [all...] |