/external/chromium_org/tools/grit/grit/gather/ |
D | chrome_html_unittest.py | 37 tmp_dir = util.TempDir({ 63 html = chrome_html.ChromeHtml(tmp_dir.GetPath('index.html')) 83 tmp_dir.CleanUp() 89 tmp_dir = util.TempDir({ 104 html = chrome_html.ChromeHtml(tmp_dir.GetPath('index.html')) 117 tmp_dir.CleanUp() 122 tmp_dir = util.TempDir({ 136 html = chrome_html.ChromeHtml(tmp_dir.GetPath('test.css')) 146 tmp_dir.CleanUp() 151 tmp_dir = util.TempDir({ [all …]
|
D | chrome_scaled_image_unittest.py | 52 def _GetFilesInRc(rcname, tmp_dir, contents): argument 56 contents = dict((tmp_dir.GetPath(k), v) for k, v in contents.items()) 103 with util.TempDir(infiles) as tmp_dir: 104 with tmp_dir.AsCurrentDir(): 106 options.input = tmp_dir.GetPath('in/in.grd') 112 _GetFilesInPak(tmp_dir.GetPath('out/%s.pak' % context))) 115 _GetFilesInRc(tmp_dir.GetPath('out/%s.rc' % context), 116 tmp_dir, infiles))
|
/external/chromium_org/tools/grit/grit/format/ |
D | html_inline_unittest.py | 72 tmp_dir = util.TempDir(files) 74 source_resources.add(tmp_dir.GetPath(filename)) 76 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.html')) 77 resources.add(tmp_dir.GetPath('index.html')) 79 tmp_dir.CleanUp() 91 tmp_dir = util.TempDir(files) 93 source_resources.add(tmp_dir.GetPath(filename)) 95 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.js')) 96 resources.add(tmp_dir.GetPath('index.js')) 98 tmp_dir.CleanUp() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | page_set_archive_info_unittest.py | 38 self.tmp_dir = tempfile.mkdtemp() 40 self.page_set_archive_info_file = os.path.join(self.tmp_dir, 'info.json') 46 with open(os.path.join(self.tmp_dir, ('data_00%d.wpr' % i)), 'w') as f: 54 shutil.rmtree(self.tmp_dir) 70 recording1_path = os.path.join(self.tmp_dir, recording1) 71 recording2_path = os.path.join(self.tmp_dir, recording2) 73 new_recording1 = os.path.join(self.tmp_dir, 'data_003.wpr') 74 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr') 96 new_recording2 = os.path.join(self.tmp_dir, 'data_004.wpr') 123 page_set_file = os.path.join(self.tmp_dir, 'new_page_set.json') [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | client_side_detection_service_unittest.cc | 178 ScopedTempDir tmp_dir; in TEST_F() local 179 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir()); in TEST_F() 180 FilePath model_path = tmp_dir.path().AppendASCII("model"); in TEST_F() 203 model_path = tmp_dir.path().AppendASCII("another_model"); in TEST_F() 211 ScopedTempDir tmp_dir; in TEST_F() local 212 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir()); in TEST_F() 214 tmp_dir.path().AppendASCII("model"), NULL)); in TEST_F() 226 ScopedTempDir tmp_dir; in TEST_F() local 227 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir()); in TEST_F() 229 tmp_dir.path().AppendASCII("model"), NULL)); in TEST_F() [all …]
|
D | client_side_detection_host_unittest.cc | 126 ScopedTempDir tmp_dir; in SetUp() local 127 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir()); in SetUp() 128 FilePath model_path = tmp_dir.path().AppendASCII("model"); in SetUp()
|
/external/chromium_org/base/ |
D | os_compat_android_unittest.cc | 19 FilePath tmp_dir; in TEST_F() local 20 EXPECT_TRUE(base::GetTempDir(&tmp_dir)); in TEST_F() 23 FilePath sub_dir = tmp_dir.Append("XX"); in TEST_F() 34 FilePath sub_dir2 = tmp_dir.Append("XXXXXX"); in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
D | operation.cc | 191 base::FilePath tmp_dir; in UnzipStart() local 194 &tmp_dir)) { in UnzipStart() 199 AddCleanUpFunction(base::Bind(&RemoveTempDirectory, tmp_dir)); in UnzipStart() 201 if (!zip::Unzip(*zip_file, tmp_dir)) { in UnzipStart() 206 base::FileEnumerator file_enumerator(tmp_dir, in UnzipStart()
|
/external/chromium/base/memory/ |
D | scoped_temp_dir_unittest.cc | 53 FilePath tmp_dir; in TEST() local 54 EXPECT_TRUE(file_util::GetTempDir(&tmp_dir)); in TEST() 55 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos); in TEST()
|
/external/chromium_org/base/files/ |
D | scoped_temp_dir_unittest.cc | 57 FilePath tmp_dir; in TEST() local 58 EXPECT_TRUE(base::GetTempDir(&tmp_dir)); in TEST() 59 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos); in TEST()
|
/external/chromium_org/ipc/ |
D | unix_domain_socket_util_unittest.cc | 82 base::FilePath tmp_dir; in GetChannelDir() local 83 PathService::Get(base::DIR_CACHE, &tmp_dir); in GetChannelDir() 84 return tmp_dir; in GetChannelDir()
|
D | ipc_channel_posix_unittest.cc | 115 base::FilePath tmp_dir; in GetChannelDirName() local 116 PathService::Get(base::DIR_CACHE, &tmp_dir); in GetChannelDirName() 117 return tmp_dir.value(); in GetChannelDirName()
|
/external/chromium_org/content/common/ |
D | sandbox_mac_diraccess_unittest.mm | 150 base::FilePath tmp_dir; 152 &tmp_dir)); 156 tmp_dir = Sandbox::GetCanonicalSandboxPath(tmp_dir); 157 ScopedDirectory cleanup(&tmp_dir); 167 base::FilePath sandbox_dir = tmp_dir.Append(sandbox_dir_name); 175 base::FilePath sibling_sandbox_dir = tmp_dir.Append(
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | external_filesystem_apitest.cc | 84 bool InitializeLocalFileSystem(base::ScopedTempDir* tmp_dir, in InitializeLocalFileSystem() argument 86 if (!tmp_dir->CreateUniqueTempDir()) in InitializeLocalFileSystem() 89 *mount_point_dir = tmp_dir->path().AppendASCII("mount"); in InitializeLocalFileSystem()
|
/external/chromium_org/tools/grit/grit/ |
D | util_unittest.py | 91 with util.TempDir({}) as tmp_dir: 92 with tmp_dir.AsCurrentDir():
|
/external/chromium_org/chrome/test/chromedriver/ |
D | run_buildbot_steps.py | 325 tmp_dir = tempfile.gettempdir() 326 print 'cleaning temp directory:', tmp_dir 327 for file_name in os.listdir(tmp_dir): 328 file_path = os.path.join(tmp_dir, file_name)
|
/external/chromium_org/base/process/ |
D | process_util_unittest.cc | 136 FilePath tmp_dir; in GetSignalFilePath() 137 PathService::Get(base::DIR_CACHE, &tmp_dir); in GetSignalFilePath() 138 tmp_dir = tmp_dir.Append(filename); in GetSignalFilePath() 139 return tmp_dir.value(); in GetSignalFilePath()
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
D | db_bench_sqlite3.cc | 426 std::string tmp_dir; in Open() local 427 Env::Default()->GetTestDirectory(&tmp_dir); in Open() 430 tmp_dir.c_str(), in Open()
|
/external/chromium_org/chrome/installer/setup/ |
D | uninstall.cc | 478 base::FilePath tmp_dir; in MoveSetupOutOfInstallFolder() local 480 if (!PathService::Get(base::DIR_TEMP, &tmp_dir)) { in MoveSetupOutOfInstallFolder() 482 } else if (!base::CreateTemporaryFileInDir(tmp_dir, &temp_file)) { in MoveSetupOutOfInstallFolder() 485 VLOG(1) << "Changing current directory to: " << tmp_dir.value(); in MoveSetupOutOfInstallFolder() 486 if (!file_util::SetCurrentDirectory(tmp_dir)) in MoveSetupOutOfInstallFolder()
|
/external/chromium_org/third_party/lcov/bin/ |
D | lcov | 82 our $tmp_dir; 248 "lcov_tmp_dir" => \$tmp_dir, 1349 if (defined($tmp_dir)) { 1350 $dir = tempdir(DIR => $tmp_dir, CLEANUP => 1);
|