Searched refs:temp_dir (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium/chrome/browser/
H A Dshell_integration_unittest.cc84 ScopedTempDir temp_dir; local
85 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
88 env.Set("XDG_DATA_HOME", temp_dir.path().value());
90 temp_dir.path().AppendASCII(kTemplateFilename),
99 ScopedTempDir temp_dir; local
100 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
103 env.Set("XDG_DATA_DIRS", temp_dir.path().value());
105 temp_dir.path().AppendASCII("applications")));
107 temp_dir.path().AppendASCII("applications")
117 ScopedTempDir temp_dir; local
[all...]
H A Dshell_integration_linux.cc76 ScopedTempDir temp_dir;
77 if (!temp_dir.CreateUniqueTempDir())
80 FilePath temp_file_path = temp_dir.path().Append(
154 ScopedTempDir temp_dir; local
155 if (!temp_dir.CreateUniqueTempDir())
158 FilePath temp_file_path = temp_dir.path().Append(shortcut_filename);
/external/chromium/chrome/browser/sync/util/
H A Duser_settings_unittest.cc168 ScopedTempDir temp_dir; local
169 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
170 SetUpVersion10Databases(temp_dir.path());
198 FilePath new_style_path = temp_dir.path().Append(
207 ScopedTempDir temp_dir; local
208 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
209 SetUpVersion11Database(temp_dir.path());
249 ScopedTempDir temp_dir; local
250 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
252 settings.Init(temp_dir
263 ScopedTempDir temp_dir; local
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dfileset.py52 with self._filesystem.mkdtemp() as temp_dir:
53 self._fileset.extract(self._filename, temp_dir)
55 src = self._filesystem.join(temp_dir, self._filename)
H A Dautoinstall.py70 target_dir=None, temp_dir=None):
84 temp_dir: The directory path to use for any temporary files
100 self._temp_dir = temp_dir
193 temp_dir = self._temp_dir
194 if temp_dir is None or os.path.exists(temp_dir):
197 self._create_directory(temp_dir, "autoinstall temp")
504 temp_dir = os.path.join(target_dir, "Temp") variable in class:AutoInstaller
507 temp_dir=temp_dir)
[all...]
/external/qemu/android/utils/
H A Dtempfile.c61 char temp_dir[MAX_PATH]; local
62 char *p = temp_dir, *end = p + sizeof(temp_dir);
71 retval = GetTempFileName(temp_dir, "TMP", 0, temp_namebuff);
73 D( "can't create temporary file in '%s'", temp_dir );
/external/chromium/chrome/browser/extensions/
H A Dconvert_user_script.cc55 ScopedTempDir temp_dir; local
56 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) {
134 FilePath manifest_path = temp_dir.path().Append(
144 temp_dir.path().AppendASCII("script.js"))) {
150 temp_dir.path(),
160 temp_dir.Take(); // The caller takes ownership of the directory.
H A Dtest_extension_prefs.h30 const FilePath& temp_dir() const { return temp_dir_.path(); } function in class:TestExtensionPrefs
H A Dconvert_web_app.cc94 ScopedTempDir temp_dir; local
95 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) {
136 FilePath manifest_path = temp_dir.path().Append(
145 FilePath icons_dir = temp_dir.path().AppendASCII(kIconsDirName);
171 temp_dir.path(),
181 temp_dir.Take(); // The caller takes ownership of the directory.
H A Dsandboxed_extension_unpacker_unittest.cc28 void OnUnpackSuccess(const FilePath& temp_dir, argument
31 // Don't delete temp_dir here, we need to do some post op checking.
42 void(const FilePath& temp_dir,
H A Dextension_creator.cc257 ScopedTempDir temp_dir;
258 if (!temp_dir.CreateUniqueTempDir())
265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &&
H A Dcrx_installer.h152 virtual void OnUnpackSuccess(const FilePath& temp_dir,
H A Dsandboxed_extension_unpacker.h23 // temp_dir - A temporary directory containing the results of the extension
26 // extension_root - The path to the extension root inside of temp_dir.
30 virtual void OnUnpackSuccess(const FilePath& temp_dir,
/external/chromium/chrome/common/
H A Dzip_unittest.cc124 ScopedTempDir temp_dir; local
125 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
126 FilePath zip_file = temp_dir.path().AppendASCII("out.zip");
137 ScopedTempDir temp_dir; local
138 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
139 FilePath zip_file = temp_dir.path().AppendASCII("out.zip");
/external/webkit/Tools/Scripts/webkitpy/style/
H A Dfilereader_unittest.py63 temp_dir = tempfile.mkdtemp()
67 self._temp_dir = temp_dir
101 temp_dir = os.path.join(self._temp_dir, 'test_dir')
102 os.mkdir(temp_dir)
104 self._file_reader.process_file(temp_dir)
117 "Skipping: '%s'\n " % temp_dir))
/external/chromium/base/
H A Dplatform_file_unittest.cc62 ScopedTempDir temp_dir; local
63 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
64 FilePath file_path = temp_dir.path().AppendASCII("create_file_1");
115 file_path = temp_dir.path().AppendASCII("create_file_2");
131 ScopedTempDir temp_dir; local
132 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
133 FilePath file_path = temp_dir.path().AppendASCII("read_write_file");
203 ScopedTempDir temp_dir; local
204 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
205 FilePath file_path = temp_dir
253 ScopedTempDir temp_dir; local
[all...]
H A Dshared_memory_posix.cc290 FilePath temp_dir; local
291 if (!file_util::GetShmemTempDir(&temp_dir))
294 *path = temp_dir.AppendASCII("com.google.chrome.shmem." + mem_name);
/external/chromium/chrome/browser/safe_browsing/
H A Dbloom_filter_unittest.cc93 ScopedTempDir temp_dir;
94 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
95 FilePath filter_path = temp_dir.path().AppendASCII("SafeBrowsingTestFilter");
H A Dsafe_browsing_store_file_unittest.cc23 FilePath temp_dir; local
24 ASSERT_TRUE(file_util::CreateNewTempDirectory(kFolderPrefix, &temp_dir));
26 file_deleter_.reset(new FileAutoDeleter(temp_dir));
28 filename_ = temp_dir;
/external/webkit/Tools/Scripts/webkitpy/tool/bot/
H A Dqueueengine_unittest.py65 return os.path.join(self._test.temp_dir, "queue_log_path")
69 return os.path.join(self._test.temp_dir, "work_log_path", "%s.log" % work_item)
139 self.assertTrue(os.path.exists(os.path.join(self.temp_dir, "queue_log_path")))
140 self.assertTrue(os.path.exists(os.path.join(self.temp_dir, "work_log_path", "work_item.log")))
202 self.temp_dir = tempfile.mkdtemp(suffix="work_queue_test_logs")
205 shutil.rmtree(self.temp_dir)
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
H A Dapi_unittest.py104 self.temp_dir = tempfile.mkdtemp(suffix="changelogs")
106 os.chdir(self.temp_dir)
111 shutil.rmtree(self.temp_dir, ignore_errors=True)
/external/chromium/testing/gtest/test/
H A Dgtest-filepath_test.cc539 const char* temp_dir = posix::GetEnv("TEMP");
540 if (temp_dir == NULL || temp_dir[0] == '\0')
542 else if (String(temp_dir).EndsWith("\\"))
543 return String(temp_dir);
545 return String::Format("%s\\", temp_dir);
/external/gtest/test/
H A Dgtest-filepath_test.cc539 const char* temp_dir = posix::GetEnv("TEMP");
540 if (temp_dir == NULL || temp_dir[0] == '\0')
542 else if (String(temp_dir).EndsWith("\\"))
543 return String(temp_dir);
545 return String::Format("%s\\", temp_dir);
/external/protobuf/gtest/test/
H A Dgtest-filepath_test.cc453 const char* temp_dir = posix::GetEnv("TEMP");
454 if (temp_dir == NULL || temp_dir[0] == '\0')
456 else if (String(temp_dir).EndsWith("\\"))
457 return String(temp_dir);
459 return String::Format("%s\\", temp_dir);
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator_unittest.cc329 ScopedTempDir temp_dir; local
330 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());

Completed in 353 milliseconds

12