Home
last modified time | relevance | path

Searched refs:listdir (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/external/python/cpython3/Lib/unittest/test/
Dtest_discovery.py46 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/
Dtest_dircache.py17 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")
Dtest_pep277.py62 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/
Dtest_discovery.py29 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/
Dgen_client_test.py61 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/
Ddircache.rst29 .. 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/
Dbuild_meta.py97 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/
Dtest_build_py.py57 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/
Ddircache.py21 def listdir(path): function
30 list = os.listdir(path)
35 opendir = listdir # XXX backward compatibility
/external/python/cpython3/Lib/test/
Dtest_unicode_file_functions.py104 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/
Dcreate.py31 for f in os.listdir('.'):
35 for f in os.listdir(lib_dir):
/external/skqp/infra/bots/assets/opencl_ocl_icd_linux/
Dcreate.py31 for f in os.listdir('.'):
35 for f in os.listdir(lib_dir):
/external/autotest/client/site_tests/logging_UserCrash/
Dlogging_UserCrash.py131 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/
Dtest_bdist_egg.py44 [content] = os.listdir('dist')
61 [dist_name] = os.listdir('dist')
/external/autotest/frontend/tko/
Dpreconfigs.py28 os.listdir(self._get_preconfig_path(['metrics'])))
30 os.listdir(self._get_preconfig_path(['qual'])))
/external/skia/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py55 for f in os.listdir('.'):
64 for d in os.listdir(parent_dir):
/external/skqp/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py55 for f in os.listdir('.'):
64 for d in os.listdir(parent_dir):
/external/nanopb-c/examples/network_server/
Dclient.c46 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/
Dclient.c46 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/
Dfake_fs.py35 self._real_listdir = os.listdir
51 os.listdir = self._FakeListDir
61 os.listdir = self._real_listdir
/external/bcc/tools/
Dbpflist.py63 for fd in os.listdir(root):
73 for pdir in os.listdir('/proc'):
/external/python/setuptools/tests/
Dmanual_test.py61 site_pkg = os.listdir(purelib)
87 eggs = os.listdir('eggs')
/external/autotest/client/site_tests/logging_UdevCrash/
Dlogging_UdevCrash.py21 for filename in os.listdir(self._SYSTEM_CRASH_DIR):
59 for filename in os.listdir(DRIVER_DIR):
/external/v8/
Dmerge.py27 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/
DFixTk.py61 for name in os.listdir(prefix):
77 for name in os.listdir(prefix):

12345678910>>...20