/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dircache.py | 14 self.tempdir = tempfile.mkdtemp() 17 for fname in os.listdir(self.tempdir): 19 os.rmdir(self.tempdir) 22 f = open(os.path.join(self.tempdir, fname), 'w') 26 os.mkdir(os.path.join(self.tempdir, fname)) 29 fname = os.path.join(self.tempdir, fname) 37 entries = dircache.listdir(self.tempdir) 41 self.assertTrue(dircache.listdir(self.tempdir) is entries) 54 entries = dircache.listdir(self.tempdir) 56 self.assertTrue(dircache.listdir(self.tempdir) is entries [all...] |
test_glob.py | 17 return os.path.normpath(os.path.join(self.tempdir, *parts)) 28 self.tempdir = TESTFN + "_dir" 43 shutil.rmtree(self.tempdir) 50 p = os.path.join(self.tempdir, pattern)
|
test_tarfile.py | 29 TEMPDIR = os.path.abspath(test_support.TESTFN) 31 gzipname = os.path.join(TEMPDIR, "testtar.tar.gz") 32 bz2name = os.path.join(TEMPDIR, "testtar.tar.bz2") 33 tmpname = os.path.join(TEMPDIR, "tmp.tar") 61 self.tar.extract("ustar/regtype", TEMPDIR) 63 fobj1 = open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") 77 self.tar.extract("ustar/regtype", TEMPDIR) 79 fobj1 = open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") 87 self.tar.extract("ustar/regtype", TEMPDIR) 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dircache.py | 14 self.tempdir = tempfile.mkdtemp() 17 for fname in os.listdir(self.tempdir): 19 os.rmdir(self.tempdir) 22 f = open(os.path.join(self.tempdir, fname), 'w') 26 os.mkdir(os.path.join(self.tempdir, fname)) 29 fname = os.path.join(self.tempdir, fname) 37 entries = dircache.listdir(self.tempdir) 41 self.assertTrue(dircache.listdir(self.tempdir) is entries) 54 entries = dircache.listdir(self.tempdir) 56 self.assertTrue(dircache.listdir(self.tempdir) is entries [all...] |
test_glob.py | 17 return os.path.normpath(os.path.join(self.tempdir, *parts)) 28 self.tempdir = TESTFN + "_dir" 43 shutil.rmtree(self.tempdir) 50 p = os.path.join(self.tempdir, pattern)
|
test_tarfile.py | 29 TEMPDIR = os.path.abspath(test_support.TESTFN) 31 gzipname = os.path.join(TEMPDIR, "testtar.tar.gz") 32 bz2name = os.path.join(TEMPDIR, "testtar.tar.bz2") 33 tmpname = os.path.join(TEMPDIR, "tmp.tar") 61 self.tar.extract("ustar/regtype", TEMPDIR) 63 fobj1 = open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") 77 self.tar.extract("ustar/regtype", TEMPDIR) 79 fobj1 = open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") 87 self.tar.extract("ustar/regtype", TEMPDIR) 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb" [all...] |
/external/chromium_org/tools/gyp/test/library_dirs/ |
gyptest-library-dirs.py | 15 lib_dir = test.tempdir('secret_location')
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
create_html_test.py | 24 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),
|
oshelpers_test.py | 55 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...] |
create_nmf_test.py | 110 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'))
|
getos_test.py | 134 self.tempdir = tempfile.mkdtemp("_sdktest") 136 {'NACL_SDK_ROOT': self.tempdir}) 140 shutil.rmtree(self.tempdir) 146 with open(os.path.join(self.tempdir, 'README'), 'w') as out:
|
/external/chromium_org/chrome/tools/build/mac/ |
build_app_dmg | 40 --tempdir "${TEMP_DIR}" \
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
sdk_update.py | 73 tempdir = tempfile.mkdtemp() 74 temp_sdktools = os.path.join(tempdir, 'sdk_tools') 99 RemoveDir(tempdir)
|
/external/skia/tools/ |
merge_static_libs.py | 23 tempdir = tempfile.mkdtemp() 28 os.chdir(tempdir) 52 shutil.rmtree(tempdir)
|
/external/clang/utils/analyzer/ |
reducer.pl | 3 use File::Temp qw/ tempdir /; 14 my $dir = tempdir( CLEANUP => 1 );
|
/build/tools/signapk/test/ |
run | 30 -key $(cert).pk -cert $(cert) -tempdir out
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_msvc9compiler.py | 143 tempdir = self.mkdtemp() 144 manifest = os.path.join(tempdir, 'manifest') 167 tempdir = self.mkdtemp() 168 manifest = os.path.join(tempdir, 'manifest')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_msvc9compiler.py | 143 tempdir = self.mkdtemp() 144 manifest = os.path.join(tempdir, 'manifest') 167 tempdir = self.mkdtemp() 168 manifest = os.path.join(tempdir, 'manifest')
|
/external/chromium_org/chrome/test/install_test/ |
install_test.py | 191 tempdir = util.MakeTempDir() 201 installer_path = os.path.join(tempdir, 'mini_installer_%s.exe' % build) 204 InstallTest._chrome_driver = os.path.join(tempdir, 'chromedriver.exe')
|
/external/chromium_org/base/json/ |
json_value_serializer_unittest.cc | 116 ScopedTempDir tempdir; local 117 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); 119 FilePath temp_file(tempdir.path().AppendASCII("test.json")); 140 ScopedTempDir tempdir; local 141 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); 143 FilePath temp_file(tempdir.path().AppendASCII("test.json"));
|
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/ |
Test.pm | 15 use File::Temp qw( tempdir ); 58 my $tmpdir = tempdir( CLEANUP => 1 );
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
util.py | 138 tempdir = tempfile.mkdtemp(prefix='pymp-') 139 info('created temp directory %s', tempdir) 140 Finalize(None, shutil.rmtree, args=[tempdir], exitpriority=-100) 141 current_process()._tempdir = tempdir
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
util.py | 138 tempdir = tempfile.mkdtemp(prefix='pymp-') 139 info('created temp directory %s', tempdir) 140 Finalize(None, shutil.rmtree, args=[tempdir], exitpriority=-100) 141 current_process()._tempdir = tempdir
|
/external/mksh/src/ |
check.pl | 236 $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" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tempfile.py | 15 tempdir - If this is set to a string before the first use of 26 "tempdir", "gettempdir" 253 """Accessor for tempdir.template.""" 256 tempdir = None variable 259 """Accessor for tempfile.tempdir.""" 260 global tempdir 261 if tempdir is None: 264 if tempdir is None: 265 tempdir = _get_default_tempdir() 268 return tempdir [all...] |