Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 25 of 56) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/ia64/
Daliasing-test.c67 struct dirent **namelist; in scan_tree() local
72 n = scandir(path, &namelist, 0, alphasort); in scan_tree()
79 name = namelist[i]->d_name; in scan_tree()
114 free(namelist[i]); in scan_tree()
116 free(namelist); in scan_tree()
152 struct dirent **namelist; in scan_rom() local
157 n = scandir(path, &namelist, 0, alphasort); in scan_rom()
164 name = namelist[i]->d_name; in scan_rom()
203 free(namelist[i]); in scan_rom()
205 free(namelist); in scan_rom()
/external/python/cpython2/Lib/test/
Dtest_zipfile64.py111 self.assertEqual(len(zipf.namelist()), numfiles)
115 self.assertEqual(len(zipf2.namelist()), numfiles)
126 self.assertEqual(len(zipf.namelist()), numfiles)
129 self.assertEqual(len(zipf.namelist()), numfiles)
134 self.assertEqual(len(zipf.namelist()), numfiles)
137 self.assertEqual(len(zipf.namelist()), numfiles)
142 self.assertEqual(len(zipf.namelist()), numfiles)
146 self.assertEqual(len(zipf.namelist()), numfiles2)
150 self.assertEqual(len(zipf2.namelist()), numfiles2)
Dtest_zipfile.py93 names = zipfp.namelist()
156 self.assertEqual(zipfp.namelist(), ["name"] * 2)
323 self.assertEqual(zipfp.namelist(), ["absolute"])
332 self.assertEqual(zipfp.namelist(), [TESTFN, "strfile"])
348 self.assertEqual(zipfp.namelist(), [TESTFN])
354 self.assertEqual(zipfp.namelist(), [TESTFN])
368 self.assertEqual(zipfp.namelist(), [TESTFN])
382 self.assertEqual(zipfp.namelist(), [TESTFN])
389 self.assertEqual(zipfp.namelist(), [TESTFN, 'strfile'])
719 names = zipfp.namelist()
[all …]
/external/python/cpython3/Lib/test/
Dtest_zipfile64.py103 self.assertEqual(len(zipf.namelist()), numfiles)
107 self.assertEqual(len(zipf2.namelist()), numfiles)
119 self.assertEqual(len(zipf.namelist()), numfiles)
122 self.assertEqual(len(zipf.namelist()), numfiles)
127 self.assertEqual(len(zipf.namelist()), numfiles)
130 self.assertEqual(len(zipf.namelist()), numfiles)
135 self.assertEqual(len(zipf.namelist()), numfiles)
139 self.assertEqual(len(zipf.namelist()), numfiles2)
143 self.assertEqual(len(zipf2.namelist()), numfiles2)
Dtest_zipapp.py54 self.assertIn('foo/', z.namelist())
55 self.assertIn('bar/', z.namelist())
71 self.assertIn('__main__.py', z.namelist())
72 self.assertIn('test.py', z.namelist())
73 self.assertNotIn('test.pyc', z.namelist())
91 self.assertEqual(len(z.namelist()), 2)
92 self.assertIn('__main__.py', z.namelist())
93 self.assertIn('test.py', z.namelist())
145 self.assertIn('__main__.py', z.namelist())
163 self.assertEqual(1, z.namelist().count('__main__.py'))
[all …]
Dtest_zipfile.py94 names = zipfp.namelist()
437 self.assertEqual(zipfp.namelist(), ["absolute"])
446 self.assertEqual(zipfp.namelist(), [TESTFN, "strfile"])
462 self.assertEqual(zipfp.namelist(), [TESTFN])
468 self.assertEqual(zipfp.namelist(), [TESTFN])
482 self.assertEqual(zipfp.namelist(), [TESTFN])
496 self.assertEqual(zipfp.namelist(), [TESTFN])
503 self.assertEqual(zipfp.namelist(), [TESTFN, 'strfile'])
632 names = zipfp.namelist()
670 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
/external/f2fs-tools/fsck/
Dsload.c175 struct dirent **namelist = NULL; in build_directory() local
178 entries = scandir(full_path, &namelist, filter_dot, (void *)alphasort); in build_directory()
189 dentries[i].name = (unsigned char *)strdup(namelist[i]->d_name); in build_directory()
197 dir_path, namelist[i]->d_name); in build_directory()
200 full_path, namelist[i]->d_name); in build_directory()
202 free(namelist[i]); in build_directory()
209 free(namelist); in build_directory()
/external/python/cpython2/Lib/plat-irix5/
Dpanel.py147 namelist = getattrlist(descr, 'name')
148 if namelist:
150 actuatorname = namelist[0][1:-1]
/external/python/cpython2/Lib/plat-irix6/
Dpanel.py147 namelist = getattrlist(descr, 'name')
148 if namelist:
150 actuatorname = namelist[0][1:-1]
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c248 static int getall(struct listentry ** namelist);
358 listentry * namelist = NULL; in main() local
498 count = getall(&namelist); in main()
509 fakeargv[i + argc] = namelist->name; in main()
510 namelist = namelist->next; in main()
674 struct listentry * entry = namelist; in main()
1029 static int getall(struct listentry ** namelist) { in getall() argument
1036 *namelist = dummyentry.next; in getall()
/external/selinux/libselinux/src/
Dbooleans.c43 struct dirent **namelist; in security_get_boolean_names() local
56 *len = scandir(path, &namelist, &filename_select, alphasort); in security_get_boolean_names()
69 n[i] = strdup(namelist[i]->d_name); in security_get_boolean_names()
79 free(namelist[i]); in security_get_boolean_names()
81 free(namelist); in security_get_boolean_names()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DICUJDKCompare.java132 String namelist = null; in setup() local
149 namelist = args[++i]; in setup()
163 File f = new File(namelist.substring(1)); in setup()
191 if (namelist != null) { in setup()
193 if (namelist.charAt(0) == '@') { // a file in setup()
197 File f = new File(namelist.substring(1)); in setup()
221 names = namelist.split("\\s*;\\s*"); in setup()
/external/openssh/
Dssh-keyscan.08 [host | addrlist namelist] ...
75 host-or-namelist bits exponent modulus
79 host-or-namelist keytype base64-encoded-key
Dssh-keyscan.c397 char *namebase, *name, *namelist; in conalloc() local
400 namebase = namelist = xstrdup(iname); in conalloc()
403 name = xstrsep(&namelist, ","); in conalloc()
420 fdcon[s].c_namelist = namelist; in conalloc()
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils_test.py43 sorted(actual.namelist()))
/external/python/setuptools/setuptools/tests/
Dtest_upload_docs.py57 assert zip_file.namelist() == ['index.html']
/external/python/cpython2/PCbuild/
Dget_external.py28 return externals_dir / zf.namelist()[0].split('/')[0]
/external/python/cpython3/PCbuild/
Dget_external.py28 return externals_dir / zf.namelist()[0].split('/')[0]
/external/python/cpython3/Lib/distutils/tests/
Dtest_bdist_dumb.py83 contents = fp.namelist()
Dtest_archive_util.py248 self.assertEqual(sorted(zf.namelist()), self._zip_created_files)
274 self.assertEqual(sorted(zf.namelist()), self._zip_created_files)
/external/libchrome/mojo/public/tools/gn/
Dzip.py43 for f in zf.namelist():
/external/python/cpython2/Lib/distutils/tests/
Dtest_bdist_dumb.py85 contents = fp.namelist()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py37 for member in archive.namelist():
/external/libchrome/third_party/ply/
Dlex.py449 def _funcs_to_names(funclist,namelist): argument
451 for f,name in zip(funclist,namelist):
465 def _names_to_funcs(namelist,fdict): argument
467 for n in namelist:
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java1086 return namelist (); in optnamelist()
1156 optdef.setRequiresSet (namelist ()); in optmetadata()
1167 optdef.setExcludesSet (namelist ()); in optmetadata()
1188 String [] namelist () in namelist() method in OptsParser.MetadataParser

123