Home
last modified time | relevance | path

Searched refs:numfiles (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_zipfile64.py99 numfiles = (1 << 16) * 3//2
100 for i in range(numfiles):
102 self.assertEqual(len(zipf.namelist()), numfiles)
105 self.assertEqual(len(zipf2.namelist()), numfiles)
106 for i in range(numfiles):
113 numfiles = (1 << 16) - 1
114 for i in range(numfiles):
116 self.assertEqual(len(zipf.namelist()), numfiles)
118 zipf.writestr("foo%08d" % numfiles, b'')
119 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
Dtest_zipfile.py760 numfiles = 15
761 for i in range(numfiles):
763 self.assertEqual(len(zipf.namelist()), numfiles)
767 self.assertEqual(len(zipf2.namelist()), numfiles)
768 for i in range(numfiles):
777 numfiles = 9
778 for i in range(numfiles):
780 self.assertEqual(len(zipf.namelist()), numfiles)
782 zipf.writestr("foo%08d" % numfiles, b'')
783 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
/external/python/cpython2/Lib/test/
Dtest_zipfile64.py108 numfiles = (1 << 16) * 3/2
109 for i in xrange(numfiles):
111 self.assertEqual(len(zipf.namelist()), numfiles)
115 self.assertEqual(len(zipf2.namelist()), numfiles)
116 for i in xrange(numfiles):
123 numfiles = (1 << 16) - 1
124 for i in range(numfiles):
126 self.assertEqual(len(zipf.namelist()), numfiles)
128 zipf.writestr("foo%08d" % numfiles, b'')
129 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
Dtest_zipfile.py766 numfiles = 15
767 for i in range(numfiles):
769 self.assertEqual(len(zipf.namelist()), numfiles)
773 self.assertEqual(len(zipf2.namelist()), numfiles)
774 for i in range(numfiles):
782 numfiles = 9
783 for i in range(numfiles):
785 self.assertEqual(len(zipf.namelist()), numfiles)
787 zipf.writestr("foo%08d" % numfiles, b'')
788 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
/external/ltp/testcases/kernel/fs/openfile/
Dopenfile.c55 int numthreads = 10, numfiles = 10; variable
91 numfiles = atoi(optarg); in main()
92 if (numfiles <= 0) in main()
114 if (numfiles > MAXFILES) { in main()
115 sprintf(msg, "%s\nCannot use %d files", msg, numfiles); in main()
117 numfiles = MAXFILES; in main()
214 for (i = 0; i < numfiles; i++) { in threads()
232 close_files(fd_list, numfiles); in threads()
241 close_files(fd_list, numfiles); in threads()
249 close_files(fd_list, numfiles); in threads()
[all …]
/external/ltp/testcases/commands/gzip/
Dgzip_tests.sh21 local numfiles=$3
27 tst_res TINFO "Test #$1: filling each dir with $numfiles files"
33 while [ $fcnt -lt $numfiles ]; do
60 while [ $fcnt -lt $numfiles ]; do
71 numfiles=10
80 creat_dirnfiles 1 $numdirs $numfiles tst_gzip.tmp
92 creat_expout $numdirs $numfiles tst_gzip.tmp .gz
108 numfiles=10
117 creat_dirnfiles 2 $numdirs $numfiles tst_gzip.tmp
137 creat_expout $numdirs $numfiles tst_gzip.tmp
/external/ltp/testcases/commands/mv/
Dmv_tests.sh25 local numfiles=$3
31 tst_res TINFO "Test #$1: filling each dir with $numfiles files."
38 while [ $fcnt -lt $numfiles ]
67 while [ $fcnt -lt $numfiles ]
79 numfiles=10
86 creat_dirnfiles 1 $numdirs $numfiles tst_mv.old
98 creat_expout $numdirs $numfiles tst_mv.new
/external/ltp/testcases/kernel/fs/fs_inod/
Dfs_inod93 echo "$0: touch files [0-$numsubdirs]/file$numsubdirs[0-$numfiles]"
100 while [ "$k" -lt "$numfiles" ]; do
122 echo "$0: rm files [0-$numsubdirs]/file$numsubdirs[0-$numfiles]"
129 while [ "$k" -lt "$numfiles" ]; do
227 numfiles=$3
235 echo "Number of files: $numfiles"
Dfs_inod_readme.txt37 ./fs_inod [volumename] [numsubdirectories] [numfiles] [numloops]
41 numfiles: number of files per subdirectory
49 subdir it will create numfiles. Then it will delete the files
52 and numfiles can cause the test to exceed the capacity of a given
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/backends/
Dmeson.build34 '--numfiles', '4',
53 '--numfiles', '4',
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_backends.py98 if (args.numfiles != 0):
99 numFiles = args.numfiles
/external/tpm2-tss/src/tss2-fapi/
Difapi_io.c401 size_t *numfiles) in ifapi_io_dirfiles() argument
409 check_not_null(numfiles); in ifapi_io_dirfiles()
449 *numfiles = numpaths; in ifapi_io_dirfiles()
Difapi_io.h80 size_t *numfiles);
/external/selinux/libsemanage/src/
Dsemanage_store.c2075 int semanage_load_files(semanage_handle_t * sh, cil_db_t *cildb, char **filenames, int numfiles) in semanage_load_files() argument
2081 for (i = 0; i < numfiles; i++) { in semanage_load_files()
/external/tpm2-tss/doc/
Ddoxygen.dox2313 size_t *numfiles)