Searched defs:temp_file (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/chrome/installer/util/
H A Dlogging_installer_unittest.cc21 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
23 base::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 base::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
96 base::FilePath temp_file = temp_dir.path().Append(L"temp"); local
[all...]
H A Dinstaller_state_unittest.cc476 base::FilePath temp_file; local
477 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file));
479 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
485 CreateFile(temp_file.value().c_str(),
492 EXPECT_TRUE(MockInstallerState::IsFileInUse(temp_file));
496 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
/external/chromium_org/apps/
H A Dapp_restore_service_browsertest.cc119 base::FilePath temp_file; local
121 &temp_file));
124 &temp_file);
159 base::FilePath temp_file; local
161 &temp_file));
164 &temp_file);
/external/chromium_org/cloud_print/service/win/
H A Dservice_listener.cc41 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/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dtrace-event.h52 char temp_file[50]; member in struct:tracing_data
/external/chromium_org/google_apis/drive/
H A Dbase_requests_server_unittest.cc74 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)),
H A Ddrive_api_requests_unittest.cc1717 base::FilePath temp_file; local
1727 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
1735 base::ReadFileToString(temp_file, &contents);
1736 base::DeleteFile(temp_file, false);
1741 EXPECT_EQ(kDownloadedFilePath, temp_file);
1753 base::FilePath temp_file; local
1764 test_util::CreateCopyResultCallback(&result_code, &temp_file)),
1771 base::DeleteFile(temp_file, false);
1776 EXPECT_EQ(kDownloadedFilePath, temp_file);
/external/chromium_org/chrome/browser/extensions/
H A Dextension_creator_filter_unittest.cc27 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/
H A Dredirect_browsertest.cc134 base::FilePath temp_file; local
136 &temp_file));
138 base::WriteFile(temp_file,
144 GURL first_url = net::FilePathToFileURL(temp_file);
/external/chromium_org/third_party/libjpeg_turbo/
H A Djmemsys.h160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
165 FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
/external/jpeg/
H A Djmemsys.h160 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/pdfium/core/src/fxcodec/libjpeg/
H A Djmemsys.h160 short temp_file; /* file reference number to temp file */ member in struct:backing_store_struct
166 FXSYS_FILE * temp_file; /* stdio reference to temp file */ member in struct:backing_store_struct
/external/qemu/distrib/jpeg-6b/
H A Djmemsys.h160 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/
H A Dcopy_operation_unittest.cc302 base::FilePath temp_file; local
303 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
305 EXPECT_TRUE(google_apis::test_util::WriteStringToFile(temp_file, contents));
314 temp_file,
H A Ddownload_operation_unittest.cc184 base::FilePath temp_file; local
185 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
200 temp_file,
345 base::FilePath temp_file; local
346 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
361 temp_file,
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dsearch_metadata_unittest.cc67 base::FilePath temp_file; local
68 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
88 local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY));
114 local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY));
H A Dsync_client_unittest.cc179 base::FilePath temp_file; local
180 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
181 ASSERT_TRUE(google_apis::test_util::WriteStringToFile(temp_file,
209 temp_file, FileCache::FILE_OPERATION_COPY));
215 temp_file, FileCache::FILE_OPERATION_COPY));
/external/chromium_org/chrome/browser/ui/
H A Dnetwork_profile_bubble.cc127 base::FilePath temp_file; local
130 if (base::CreateTemporaryFileInDir(profile_folder, &temp_file) &&
131 (base::WriteFile(temp_file, ".", 1) == 1)) {
133 if (!base::NormalizeFilePath(temp_file, &normalized_temp_file))
138 base::DeleteFile(temp_file, false);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_store_file_unittest.cc452 const base::FilePath temp_file = local
456 EXPECT_FALSE(base::PathExists(temp_file));
460 EXPECT_TRUE(base::PathExists(temp_file));
467 EXPECT_TRUE(base::PathExists(temp_file));
472 EXPECT_FALSE(base::PathExists(temp_file));
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dfake_drive_service_helper.cc107 base::FilePath temp_file = WriteToTempFile(content); local
112 parent_folder_id, temp_file, title,
127 base::FilePath temp_file = WriteToTempFile(content); local
131 file_id, temp_file,
288 base::FilePath temp_file; local
289 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
291 temp_file, file->file_id(),
299 return base::ReadFileToString(temp_file, file_content)
346 base::FilePath temp_file; local
347 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
[all...]
/external/chromium_org/chrome/browser/ui/webui/net_internals/
H A Dnet_internals_ui_browsertest.cc267 base::FilePath temp_file; local
269 &temp_file));
270 FILE* temp_file_handle = base::OpenFile(temp_file, "w");
287 ASSERT_TRUE(base::ReadFileToString(temp_file, &log_contents));
/external/chromium_org/content/browser/download/
H A Dbase_file.cc72 base::FilePath temp_file; local
80 !base::CreateTemporaryFileInDir(initial_directory, &temp_file)) &&
81 !base::CreateTemporaryFile(&temp_file)) {
85 full_path_ = temp_file;
H A Dbase_file_unittest.cc668 base::FilePath temp_file; local
669 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
670 ASSERT_FALSE(temp_file.empty());
671 EXPECT_STREQ(temp_file.DirName().value().c_str(),
/external/chromium_org/sandbox/win/src/
H A Dfile_policy_test.cc539 base::string16 temp_file = subfolder + L"\\file_" + temp_file_title; local
541 HANDLE file = ::CreateFile(temp_file.c_str(), FILE_ALL_ACCESS,
564 command_write += temp_file;
571 ::DeleteFile(temp_file.c_str());
/external/chromium_org/third_party/webrtc/base/
H A Dwin32regkey_unittest.cc560 wchar_t temp_file[MAX_PATH] = {0}; local
562 ::GetTickCount(), temp_file), 0);
567 EXPECT_SUCCEEDED(RegKey::Save(kFullRkey1Subkey, temp_file));
572 EXPECT_SUCCEEDED(RegKey::Restore(kFullRkey1Subkey, temp_file));
583 EXPECT_EQ(TRUE, ::DeleteFile(temp_file));

Completed in 379 milliseconds

12