/external/chromium_org/extensions/common/ |
file_util_unittest.cc | 5 #include "extensions/common/file_util.h" 8 #include "base/file_util.h" 48 extensions::file_util::ExtensionURLToRelativeFilePath(url); 69 ASSERT_TRUE(file_util::WriteFile(resource_path, data, sizeof(data))); 71 ASSERT_TRUE(file_util::WriteFile(resource_path, data, sizeof(data))); 115 extensions::file_util::ExtensionResourceURLToFilePath(url, root_path);
|
file_util.cc | 5 #include "extensions/common/file_util.h" 9 #include "base/file_util.h" 15 namespace file_util { namespace in namespace:extensions 60 } // namespace file_util
|
/external/chromium/base/nix/ |
xdg_util.cc | 9 #include "base/file_util.h" 20 return file_util::GetHomeDir().Append(fallback_dir); 31 return file_util::GetHomeDir().Append(fallback_dir);
|
/external/chromium/base/test/ |
test_file_util.h | 15 namespace file_util { namespace 17 // Wrapper over file_util::Delete. On Windows repeatedly invokes Delete in case 52 } // namespace file_util
|
/external/chromium/chrome/browser/ |
user_style_sheet_watcher_unittest.cc | 9 #include "base/file_util.h" 24 file_util::CreateDirectory(style_sheet_file.DirName()); 25 ASSERT_TRUE(file_util::WriteFile(style_sheet_file,
|
/external/chromium/chrome/common/extensions/ |
extension_resource.cc | 7 #include "base/file_util.h" 45 if (!file_util::AbsolutePath(&clean_extension_root)) 57 if (file_util::AbsolutePath(&full_path) && 58 file_util::PathExists(full_path) &&
|
/external/chromium_org/base/files/ |
file_enumerator.cc | 7 #include "base/file_util.h"
|
/external/chromium_org/base/posix/ |
unix_domain_socket_linux_unittest.cc | 11 #include "base/file_util.h" 28 file_util::ScopedFD scoped_fd0(&fds[0]); 29 file_util::ScopedFD scoped_fd1(&fds[1]); 65 file_util::ScopedFD scoped_fd1(&fds[1]);
|
/external/chromium_org/base/test/ |
test_file_util.cc | 16 if (file_util::EvictFileFromSystemCache(path))
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
test_utils.cc | 21 ASSERT_EQ(32, file_util::WriteFile(test_image_, kTestData, 32));
|
/external/chromium_org/tools/gn/ |
input_file.cc | 7 #include "base/file_util.h"
|
/external/chromium/net/base/ |
file_stream_unittest.cc | 6 #include "base/file_util.h" 27 file_util::CreateTemporaryFile(&temp_file_path_); 28 file_util::WriteFile(temp_file_path_, kTestData, kTestDataSize); 31 file_util::Delete(temp_file_path_, false); 53 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize)); 69 file_util::Delete(temp_file_path(), false); 80 file_util::ReadFile(temp_file_path(), buffer, kTestDataSize)); 105 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); 135 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); 170 bool ok = file_util::GetFileSize(temp_file_path(), &file_size) [all...] |
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/ |
block_files_unittest.cc | 5 #include "base/file_util.h" 18 file_util::FileEnumerator iter(path, false, file_util::FileEnumerator::FILES); 33 ASSERT_TRUE(file_util::CreateDirectory(path)); 60 ASSERT_TRUE(file_util::CreateDirectory(path)); 84 ASSERT_TRUE(file_util::CreateDirectory(path)); 162 ASSERT_TRUE(file_util::CreateDirectory(path)); 184 ASSERT_TRUE(file_util::CreateDirectory(path)); 208 ASSERT_TRUE(file_util::CreateDirectory(path)); 222 file_util::WriteFile(filename, header, kBlockHeaderSize)) [all...] |
/external/chromium/base/ |
file_util_linux.cc | 5 #include "base/file_util.h" 12 namespace file_util { namespace
|
file_util_proxy.cc | 23 if (!file_util::PathExists(src_file_path)) 27 if (!file_util::DirectoryExists(dest_file_path.DirName())) 35 if (!file_util::PathExists(dest_file_path)) 40 bool src_is_directory = file_util::DirectoryExists(src_file_path); 41 bool dest_is_directory = file_util::DirectoryExists(dest_file_path); 57 // the file_util's Copy or Move method doesn't perform overwrite 59 // TODO(kinuko): may be better to change the file_util::{Copy,Move}. 60 if (!file_util::Delete(dest_file_path, false /* recursive */)) { 61 if (!file_util::IsDirectoryEmpty(dest_file_path)) 140 if (!file_util::DirectoryExists(file_path_.DirName())) [all...] |
rand_util_posix.cc | 12 #include "base/file_util.h" 49 bool success = file_util::ReadFromFD(urandom_fd,
|
/external/chromium/base/i18n/ |
file_util_icu.h | 14 namespace file_util { namespace 35 } // namespace file_util
|
/external/chromium/chrome/browser/extensions/ |
file_reader.cc | 7 #include "base/file_util.h" 29 bool success = file_util::ReadFileToString(resource_.GetFilePath(), &data);
|
/external/chromium/chrome/browser/first_run/ |
upgrade_util_linux.cc | 10 #include "base/file_util.h" 44 if (!file_util::GetFileInfo(exe_file_path, &exe_file_info)) {
|
/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/browser/prefs/ |
pref_service_uitest.cc | 8 #include "base/file_util.h" 28 ASSERT_TRUE(file_util::CreateDirectory(tmp_profile)); 38 ASSERT_TRUE(file_util::CreateDirectory(tmp_pref_file_)); 48 ASSERT_TRUE(file_util::PathExists(reference_pref_file)); 51 ASSERT_TRUE(file_util::CopyFile(reference_pref_file, tmp_pref_file_)); 64 if (!file_util::PathExists(tmp_pref_file_)) 94 ASSERT_TRUE(file_util::PathExists(tmp_pref_file_)); 152 ASSERT_TRUE(file_util::PathExists(tmp_pref_file_));
|
/external/chromium/chrome/common/ |
chrome_paths_unittest.cc | 10 #include "base/file_util.h" 25 FilePath homedir = file_util::GetHomeDir();
|
/external/chromium/webkit/glue/ |
iframe_redirect_unittest.cc | 7 #include "base/file_util.h" 32 ASSERT_TRUE(file_util::PathExists(iframes_data_dir_));
|