| /external/chromium_org/chrome/utility/media_galleries/ |
| pmp_column_reader_unittest.cc | 24 base::ScopedTempDir temp_dir; local 25 if (!temp_dir.CreateUniqueTempDir()) 29 if (!base::CreateTemporaryFileInDir(temp_dir.path(), &temp_path))
|
| /external/chromium_org/components/leveldb_proto/ |
| proto_database_impl_unittest.cc | 328 ScopedTempDir temp_dir; local 329 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 339 db->Init(temp_dir.path(), base::Bind(&MockDatabaseCaller::InitCallback, 354 ScopedTempDir temp_dir; local 355 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 369 EXPECT_TRUE(db->Init(temp_dir.path())); 374 EXPECT_TRUE(db->Init(temp_dir.path()));
|
| /external/chromium_org/content/browser/dom_storage/ |
| dom_storage_area_unittest.cc | 128 base::ScopedTempDir temp_dir; local 129 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 130 const base::FilePath kExpectedOriginFilePath = temp_dir.path().Append( 164 temp_dir.path(), 206 base::ScopedTempDir temp_dir; local 207 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 211 temp_dir.path(), 285 base::ScopedTempDir temp_dir; local 286 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 289 temp_dir.path() 312 base::ScopedTempDir temp_dir; local 373 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/content/browser/indexed_db/ |
| 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...] |
| indexed_db_internals_ui.cc | 208 base::ScopedTempDir temp_dir; local 209 if (!temp_dir.CreateUniqueTempDir()) 214 base::FilePath temp_path = temp_dir.Take(); 303 explicit FileDeleter(const base::FilePath& temp_dir) : temp_dir_(temp_dir) {}
|
| /external/chromium_org/content/browser/media/ |
| webrtc_identity_store_unittest.cc | 315 base::ScopedTempDir temp_dir; local 316 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 317 Restart(temp_dir.path()); 333 Restart(temp_dir.path()); 349 base::ScopedTempDir temp_dir; local 350 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 351 Restart(temp_dir.path()); 366 temp_dir.path().Append(FILE_PATH_LITERAL("WebRTCIdentityStore"));
|
| /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 );
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_tools.py | 16 from test.script_helper import assert_python_ok, temp_dir namespace 61 with temp_dir() as directory:
|
| test_runpy.py | 9 from test.script_helper import (temp_dir, make_script, compile_script, namespace 328 with temp_dir() as script_dir: 335 with temp_dir() as script_dir: 344 with temp_dir() as script_dir: 351 with temp_dir() as script_dir: 360 with temp_dir() as script_dir: 367 with temp_dir() as script_dir: 374 with temp_dir() as script_dir: 382 with temp_dir() as script_dir: 390 with temp_dir() as script_dir, temp_dir() as dummy_dir [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_tools.py | 16 from test.script_helper import assert_python_ok, temp_dir namespace 61 with temp_dir() as directory:
|
| test_runpy.py | 9 from test.script_helper import (temp_dir, make_script, compile_script, namespace 328 with temp_dir() as script_dir: 335 with temp_dir() as script_dir: 344 with temp_dir() as script_dir: 351 with temp_dir() as script_dir: 360 with temp_dir() as script_dir: 367 with temp_dir() as script_dir: 374 with temp_dir() as script_dir: 382 with temp_dir() as script_dir: 390 with temp_dir() as script_dir, temp_dir() as dummy_dir [all...] |
| /external/chromium_org/base/memory/ |
| shared_memory_posix.cc | 408 FilePath temp_dir; local 409 if (!GetShmemTempDir(false, &temp_dir)) 421 *path = temp_dir.AppendASCII(name_base + ".shmem." + mem_name);
|
| /external/chromium_org/chrome/browser/chromeos/drive/ |
| job_scheduler_unittest.cc | 603 base::ScopedTempDir temp_dir; local 604 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 607 temp_dir.path().AppendASCII("whatever.txt"); 656 base::ScopedTempDir temp_dir; local 657 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 660 temp_dir.path().AppendASCII("whatever.txt"); 709 base::ScopedTempDir temp_dir; local 710 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 713 temp_dir.path().AppendASCII("whatever.txt"); 754 base::ScopedTempDir temp_dir; local 800 base::ScopedTempDir temp_dir; local 918 base::ScopedTempDir temp_dir; local 969 base::ScopedTempDir temp_dir; local 1023 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/chrome/browser/drive/ |
| fake_drive_service_unittest.cc | 953 base::ScopedTempDir temp_dir; local 954 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 987 base::ScopedTempDir temp_dir; local 1009 base::ScopedTempDir temp_dir; local 1830 base::ScopedTempDir temp_dir; local 1900 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/chrome/browser/extensions/api/webstore_private/ |
| webstore_private_apitest.cc | 276 base::ScopedTempDir temp_dir; local 277 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 278 base::FilePath missing_directory = temp_dir.Take();
|
| /external/chromium_org/chrome/browser/extensions/ |
| sandboxed_unpacker.cc | 124 bool VerifyJunctionFreeLocation(base::FilePath* temp_dir) { 125 if (temp_dir->empty()) 129 if (!base::CreateTemporaryFileInDir(*temp_dir, &temp_file)) { 130 LOG(ERROR) << temp_dir->value() << " is not writable"; 144 LOG(ERROR) << temp_dir->value() << " seem to be on remote drive."; 146 *temp_dir = normalized_temp_file.DirName(); 158 // The result will be written to |temp_dir|. The function will write to this 161 base::FilePath* temp_dir) { 166 PathService::Get(base::DIR_TEMP, temp_dir); 167 if (VerifyJunctionFreeLocation(temp_dir)) 233 base::FilePath temp_dir; local [all...] |
| startup_helper.cc | 85 const base::FilePath& temp_dir, 87 : crx_file_(crx_file), temp_dir_(temp_dir), run_loop_(run_loop), 104 virtual void OnUnpackSuccess(const base::FilePath& temp_dir, 178 base::ScopedTempDir temp_dir; local 180 if (!temp_dir.CreateUniqueTempDir()) { 187 new ValidateCrxHelper(path, temp_dir.path(), &run_loop));
|
| /external/chromium_org/chrome/browser/performance_monitor/ |
| database_unittest.cc | 190 base::ScopedTempDir temp_dir; local 191 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 192 scoped_ptr<Database> db = Database::Create(temp_dir.path()); 199 base::ScopedTempDir temp_dir; local 200 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 205 scoped_ptr<Database> db_1 = Database::Create(temp_dir.path()); 214 scoped_ptr<Database> db_2 = Database::Create(temp_dir.path()); 223 scoped_ptr<Database> db_3 = Database::Create(temp_dir.path()); 239 base::ScopedTempDir temp_dir; local 240 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()) 260 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/chrome/browser/sync_file_system/local/ |
| local_file_sync_context_unittest.cc | 756 base::ScopedTempDir temp_dir; local 757 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 799 const base::FilePath kFilePath1(temp_dir.path().Append(FPL("file1"))); 800 const base::FilePath kFilePath2(temp_dir.path().Append(FPL("file2"))); 907 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/chrome/installer/util/ |
| installer_state_unittest.cc | 145 base::ScopedTempDir temp_dir; local 146 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 148 temp_dir.path()); 226 base::ScopedTempDir temp_dir; local 227 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 230 temp_dir.path()); 304 base::ScopedTempDir temp_dir; local 305 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 311 temp_dir.path()); 322 temp_dir.path()) 472 base::ScopedTempDir temp_dir; local [all...] |
| /external/chromium_org/content/public/test/ |
| test_launcher.cc | 238 base::FilePath temp_dir; local 240 FILE_PATH_LITERAL("d"), &temp_dir)); 241 user_data_dir_map_[full_name] = temp_dir; 294 base::FilePath temp_dir; local 296 FILE_PATH_LITERAL("d"), &temp_dir)); 297 user_data_dir_map_[test_name_no_pre] = temp_dir;
|
| /external/chromium_org/net/socket/ |
| unix_domain_socket_posix_unittest.cc | 56 base::FilePath temp_dir; local 57 base::GetTempDir(&temp_dir); 58 return temp_dir.Append(socket_file_name).value();
|
| /external/chromium_org/sandbox/win/src/ |
| file_policy_test.cc | 547 base::string16 temp_dir = temp_directory; local 548 base::string16 temp_file_in_temp = temp_dir + L"file_" + temp_file_title; 556 base::string16 temp_dir_wildcard = temp_dir + L"*"; 578 temp_dir_nt += temp_dir;
|
| /external/chromium_org/third_party/zlib/google/ |
| 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.CreateUniqueTempDir()) 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/apps/ |
| app_browsertest.cc | 179 const base::FilePath& temp_dir, 181 base::FilePath path = temp_dir.AppendASCII( 561 base::ScopedTempDir temp_dir; local 562 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 566 temp_dir.path(), 576 base::ScopedTempDir temp_dir; local 577 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 581 temp_dir.path(), 687 base::ScopedTempDir temp_dir; local 688 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()) [all...] |