Home
last modified time | relevance | path

Searched refs:file_list (Results 1 – 25 of 71) sorted by relevance

123

/external/python/cpython2/Lib/distutils/tests/
Dtest_filelist.py65 file_list = FileList()
69 file_list.allfiles = ['foo.tmp', 'ok', 'xo', 'four.txt',
88 file_list.process_template_line(line)
101 self.assertEqual(file_list.files, wanted)
104 file_list = FileList()
106 file_list.debug_print('xxx')
112 file_list.debug_print('xxx')
118 file_list = FileList()
120 file_list.set_allfiles(files)
121 self.assertEqual(file_list.allfiles, files)
[all …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_filelist.py67 file_list = FileList()
71 file_list.allfiles = ['foo.tmp', 'ok', 'xo', 'four.txt',
90 file_list.process_template_line(line)
103 self.assertEqual(file_list.files, wanted)
106 file_list = FileList()
108 file_list.debug_print('xxx')
114 file_list.debug_print('xxx')
120 file_list = FileList()
122 file_list.set_allfiles(files)
123 self.assertEqual(file_list.allfiles, files)
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_manifest.py370 file_list = FileList()
409 file_list.process_template_line(line)
423 file_list.sort()
424 assert file_list.files == wanted
428 file_list = FileList()
429 assert not file_list.exclude_pattern('*.py')
432 file_list = FileList()
433 file_list.files = ['a.py', 'b.py']
434 assert file_list.exclude_pattern('*.py')
437 file_list = FileList()
[all …]
/external/llvm-project/lldb/test/API/functionalities/breakpoint/scripted_bkpt/
DTestScriptedResolver.py84 file_list = lldb.SBFileSpecList()
90 ….append(target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list))
93 file_list.Append(lldb.SBFileSpec("main.c"))
94 ….append(target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list))
100 ….append(target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list))
103 file_list.Clear()
104 ….append(target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list))
113 file_list.Clear()
118 ….append(target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list))
121 file_list.Clear()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/
Dstaleness_test_lib.py26 def __init__(self, file_list): argument
28 file_list = list(file_list)
32 self.target_name = file_list.pop()
33 self.package_name = file_list.pop()
34 self.pattern = file_list.pop()
36 self.file_list = file_list
53 for filename in config.file_list:
Dstaleness_test.py13 file_list = """ variable
17 config = staleness_test_lib.Config(file_list)
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_v2_test.py65 file_list = gfile.ListDirectory(logdir)
66 self.assertEqual(len(file_list), 2)
101 file_list = gfile.ListDirectory(logdir)
102 self.assertEqual(len(file_list), 2)
115 file_list = gfile.ListDirectory(logdir)
116 self.assertEqual(len(file_list), 2)
/external/toolchain-utils/heatmaps/
Dheatmap_generator_test.py231 file_list = os.listdir('.')
232 self.assertNotIn('inst-histo.txt', file_list)
233 self.assertIn('inst-histo-hp.txt', file_list)
234 self.assertIn('inst-histo-sp.txt', file_list)
273 file_list = os.listdir('.')
274 self.assertIn('addr2symbol.txt', file_list)
288 file_list = os.listdir('.')
289 self.assertIn('addr2symbol.txt', file_list)
305 file_list = os.listdir('.')
306 self.assertIn('addr2symbol.txt', file_list)
/external/python/cpython2/Lib/test/
Dtest_unicode_file.py63 file_list = os.listdir(path)
66 if file_list and isinstance(file_list[0], str):
67 file_list = [f.decode(TESTFN_ENCODING) for f in file_list]
72 file_list = [unicodedata.normalize("NFD", f) for f in file_list]
74 self.assertIn(base, file_list)
/external/ethtool/
Dtest-common.c133 static struct list_head file_list = LIST_HEAD_INIT(file_list); variable
160 list_add(&node->link, &file_list); in test_open()
179 list_add(&node->link, &file_list); in test_socket()
188 list_for_each_safe(head, next, &file_list) { in test_close()
215 list_add(&node->link, &file_list); in test_fopen()
225 list_for_each_safe(head, next, &file_list) { in test_fclose()
241 list_for_each_safe(head, next, &file_list) { in test_close_all()
249 init_list_head(&file_list); in test_close_all()
/external/autotest/site_utils/presubmit_hooks/
Dcheck_json_files.py23 file_list = os.environ.get('PRESUBMIT_FILES')
24 if file_list is None:
28 for f in file_list.split():
/external/tpm2-tss/src/tss2-fapi/
Difapi_io.c566 NODE_OBJECT_T *file_list = NULL; in ifapi_io_dirfiles_all() local
567 r = dirfiles_all(searchPath, &file_list, numPaths); in ifapi_io_dirfiles_all()
578 while (n > 0 && file_list) { in ifapi_io_dirfiles_all()
580 pathlist2[n] = file_list->object; in ifapi_io_dirfiles_all()
581 head = file_list; in ifapi_io_dirfiles_all()
582 file_list = file_list->next; in ifapi_io_dirfiles_all()
589 while (file_list) { in ifapi_io_dirfiles_all()
590 head = file_list; in ifapi_io_dirfiles_all()
591 file_list = file_list->next; in ifapi_io_dirfiles_all()
/external/toybox/kconfig/
Dutil.c16 for (file = file_list; file; file = file->next) { in file_lookup()
24 file->next = file_list; in file_lookup()
25 file_list = file; in file_lookup()
41 for (file = file_list; file; file = file->next) { in file_write_dep()
/external/linux-kselftest/tools/testing/selftests/efivarfs/
Defivarfs.sh149 local file_list="abc dump-type0-11-1-1362436005 1234 -"
150 for f in $file_list; do
171 local file_list="
185 for f in $file_list; do
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py231 file_list = [] variable
233 file_list += glob.glob(f)
234 if not file_list:
238 PrintFiles(file_list)
240 MergeAndPrint(file_list)
242 Unpack(file_list)
244 RawUnpack(file_list)
/external/iptables/
Diptables-test.py295 file_list = os.listdir(EXTENSIONS_PATH)
296 testfiles = [i for i in file_list if i.endswith('.t')]
297 libfiles = [i for i in file_list
362 file_list = args.filename
364 file_list = [os.path.join(EXTENSIONS_PATH, i)
367 file_list.sort()
376 for filename in file_list:
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py234 file_list = [] variable
236 file_list += glob.glob(f)
237 if not file_list:
241 PrintFiles(file_list)
243 MergeAndPrint(file_list)
245 Unpack(file_list)
247 RawUnpack(file_list)
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_file.cc219 std::vector<string>* file_list, in GenerateSibling() argument
222 file_list->push_back(filename); in GenerateSibling()
242 std::vector<string>* file_list) { in GenerateSiblings() argument
247 output_directory, file_list, params_); in GenerateSiblings()
254 output_directory, file_list, params_); in GenerateSiblings()
/external/deqp-deps/amber/tools/
Dcopyright.py53 file_list = []
59 file_list.append(os.path.join(path, filename))
60 return file_list
Dcheck_language.py98 file_list = []
106 file_list.append(os.path.join(path, filename))
107 return file_list
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc200 std::vector<string>* file_list, in GenerateSibling() argument
203 file_list->push_back(filename); in GenerateSibling()
224 std::vector<string>* file_list) { in GenerateSiblings() argument
229 output_directory, file_list, params_); in GenerateSiblings()
/external/pigweed/pw_build/py/pw_build/
Dgenerate_python_package.py88 def _collect_all_files(files: List[Path], root: Path, file_list: TextIO,
93 other_files = [Path(p.rstrip()) for p in file_list]
171 file_list: TextIO,
190 pkg_data = _collect_all_files(files, root, file_list, file_list_root)
/external/python/cpython3/Lib/test/
Dtest_unicode_file.py46 file_list = os.listdir(path)
50 file_list = [unicodedata.normalize("NFD", f) for f in file_list]
52 self.assertIn(base, file_list)
Dtest_linecache.py54 self.file_byte_string = ''.join(self.file_list).encode('utf-8')
68 self.assertEqual(lines, self.file_list)
84 file_list = [] variable in EmptyFile
88 file_list = ['\n'] variable in SingleEmptyLine
92 file_list = ['á\n', 'b\n', 'abcdef\n', 'ááááá\n'] variable in GoodUnicode
/external/fonttools/Tests/varLib/
Dinterpolatable_test.py45 file_list = []
48 file_list.append(os.path.abspath(os.path.join(folder, p)))
49 return file_list

123