/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dircache.py | 3 The listdir() routine returns a sorted list of the files in a directory, 12 __all__ = ["listdir", "opendir", "annotate", "reset"] 21 def listdir(path): function 30 list = os.listdir(path) 35 opendir = listdir # XXX backward compatibility
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dircache.py | 3 The listdir() routine returns a sorted list of the files in a directory, 12 __all__ = ["listdir", "opendir", "annotate", "reset"] 21 def listdir(path): function 30 list = os.listdir(path) 35 opendir = listdir # XXX backward compatibility
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dircache.py | 17 for fname in os.listdir(self.tempdir): 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) 59 self.assertRaises(OSError, dircache.listdir, self.tempdir+"_nonexistent")
|
test_pep277.py | 2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir 61 # must pass unicode to os.listdir() so we get back unicode results. 62 for fname in os.listdir(unicode(dirname)): 115 # listdir may append a wildcard to the filename, so dont check 116 self._apply_failure(os.listdir, name, OSError, False) 142 # listdir may append a wildcard to the filename, so dont check 143 self._apply_failure(os.listdir, name, OSError, False) 151 f1 = os.listdir(test_support.TESTFN) 152 f2 = os.listdir(unicode(test_support.TESTFN,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dircache.py | 17 for fname in os.listdir(self.tempdir): 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) 59 self.assertRaises(OSError, dircache.listdir, self.tempdir+"_nonexistent")
|
test_pep277.py | 2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir 61 # must pass unicode to os.listdir() so we get back unicode results. 62 for fname in os.listdir(unicode(dirname)): 115 # listdir may append a wildcard to the filename, so dont check 116 self._apply_failure(os.listdir, name, OSError, False) 142 # listdir may append a wildcard to the filename, so dont check 143 self._apply_failure(os.listdir, name, OSError, False) 151 f1 = os.listdir(test_support.TESTFN) 152 f2 = os.listdir(unicode(test_support.TESTFN,
|
/external/chromium_org/chrome/test/pyautolib/ |
pyauto_utils_test.py | 22 self.assertEqual(0, len(os.listdir(self._workdir))) 44 self.assertEqual(0, len(os.listdir(self._workdir))) 53 self.assertEqual(2, len(os.listdir(self._workdir))) 55 self.assertEqual(1, len(os.listdir(self._workdir))) 64 self.assertEqual(0, len(os.listdir(mydir))) 73 self.assertEqual(1, len(os.listdir(self._workdir))) 78 self.assertEqual(2, len(os.listdir(self._workdir))) 81 self.assertEqual(1, len(os.listdir(self._workdir)))
|
generate_docs.py | 33 previous_contents = set(os.listdir(os.getcwd())) 35 current_contents = set(os.listdir(os.getcwd()))
|
policy_posix_util.py | 18 dirList = os.listdir(sys.argv[3])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
__init__.py | 26 for fn in os.listdir(here):
|
test_build_scripts.py | 39 built = os.listdir(target) 104 built = os.listdir(target)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
__init__.py | 16 tests = [t[0:-3] for t in os.listdir(tests_dir)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 11 for fn in os.listdir(here):
|
test_discovery.py | 28 original_listdir = os.listdir 30 os.listdir = original_listdir 41 os.listdir = lambda path: path_lists.pop(0) 71 original_listdir = os.listdir 73 os.listdir = original_listdir 83 os.listdir = lambda path: path_lists.pop(0) 182 listdir = os.listdir 183 os.listdir = lambda _: ['test_this_does_not_exist.py'] 189 os.listdir = listdi 335 def listdir(_): function in function:TestDiscovery.test_detect_module_clash [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
__init__.py | 26 for fn in os.listdir(here):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
__init__.py | 16 tests = [t[0:-3] for t in os.listdir(tests_dir)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 11 for fn in os.listdir(here):
|
test_discovery.py | 28 original_listdir = os.listdir 30 os.listdir = original_listdir 41 os.listdir = lambda path: path_lists.pop(0) 71 original_listdir = os.listdir 73 os.listdir = original_listdir 83 os.listdir = lambda path: path_lists.pop(0) 182 listdir = os.listdir 183 os.listdir = lambda _: ['test_this_does_not_exist.py'] 189 os.listdir = listdi 335 def listdir(_): function in function:TestDiscovery.test_detect_module_clash [all...] |
/cts/suite/audio_quality/test_description/conf/ |
detect_usb_audio.py | 35 sound_dev_list = os.listdir(AUDIO_CLASS_DIR)
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 60 for filename in os.listdir(directory):
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/bindings/ |
main.py | 152 for input_file in os.listdir(input_directory) 159 for input_file in os.listdir(support_input_directory) 217 for output_file in os.listdir(output_directory) 224 generated_files = set(os.listdir(self.output_directory)) 227 for output_file in os.listdir(reference_directory) 242 for input_filename in os.listdir(directory):
|
/external/chromium_org/tools/site_compare/ |
site_compare.py | 111 base = (base[0], max(os.listdir(base_dir))) 115 compare = (compare[0], min(os.listdir(compare_dir))) 133 for filename in os.listdir(base_dir):
|
/external/chromium_org/build/android/gyp/ |
process_resources.py | 59 for src_dir_name in os.listdir(res_root): 71 for src_file_name in os.listdir(src_dir):
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
local_file_system.py | 28 files = os.listdir(dir_name) 30 raise FileNotFoundError('os.listdir failed for %s: %s' % (dir_name, e)) 47 for filename in os.listdir(path))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
FixTk.py | 58 for name in os.listdir(prefix): 74 for name in os.listdir(prefix):
|