HomeSort by relevance Sort by last modified time
    Searched defs:temp_path (Results 1 - 18 of 18) sorted by null

  /external/chromium_org/content/shell/common/
shell_test_configuration.h 24 base::FilePath temp_path; member in struct:content::ShellTestConfiguration
  /external/chromium_org/components/feedback/
feedback_util.cc 78 base::FilePath temp_path; local
83 if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path))
85 if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) ==
90 zip::Zip(temp_path, zip_file, false) &&
93 base::DeleteFile(temp_path, true);
  /external/chromium_org/win8/delegate_execute/
crash_server_init.cc 70 wchar_t temp_path[MAX_PATH + 1] = {0}; local
71 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
91 temp_path, NULL, NULL, NULL,
  /external/chromium_org/chrome/browser/chromeos/policy/
enterprise_install_attributes_unittest.cc 60 base::FilePath temp_path = base::MakeAbsoluteFilePath(temp_dir_.path()); local
61 return temp_path.Append("install_attrs_test");
  /external/chromium_org/chrome/browser/chromeos/drive/fileapi/
fileapi_worker_unittest.cc 165 base::FilePath temp_path; local
166 base::CreateTemporaryFile(&temp_path);
169 TestFileSystemForOpenFile file_system(temp_path, CREATE_FILE);
174 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
185 base::FilePath temp_path; local
186 base::CreateTemporaryFile(&temp_path);
187 google_apis::test_util::WriteStringToFile(temp_path, kInitialData);
191 TestFileSystemForOpenFile file_system(temp_path, OPEN_OR_CREATE_FILE);
196 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
207 base::FilePath temp_path; local
229 base::FilePath temp_path; local
250 base::FilePath temp_path; local
    [all...]
  /external/chromium_org/content/browser/fileapi/
transient_file_util_unittest.cc 80 base::FilePath temp_path; local
82 CreateAndRegisterTemporaryFile(&temp_url, &temp_path);
90 ASSERT_TRUE(base::PathExists(temp_path));
91 ASSERT_FALSE(base::DirectoryExists(temp_path));
98 ASSERT_EQ(temp_path, path);
102 ASSERT_TRUE(base::PathExists(temp_path));
106 ASSERT_EQ(temp_path, path);
114 ASSERT_FALSE(base::PathExists(temp_path));
  /external/chromium_org/content/shell/browser/
shell_browser_main.cc 193 base::FilePath temp_path; local
194 base::GetTempDir(&temp_path);
195 test_controller.SetTempPath(temp_path);
  /external/chromium_org/chrome/browser/sync_file_system/local/
syncable_file_operation_runner_unittest.cc 358 base::FilePath temp_path; local
359 ASSERT_TRUE(CreateTempFile(&temp_path));
362 temp_path, kTestData.data(), kTestData.size()));
370 temp_path, URL(kFile),
383 // Now the file must have been created and have the same content as temp_path.
  /external/chromium_org/third_party/webrtc/test/testsupport/
fileutils.cc 74 std::string temp_path = path; local
78 temp_path = path.substr(working_dir.length() + 1);
84 std::replace(temp_path.begin(), temp_path.end(), '/', '\\');
88 temp_path = temp_path.substr(0, temp_path.find_last_of(kPathDelimiter));
89 strncpy(relative_dir_path, temp_path.c_str(), FILENAME_MAX);
  /external/chromium_org/extensions/common/
file_util.cc 305 base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName); local
306 if (base::PathExists(temp_path)) {
307 if (!base::DirectoryExists(temp_path)) {
308 DLOG(WARNING) << "Not a directory: " << temp_path.value();
311 if (!base::PathIsWritable(temp_path)) {
312 DLOG(WARNING) << "Can't write to path: " << temp_path.value();
316 return temp_path;
320 if (!base::CreateDirectory(temp_path)) {
321 DLOG(WARNING) << "Couldn't create directory: " << temp_path.value();
324 return temp_path;
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
filemediaengine_unittest.cc 148 rtc::Pathname temp_path; local
149 if (!rtc::Filesystem::GetTemporaryFolder(temp_path, true, NULL)) {
152 temp_path.SetPathname(
153 rtc::Filesystem::TempFilename(temp_path, "fme-test-"));
156 *filename = temp_path.pathname();
  /external/chromium_org/third_party/webrtc/base/
win32regkey_unittest.cc 557 wchar_t temp_path[MAX_PATH] = {0}; local
558 EXPECT_LT(::GetTempPath(ARRAY_SIZE(temp_path), temp_path),
559 static_cast<DWORD>(ARRAY_SIZE(temp_path)));
561 EXPECT_NE(::GetTempFileName(temp_path, L"rkut_",
  /external/chromium_org/cloud_print/virtual_driver/win/install/
setup.cc 192 const base::FilePath* temp_path(
203 temp_path->Append(kDependencyList[i]).value().c_str());
251 base::ScopedTempDir temp_path; local
252 if (!temp_path.CreateUniqueTempDir())
254 ReadyDriverDependencies(temp_path.path());
259 base::FilePath file_path = temp_path.path().Append(kDependencyList[i]);
268 base::FilePath xps_path = temp_path.path().Append(kDriverName);
269 base::FilePath ui_path = temp_path.path().Append(kUiDriverName);
270 base::FilePath ui_help_path = temp_path.path().Append(kHelpName);
  /external/chromium_org/content/browser/loader/
resource_loader_unittest.cc 487 base::FilePath temp_path() const { return temp_path_; } function in class:content::ResourceLoaderRedirectToFileTest
562 EXPECT_EQ(temp_path(),
573 ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents));
580 EXPECT_FALSE(base::PathExists(temp_path()));
612 EXPECT_EQ(temp_path(),
623 EXPECT_FALSE(base::PathExists(temp_path()));
636 EXPECT_EQ(temp_path(),
647 EXPECT_FALSE(base::PathExists(temp_path()));
668 EXPECT_EQ(temp_path(),
687 EXPECT_FALSE(base::PathExists(temp_path()));
    [all...]
  /external/chromium_org/base/files/
file_util_win.cc 254 wchar_t temp_path[MAX_PATH + 1]; local
255 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
261 *path = FilePath(temp_path).StripTrailingSeparators();
  /external/chromium_org/chrome/installer/setup/
setup_main.cc 235 installer::SelfCleaningTempDir temp_path; local
236 if (!temp_path.Initialize(target_path.DirName(),
247 temp_path.path().value(),
251 temp_path.path().value(),
253 install_list->AddDeleteTreeWorkItem(chrome_new_exe, temp_path.path());
255 install_list->AddDeleteTreeWorkItem(chrome_old_exe, temp_path.path())->
286 // temp_path's dtor will take care of deleting or scheduling itself for
288 VLOG(1) << "Deleting temporary directory " << temp_path.path().value();
617 // Initializes |temp_path| to "Temp" within the target directory, and
619 // |temp_path|. Returns false on error
990 base::ScopedTempDir temp_path; local
1405 SelfCleaningTempDir temp_path; local
    [all...]
  /ndk/sources/host-tools/make-3.81/
job.c 254 char temp_path[MAXPATHLEN]; /* need to know its length */
255 unsigned path_size = GetTempPath(sizeof temp_path, temp_path);
262 path_size = GetCurrentDirectory (sizeof temp_path, temp_path);
267 path_size + sizemax < sizeof temp_path &&
270 unsigned size = sprintf (temp_path + path_size,
272 temp_path[path_size - 1] == '\\' ? "" : "\\",
274 HANDLE h = CreateFile (temp_path, /* file name */
293 path_size = GetCurrentDirectory (sizeof temp_path, temp_path)
252 char temp_path[MAXPATHLEN]; \/* need to know its length *\/ local
    [all...]
  /external/chromium_org/net/url_request/
url_request_unittest.cc 756 base::FilePath temp_path; local
757 EXPECT_TRUE(base::CreateTemporaryFile(&temp_path));
758 GURL temp_url = FilePathToFileURL(temp_path);
759 EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size));
762 EXPECT_TRUE(base::GetFileSize(temp_path, &file_size));
793 EXPECT_TRUE(base::DeleteFile(temp_path, false));
801 base::FilePath temp_path; local
802 EXPECT_TRUE(base::CreateTemporaryFile(&temp_path));
803 GURL temp_url = FilePathToFileURL(temp_path);
804 EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size))
845 base::FilePath temp_path; local
    [all...]

Completed in 1014 milliseconds