Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/python/Lib/unittest/test/
Dtest_discovery.py47 original_listdir = os.listdir
49 os.listdir = original_listdir
60 os.listdir = lambda path: path_lists.pop(0)
100 original_listdir = os.listdir
102 os.listdir = original_listdir
111 os.listdir = lambda path: path_lists.pop(0)
138 original_listdir = os.listdir
140 os.listdir = original_listdir
150 os.listdir = lambda path: path_lists.pop(0)
212 original_listdir = os.listdir
[all …]
/third_party/python/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__'))
Dtest_build_scripts.py39 built = os.listdir(target)
104 built = os.listdir(target)
/third_party/musl/scripts/
Dsearch_source_files.py10 src_list = os.listdir(path)
28 src_list = os.listdir(target_path)
43 src_list = os.listdir(src_path)
58 src_list = os.listdir(path + "/" + src_dir)
64 src_list = os.listdir(src_path)
137 file_list = os.listdir(dir)
/third_party/python/Lib/test/
Dtest_unicode_file_functions.py105 self._apply_failure(os.listdir, name)
119 self._apply_failure(os.listdir, name, self._listdir_failure)
138 self._apply_failure(os.listdir, name)
148 f1 = os.listdir(os_helper.TESTFN.encode(
150 f2 = os.listdir(os_helper.TESTFN)
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/model_utils/
Dmoxing_adapter.py87 print("Dataset downloaded: ", os.listdir(config.data_path))
90 print("Preload downloaded: ", os.listdir(config.load_path))
93 print("Workspace downloaded: ", os.listdir(config.output_path))
/third_party/flutter/skia/infra/bots/assets/opencl_ocl_icd_linux/
Dcreate.py31 for f in os.listdir('.'):
35 for f in os.listdir(lib_dir):
/third_party/mindspore/tests/st/dump/
Dtest_data_dump.py70 assert len(os.listdir(dump_file_path)) == 1
87 assert len(os.listdir(dump_file_path)) == 5
90 assert len(os.listdir(dump_file_path)) == 5
93 assert len(os.listdir(dump_file_path)) == 3
245 assert len(os.listdir(dump_file_path)) == 5
262 assert len(os.listdir(exe_graph_path)) == 1
/third_party/mindspore/mindspore/profiler/common/
Dutil.py110 files = os.listdir(input_path)
147 files = os.listdir(input_path)
201 files = os.listdir(profiler_dir)
226 files = os.listdir(profiler_dir)
/third_party/harfbuzz/src/
Dcheck-header-guards.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
Dcheck-c-linkage-decls.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
Dcheck-includes.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
/third_party/skia/third_party/externals/harfbuzz/src/
Dcheck-header-guards.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
Dcheck-c-linkage-decls.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
Dcheck-includes.py8 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith ('.h')]
10 [x for x in os.listdir ('.') if x.startswith ('hb') and x.endswith (('.cc', '.hh'))]
/third_party/python/Tools/scripts/
Dgenerate_stdlib_module_names.py61 for filename in os.listdir(STDLIB_PATH):
70 for name in os.listdir(STDLIB_PATH):
77 for package_file in os.listdir(package_path)):
/third_party/musl/ndk-test/script/
Dbuild.py22 for filename in os.listdir(target_dir):
39 for f_name in os.listdir(file_path):
77 for filename in os.listdir(tar_out):
/third_party/flutter/skia/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py55 for f in os.listdir('.'):
64 for d in os.listdir(parent_dir):
/third_party/skia/infra/bots/assets/skp/
Dcreate.py56 for f in os.listdir('skps'):
160 for f in os.listdir(src):
178 for f in os.listdir(new_skps_dir):
/third_party/python/Lib/lib2to3/tests/
Dtest_main.py93 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)))
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp_test.py114 for filename in os.listdir(args.testdir):
145 for filename in os.listdir(args.testdir):
198 for filename in os.listdir(args.testdir):
/third_party/node/test/testpy/
D__init__.py105 return [f for f in os.listdir(path) if LS_RE.match(f)]
142 for subpath in os.listdir(path):
144 for f in os.listdir(os.path.join(path, subpath)):
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Dgen_restricted_traces.py229 for file in os.listdir(trace):
290 for file in os.listdir(trace):
306 for file in os.listdir(trace):
/third_party/mindspore/mindspore/ops/bprop_mindir/
Dgenerate_mindir.py66 ls = os.listdir(bprop_src_dir)
80 ls = os.listdir(bprop_mindir_export_dir)
/third_party/skia/tools/skiaserve/tester/
Dtester.py12 from os import listdir
106 for skp in listdir(skp_dir):

12345678910>>...12