HomeSort by relevance Sort by last modified time
    Searched defs:temp_file (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/chrome/installer/util/
logging_installer_unittest.cc 21 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
23 file_util::WriteFile(temp_file, &test_data[0], test_data.size()));
24 ASSERT_TRUE(base::PathExists(temp_file));
27 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
31 installer::TruncateLogFileIfNeeded(temp_file));
33 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
37 EXPECT_FALSE(base::PathExists(temp_file.Append(L".tmp")));
46 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
48 file_util::WriteFile(temp_file, &test_data[0], test_data.size()));
49 ASSERT_TRUE(base::PathExists(temp_file));
68 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
97 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
    [all...]
installer_state_unittest.cc 474 base::FilePath temp_file; local
475 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file));
477 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
483 CreateFile(temp_file.value().c_str(),
490 EXPECT_TRUE(MockInstallerState::IsFileInUse(temp_file));
494 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
  /external/chromium_org/apps/
app_restore_service_browsertest.cc 65 base::FilePath temp_file; local
67 &temp_file));
70 &temp_file);
110 base::FilePath temp_file; local
112 &temp_file));
115 &temp_file);
  /external/chromium/chrome/browser/chromeos/login/
signed_settings_temp_storage_unittest.cc 30 FilePath temp_file; local
32 file_util::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
33 local_state_.reset(PrefService::CreatePrefService(temp_file, NULL, NULL));
  /external/chromium_org/chrome/test/remoting/
me2me_browsertest.cc 89 base::FilePath temp_file; local
90 EXPECT_TRUE(base::CreateTemporaryFile(&temp_file));
95 temp_file.MaybeAsASCII() + "\n";
104 EXPECT_TRUE(base::ReadFileToString(temp_file, &content));
108 EXPECT_TRUE(base::DeleteFile(temp_file, false));
  /external/chromium_org/cloud_print/service/win/
service_listener.cc 41 base::FilePath temp_file; local
42 if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) {
43 DCHECK(base::PathExists(temp_file));
46 base::DeleteFile(temp_file, false);
  /external/chromium_org/google_apis/drive/
base_requests_server_unittest.cc 74 base::FilePath temp_file; local
81 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
92 base::ReadFileToString(temp_file, &contents);
93 base::DeleteFile(temp_file, false);
108 base::FilePath temp_file; local
115 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
gdata_wapi_requests_unittest.cc 1531 base::FilePath temp_file; local
    [all...]
  /external/chromium/chrome/browser/history/
redirect_uitest.cc 111 FilePath temp_file; local
113 &temp_file));
115 file_util::WriteFile(temp_file,
121 GURL first_url = net::FilePathToFileURL(temp_file);
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 33 const FilePath temp_file = local
35 file_util::Delete(temp_file, false);
63 const FilePath temp_file = local
67 EXPECT_FALSE(file_util::PathExists(temp_file));
71 EXPECT_TRUE(file_util::PathExists(temp_file));
78 EXPECT_TRUE(file_util::PathExists(temp_file));
83 EXPECT_FALSE(file_util::PathExists(temp_file));
  /external/chromium_org/chrome/browser/extensions/
extension_creator_filter_unittest.cc 27 base::FilePath temp_file; local
28 EXPECT_TRUE(base::CreateTemporaryFileInDir(test_dir_, &temp_file));
29 EXPECT_TRUE(base::Move(temp_file, test_file));
39 base::FilePath temp_file; local
40 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_sub_dir, &temp_file));
41 EXPECT_TRUE(base::Move(temp_file, test_file));
  /external/chromium_org/chrome/browser/history/
redirect_browsertest.cc 136 base::FilePath temp_file; local
138 &temp_file));
140 file_util::WriteFile(temp_file,
146 GURL first_url = net::FilePathToFileURL(temp_file);
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 54 const base::FilePath temp_file = local
58 EXPECT_FALSE(base::PathExists(temp_file));
62 EXPECT_TRUE(base::PathExists(temp_file));
69 EXPECT_TRUE(base::PathExists(temp_file));
74 EXPECT_FALSE(base::PathExists(temp_file));
  /external/chromium_org/chrome/browser/ui/
network_profile_bubble.cc 126 base::FilePath temp_file; local
129 if (base::CreateTemporaryFileInDir(profile_folder, &temp_file) &&
130 (file_util::WriteFile(temp_file, ".", 1) == 1)) {
132 if (!base::NormalizeFilePath(temp_file, &normalized_temp_file))
137 base::DeleteFile(temp_file, false);
  /external/jpeg/
jmemsys.h 160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
170 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/qemu/distrib/jpeg-6b/
jmemsys.h 160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
170 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
download_operation_unittest.cc 200 base::FilePath temp_file; local
201 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
216 temp_file,
367 base::FilePath temp_file; local
368 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
383 temp_file,
  /external/chromium_org/chrome/browser/chromeos/drive/
search_metadata_unittest.cc 65 base::FilePath temp_file; local
66 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
87 local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY));
113 local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY));
sync_client_unittest.cc 174 base::FilePath temp_file; local
175 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
176 ASSERT_TRUE(google_apis::test_util::WriteStringToFile(temp_file,
210 temp_file, FileCache::FILE_OPERATION_COPY));
217 temp_file, FileCache::FILE_OPERATION_COPY));
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
fake_drive_service_helper.cc 109 base::FilePath temp_file = WriteToTempFile(content); local
114 parent_folder_id, temp_file, title,
128 base::FilePath temp_file = WriteToTempFile(content); local
132 file_id, temp_file,
238 base::FilePath temp_file; local
239 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
241 temp_file, file->resource_id(),
249 return base::ReadFileToString(temp_file, file_content)
297 base::FilePath temp_file; local
298 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
    [all...]
  /external/chromium_org/content/browser/download/
base_file.cc 77 base::FilePath temp_file; local
85 !base::CreateTemporaryFileInDir(initial_directory, &temp_file)) &&
86 !base::CreateTemporaryFile(&temp_file)) {
90 full_path_ = temp_file;
base_file_unittest.cc 625 base::FilePath temp_file; local
626 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
627 ASSERT_FALSE(temp_file.empty());
628 EXPECT_STREQ(temp_file.DirName().value().c_str(),
  /external/chromium_org/chrome/browser/ui/webui/net_internals/
net_internals_ui_browsertest.cc 342 base::FilePath temp_file; local
344 &temp_file));
345 FILE* temp_file_handle = base::OpenFile(temp_file, "w");
362 ASSERT_TRUE(base::ReadFileToString(temp_file, &log_contents));
  /external/chromium_org/sandbox/win/src/
file_policy_test.cc 538 base::string16 temp_file = subfolder + L"\\file_" + temp_file_title; local
540 HANDLE file = ::CreateFile(temp_file.c_str(), FILE_ALL_ACCESS,
563 command_write += temp_file;
570 ::DeleteFile(temp_file.c_str());