Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_zipfile64.py100 numfiles = (1 << 16) * 3//2
101 for i in range(numfiles):
103 self.assertEqual(len(zipf.namelist()), numfiles)
107 self.assertEqual(len(zipf2.namelist()), numfiles)
108 for i in range(numfiles):
116 numfiles = (1 << 16) - 1
117 for i in range(numfiles):
119 self.assertEqual(len(zipf.namelist()), numfiles)
121 zipf.writestr("foo%08d" % numfiles, b'')
122 self.assertEqual(len(zipf.namelist()), numfiles)
[all …]
Dtest_zipfile.py667 numfiles = 15
668 for i in range(numfiles):
670 self.assertEqual(len(zipf.namelist()), numfiles)
674 self.assertEqual(len(zipf2.namelist()), numfiles)
675 for i in range(numfiles):
684 numfiles = 9
685 for i in range(numfiles):
687 self.assertEqual(len(zipf.namelist()), numfiles)
689 zipf.writestr("foo%08d" % numfiles, b'')
690 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.sh40 local numfiles=$3
46 tst_res TINFO "Test #$1: filling each dir with $numfiles files"
52 while [ $fcnt -lt $numfiles ]; do
79 while [ $fcnt -lt $numfiles ]; do
90 numfiles=10
99 creat_dirnfiles 1 $numdirs $numfiles tst_gzip.tmp
111 creat_expout $numdirs $numfiles tst_gzip.tmp .gz
127 numfiles=10
136 creat_dirnfiles 2 $numdirs $numfiles tst_gzip.tmp
156 creat_expout $numdirs $numfiles tst_gzip.tmp
/external/ltp/testcases/commands/mv/
Dmv_tests.sh44 local numfiles=$3
50 tst_res TINFO "Test #$1: filling each dir with $numfiles files."
57 while [ $fcnt -lt $numfiles ]
86 while [ $fcnt -lt $numfiles ]
98 numfiles=10
105 creat_dirnfiles 1 $numdirs $numfiles tst_mv.old
117 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/mesa3d/src/gallium/drivers/swr/
DSConscript144 …T --outdir ' + bldroot + '/rasterizer/core/backends --dim 5 2 3 2 2 2 --numfiles ' + str(backendPi…
166 …dir ' + bldroot + '/rasterizer/core/backends --rast --dim 5 2 2 3 5 2 --numfiles ' + str(genRaster…
DMakefile.am199 --numfiles 4 \
228 --numfiles 4 \
/external/selinux/libsemanage/src/
Dsemanage_store.c2033 int semanage_load_files(semanage_handle_t * sh, cil_db_t *cildb, char **filenames, int numfiles) in semanage_load_files() argument
2042 for (i = 0; i < numfiles; i++) { in semanage_load_files()