/external/chromium_org/chrome/installer/util/ |
self_cleaning_temp_dir_unittest.cc | 8 #include "base/file_util.h" 164 file_util::WriteFile(parent_temp_dir.Append(GetRandomFilename()),
|
master_preferences_unittest.cc | 7 #include "base/file_util.h" 79 EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); 138 EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); 197 EXPECT_TRUE(file_util::WriteFile(prefs_file(), text, strlen(text))); 255 EXPECT_TRUE(file_util::WriteFile(prefs_file, text, strlen(text)));
|
/external/chromium_org/chrome/tools/profile_reset/ |
jtl_compiler_frontend.cc | 17 #include "base/file_util.h" 103 file_util::WriteFile(cmd_line->GetSwitchValuePath(kOutputPath),
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker_unittest.cc | 5 #include "base/file_util.h" 137 ASSERT_TRUE(file_util::WriteFile(path, "foo", 3));
|
/external/chromium_org/chrome/utility/media_galleries/ |
pmp_column_reader_unittest.cc | 8 #include "base/file_util.h" 33 size_t bytes_written = file_util::WriteFile(temp_path, &data[0], data.size());
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
printer_state.cc | 7 #include "base/file_util.h" 78 return (file_util::WriteFile(path, json_str.data(), size) == size);
|
/external/chromium_org/components/visitedlink/test/ |
visitedlink_perftest.cc | 9 #include "base/file_util.h" 147 file_util::EvictFileFromSystemCache(db_path_);
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_quota_client_unittest.cc | 8 #include "base/file_util.h" 138 ASSERT_EQ(size, file_util::WriteFile(path, junk.c_str(), size));
|
/external/chromium_org/content/shell/browser/ |
shell_browser_main.cc | 10 #include "base/file_util.h" 89 file_util::GetCurrentDirectory(current_working_directory);
|
/external/chromium_org/extensions/ |
extensions.gyp | 61 'common/file_util.cc', 62 'common/file_util.h',
|
/external/chromium_org/google_apis/drive/ |
test_util.cc | 7 #include "base/file_util.h" 60 int result = file_util::WriteFile(file_path, content.data(), content.size());
|
/external/chromium_org/net/http/ |
transport_security_persister_unittest.cc | 11 #include "base/file_util.h" 130 EXPECT_TRUE(file_util::WriteFile(path, serialized.c_str(),
|
/external/chromium_org/printing/ |
image.cc | 9 #include "base/file_util.h" 73 int write_bytes = file_util::WriteFile(
|
/external/chromium_org/sandbox/linux/services/ |
credentials_unittest.cc | 14 #include "base/file_util.h" 20 using file_util::ScopedFD;
|
/external/chromium_org/webkit/browser/database/ |
database_tracker_unittest.cc | 5 #include "base/file_util.h" 238 EXPECT_EQ(1, file_util::WriteFile( 240 EXPECT_EQ(2, file_util::WriteFile( 242 EXPECT_EQ(3, file_util::WriteFile( 270 EXPECT_EQ(1, file_util::WriteFile( 366 EXPECT_EQ(1, file_util::WriteFile( 368 EXPECT_EQ(2, file_util::WriteFile( 370 EXPECT_EQ(4, file_util::WriteFile( [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
local_file_stream_writer_unittest.cc | 10 #include "base/file_util.h" 73 file_util::WriteFile(path, data.c_str(), data.size());
|
/external/chromium/chrome/browser/download/ |
download_browsertest.cc | 6 #include "base/file_util.h" 550 bool origin_file_exists = file_util::PathExists(origin_file); 556 bool downloaded_file_exists = file_util::PathExists(downloaded_file); 563 EXPECT_TRUE(file_util::GetFileSize(origin_file, &origin_file_size)); 564 EXPECT_TRUE(file_util::GetFileSize(downloaded_file, &downloaded_file_size)); 566 EXPECT_TRUE(file_util::ContentsEqual(downloaded_file, origin_file)); 570 file_util::DieFileDie(downloaded_file, false); 634 bool downloaded_path_exists = file_util::PathExists(download_path); 640 EXPECT_TRUE(file_util::DieFileDie(download_path, true)); 641 EXPECT_FALSE(file_util::PathExists(download_path)) [all...] |
save_file_manager.cc | 9 #include "base/file_util.h" 465 bool success = file_util::CopyFile(file_path, save_file->full_path()); 467 file_util::Delete(save_file->full_path(), false); 476 file_util::Delete(full_path, is_dir); 496 if (!resource_dir.empty() && !file_util::PathExists(resource_dir)) 497 file_util::CreateDirectory(resource_dir); 540 file_util::Delete(save_file->full_path(), false);
|
/external/chromium/chrome/browser/chromeos/login/ |
google_authenticator.cc | 11 #include "base/file_util.h" 39 using file_util::GetFileSize; 40 using file_util::PathExists; 41 using file_util::ReadFile; 42 using file_util::ReadFileToString;
|
/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_org/content/browser/download/ |
base_file_unittest.cc | 7 #include "base/file_util.h" 473 file_util::PermissionRestorer restore_permissions_for(test_dir); 474 ASSERT_TRUE(file_util::MakeFileUnwritable(test_dir)); 576 file_util::PermissionRestorer restore_permissions(readonly_file_name); 579 EXPECT_TRUE(file_util::MakeFileUnwritable(readonly_file_name));
|
download_file_unittest.cc | 5 #include "base/file_util.h" 417 file_util::WriteFile(path_5, file_data, sizeof(file_data) - 1)); 445 file_util::WriteFile(path_1, file_data, sizeof(file_data))); 475 file_util::PermissionRestorer restorer(tempdir); 476 ASSERT_TRUE(file_util::MakeFileUnwritable(tempdir));
|
/external/chromium/chrome/browser/importer/ |
firefox2_importer.cc | 11 #include "base/file_util.h" 103 file_util::ReadFileToString(file, &content); 158 file_util::ReadFileToString(file_path, &content); 347 if (!file_util::PathExists(file)) { 352 file_util::ReadFileToString(file, &content); 641 file_util::FileEnumerator file_enum(dir, false, 642 file_util::FileEnumerator::FILES,
|
/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_org/chrome/test/chromedriver/ |
chrome_launcher.cc | 13 #include "base/file_util.h" 67 if (file_util::WriteFile(extension_zip, decoded_extension.c_str(), size) 254 file_util::ScopedFD scoped_devnull(&devnull); 509 if (file_util::WriteFile(extension_crx, decoded_extension.c_str(), size) != 549 if (file_util::WriteFile( 647 if (static_cast<int>(prefs_str.length()) != file_util::WriteFile( 678 if (file_util::WriteFile(
|