/external/chromium/chrome/browser/ |
shell_integration_unittest.cc | 84 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...] |
shell_integration_linux.cc | 76 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/ |
user_settings_unittest.cc | 168 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.path().AppendASCII("UserSettings.sqlite3")) 263 ScopedTempDir temp_dir; local [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
fileset.py | 52 with self._filesystem.mkdtemp() as temp_dir: 53 self._fileset.extract(self._filename, temp_dir) 55 src = self._filesystem.join(temp_dir, self._filename)
|
autoinstall.py | 70 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/ |
tempfile.c | 61 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 );
|
/bionic/libc/tools/zoneinfo/ |
generate | 19 temp_dir=`mktemp -d` 20 cd $temp_dir 21 trap "rm -rf $temp_dir; exit" INT TERM EXIT
|
/external/chromium/chrome/browser/extensions/ |
convert_user_script.cc | 55 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.
|
test_extension_prefs.h | 30 const FilePath& temp_dir() const { return temp_dir_.path(); } function in class:TestExtensionPrefs
|
convert_web_app.cc | 94 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.
|
sandboxed_extension_unpacker_unittest.cc | 28 void OnUnpackSuccess(const FilePath& temp_dir, 31 // Don't delete temp_dir here, we need to do some post op checking. 42 void(const FilePath& temp_dir,
|
sandboxed_extension_unpacker.h | 23 // 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,
|
extension_creator.cc | 257 ScopedTempDir temp_dir; 258 if (!temp_dir.CreateUniqueTempDir()) 265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &&
|
/external/chromium/chrome/common/ |
zip_unittest.cc | 124 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/ |
filereader_unittest.py | 63 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/ |
platform_file_unittest.cc | 62 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.path().AppendASCII("truncate_file") 253 ScopedTempDir temp_dir; local [all...] |
shared_memory_posix.cc | 290 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/ |
bloom_filter_unittest.cc | 93 ScopedTempDir temp_dir; 94 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 95 FilePath filter_path = temp_dir.path().AppendASCII("SafeBrowsingTestFilter");
|
safe_browsing_store_file_unittest.cc | 23 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/ |
queueengine_unittest.py | 65 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)
|
/cts/tools/utils/ |
buildCts.py | 68 self.temp_dir = sys.argv[3] 82 pool.apply_async(GenerateAppSecurityDescription, [self.temp_dir, 88 pool.apply_async(GenerateTestDescription, [self.test_root, self.temp_dir, 176 def GenerateAppSecurityDescription(temp_dir, test_repository, android_root, doclet_path): 184 temp_desc = os.path.join(temp_dir, 'description.xml') 198 def GenerateTestDescription(test_root, temp_dir, test_repository, android_root, 221 temp_desc = os.path.join(temp_dir, app_package_name + '-description.xml')
|
/build/tools/releasetools/ |
img_from_target_files | 62 temp_dir = tempfile.mkdtemp() 63 user_dir = os.path.join(temp_dir, "data") 93 os.rmdir(temp_dir)
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
api_unittest.py | 104 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/ |
gtest-filepath_test.cc | 539 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/ |
gtest-filepath_test.cc | 466 const char* temp_dir = getenv("TEMP"); 469 if (temp_dir == NULL || temp_dir[0] == '\0') 471 else if (String(temp_dir).EndsWith("\\")) 472 return String(temp_dir); 474 return String::Format("%s\\", temp_dir);
|