Searched refs:tmp_dir (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/tools/grit/grit/format/
H A 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
[all...]
/external/chromium_org/tools/grit/grit/gather/
H A 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
[all...]
H A Dchrome_scaled_image_unittest.py52 def _GetFilesInRc(rcname, tmp_dir, contents):
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/base/
H A Dos_compat_android_unittest.cc19 FilePath tmp_dir; local
20 EXPECT_TRUE(base::GetTempDir(&tmp_dir));
23 FilePath sub_dir = tmp_dir.Append("XX");
34 FilePath sub_dir2 = tmp_dir.Append("XXXXXX");
/external/chromium/chrome/browser/safe_browsing/
H A Dclient_side_detection_service_unittest.cc178 ScopedTempDir tmp_dir; local
179 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
180 FilePath model_path = tmp_dir.path().AppendASCII("model");
203 model_path = tmp_dir.path().AppendASCII("another_model");
211 ScopedTempDir tmp_dir; local
212 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
214 tmp_dir.path().AppendASCII("model"), NULL));
226 ScopedTempDir tmp_dir; local
227 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
229 tmp_dir
276 ScopedTempDir tmp_dir; local
294 ScopedTempDir tmp_dir; local
304 ScopedTempDir tmp_dir; local
[all...]
H A Dclient_side_detection_host_unittest.cc126 ScopedTempDir tmp_dir; local
127 ASSERT_TRUE(tmp_dir.CreateUniqueTempDir());
128 FilePath model_path = tmp_dir.path().AppendASCII("model");
/external/chromium_org/tools/telemetry/telemetry/page/
H A Dpage_set_archive_info_unittest.py38 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_se
[all...]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Doperation.cc191 base::FilePath tmp_dir; local
194 &tmp_dir)) {
199 AddCleanUpFunction(base::Bind(&RemoveTempDirectory, tmp_dir));
201 if (!zip::Unzip(*zip_file, tmp_dir)) {
206 base::FileEnumerator file_enumerator(tmp_dir,
/external/chromium/base/memory/
H A Dscoped_temp_dir_unittest.cc53 FilePath tmp_dir; local
54 EXPECT_TRUE(file_util::GetTempDir(&tmp_dir));
55 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos);
/external/chromium_org/base/files/
H A Dscoped_temp_dir_unittest.cc57 FilePath tmp_dir; local
58 EXPECT_TRUE(base::GetTempDir(&tmp_dir));
59 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos);
/external/chromium_org/ipc/
H A Dunix_domain_socket_util_unittest.cc82 base::FilePath tmp_dir; local
83 PathService::Get(base::DIR_CACHE, &tmp_dir);
84 return tmp_dir;
H A Dipc_channel_posix_unittest.cc115 base::FilePath tmp_dir; local
116 PathService::Get(base::DIR_CACHE, &tmp_dir);
117 return tmp_dir.value();
/external/chromium_org/tools/grit/grit/
H A Dutil_unittest.py91 with util.TempDir({}) as tmp_dir:
92 with tmp_dir.AsCurrentDir():
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dexternal_filesystem_apitest.cc84 bool InitializeLocalFileSystem(base::ScopedTempDir* tmp_dir, argument
86 if (!tmp_dir->CreateUniqueTempDir())
89 *mount_point_dir = tmp_dir->path().AppendASCII("mount");
/external/chromium_org/chrome/test/chromedriver/
H A Drun_buildbot_steps.py325 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/
H A Dprocess_util_unittest.cc136 FilePath tmp_dir;
137 PathService::Get(base::DIR_CACHE, &tmp_dir);
138 tmp_dir = tmp_dir.Append(filename);
139 return tmp_dir.value();
/external/chromium_org/third_party/leveldatabase/src/doc/bench/
H A Ddb_bench_sqlite3.cc426 std::string tmp_dir; local
427 Env::Default()->GetTestDirectory(&tmp_dir);
430 tmp_dir.c_str(),
/external/chromium_org/chrome/installer/setup/
H A Duninstall.cc478 base::FilePath tmp_dir; local
480 if (!PathService::Get(base::DIR_TEMP, &tmp_dir)) {
482 } else if (!base::CreateTemporaryFileInDir(tmp_dir, &temp_file)) {
485 VLOG(1) << "Changing current directory to: " << tmp_dir.value();
486 if (!file_util::SetCurrentDirectory(tmp_dir))
/external/chromium_org/third_party/lcov/bin/
H A Dlcov82 our $tmp_dir;
248 "lcov_tmp_dir" => \$tmp_dir,
1349 if (defined($tmp_dir)) {
1350 $dir = tempdir(DIR => $tmp_dir, CLEANUP => 1);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 620 milliseconds