Home
last modified time | relevance | path

Searched full:namelist (Results 1 – 25 of 105) sorted by relevance

12345

/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.py93 # Check the namelist
94 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'])
631 # Check the namelist
[all …]
/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.py92 # Check the namelist
93 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'])
[all …]
/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/openssh/
Dssh-keyscan.123 .Op Ar host | addrlist namelist
61 .Dq addrlist namelist
70 .Dq addrlist namelist
132 host-or-namelist bits exponent modulus
137 host-or-namelist keytype base64-encoded-key
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()
687 "\t\t [host | addrlist namelist] ...\n", in usage()
/external/swiftshader/third_party/LLVM/test/TableGen/
Dlisp.td17 class NameList<list<string> Names> :
20 def Three : NameList<["Tom", "Dick", "Harry"]>;
22 def One : NameList<["Jeffrey Sinclair"]>;
/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/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
Dlisp.td29 class NameList<list<string> Names> :
32 def Three : NameList<["Tom", "Dick", "Harry"]>;
34 def One : NameList<["Jeffrey Sinclair"]>;
/external/llvm/test/TableGen/
Dlisp.td31 class NameList<list<string> Names> :
34 def Three : NameList<["Tom", "Dick", "Harry"]>;
36 def One : NameList<["Jeffrey Sinclair"]>;
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc53 system("/usr/bin/nm -arch x86_64 /usr/lib/dyld > /tmp/dyld-namelist.txt"); in CompareToNM()
55 system("/usr/bin/nm -arch ppc64 /usr/lib/dyld > /tmp/dyld-namelist.txt"); in CompareToNM()
58 FILE *fd = fopen("/tmp/dyld-namelist.txt", "rt"); in CompareToNM()
/external/ply/ply/example/yply/
Dyparse.py110 '''definition : TYPE '<' ID '>' namelist optsemi'''
115 '''namelist : namelist optcomma ID
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java366 List<String> nameList = new ArrayList<>(); in getParamNames() local
406 nameList.add(p); in getParamNames()
410 return nameList; in getParamNames()
425 List<String> nameList = new ArrayList<>(); in toTypeNameList() local
495 nameList.add(s.toString()); in toTypeNameList()
498 return nameList; in toTypeNameList()
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/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/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/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/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServiceConfigInterceptor.java95 List<Map<String, Object>> nameList = in handleUpdate() local
99 nameList != null && !nameList.isEmpty(), "no names in method config %s", methodConfig); in handleUpdate()
100 for (Map<String, Object> name : nameList) { in handleUpdate()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java1026 * optnamelist := namelist
1034 * [ "," "requires" "{" namelist "}" ]
1035 * [ "," "notwith" "{" namelist "}" ]
1038 * namelist := name ( "," name )*
1086 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
/external/iproute2/include/uapi/linux/
Dlimits.h17 #define XATTR_LIST_MAX 65536 /* size of extended attribute namelist (64k) */
/external/kernel-headers/original/uapi/linux/
Dlimits.h17 #define XATTR_LIST_MAX 65536 /* size of extended attribute namelist (64k) */

12345