Home
last modified time | relevance | path

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

/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.sh41 local numfiles=$3
47 tst_res TINFO "Test #$1: filling each dir with $numfiles files"
53 while [ $fcnt -lt $numfiles ]; do
80 while [ $fcnt -lt $numfiles ]; do
91 numfiles=10
100 creat_dirnfiles 1 $numdirs $numfiles tst_gzip.tmp
112 creat_expout $numdirs $numfiles tst_gzip.tmp .gz
128 numfiles=10
137 creat_dirnfiles 2 $numdirs $numfiles tst_gzip.tmp
157 creat_expout $numdirs $numfiles tst_gzip.tmp
/external/ltp/testcases/commands/mv/
Dmv_tests.sh45 local numfiles=$3
51 tst_res TINFO "Test #$1: filling each dir with $numfiles files."
58 while [ $fcnt -lt $numfiles ]
87 while [ $fcnt -lt $numfiles ]
99 numfiles=10
106 creat_dirnfiles 1 $numdirs $numfiles tst_mv.old
118 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/selinux/libsemanage/src/
Dsemanage_store.c1984 int semanage_load_files(semanage_handle_t * sh, cil_db_t *cildb, char **filenames, int numfiles) in semanage_load_files() argument
1993 for (i = 0; i < numfiles; i++) { in semanage_load_files()