Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 25 of 211) sorted by relevance

123456789

/external/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_sparse.c58 int dio_sparse(int fd, int align, int writesize, int filesize, int offset) in dio_sparse() argument
71 for (i = offset; i < filesize;) { in dio_sparse()
98 int filesize = 100 * 1024 * 1024; in main() local
119 filesize = strtol(optarg, &endp, 0); in main()
120 filesize = scale_by_kmg(filesize, *endp); in main()
143 dirty_freeblocks(filesize); in main()
147 SAFE_FTRUNCATE(cleanup, fd, filesize); in main()
155 read_sparse(filename, filesize); in main()
168 ret = dio_sparse(fd, alignment, writesize, filesize, offset); in main()
Daiodio_sparse.c63 int aiodio_sparse(int fd, int align, int writesize, int filesize, int num_aio) in aiodio_sparse() argument
72 if ((num_aio * writesize) > filesize) in aiodio_sparse()
73 num_aio = filesize / writesize; in aiodio_sparse()
119 while (offset < filesize) { in aiodio_sparse()
126 &offset, filesize, aio_inflight); in aiodio_sparse()
215 int filesize = 100 * 1024 * 1024; in main() local
241 filesize = strtol(optarg, &endp, 0); in main()
242 filesize = in main()
243 (int)scale_by_kmg((long long)filesize, *endp); in main()
262 dirty_freeblocks(filesize); in main()
[all …]
/external/mesa3d/src/panfrost/bifrost/
Dcmdline.c90 unsigned filesize = ftell(fp); in disassemble() local
93 unsigned char *code = malloc(filesize); in disassemble()
94 unsigned res = fread(code, 1, filesize, fp); in disassemble()
95 if (res != filesize) { in disassemble()
100 disassemble_bifrost(stdout, code, filesize, verbose); in disassemble()
144 unsigned filesize = ftell(fp); in run() local
147 unsigned char *code = malloc(filesize); in run()
148 unsigned res = fread(code, 1, filesize, fp); in run()
149 if (res != filesize) { in run()
160 .size = filesize in run()
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c192 off_t filesize; in test_file() local
204 filesize = lseek(fd, 0, SEEK_END); in test_file()
205 if (filesize & 0xffff) in test_file()
206 filesize &= ~0xfffful; in test_file()
208 fileblock = mmap(NULL, filesize, PROT_READ | PROT_WRITE, in test_file()
215 file_name, filesize, fileblock); in test_file()
219 return run_test(fileblock, filesize); in test_file()
/external/skqp/infra/bots/buildstats/
Dbuildstats_flutter.py118 filesize = int(parts[3])
127 print '\t%-100s: %s' % (symbol, bytes_or_kb(filesize))
128 sub_total += filesize
129 grand_total += filesize
154 filesize = int(parts[3])
156 print '%-10s: %-80s in %s' % (bytes_or_kb(filesize), symbol, this_file)
/external/skia/infra/bots/buildstats/
Dbuildstats_flutter.py120 filesize = int(parts[3])
129 print('\t%-100s: %s' % (symbol, bytes_or_kb(filesize)))
130 sub_total += filesize
131 grand_total += filesize
156 filesize = int(parts[3])
158 print('%-10s: %-80s in %s' % (bytes_or_kb(filesize), symbol, this_file))
/external/ltp/testcases/network/stress/ftp/
Dftp-upload-stress01-rmt.sh31 filesize="$4"
47 echo -n "Z" | dd of=$filename bs=1 seek=$(($filesize - 1)) > /dev/null 2>&1 || \
57 if [ "$send_filesize" != "size=$filesize" ]; then
58 tst_resm TINFO "Expected file size '$filesize'"
Dftp-upload-stress02-rmt.sh33 filesize="$4"
49 echo -n "Z" | dd of=$filename bs=1 seek=$(($filesize - 1)) > /dev/null 2>&1 || \
83 if [ "$send_filesize" != "size=$filesize" ]; then
84 tst_resm TINFO "Expected file size '$filesize'"
Dftp-download-stress01-rmt.sh29 filesize="$3"
45 if [ "$recv_filesize" != "size=$filesize" ]; then
46 tst_resm TINFO "Expected file size '$filesize'"
Dftp-download-stress02-rmt.sh31 filesize="$3"
70 if [ "$recv_filesize" != "size=$filesize" ]; then
71 tst_resm TINFO "Expected file size '$filesize'"
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress01.c124 off64_t filesize = FILESIZE; variable
127 off_t filesize = FILESIZE; variable
185 filesize = atoll(optarg);
187 filesize = atoi(optarg);
189 if (filesize < 0) {
238 filename, filesize, pattern);
241 filename, filesize, pattern);
313 for (bytes_left = filesize; bytes_left; bytes_left -= c) {
462 off64_t filesize; local
466 off_t filesize;
[all …]
Dmmapstress10.c141 off64_t filesize = FILESIZE; variable
144 off_t filesize = FILESIZE; variable
229 filesize = atoll(optarg);
231 filesize = atoi(optarg);
233 if (filesize < 0) {
280 filename, filesize, pattern);
283 filename, filesize, pattern);
363 for (bytes_left = filesize; bytes_left; bytes_left -= c) {
526 off64_t filesize; local
530 off_t filesize;
[all …]
/external/curl/docs/examples/
Dftpgetinfo.c47 double filesize = 0.0; in main() local
74 &filesize); in main()
75 if((CURLE_OK == res) && (filesize>0.0)) in main()
76 printf("filesize %s: %0.0f bytes\n", filename, filesize); in main()
/external/ltp/testcases/network/stress/ns-tools/
Dcreate_file55 filesize=$2
57 if [ $filesize -le 0 ]; then
63 echo -n "Z" | dd of=$filename bs=1 seek=`expr $filesize - 1` >/dev/null 2>&1
/external/e2fsprogs/lib/ext2fs/
Dgetsize.c82 LARGE_INTEGER filesize; in ext2fs_get_device_size2() local
84 DWORD filesize; in ext2fs_get_device_size2() local
111 } else if (GetFileSizeEx(dev, &filesize)) { in ext2fs_get_device_size2()
112 *retblocks = filesize.QuadPart / blocksize; in ext2fs_get_device_size2()
116 filesize = GetFileSize(dev, NULL);
117 if (INVALID_FILE_SIZE != filesize) {
118 *retblocks = filesize / blocksize;
/external/vboot_reference/utility/
Dbmpblk_font.c172 size_t imgsize, filesize, diff; in main() local
190 filesize = imgsize; in main()
192 filesize = ((imgsize + 4) / 4) * 4; in main()
193 diff = filesize - imgsize; in main()
198 entry.info.original_size = filesize; in main()
199 entry.info.compressed_size = filesize; in main()
/external/f2fs-tools/fsck/
Dquotaio_v2.c177 u64 filesize; in v2_init_io() local
193 filesize = qf->filesize = f2fs_quota_size(qf); in v2_init_io()
195 ((filesize + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS < in v2_init_io()
196 last_blkofs + 1 || filesize > qf_maxsize[qtype])) { in v2_init_io()
204 filesize, in v2_init_io()
206 filesize = (last_blkofs + 1) << F2FS_BLKSIZE_BITS; in v2_init_io()
207 f2fs_filesize_update(qf->sbi, qf->ino, filesize); in v2_init_io()
211 (filesize + QT_BLKSIZE - 1) >> QT_BLKSIZE_BITS)) { in v2_init_io()
214 filesize, info->dqi_qtree.dqi_blocks); in v2_init_io()
/external/vboot_reference/futility/
Dcmd_gbb_utility.c365 off_t filesize; in do_gbb_utility() local
467 inbuf = read_entire_file(infile, &filesize); in do_gbb_utility()
471 gbb = FindGbbHeader(inbuf, filesize); in do_gbb_utility()
527 inbuf = read_entire_file(infile, &filesize); in do_gbb_utility()
531 gbb = FindGbbHeader(inbuf, filesize); in do_gbb_utility()
538 outbuf = (uint8_t *) malloc(filesize); in do_gbb_utility()
543 filesize, strerror(errno)); in do_gbb_utility()
548 memcpy(outbuf, inbuf, filesize); in do_gbb_utility()
549 gbb = FindGbbHeader(outbuf, filesize); in do_gbb_utility()
604 outfile, outbuf, filesize); in do_gbb_utility()
[all …]
/external/autotest/client/cros/storage_tests/
Dfio_test.py83 def initialize(self, dev='', filesize=DEFAULT_FILE_SIZE): argument
93 if filesize == 0:
97 self.__filesize = filesize
105 if filesize == 0:
110 elif filesize != 0:
123 if filesize != 0:
124 self.__filesize = min(self.__filesize, filesize)
/external/ltp/testcases/network/stress/http/
Dhttp-stress01-rmt.sh34 filesize="$3"
47 if [ $recv_filesize != "size=$filesize" ]; then
48 tst_resm TINFO "expected file size '$filesize'"
Dhttp-stress02-rmt.sh35 filesize="$3"
71 if [ $recv_filesize != "size=$filesize" ]; then
72 tst_resm TINFO "expected file size '$filesize'"
/external/libcups/scheduler/
Dfile.c22 int filesize);
406 int filesize) /* I - Size of file */ in overwrite_data() argument
422 while (filesize > 0) in overwrite_data()
424 if (filesize > bufsize) in overwrite_data()
427 bytes = filesize; in overwrite_data()
432 filesize -= bytes; in overwrite_data()
/external/autotest/client/site_tests/hardware_StorageFio/
Dhardware_StorageFio.py19 def initialize(self, dev='', filesize=DEFAULT_FILE_SIZE): argument
28 super(hardware_StorageFio, self).initialize(dev=dev, filesize=filesize)
/external/curl/tests/data/
Dtest2905 --max-filesize
21 FTP download maximum filesize exceeded
24 ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
Dtest2916 --max-filesize
27 FTP download maximum filesize not exceeded
30 ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100

123456789