/external/chromium_org/cloud_print/service/win/ |
H A D | service_ipc_unittest.cc | 19 base::ScopedTempDir temp_dir; local 20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 22 ServiceListener service(temp_dir.path()); 24 EXPECT_EQ(setup.user_data_dir(), temp_dir.path()); 29 base::ScopedTempDir temp_dir; local 30 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 31 ServiceListener service(temp_dir.path()); 35 EXPECT_EQ(setup.user_data_dir(), temp_dir.path()); 40 base::ScopedTempDir temp_dir; local 41 ASSERT_TRUE(temp_dir [all...] |
/external/chromium_org/rlz/test/ |
H A D | rlz_unittest_main.cc | 33 base::ScopedTempDir temp_dir; local 34 if (temp_dir.CreateUniqueTempDir()) 35 rlz_lib::testing::SetRlzStoreDirectory(temp_dir.path());
|
/external/chromium_org/chrome/tools/crash_service/ |
H A D | main.cc | 23 base::FilePath temp_dir; local 24 if (!base::GetTempDir(&temp_dir)) 26 temp_dir = temp_dir.Append(L"chrome_crashes"); 27 if (!base::PathExists(temp_dir)) { 28 if (!base::CreateDirectory(temp_dir)) 31 *dir = temp_dir;
|
/external/chromium_org/build/ |
H A D | extract_from_cab.py | 34 temp_dir = tempfile.mkdtemp(dir=output_dir) 38 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir) 47 os.rename(os.path.join(temp_dir, archived_file), output_file) 49 shutil.rmtree(temp_dir, True)
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_browsertest.cc | 108 base::ScopedTempDir temp_dir; local 109 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 116 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 128 base::ScopedTempDir temp_dir; local 129 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 130 CreatePrefsFileInDirectory(temp_dir.path()); 137 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 149 base::ScopedTempDir temp_dir; local 150 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 161 temp_dir 176 base::ScopedTempDir temp_dir; local 202 base::ScopedTempDir temp_dir; local 235 base::ScopedTempDir temp_dir; local 276 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
H A D | util_unittest.cc | 16 base::ScopedTempDir temp_dir; local 17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 26 Status status = UnzipSoleFile(temp_dir.path(), data, &file); 34 base::ScopedTempDir temp_dir; local 35 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 45 Status status = UnzipSoleFile(temp_dir.path(), data, &file);
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_database_unittest.cc | 18 base::ScopedTempDir temp_dir; local 21 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 22 db_file = temp_dir.path().AppendASCII("DropBookmarks.db");
|
/external/chromium_org/chrome/installer/mini_installer/ |
H A D | decompress_test.cc | 24 base::ScopedTempDir temp_dir; local 25 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 27 temp_dir.path().Append(FILE_PATH_LITERAL("setup.exe")));
|
/external/chromium_org/chrome/installer/util/ |
H A D | logging_installer_unittest.cc | 18 base::ScopedTempDir temp_dir; local 19 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 21 base::FilePath temp_file = temp_dir.path().Append(L"temp"); 43 base::ScopedTempDir temp_dir; local 44 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 46 base::FilePath temp_file = temp_dir.path().Append(L"temp"); 65 base::ScopedTempDir temp_dir; local 66 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 68 base::FilePath temp_file = temp_dir.path().Append(L"temp"); 93 base::ScopedTempDir temp_dir; local [all...] |
H A D | self_cleaning_temp_dir_unittest.cc | 74 SelfCleaningTempDir temp_dir; local 75 EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three")); 76 EXPECT_EQ(parent_temp_dir.Append(L"Three"), temp_dir.path()); 77 EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); 78 EXPECT_TRUE(temp_dir.Delete()); 133 SelfCleaningTempDir temp_dir; local 134 EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three")); 135 EXPECT_EQ(parent_temp_dir.Append(L"Three"), temp_dir.path()); 136 EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); 158 SelfCleaningTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_linux_unittest.cc | 182 base::ScopedTempDir temp_dir; local 183 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 184 base::FilePath desktop_path = temp_dir.path(); 202 base::ScopedTempDir temp_dir; local 203 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 204 base::FilePath apps_path = temp_dir.path().AppendASCII("applications"); 207 env.Set("XDG_DATA_HOME", temp_dir.path().value()); 223 base::ScopedTempDir temp_dir; local 224 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 225 base::FilePath apps_path = temp_dir 282 base::ScopedTempDir temp_dir; local 305 base::ScopedTempDir temp_dir; local 324 base::ScopedTempDir temp_dir; local 385 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/third_party/zlib/google/ |
H A D | zip_unittest.cc | 118 base::ScopedTempDir temp_dir; local 119 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 121 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); 122 base::FilePath src_dir = temp_dir.path().AppendASCII("input"); 123 base::FilePath out_dir = temp_dir.path().AppendASCII("output"); 216 base::ScopedTempDir temp_dir; local 217 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 218 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); 229 base::ScopedTempDir temp_dir; local 230 ASSERT_TRUE(temp_dir 242 base::ScopedTempDir temp_dir; local 283 base::ScopedTempDir temp_dir; local 319 const base::FilePath& temp_dir = scoped_temp_dir.path(); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | pack_extension_unittest.cc | 32 base::ScopedTempDir temp_dir; local 33 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 34 EXPECT_TRUE(base::CopyDirectory(path, temp_dir.path(), true)); 37 temp_dir.path().Append(path.BaseName()));
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_unittest.cc | 55 base::ScopedTempDir temp_dir; local 56 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 65 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 85 base::ScopedTempDir temp_dir; local 86 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 96 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 147 base::ScopedTempDir temp_dir; local 148 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 164 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 217 base::ScopedTempDir temp_dir; local 244 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | activity_database_unittest.cc | 173 base::ScopedTempDir temp_dir; local 175 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 176 db_file = temp_dir.path().AppendASCII("ActivityInit.db"); 190 base::ScopedTempDir temp_dir; local 192 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 193 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 209 base::ScopedTempDir temp_dir; local 211 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 212 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 227 base::ScopedTempDir temp_dir; local 249 base::ScopedTempDir temp_dir; local 271 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/base/ |
H A D | platform_file_unittest.cc | 51 ScopedTempDir temp_dir; local 52 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 53 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 114 file_path = temp_dir.path().AppendASCII("create_file_2"); 130 ScopedTempDir temp_dir; local 131 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 132 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 166 ScopedTempDir temp_dir; local 167 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 168 FilePath file_path = temp_dir 245 ScopedTempDir temp_dir; local 298 ScopedTempDir temp_dir; local 353 ScopedTempDir temp_dir; local 422 ScopedTempDir temp_dir; local [all...] |
H A D | path_service_unittest.cc | 154 base::ScopedTempDir temp_dir; local 155 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 156 base::FilePath fake_cache_dir(temp_dir.path().AppendASCII("cache")); 162 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("cache2")); 177 base::MakeAbsoluteFilePath(temp_dir.path()).AppendASCII("non_existent")); 206 base::ScopedTempDir temp_dir; local 207 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 208 base::FilePath fake_cache_dir1(temp_dir.path().AppendASCII("1")); 213 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("2")); 236 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/common/importer/ |
H A D | firefox_importer_utils_unittest.cc | 105 base::ScopedTempDir temp_dir; local 106 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 108 temp_dir.path().AppendASCII("application.ini")); 113 EXPECT_EQ(GetFirefoxImporterName(temp_dir.path()),
|
/external/chromium_org/chrome/utility/media_galleries/ |
H A D | picasa_album_table_reader_unittest.cc | 16 base::ScopedTempDir temp_dir; local 17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 56 WriteAlbumTable(temp_dir.path(), category_vector, date_vector, 59 AlbumTableFiles album_table_files(temp_dir.path());
|
/external/chromium_org/base/files/ |
H A D | file_unittest.cc | 15 base::ScopedTempDir temp_dir; local 16 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 17 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 89 file_path = temp_dir.path().AppendASCII("create_file_2"); 102 base::ScopedTempDir temp_dir; local 103 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 104 FilePath file_path = temp_dir.path().AppendASCII("create_file"); 120 base::ScopedTempDir temp_dir; local 121 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 122 FilePath file_path = temp_dir 147 base::ScopedTempDir temp_dir; local 219 base::ScopedTempDir temp_dir; local 267 base::ScopedTempDir temp_dir; local 319 base::ScopedTempDir temp_dir; local 382 base::ScopedTempDir temp_dir; local 406 base::ScopedTempDir temp_dir; local 430 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/common/ |
H A D | service_process_util_linux.cc | 54 base::FilePath temp_dir; local 55 PathService::Get(base::DIR_TEMP, &temp_dir); 57 std::string pipe_path = temp_dir.Append(pipe_name).value();
|
/external/chromium_org/content/common/ |
H A D | shareable_file_reference_unittest.cc | 21 base::ScopedTempDir temp_dir; local 22 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 26 base::CreateTemporaryFileInDir(temp_dir.path(), &file);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | fileset.py | 50 with self._filesystem.mkdtemp() as temp_dir: 51 self._fileset.extract(self._filename, temp_dir) 53 src = self._filesystem.join(temp_dir, self._filename)
|
/external/qemu/android/utils/ |
H A D | 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 );
|
/external/chromium_org/build/win/importlibs/ |
H A D | create_importlib_win.py | 55 def __init__(self, temp_dir): 56 self._temp_dir = temp_dir 198 temp_dir = tempfile.mkdtemp() 199 _LOGGER.info('Created temporary directory "%s."', temp_dir) 202 generator = _ImportLibraryGenerator(temp_dir) 210 shutil.rmtree(temp_dir) 211 _LOGGER.info('Deleted temporary directory "%s."', temp_dir)
|