Home
last modified time | relevance | path

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

123

/third_party/python/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 …]
/third_party/grpc/third_party/upb/tools/
Dstaleness_test_lib.py25 def __init__(self, file_list): argument
27 file_list = list(file_list)
31 self.target_name = file_list.pop()
32 self.package_name = file_list.pop()
33 self.pattern = file_list.pop()
35 self.file_list = file_list
52 for filename in config.file_list:
Dstaleness_test.py13 file_list = """ variable
17 config = staleness_test_lib.Config(file_list)
/third_party/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)
/third_party/glib/gio/inotify/
Dinotify-path.c165 GList *file_list; in ip_map_wd_file() local
168 file_list = g_hash_table_lookup (wd_file_hash, GINT_TO_POINTER (wd)); in ip_map_wd_file()
169 file_list = g_list_prepend (file_list, file); in ip_map_wd_file()
170 g_hash_table_replace (wd_file_hash, GINT_TO_POINTER (wd), file_list); in ip_map_wd_file()
177 GList *file_list = g_hash_table_lookup (wd_file_hash, GINT_TO_POINTER (wd)); in ip_unmap_wd_file() local
179 if (!file_list) in ip_unmap_wd_file()
183 file_list = g_list_remove (file_list, file); in ip_unmap_wd_file()
184 if (file_list == NULL) in ip_unmap_wd_file()
187 g_hash_table_replace (wd_file_hash, GINT_TO_POINTER (wd), file_list); in ip_unmap_wd_file()
440 GList *file_list, in ip_event_dispatch() argument
[all …]
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_minddata_test.cc119 std::vector<std::string> file_list = {file_path1, file_path2}; in TEST_F() local
120 std::shared_ptr<Dataset> ds = MindData(file_list); in TEST_F()
230 std::vector<std::string> file_list = {file_path1}; in TEST_F() local
233 …std::shared_ptr<Dataset> ds1 = MindData(file_list, {}, std::make_shared<SequentialSampler>(0, 10)); in TEST_F()
237 …std::shared_ptr<Dataset> ds2 = MindData(file_list, {}, std::make_shared<RandomSampler>(false, 10)); in TEST_F()
241 std::shared_ptr<Dataset> ds3 = MindData(file_list, {}, std::make_shared<PKSampler>(2, false, 10)); in TEST_F()
245 …std::shared_ptr<Dataset> ds4 = MindData(file_list, {}, std::make_shared<DistributedSampler>(2, 0, … in TEST_F()
249 std::shared_ptr<Dataset> ds5 = MindData(file_list, {}, new SubsetRandomSampler({0, 1, 2}, 10)); in TEST_F()
252 std::shared_ptr<Dataset> ds6 = MindData(file_list, {}, new SubsetSampler({1, 2}, 10)); in TEST_F()
293 std::vector<std::string> file_list = {file_path1}; in TEST_F() local
[all …]
/third_party/gettext/gettext-tools/src/
Dmsgcomm.c117 string_list_ty *file_list; in main() local
303 file_list = read_names_from_file (files_from); in main()
305 file_list = string_list_alloc (); in main()
308 string_list_append_unique (file_list, argv[cnt]); in main()
311 if (file_list->nitems < 2) in main()
330 result = catenate_msgdomain_list (file_list, input_syntax, to_code); in main()
332 string_list_free (file_list); in main()
Dmsgcat.c112 string_list_ty *file_list; in main() local
324 file_list = read_names_from_file (files_from); in main()
326 file_list = string_list_alloc (); in main()
329 string_list_append_unique (file_list, argv[cnt]); in main()
333 catenate_msgdomain_list (file_list, input_syntax, in main()
336 string_list_free (file_list); in main()
Dmsguniq.c107 string_list_ty *file_list; in main() local
293 file_list = string_list_alloc (); in main()
294 string_list_append (file_list, input_file); in main()
298 result = catenate_msgdomain_list (file_list, input_syntax, to_code); in main()
300 string_list_free (file_list); in main()
/third_party/boost/tools/build/test/
Dtemplate.py30 file_list = BoostBuild.List("bin/$toolset/debug*/") * \
34 t.expect_addition(file_list)
39 t.expect_removal(file_list)
Dtest2.py14 file_list = 'bin/$toolset/debug*/' * \ variable
18 t.expect_addition(file_list)
23 t.expect_touch(file_list)
Dtag.py87 file_list = (
104 t.expect_addition(file_list)
107 t.expect_removal(file_list)
/third_party/boost/libs/unordered/ci/
Ddownload-boost-snapshot.py16 file_list = []
22 file_list.append(file)
25 file_list.sort(key=lambda x: (version_dates[x['version']], x['priority']), reverse=True)
26 …wnloads = ['http://dl.bintray.com/boostorg/%s/%s' % (snapshot, file['path']) for file in file_list]
/third_party/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()
/third_party/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:
/third_party/boost/tools/bcp/
Dscan_cvs_path.cpp29 static const char* file_list[] = { "CVS/Entries", "CVS/Entries.Log" }; in scan_cvs_path() local
34 for(std::size_t entry = 0; entry < sizeof(file_list)/sizeof(file_list[0]); ++entry) in scan_cvs_path()
36 fs::path entries(m_boost_path / p / file_list[entry]); in scan_cvs_path()
/third_party/mindspore/mindspore/offline_debug/
Dconvert_async.py115 def parse_args(file_list, output_path): argument
125 args_dict['file_list'] = file_list
139 def __init__(self, file_list, output_path): argument
141 file_list = [os.path.realpath(file_item) for file_item in file_list]
145 self.args = parse_args(file_list, output_path)
146 self.files_to_convert = self.args.file_list
/third_party/glib/glib/tests/
Darray-test.c1398 GPtrArray *file_list = NULL; in pointer_array_sort_example() local
1403 file_list = g_ptr_array_new_with_free_func (file_list_entry_free); in pointer_array_sort_example()
1408 g_ptr_array_add (file_list, g_steal_pointer (&entry)); in pointer_array_sort_example()
1413 g_ptr_array_add (file_list, g_steal_pointer (&entry)); in pointer_array_sort_example()
1418 g_ptr_array_add (file_list, g_steal_pointer (&entry)); in pointer_array_sort_example()
1420 g_ptr_array_sort (file_list, sort_filelist); in pointer_array_sort_example()
1422 g_assert_cmpuint (file_list->len, ==, 3); in pointer_array_sort_example()
1423 entry = g_ptr_array_index (file_list, 0); in pointer_array_sort_example()
1425 entry = g_ptr_array_index (file_list, 1); in pointer_array_sort_example()
1427 entry = g_ptr_array_index (file_list, 2); in pointer_array_sort_example()
[all …]
/third_party/python/Lib/test/
Dtest_unicode_file.py48 file_list = os.listdir(path)
52 file_list = [unicodedata.normalize("NFD", f) for f in file_list]
54 self.assertIn(base, file_list)
Dtest_linecache.py55 self.file_byte_string = ''.join(self.file_list).encode('utf-8')
69 self.assertEqual(lines, self.file_list)
85 file_list = [] variable in EmptyFile
89 file_list = ['\n'] variable in SingleEmptyLine
93 file_list = ['á\n', 'b\n', 'abcdef\n', 'ááááá\n'] variable in GoodUnicode
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc596 std::vector<std::string>* file_list, bool annotate_code, in GenerateSibling() argument
602 file_list->push_back(filename); in GenerateSibling()
636 std::vector<std::string>* file_list, in GenerateSiblings() argument
644 package_dir, java_package_, file_->enum_type(i), context, file_list, in GenerateSiblings()
651 package_dir, java_package_, file_->enum_type(i), context, file_list, in GenerateSiblings()
660 file_list, options_.annotate_code, annotation_list, "OrBuilder", in GenerateSiblings()
665 file_list, options_.annotate_code, annotation_list, "", in GenerateSiblings()
673 package_dir, java_package_, file_->service(i), context, file_list, in GenerateSiblings()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dcheck_copyright.py77 file_list = []
85 file_list.append(full_file)
86 return file_list
/third_party/spirv-tools/utils/
Dcheck_copyright.py74 file_list = []
82 file_list.append(full_file)
83 return file_list
/third_party/skia/third_party/externals/spirv-tools/utils/
Dcheck_copyright.py77 file_list = []
85 file_list.append(full_file)
86 return file_list

123