/external/chromium/chrome/browser/ |
D | shell_integration_unittest.cc | 84 ScopedTempDir temp_dir; in TEST() local 85 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 88 env.Set("XDG_DATA_HOME", temp_dir.path().value()); in TEST() 90 temp_dir.path().AppendASCII(kTemplateFilename), in TEST() 99 ScopedTempDir temp_dir; in TEST() local 100 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 103 env.Set("XDG_DATA_DIRS", temp_dir.path().value()); in TEST() 105 temp_dir.path().AppendASCII("applications"))); in TEST() 107 temp_dir.path().AppendASCII("applications") in TEST() 117 ScopedTempDir temp_dir; in TEST() local [all …]
|
D | shell_integration_linux.cc | 76 ScopedTempDir temp_dir; in CreateShortcutIcon() local 77 if (!temp_dir.CreateUniqueTempDir()) in CreateShortcutIcon() 80 FilePath temp_file_path = temp_dir.path().Append( in CreateShortcutIcon() 154 ScopedTempDir temp_dir; in CreateShortcutInApplicationsMenu() local 155 if (!temp_dir.CreateUniqueTempDir()) in CreateShortcutInApplicationsMenu() 158 FilePath temp_file_path = temp_dir.path().Append(shortcut_filename); in CreateShortcutInApplicationsMenu()
|
/external/chromium/chrome/browser/sync/util/ |
D | user_settings_unittest.cc | 168 ScopedTempDir temp_dir; in TEST_F() local 169 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 170 SetUpVersion10Databases(temp_dir.path()); in TEST_F() 198 FilePath new_style_path = temp_dir.path().Append( in TEST_F() 207 ScopedTempDir temp_dir; in TEST_F() local 208 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 209 SetUpVersion11Database(temp_dir.path()); in TEST_F() 249 ScopedTempDir temp_dir; in TEST_F() local 250 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 252 settings.Init(temp_dir.path().AppendASCII("UserSettings.sqlite3")); in TEST_F() [all …]
|
/external/chromium/base/ |
D | platform_file_unittest.cc | 62 ScopedTempDir temp_dir; in TEST() local 63 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 64 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); in TEST() 115 file_path = temp_dir.path().AppendASCII("create_file_2"); in TEST() 131 ScopedTempDir temp_dir; in TEST() local 132 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 133 FilePath file_path = temp_dir.path().AppendASCII("read_write_file"); in TEST() 203 ScopedTempDir temp_dir; in TEST() local 204 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 205 FilePath file_path = temp_dir.path().AppendASCII("truncate_file"); in TEST() [all …]
|
D | shared_memory_posix.cc | 290 FilePath temp_dir; in FilePathForMemoryName() local 291 if (!file_util::GetShmemTempDir(&temp_dir)) in FilePathForMemoryName() 294 *path = temp_dir.AppendASCII("com.google.chrome.shmem." + mem_name); in FilePathForMemoryName()
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
D | 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/qemu/android/utils/ |
D | tempfile.c | 61 char temp_dir[MAX_PATH]; in tempfile_create() local 62 char *p = temp_dir, *end = p + sizeof(temp_dir); in tempfile_create() 71 retval = GetTempFileName(temp_dir, "TMP", 0, temp_namebuff); in tempfile_create() 73 D( "can't create temporary file in '%s'", temp_dir ); in tempfile_create()
|
/external/chromium/chrome/browser/extensions/ |
D | convert_user_script.cc | 55 ScopedTempDir temp_dir; in ConvertUserScriptToExtension() local 56 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) { in ConvertUserScriptToExtension() 134 FilePath manifest_path = temp_dir.path().Append( in ConvertUserScriptToExtension() 144 temp_dir.path().AppendASCII("script.js"))) { in ConvertUserScriptToExtension() 150 temp_dir.path(), in ConvertUserScriptToExtension() 160 temp_dir.Take(); // The caller takes ownership of the directory. in ConvertUserScriptToExtension()
|
D | convert_web_app.cc | 94 ScopedTempDir temp_dir; in ConvertWebAppToExtension() local 95 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) { in ConvertWebAppToExtension() 136 FilePath manifest_path = temp_dir.path().Append( in ConvertWebAppToExtension() 145 FilePath icons_dir = temp_dir.path().AppendASCII(kIconsDirName); in ConvertWebAppToExtension() 171 temp_dir.path(), in ConvertWebAppToExtension() 181 temp_dir.Take(); // The caller takes ownership of the directory. in ConvertWebAppToExtension()
|
D | extension_creator.cc | 257 ScopedTempDir temp_dir; in Run() local 258 if (!temp_dir.CreateUniqueTempDir()) in Run() 265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) && in Run()
|
D | sandboxed_extension_unpacker_unittest.cc | 28 void OnUnpackSuccess(const FilePath& temp_dir, in OnUnpackSuccess() argument 42 void(const FilePath& temp_dir,
|
D | test_extension_prefs.h | 30 const FilePath& temp_dir() const { return temp_dir_.path(); } in temp_dir() function
|
D | sandboxed_extension_unpacker.h | 30 virtual void OnUnpackSuccess(const FilePath& temp_dir,
|
/external/chromium/chrome/common/ |
D | zip_unittest.cc | 124 ScopedTempDir temp_dir; in TEST_F() local 125 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 126 FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); in TEST_F() 137 ScopedTempDir temp_dir; in TEST_F() local 138 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 139 FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); in TEST_F()
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
D | autoinstall.py | 70 target_dir=None, temp_dir=None): argument 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 507 temp_dir=temp_dir)
|
D | 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)
|
/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
D | 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)
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_store_file_unittest.cc | 23 FilePath temp_dir; in SetUp() local 24 ASSERT_TRUE(file_util::CreateNewTempDirectory(kFolderPrefix, &temp_dir)); in SetUp() 26 file_deleter_.reset(new FileAutoDeleter(temp_dir)); in SetUp() 28 filename_ = temp_dir; in SetUp()
|
D | bloom_filter_unittest.cc | 93 ScopedTempDir temp_dir; in TEST() local 94 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 95 FilePath filter_path = temp_dir.path().AppendASCII("SafeBrowsingTestFilter"); in TEST()
|
/external/gtest/test/ |
D | gtest_xml_output_unittest.py | 123 temp_dir = tempfile.mkdtemp() 124 output_file = os.path.join(temp_dir, 136 working_dir=temp_dir)
|
D | gtest-filepath_test.cc | 466 const char* temp_dir = getenv("TEMP"); in TempDir() 469 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir() 471 else if (String(temp_dir).EndsWith("\\")) in TempDir() 472 return String(temp_dir); in TempDir() 474 return String::Format("%s\\", temp_dir); in TempDir()
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
D | 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/protobuf/gtest/test/ |
D | gtest-filepath_test.cc | 453 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir() 454 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir() 456 else if (String(temp_dir).EndsWith("\\")) in TempDir() 457 return String(temp_dir); in TempDir() 459 return String::Format("%s\\", temp_dir); in TempDir()
|
/external/chromium/testing/gtest/test/ |
D | gtest-filepath_test.cc | 539 const char* temp_dir = posix::GetEnv("TEMP"); in TempDir() 540 if (temp_dir == NULL || temp_dir[0] == '\0') in TempDir() 542 else if (String(temp_dir).EndsWith("\\")) in TempDir() 543 return String(temp_dir); in TempDir() 545 return String::Format("%s\\", temp_dir); in TempDir()
|
/external/chromium/chrome/browser/tab_contents/ |
D | thumbnail_generator_unittest.cc | 329 ScopedTempDir temp_dir; in TEST() local 330 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
|