/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 46 original_listdir = os.listdir 48 os.listdir = original_listdir 59 os.listdir = lambda path: path_lists.pop(0) 99 original_listdir = os.listdir 101 os.listdir = original_listdir 110 os.listdir = lambda path: path_lists.pop(0) 137 original_listdir = os.listdir 139 os.listdir = original_listdir 149 os.listdir = lambda path: path_lists.pop(0) 211 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/apitools/apitools/gen/ |
D | gen_client_test.py | 61 self.assertEquals(expected_files, set(os.listdir(tmp_dir_path))) 78 self.assertEquals(expected_files, set(os.listdir(tmp_dir_path))) 101 set(os.listdir(tmp_dir_path))) 117 set(os.listdir(tmp_dir_path))) 132 set(os.listdir(tmp_dir_path))) 147 set(os.listdir(tmp_dir_path)))
|
/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/setuptools/setuptools/ |
D | build_meta.py | 97 return [name for name in os.listdir(a_dir) 117 dist_infos = [f for f in os.listdir(dist_info_directory) 123 dist_info_directory, os.listdir(dist_info_directory)[0]) 151 wheels = [f for f in os.listdir(wheel_directory) 168 sdists = [f for f in os.listdir(sdist_directory)
|
/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__'))
|
/external/python/cpython2/Lib/ |
D | dircache.py | 21 def listdir(path): function 30 list = os.listdir(path) 35 opendir = listdir # XXX backward compatibility
|
/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/skia/infra/bots/assets/opencl_ocl_icd_linux/ |
D | create.py | 31 for f in os.listdir('.'): 35 for f in os.listdir(lib_dir):
|
/external/skqp/infra/bots/assets/opencl_ocl_icd_linux/ |
D | create.py | 31 for f in os.listdir('.'): 35 for f in os.listdir(lib_dir):
|
/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/python/setuptools/setuptools/tests/ |
D | test_bdist_egg.py | 44 [content] = os.listdir('dist') 61 [dist_name] = os.listdir('dist')
|
/external/autotest/frontend/tko/ |
D | preconfigs.py | 28 os.listdir(self._get_preconfig_path(['metrics']))) 30 os.listdir(self._get_preconfig_path(['qual'])))
|
/external/skia/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 55 for f in os.listdir('.'): 64 for d in os.listdir(parent_dir):
|
/external/skqp/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 55 for f in os.listdir('.'): 64 for d in os.listdir(parent_dir):
|
/external/nanopb-c/examples/network_server/ |
D | client.c | 46 bool listdir(int fd, char *path) in listdir() function 131 if (!listdir(sockfd, path)) in main()
|
/external/grpc-grpc/third_party/nanopb/examples/network_server/ |
D | client.c | 46 bool listdir(int fd, char *path) in listdir() function 135 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/bcc/tools/ |
D | bpflist.py | 63 for fd in os.listdir(root): 73 for pdir in os.listdir('/proc'):
|
/external/python/setuptools/tests/ |
D | manual_test.py | 61 site_pkg = os.listdir(purelib) 87 eggs = os.listdir('eggs')
|
/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/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):
|