/external/chromium_org/base/ |
path_service_unittest.cc | 140 base::ScopedTempDir temp_dir; local 141 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 142 base::FilePath fake_cache_dir(temp_dir.path().AppendASCII("cache")); 148 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("cache2")); 163 base::MakeAbsoluteFilePath(temp_dir.path()).AppendASCII("non_existent")); 192 base::ScopedTempDir temp_dir; local 193 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 194 base::FilePath fake_cache_dir1(temp_dir.path().AppendASCII("1")); 199 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("2")); 222 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/build/android/gyp/ |
aidl.py | 27 with build_utils.TempDir() as temp_dir: 30 output = os.path.join(temp_dir, classname + '.java') 45 build_utils.ZipDir(options.srcjar, temp_dir)
|
/external/chromium_org/chrome/common/ |
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/ |
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/ |
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/chromium_org/third_party/skia/gm/rebaseline_server/ |
imagediffdb_test.py | 28 self.temp_dir = tempfile.mkdtemp() 32 shutil.rmtree(self.temp_dir) 79 db = imagediffdb.ImageDiffDB(self.temp_dir)
|
imagepair_test.py | 29 self.temp_dir = tempfile.mkdtemp() 33 shutil.rmtree(self.temp_dir) 194 db = imagediffdb.ImageDiffDB(self.temp_dir)
|
compare_configs_test.py | 41 generated_images_root=self.temp_dir,
|
/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 );
|
/external/chromium_org/build/win/importlibs/ |
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)
|
/external/chromium_org/chrome/installer/mac/ |
dmgdiffer.sh | 335 # patch_fs. The disk image's volume name is taken from volume_name. temp_dir 341 local temp_dir="${4}" 351 --tempdir "${temp_dir}" \ 369 local temp_dir 370 temp_dir="$(mktemp -d -t "${ME}")" 371 g_cleanup+=("${temp_dir}") 373 local old_mount_point="${temp_dir}/old" 380 local new_mount_point="${temp_dir}/new" 387 local patch_fs="${temp_dir}/patch" 405 package_patch_dmg "${patch_fs}" "${patch_dmg}" "${volume_name}" "${temp_dir}" [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
gallery_watch_manager_unittest.cc | 190 base::ScopedTempDir temp_dir; local 191 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 192 MediaGalleryPrefId id = AddGallery(temp_dir.path()); 289 base::ScopedTempDir temp_dir; 290 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 291 MediaGalleryPrefId id = AddGallery(temp_dir.path()); 304 base::ScopedTempDir temp_dir; 305 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 306 MediaGalleryPrefId id = AddGallery(temp_dir.path()); 319 base::ScopedTempDir temp_dir; [all...] |
/external/chromium_org/chrome/browser/extensions/ |
convert_web_app.cc | 97 base::ScopedTempDir temp_dir; local 98 if (!temp_dir.CreateUniqueTempDirUnderPath(install_temp_dir)) { 122 base::FilePath manifest_path = temp_dir.path().Append(kManifestFilename); 130 base::FilePath icons_dir = temp_dir.path().AppendASCII(kIconsDirName); 161 temp_dir.path(), 171 temp_dir.Take(); // The caller takes ownership of the directory.
|
sandboxed_unpacker_unittest.cc | 34 base::FilePath temp_dir() const { return temp_dir_; } function in class:extensions::MockSandboxedUnpackerClient 39 virtual void OnUnpackSuccess(const base::FilePath& temp_dir, 44 temp_dir_ = temp_dir; 99 return client_->temp_dir().AppendASCII(kTempExtensionName);
|
/external/chromium_org/chrome/installer/util/ |
self_cleaning_temp_dir.cc | 57 base::FilePath temp_dir(parent_dir.Append(temp_name)); 61 if (base::CreateDirectory(temp_dir)) { 63 temp_dir_ = temp_dir;
|
delete_tree_work_item_unittest.cc | 75 base::ScopedTempDir temp_dir; local 76 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 80 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(), 127 base::ScopedTempDir temp_dir; local 128 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 132 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(), 201 base::ScopedTempDir temp_dir; local 202 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 206 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(),
|
move_tree_work_item.h | 38 // supply a temporary directory, |temp_dir| to save the original files if 47 const base::FilePath& temp_dir,
|
work_item.cc | 36 const base::FilePath& temp_dir, 39 return new CopyTreeWorkItem(source_path, dest_path, temp_dir, 81 const base::FilePath& temp_dir, 85 temp_dir,
|
/external/chromium_org/mojo/shell/ |
dynamic_application_loader_unittest.cc | 81 base::ScopedTempDir temp_dir; local 82 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 84 GURL url(net::FilePathToFileURL(temp_dir.path().Append(nonexistent_file)));
|
/external/chromium_org/ui/gfx/test/ |
fontconfig_util_linux.cc | 109 bool LoadConfigDataIntoFontconfig(const base::FilePath& temp_dir, 112 if (!CreateTemporaryFileInDir(temp_dir, &path)) { 113 PLOG(ERROR) << "Unable to create temporary file in " << temp_dir.value();
|
/external/chromium_org/tools/gn/ |
function_write_file_unittest.cc | 37 base::ScopedTempDir temp_dir; local 38 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 39 setup.build_settings()->SetRootPath(temp_dir.path()); 51 base::FilePath foo_name = temp_dir.path().Append(FILE_PATH_LITERAL("out"))
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
kiosk_external_update_validator.h | 29 const base::FilePath& temp_dir) = 0; 55 virtual void OnUnpackSuccess(const base::FilePath& temp_dir,
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util_unittest.cc | 226 base::ScopedTempDir temp_dir; local 227 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 234 base::FilePath file = temp_dir.path().AppendASCII("test.gdoc"); 240 file = temp_dir.path().AppendASCII("test.gsheet"); 246 file = temp_dir.path().AppendASCII("test.gslides"); 252 file = temp_dir.path().AppendASCII("test.gdraw"); 258 file = temp_dir.path().AppendASCII("test.gtable"); 264 file = temp_dir.path().AppendASCII("test.txt");
|
/external/chromium_org/remoting/host/installer/ |
build-installer-archive.py | 171 def buildHostArchive(temp_dir, zip_path, source_file_roots, source_files, 176 temp_dir: Temporary dir used to build up the contents for the archive. 187 cleanDir(temp_dir) 190 dst_file = remapSrcFile(temp_dir, source_file_roots, f) 194 copyZipIntoArchive(temp_dir, source_file_roots, f) 201 dst_file = os.path.join(temp_dir, bd) 209 createZip(zip_path, temp_dir) 234 temp_dir = sys.argv[1] 284 result = buildHostArchive(temp_dir, zip_path, source_file_roots,
|
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_database_unittest.cc | 116 base::ScopedTempDir temp_dir; local 117 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 119 temp_dir.path().AppendASCII("TestDOMStorageDatabase.db"); 174 base::ScopedTempDir temp_dir; local 175 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 177 temp_dir.path().AppendASCII("TestDOMStorageDatabase.db"); 223 base::ScopedTempDir temp_dir; local 224 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 226 temp_dir.path().AppendASCII("TestDOMStorageDatabase.db"); 342 base::ScopedTempDir temp_dir; local [all...] |