Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/native_client_sdk/src/tools/tests/
Dcreate_html_test.py24 self.tempdir = None
27 if self.tempdir:
28 shutil.rmtree(self.tempdir)
39 self.tempdir = tempfile.mkdtemp("_sdktest")
40 expected_html = os.path.join(self.tempdir, 'foo.html')
41 nmf_file = os.path.join(self.tempdir, 'foo.nmf')
51 self.assertEqual(os.listdir(self.tempdir),
Doshelpers_test.py55 self.tempdir = tempfile.mkdtemp()
57 self.tempdir)
62 shutil.rmtree(self.tempdir)
65 return os.path.join(self.tempdir, basename)
68 with open(os.path.join(self.tempdir, rel_path), 'wb') as f:
73 return RunCmd('zip', list(args), cwd=self.tempdir)
194 self.tempdir = tempfile.mkdtemp()
196 self.tempdir)
199 shutil.rmtree(self.tempdir)
202 os.mkdir(os.path.join(self.tempdir, path))
[all …]
Dcreate_nmf_test.py110 self.tempdir = None
134 name = os.path.join(self.tempdir, name)
142 if self.tempdir:
143 shutil.rmtree(self.tempdir)
146 self.tempdir = tempfile.mkdtemp()
202 nmf.StageDependencies(self.tempdir)
205 contents = set(os.listdir(self.tempdir))
209 contents = os.listdir(os.path.join(self.tempdir, 'lib32'))
Dgetos_test.py136 self.tempdir = tempfile.mkdtemp("_sdktest")
138 {'NACL_SDK_ROOT': self.tempdir})
142 shutil.rmtree(self.tempdir)
148 with open(os.path.join(self.tempdir, 'README'), 'w') as out:
/external/skia/tools/
Dmerge_static_libs.py23 tempdir = tempfile.mkdtemp()
28 os.chdir(tempdir)
52 shutil.rmtree(tempdir)
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
Dsdk_update.py73 tempdir = tempfile.mkdtemp()
74 temp_sdktools = os.path.join(tempdir, 'sdk_tools')
99 RemoveDir(tempdir)
/external/mksh/src/
Dcheck.pl236 $tempdir = "/tmp/rtd$$";
300 die "$prog: couldn't make directory $tempdir - $!\n" if !mkdir($tempdir, 0777);
358 &scrub_dir($tempdir) if defined $tempdir;
359 rmdir($tempdir) if defined $tempdir;
447 return undef if !&scrub_dir($tempdir);
449 if (!chdir($tempdir)) {
450 print STDERR "$prog: couldn't cd to $tempdir - $!\n";
/external/chromium_org/third_party/sqlite/src/test/
Dlock3.test26 file mkdir tempdir/t1/t2/t3
27 sqlite3 db2 ./tempdir/t1//t2/./t3//./../..//./../../tempdir/..//test.db//
Dlock.test25 file mkdir tempdir/t1/t2
26 sqlite3 db2 ./tempdir/../tempdir/t1/.//t2/../../..//test.db
Dmisc1.test479 file mkdir tempdir
480 cd tempdir
494 file delete -force tempdir
/external/chromium_org/base/json/
Djson_value_serializer_unittest.cc116 ScopedTempDir tempdir; in TEST() local
117 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST()
119 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST()
140 ScopedTempDir tempdir; in TEST() local
141 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST()
143 FilePath temp_file(tempdir.path().AppendASCII("test.json")); in TEST()
/external/chromium_org/chrome/tools/build/mac/
Dbuild_app_dmg40 --tempdir "${TEMP_DIR}" \
/external/chromium_org/tools/gyp/test/library_dirs/
Dgyptest-library-dirs.py17 lib_dir = test.tempdir('secret_location')
/external/chromium_org/content/browser/download/
Ddownload_file_unittest.cc462 base::FilePath tempdir( in TEST_F() local
464 ASSERT_TRUE(base::CreateDirectory(tempdir)); in TEST_F()
465 base::FilePath target_path(tempdir.Append(initial_path.BaseName())); in TEST_F()
475 file_util::PermissionRestorer restorer(tempdir); in TEST_F()
476 ASSERT_TRUE(file_util::MakeFileUnwritable(tempdir)); in TEST_F()
/external/clang/utils/analyzer/
Dreducer.pl14 my $dir = tempdir( CLEANUP => 1 );
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm58 my $tmpdir = tempdir( CLEANUP => 1 );
/external/chromium_org/tools/
Dbisect-builds.py358 tempdir = tempfile.mkdtemp(prefix='bisect_tmp')
359 UnzipFilenameToDir(zipfile, tempdir)
360 os.chdir(tempdir)
393 shutil.rmtree(tempdir, True)
/external/chromium_org/remoting/host/installer/mac/
Ddo_signing.sh165 --tempdir "${DMG_TEMP_DIR}" \
/external/chromium_org/chrome/browser/component_updater/
Dbackground_downloader_win.cc701 base::FilePath tempdir; in InitializeNewJob() local
704 &tempdir)) in InitializeNewJob()
709 tempdir.Append(filename).AsUTF16Unsafe().c_str()); in InitializeNewJob()
/external/chromium_org/chrome/test/functional/
Dperf_endure.py129 tempdir = tempfile.gettempdir()
131 for filename in sorted(os.listdir(tempdir), reverse=True):
135 fullpath = os.path.abspath(os.path.join(tempdir, filename))
140 self._workdir = tempfile.mkdtemp(prefix=dir_prefix, dir=tempdir)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/
DparseDiffWithMockFiles.pl120 my $mockDir = File::Temp->tempdir("parseDiffXXXX", CLEANUP => 1);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dbase.py470 tempdir = self._filesystem.mkdtemp()
472 expected_filename = self._filesystem.join(str(tempdir), "expected.png")
475 actual_filename = self._filesystem.join(str(tempdir), "actual.png")
478 diff_filename = self._filesystem.join(str(tempdir), "diff.png")
503 self._filesystem.rmtree(str(tempdir))
/external/chromium_org/chrome/installer/mac/
Ddmgdiffer.sh363 --tempdir "${temp_dir}" \
/external/chromium_org/third_party/lcov/bin/
Dlcov1165 my $tempdir = create_temp_dir();
1167 info("Copying data to temporary directory $tempdir\n");
1168 lcov_copy($data, $tempdir, @dirs);
1170 return $tempdir;
1350 $dir = tempdir(DIR => $tmp_dir, CLEANUP => 1);
1352 $dir = tempdir(CLEANUP => 1);
/external/chromium_org/chrome/test/pyautolib/
Dpyauto.py2977 tempdir = tempfile.mkdtemp()
2979 os.chmod(tempdir, 0777)
2980 filename = os.path.join(tempdir, 'content.html')
2993 shutil.rmtree(tempdir, ignore_errors=True)

12