Searched refs:numfiles (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_zipfile64.py | 101 numfiles = (1 << 16) * 3//2 102 for i in range(numfiles): 104 self.assertEqual(len(zipf.namelist()), numfiles) 108 self.assertEqual(len(zipf2.namelist()), numfiles) 109 for i in range(numfiles): 117 numfiles = (1 << 16) - 1 118 for i in range(numfiles): 120 self.assertEqual(len(zipf.namelist()), numfiles) 122 zipf.writestr("foo%08d" % numfiles, b'') 123 self.assertEqual(len(zipf.namelist()), numfiles) [all …]
|
D | test_zipfile.py | 628 numfiles = 15 629 for i in range(numfiles): 631 self.assertEqual(len(zipf.namelist()), numfiles) 635 self.assertEqual(len(zipf2.namelist()), numfiles) 636 for i in range(numfiles): 645 numfiles = 9 646 for i in range(numfiles): 648 self.assertEqual(len(zipf.namelist()), numfiles) 650 zipf.writestr("foo%08d" % numfiles, b'') 651 self.assertEqual(len(zipf.namelist()), numfiles) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_zipfile64.py | 108 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 …]
|
D | test_zipfile.py | 766 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/ |
D | openfile.c | 55 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/ |
D | gzip_tests.sh | 40 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/ |
D | mv_tests.sh | 44 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/ |
D | fs_inod | 93 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"
|
D | fs_inod_readme.txt | 37 ./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/ |
D | semanage_store.c | 1987 int semanage_load_files(semanage_handle_t * sh, cil_db_t *cildb, char **filenames, int numfiles) in semanage_load_files() argument 1996 for (i = 0; i < numfiles; i++) { in semanage_load_files()
|