Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/tools/grit/grit/gather/
Dchrome_html_unittest.py37 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 …]
Dchrome_scaled_image_unittest.py52 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/
Dhtml_inline_unittest.py72 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/
Dpage_set_archive_info_unittest.py37 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/
Dos_compat_android_unittest.cc19 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/
Dperf_test_suite.cc29 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/
Dscoped_temp_dir_unittest.cc57 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/
Dunix_domain_socket_util_unittest.cc82 base::FilePath tmp_dir; in GetChannelDir() local
83 PathService::Get(base::DIR_CACHE, &tmp_dir); in GetChannelDir()
84 return tmp_dir; in GetChannelDir()
Dipc_channel_posix_unittest.cc121 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/
Dsandbox_mac_diraccess_unittest.mm147 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/
Dapp_indicator_icon.cc200 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/
Dbuild-llvm.pl350 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/
Dutil_unittest.py91 with util.TempDir({}) as tmp_dir:
92 with tmp_dir.AsCurrentDir():
/external/chromium_org/chrome/test/chromedriver/
Drun_buildbot_steps.py371 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/
Dprocess_util_unittest.cc136 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/
Dexternal_filesystem_apitest.cc82 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/
Ddb_bench_sqlite3.cc426 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/
Duninstall.cc476 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/
Dlcov82 our $tmp_dir;
248 "lcov_tmp_dir" => \$tmp_dir,
1349 if (defined($tmp_dir)) {
1350 $dir = tempdir(DIR => $tmp_dir, CLEANUP => 1);