HomeSort by relevance Sort by last modified time
    Searched defs:temp_file (Results 1 - 25 of 38) 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 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...]
installer_state_unittest.cc 475 base::FilePath temp_file; local
476 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file));
478 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
484 CreateFile(temp_file.value().c_str(),
491 EXPECT_TRUE(MockInstallerState::IsFileInUse(temp_file));
495 EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
  /external/chromium_org/apps/
app_restore_service_browsertest.cc 119 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/
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/linux-tools-perf/perf-3.12.0/tools/perf/util/
trace-event.h 52 char temp_file[50]; member in struct:tracing_data
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
copy_operation_unittest.cc 295 base::FilePath temp_file; local
296 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
298 EXPECT_TRUE(google_apis::test_util::WriteStringToFile(temp_file, contents));
307 temp_file,
download_operation_unittest.cc 181 base::FilePath temp_file; local
182 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
197 temp_file,
343 base::FilePath temp_file; local
344 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
359 temp_file,
  /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)),
  /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 base::WriteFile(temp_file,
146 GURL first_url = net::FilePathToFileURL(temp_file);
  /external/chromium_org/chrome/browser/ui/
network_profile_bubble.cc 127 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/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/pdfium/core/src/fxcodec/libjpeg/
jmemsys.h 160 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/
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/
search_metadata_unittest.cc 66 base::FilePath temp_file; local
67 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 184 base::FilePath temp_file; local
185 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
186 ASSERT_TRUE(google_apis::test_util::WriteStringToFile(temp_file,
214 temp_file, FileCache::FILE_OPERATION_COPY));
220 temp_file, FileCache::FILE_OPERATION_COPY));
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
fake_drive_service_helper.cc 107 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,
287 base::FilePath temp_file; local
288 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
290 temp_file, file->file_id(),
298 return base::ReadFileToString(temp_file, file_content)
345 base::FilePath temp_file; local
346 EXPECT_TRUE(base::CreateTemporaryFileInDir(temp_dir_, &temp_file));
    [all...]
  /external/chromium_org/content/browser/download/
base_file.cc 72 base::FilePath temp_file; local
80 !base::CreateTemporaryFileInDir(initial_directory, &temp_file)) &&
81 !base::CreateTemporaryFile(&temp_file)) {
85 full_path_ = temp_file;
base_file_unittest.cc 614 base::FilePath temp_file; local
615 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file));
616 ASSERT_FALSE(temp_file.empty());
617 EXPECT_STREQ(temp_file.DirName().value().c_str(),
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 452 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));
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/net_internals/
net_internals_ui_browsertest.cc 267 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/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());
  /external/chromium_org/third_party/libjingle/source/talk/base/
win32regkey_unittest.cc 577 wchar_t temp_file[MAX_PATH] = {0}; local
579 ::GetTickCount(), temp_file), 0);
584 EXPECT_SUCCEEDED(RegKey::Save(kFullRkey1Subkey, temp_file));
589 EXPECT_SUCCEEDED(RegKey::Restore(kFullRkey1Subkey, temp_file));
600 EXPECT_EQ(TRUE, ::DeleteFile(temp_file));
  /external/chromium_org/third_party/webrtc/base/
win32regkey_unittest.cc 560 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));
  /external/chromium_org/chrome/browser/apps/
ephemeral_app_browsertest.cc 496 base::FilePath temp_file; local
497 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file));
501 &temp_file);

Completed in 910 milliseconds

1 2