Home
last modified time | relevance | path

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

12345

/third_party/ffmpeg/tools/
Dtarget_dem_fuzzer.c30 int64_t filesize; member
49 c->filesize = FFMIN(c->pos, c->filesize); in io_read()
59 c->filesize = FFMAX(c->filesize, c->pos); in io_read()
73 if (offset > INT64_MAX - c->filesize) in io_seek()
75 offset += c->filesize; in io_seek()
77 return c->filesize; in io_seek()
79 if (offset < 0 || offset > c->filesize) in io_seek()
104 int64_t filesize = size; in LLVMFuzzerTestOneInput() local
140 filesize = bytestream2_get_le64(&gbc) & 0x7FFFFFFFFFFFFFFF; in LLVMFuzzerTestOneInput()
176 opaque.filesize = filesize; in LLVMFuzzerTestOneInput()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
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 …]
Ddio_read.c32 static long long filesize = 128 * 1024 * 1024; variable
109 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
112 if (tst_parse_filesize(str_writesize, &writesize, 1, filesize)) in setup()
115 if (tst_parse_filesize(str_readsize, &readsize, 1, filesize)) in setup()
142 do_buffered_writes(fd, iobuf, filesize, writesize, 1); in run()
147 SAFE_FTRUNCATE(fd, filesize); in run()
153 do_buffered_writes(fd, iobuf, filesize, writesize, 0); in run()
159 fail = do_direct_reads(filename, iobuf, filesize, readsize); in run()
Ddio_sparse.c38 static long long filesize = 100 * 1024 * 1024; variable
69 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
100 SAFE_FTRUNCATE(fd, filesize); in run()
106 io_read(filename, filesize, run_child); in run()
111 dio_sparse(fd, alignment, filesize, writesize, offset); in run()
Ddio_truncate.c44 static long long filesize = 64 * 1024; variable
93 if (tst_parse_filesize(str_filesize, &filesize, 1, LLONG_MAX)) in setup()
128 dio_read(filename, alignment, filesize); in run()
136 io_append(filename, 0, wflags, filesize, numappends); in run()
138 io_append("junkfile", 0xaa, wflags, filesize, numappends); in run()
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c92 long filesize, offset; in main() local
95 __int64 filesize, offset; in main() local
97 off_t filesize, offset; in main() local
208 filesize = fseek(fin, 0L, SEEK_END); in main()
224 filesize = li_size.QuadPart; in main()
226 if ((filesize = lseek(fileno(fin), 0, SEEK_END)) < 0) { in main()
244 buffer[i] = (unsigned char) (filesize >> (i << 3)); in main()
332 for (offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size(&cipher_ctx)) { in main()
333 ilen = ((unsigned int) filesize - offset > mbedtls_cipher_get_block_size(&cipher_ctx)) ? in main()
334 mbedtls_cipher_get_block_size(&cipher_ctx) : (unsigned int) (filesize - offset); in main()
[all …]
/third_party/ffmpeg/doc/
Drate_distortion.txt5 given filesize OR we want to get the smallest filesize at a given quality
24 rate is the filesize
26 lambda is a fixed value chosen as a tradeoff between quality and filesize
28 filesize? The answer is yes. For each filesize limit there is some lambda
30 chosen quality measurement) at the desired (or lower) filesize.
35 filesize is hard because we do not know how many bits from the total
36 filesize should be allocated to each of the subproblems. But the formula
/third_party/node/benchmark/fs/
Dread-stream-throughput.js16 filesize: [1000 * 1024], property
22 const { encodingType, highWaterMark, filesize } = conf;
41 const buf = Buffer.allocUnsafe(filesize);
59 ws.on('close', runTest.bind(null, filesize, highWaterMark, encoding, n));
71 function runTest(filesize, highWaterMark, encoding, n) { argument
72 assert(fs.statSync(filename).size === filesize * n);
/third_party/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 …]
/third_party/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))
/third_party/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'"
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c226 unsigned filesize = ftell(fp); in disassemble() local
229 uint32_t *code = malloc(filesize); in disassemble()
230 unsigned res = fread(code, 1, filesize, fp); in disassemble()
231 if (res != filesize) { in disassemble()
239 if (filesize && code[0] == BI_FOURCC('M', 'B', 'S', '2')) { in disassemble()
240 for (int i = 0; i < filesize / 4; ++i) { in disassemble()
248 filesize = size; in disassemble()
253 disassemble_valhall(stdout, entrypoint, filesize, verbose); in disassemble()
255 disassemble_bifrost(stdout, entrypoint, filesize, verbose); in disassemble()
/third_party/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()
/third_party/curl/docs/examples/
Dftpgetinfo.c49 curl_off_t filesize = 0; in main() local
76 &filesize); in main()
77 if((CURLE_OK == res) && (filesize>0)) in main()
79 filename, filesize); in main()
Dimap-append.c94 size_t filesize; in main() local
112 filesize = strlen(payload_text); in main()
113 if(filesize <= LONG_MAX) in main()
114 infilesize = (long)filesize; in main()
/third_party/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
/third_party/ffmpeg/libavformat/
Did3v1.c283 int64_t filesize, position = avio_tell(s->pb); in ff_id3v1_read() local
287 filesize = avio_size(s->pb); in ff_id3v1_read()
288 if (filesize > 128) { in ff_id3v1_read()
289 avio_seek(s->pb, filesize - 128, SEEK_SET); in ff_id3v1_read()
Dmp3dec.c48 int64_t filesize; member
132 static void read_xing_toc(AVFormatContext *s, int64_t filesize, int64_t duration) in read_xing_toc() argument
139 if (!filesize && in read_xing_toc()
140 !(filesize = avio_size(s->pb))) { in read_xing_toc()
149 av_rescale(b, filesize, 256), in read_xing_toc()
390 mp3->filesize = avio_size(s->pb); in mp3_read_header()
451 if (mp3->filesize > ID3v1_TAG_SIZE && pos < mp3->filesize) in mp3_read_packet()
452 size= FFMIN(size, mp3->filesize - pos); in mp3_read_packet()
552 int64_t filesize = mp3->header_filesize; in mp3_seek() local
554 if (filesize <= 0) { in mp3_seek()
[all …]
/third_party/toybox/toys/pending/
Dvi.c45 size_t filesize;
417 if (!TT.filesize || !offset) return 0; in text_sol()
418 else if (TT.filesize <= offset) return TT.filesize-1; in text_sol()
426 if (!TT.filesize) offset = 1; in text_eol()
427 else if (TT.filesize <= offset) return TT.filesize-1; in text_eol()
429 return TT.filesize-1; in text_eol()
437 if (offset >= TT.filesize) offset--; in text_nsol()
459 if ((end = TT.filesize) > offset+max_len) return 0; in text_getline()
492 } while (pos < TT.filesize); in text_strstr()
525 TT.filesize = 0; in linelist_load()
[all …]
/third_party/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'"
/third_party/lz4/programs/
Dlz4io.c417 unsigned long long filesize = 0; in LZ4IO_compressFilename_Legacy() local
455 filesize += inSize; in LZ4IO_compressFilename_Legacy()
462 (int)(filesize>>20), (double)compressedfilesize/filesize*100); in LZ4IO_compressFilename_Legacy()
476 filesize += !filesize; /* avoid division by zero (ratio) */ in LZ4IO_compressFilename_Legacy()
479 filesize, compressedfilesize, (double)compressedfilesize / filesize * 100); in LZ4IO_compressFilename_Legacy()
482 (double)filesize / seconds / 1024 / 1024); in LZ4IO_compressFilename_Legacy()
666 unsigned long long filesize = 0; in LZ4IO_compressFilename_extRess() local
702 filesize += readSize; in LZ4IO_compressFilename_extRess()
712 …(unsigned)(filesize>>20), (double)compressedfilesize/(filesize+!filesize)*100); /* avoid divisio… in LZ4IO_compressFilename_extRess()
737 (unsigned)(filesize>>20), (double)compressedfilesize/filesize*100); in LZ4IO_compressFilename_extRess()
[all …]
/third_party/curl/tests/data/
Dtest2905 --max-filesize
21 FTP download maximum filesize exceeded
24 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 30

12345