/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 45 original_listdir = os.listdir 47 os.listdir = original_listdir 58 os.listdir = lambda path: path_lists.pop(0) 98 original_listdir = os.listdir 100 os.listdir = original_listdir 109 os.listdir = lambda path: path_lists.pop(0) 136 original_listdir = os.listdir 138 os.listdir = original_listdir 148 os.listdir = lambda path: path_lists.pop(0) 210 original_listdir = os.listdir [all …]
|
/external/python/cpython2/Lib/test/ |
D | 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")
|
D | test_pep277.py | 62 for fname in os.listdir(unicode(dirname)): 116 self._apply_failure(os.listdir, name, OSError, False) 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/python/cpython2/Lib/unittest/test/ |
D | test_discovery.py | 29 original_listdir = os.listdir 31 os.listdir = original_listdir 42 os.listdir = lambda path: path_lists.pop(0) 72 original_listdir = os.listdir 74 os.listdir = original_listdir 84 os.listdir = lambda path: path_lists.pop(0) 183 listdir = os.listdir 184 os.listdir = lambda _: ['test_this_does_not_exist.py'] 190 os.listdir = listdir 323 original_listdir = os.listdir [all …]
|
/external/python/cpython2/Doc/library/ |
D | dircache.rst | 29 .. function:: listdir(path) 31 Return a directory listing of *path*, as gotten from :func:`os.listdir`. Note 32 that unless *path* changes, further call to :func:`listdir` will not re-read the 41 Same as :func:`listdir`. Defined for backwards compatibility. 52 >>> a = dircache.listdir('/')
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_build_py.py | 57 files = os.listdir(pkgdest) 64 pyc_files = os.listdir(pycache_dir) 102 found = os.listdir(cmd.build_lib) 104 found = os.listdir(os.path.join(cmd.build_lib, '__pycache__')) 120 found = os.listdir(cmd.build_lib) 122 found = os.listdir(os.path.join(cmd.build_lib, '__pycache__'))
|
D | test_build_scripts.py | 39 built = os.listdir(target) 104 built = os.listdir(target)
|
/external/python/cpython2/Lib/ |
D | dircache.py | 21 def listdir(path): function 30 list = os.listdir(path) 35 opendir = listdir # XXX backward compatibility
|
/external/trappy/tests/ |
D | test_caching.py | 42 self.assertTrue(cache_dir in os.listdir(trace_dir)) 54 self.assertFalse(cache_dir in os.listdir(trace_dir)) 204 self.assertEquals(len(os.listdir(cache_dir)), number_of_trace_categories) 207 self.assertEquals(len(os.listdir(cache_dir)), number_of_trace_categories - 1) 211 self.assertEquals(len(os.listdir(cache_dir)), number_of_trace_categories)
|
/external/python/cpython3/Lib/test/ |
D | test_unicode_file_functions.py | 104 self._apply_failure(os.listdir, name) 118 self._apply_failure(os.listdir, name, self._listdir_failure) 137 self._apply_failure(os.listdir, name) 147 f1 = os.listdir(support.TESTFN.encode(sys.getfilesystemencoding())) 148 f2 = os.listdir(support.TESTFN)
|
/external/autotest/client/site_tests/logging_UserCrash/ |
D | logging_UserCrash.py | 131 crash_dir_size = len(os.listdir(crash_dir)) 150 if crash_dir_size != len(os.listdir(crash_dir)): 153 len(os.listdir(crash_dir)), 241 crash_contents = os.listdir(self._get_crash_dir('root'))
|
/external/autotest/frontend/tko/ |
D | preconfigs.py | 28 os.listdir(self._get_preconfig_path(['metrics']))) 30 os.listdir(self._get_preconfig_path(['qual'])))
|
/external/nanopb-c/examples/network_server/ |
D | client.c | 38 bool listdir(int fd, char *path) in listdir() function 110 if (!listdir(sockfd, path)) in main()
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | fake_fs.py | 35 self._real_listdir = os.listdir 51 os.listdir = self._FakeListDir 61 os.listdir = self._real_listdir
|
/external/autotest/client/site_tests/logging_UdevCrash/ |
D | logging_UdevCrash.py | 21 for filename in os.listdir(self._SYSTEM_CRASH_DIR): 59 for filename in os.listdir(DRIVER_DIR):
|
/external/python/cpython2/Demo/tix/samples/ |
D | Tree.py | 43 os.listdir(dir) 69 files = os.listdir(dir)
|
/external/v8/ |
D | merge.py | 27 new_files = [f for f in os.listdir(args.v8_path) if not f.startswith(".")] 28 current_files = [f for f in os.listdir(AOSP_PATH) if not f.startswith(".")]
|
/external/python/cpython2/Lib/lib-tk/ |
D | FixTk.py | 61 for name in os.listdir(prefix): 77 for name in os.listdir(prefix):
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_main.py | 103 set(os.listdir(self.py3_dest_dir))) 129 self.assertEqual(expected_files, set(os.listdir(self.py3_dest_dir))) 145 set(os.listdir(self.py3_dest_dir)))
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_main.py | 93 set(os.listdir(self.py3_dest_dir))) 119 self.assertEqual(expected_files, set(os.listdir(self.py3_dest_dir))) 135 set(os.listdir(self.py3_dest_dir)))
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_sdist.py | 123 files = os.listdir(dist_folder) 147 result = os.listdir(dist_folder) 160 result = os.listdir(dist_folder) 181 result = os.listdir(dist_folder) 239 files = os.listdir(dist_folder)
|
D | test_build_scripts.py | 39 built = os.listdir(target) 104 built = os.listdir(target)
|
/external/autotest/utils/ |
D | packager.py | 36 for f in os.listdir(prof_dir): 294 os.listdir(dir_name) 300 names_test = os.listdir(os.path.join(client_dir, 'tests')) 301 names_site_test = os.listdir(os.path.join(client_dir, 'site_tests'))
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
D | TestFormats.py | 60 for filename in os.listdir(source_path): 70 for subfilename in os.listdir(filepath): 106 for filename in os.listdir(source_path):
|
/external/skia/tools/skiaserve/tester/ |
D | tester.py | 12 from os import listdir 106 for skp in listdir(skp_dir):
|