HomeSort by relevance Sort by last modified time
    Searched refs:numfiles (Results 1 - 11 of 11) sorted by null

  /external/ltp/testcases/kernel/fs/openfile/
openfile.c 55 int numthreads = 10, numfiles = 10; variable
91 numfiles = atoi(optarg);
92 if (numfiles <= 0)
114 if (numfiles > MAXFILES) {
115 sprintf(msg, "%s\nCannot use %d files", msg, numfiles);
117 numfiles = MAXFILES;
214 for (i = 0; i < numfiles; i++) {
232 close_files(fd_list, numfiles);
241 close_files(fd_list, numfiles);
249 close_files(fd_list, numfiles);
    [all...]
  /external/ltp/testcases/kernel/fs/fs_inod/
fs_inod 85 # FUNCTION DESCRIPTION: Creates $numfiles in each of $numsubdirs directories
93 echo "$0: touch files [0-$numsubdirs]/file$numsubdirs[0-$numfiles]"
100 while [ "$k" -lt "$numfiles" ]; do
114 # FUNCTION DESCRIPTION: Removes $numfiles in each $numsubdir directory
122 echo "$0: rm files [0-$numsubdirs]/file$numsubdirs[0-$numfiles]"
129 while [ "$k" -lt "$numfiles" ]; do
216 USAGE="Usage: ./fs_inod [volumename] [numsubdirectories] [numfiles] [numloops]"
227 numfiles=$3
235 echo "Number of files: $numfiles"
  /external/ltp/testcases/commands/mv/
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/commands/gzip/
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.tm
    [all...]
  /external/python/cpython2/Lib/test/
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...]
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/python/cpython3/Lib/test/
test_zipfile64.py 100 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...]
test_zipfile.py 667 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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_zipfile64.py 104 numfiles = (1 << 16) * 3/2
105 for i in xrange(numfiles):
107 self.assertEqual(len(zipf.namelist()), numfiles)
111 self.assertEqual(len(zipf2.namelist()), numfiles)
112 for i in xrange(numfiles):
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
main.c 34 int numfiles = 0; variable
66 void p_stdio(void) { file_str[numfiles++] = NULL;}
67 void p_file(char *s) { file_str[numfiles++] = s;}
89 void p_stdio() { file_str[numfiles++] = NULL;}
90 void p_file(s) char *s; { file_str[numfiles++] = s;}
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
gen_backends.py 38 parser.add_argument('--numfiles', help='how many output files to generate', nargs='?', type=int, default='0')
95 numFiles = 1
97 numFiles = (len(output_list) + args.split - 1) // args.split
98 if (args.numfiles != 0):
99 numFiles = args.numfiles
100 linesPerFile = (len(output_list) + numFiles - 1) // numFiles
108 for fileNum in range(numFiles):
125 numFiles=numFiles
    [all...]

Completed in 389 milliseconds