/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 | 37 self.tmp_dir = tempfile.mkdtemp() 39 self.page_set_archive_info_file = os.path.join(self.tmp_dir, 'info.json') 45 with open(os.path.join(self.tmp_dir, ('data_00%d.wpr' % i)), 'w') as f: 53 shutil.rmtree(self.tmp_dir) 74 recording1_path = os.path.join(self.tmp_dir, recording1) 75 recording2_path = os.path.join(self.tmp_dir, recording2) 77 new_recording1 = os.path.join(self.tmp_dir, 'data_003.wpr') 78 new_temp_recording = os.path.join(self.tmp_dir, 'recording.wpr') 100 new_recording2 = os.path.join(self.tmp_dir, 'data_004.wpr') 127 page_set_file = os.path.join(self.tmp_dir, 'new_page_set.json') [all …]
|
/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/base/test/ |
D | perf_test_suite.cc | 29 base::FilePath tmp_dir; in Initialize() local 30 PathService::Get(base::DIR_CACHE, &tmp_dir); in Initialize() 31 log_path = tmp_dir.Append(log_path.BaseName()); in Initialize()
|
/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 | 121 base::FilePath tmp_dir; in GetChannelDirName() local 122 PathService::Get(base::DIR_CACHE, &tmp_dir); in GetChannelDirName() 123 return tmp_dir.value(); in GetChannelDirName()
|
/external/chromium_org/content/common/ |
D | sandbox_mac_diraccess_unittest.mm | 147 base::FilePath tmp_dir; 149 &tmp_dir)); 153 tmp_dir = Sandbox::GetCanonicalSandboxPath(tmp_dir); 154 ScopedDirectory cleanup(&tmp_dir); 164 base::FilePath sandbox_dir = tmp_dir.Append(sandbox_dir_name); 172 base::FilePath sibling_sandbox_dir = tmp_dir.Append(
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | app_indicator_icon.cc | 200 base::FilePath tmp_dir; in CreateTempImageFile() local 201 if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &tmp_dir)) in CreateTempImageFile() 203 new_file_path = GetImageDirectoryPath(using_kde4, tmp_dir); in CreateTempImageFile() 204 if (new_file_path != tmp_dir) { in CreateTempImageFile()
|
/external/lldb/scripts/ |
D | build-llvm.pl | 350 my $tmp_dir = $arch_dstroot; 364 $object_dir = "$tmp_dir/$archive_file"; 367 … do_command ("cd '$tmp_dir'; mkdir '$archive_file'; cd '$archive_file'; ar -x $archive_fullpath");
|
/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 | 371 tmp_dir = tempfile.gettempdir() 372 print 'cleaning temp directory:', tmp_dir 373 for file_name in os.listdir(tmp_dir): 374 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/chrome/browser/chromeos/file_manager/ |
D | external_filesystem_apitest.cc | 82 base::ScopedTempDir* tmp_dir, in InitializeLocalFileSystem() argument 84 if (!tmp_dir->CreateUniqueTempDir()) in InitializeLocalFileSystem() 87 *mount_point_dir = tmp_dir->path().AppendASCII(mount_point_name); in InitializeLocalFileSystem()
|
/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 | 476 base::FilePath tmp_dir; in MoveSetupOutOfInstallFolder() local 478 if (!PathService::Get(base::DIR_TEMP, &tmp_dir)) { in MoveSetupOutOfInstallFolder() 485 VLOG(1) << "Changing current directory to: " << tmp_dir.value(); in MoveSetupOutOfInstallFolder() 486 if (!base::SetCurrentDirectory(tmp_dir)) in MoveSetupOutOfInstallFolder() 492 if (!base::CreateTemporaryFileInDir(tmp_dir, &temp_file)) { 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);
|