Home
last modified time | relevance | path

Searched refs:readsize (Results 1 – 10 of 10) sorted by relevance

/third_party/pcre2/pcre2/src/
Dpcre2_fuzzsupport.c300 size_t readsize; in main() local
309 readsize = strlen(argv[i]) - 1; in main()
311 printf("Length = %lu\n", readsize); in main()
312 printf("%.*s\n", (int)readsize, argv[i]+1); in main()
313 buffer = (unsigned char *)malloc(readsize); in main()
315 printf("** Failed to allocate %lu bytes of memory\n", readsize); in main()
318 memcpy(buffer, argv[i]+1, readsize); in main()
319 LLVMFuzzerTestOneInput(buffer, readsize); in main()
348 readsize = fread(buffer, 1, filelen, f); in main()
351 if (readsize != filelen) in main()
[all …]
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_read.c31 static long long readsize = 32 * 1024 * 1024; variable
115 if (tst_parse_filesize(str_readsize, &readsize, 1, filesize)) in setup()
121 buffsize = readsize > writesize ? readsize : writesize; in setup()
159 fail = do_direct_reads(filename, iobuf, filesize, readsize); in run()
/third_party/libsnd/programs/
Dsndfile-salvage.c80 static void copy_data (int fd, SNDFILE * sndfile, int readsize) ;
259 copy_data (int fd, SNDFILE * sndfile, int readsize) in copy_data() argument
264 bufferlen = readsize * 1024 ; in copy_data()
269 { readlen -= readlen % readsize ; in copy_data()
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c2051 size_t readsize; in vfs_nfs_readpage() local
2108 readsize = buflen - bytesread; in vfs_nfs_readpage()
2109 if (readsize > nmp->nm_rsize) in vfs_nfs_readpage()
2111 readsize = nmp->nm_rsize; in vfs_nfs_readpage()
2116 tmp = SIZEOF_rpc_reply_read(readsize); in vfs_nfs_readpage()
2119 readsize -= (tmp - nmp->nm_buflen); in vfs_nfs_readpage()
2144 *ptr = txdr_unsigned(readsize); in vfs_nfs_readpage()
2164 readsize = fxdr_unsigned(uint32_t, read_response->read.hdr.count); in vfs_nfs_readpage()
2168 if (LOS_CopyFromKernel(buffer, buflen, (const void *)read_response->read.data, readsize) != 0) in vfs_nfs_readpage()
2176 pos += readsize; in vfs_nfs_readpage()
[all …]
/third_party/FreeBSD/sbin/fsck_msdosfs/
Dfat.c700 size_t readsize; in _readfat() local
736 readsize = fat32_cache_size; in _readfat()
742 readsize = fat->fatsize; in _readfat()
744 fat->fatbuf = malloc(readsize); in _readfat()
746 perr("No space for FAT (%zu)", readsize); in _readfat()
754 if ((size_t)read(fd, fat->fatbuf, readsize) != readsize) { in _readfat()
/third_party/ffmpeg/libavformat/
Drtmppkt.c101 int readsize; in ff_amf_get_string() local
105 readsize = bytestream2_get_buffer(bc, str, stringlen); in ff_amf_get_string()
106 if (readsize != stringlen) { in ff_amf_get_string()
110 str[readsize] = '\0'; in ff_amf_get_string()
111 *length = FFMIN(stringlen, readsize); in ff_amf_get_string()
/third_party/python/Lib/
Dcodecs.py554 readsize = size or 72
558 data = self.read(readsize, firstline=True)
602 if readsize < 8000:
603 readsize *= 2
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_ibus.c416 ssize_t readsize = read(inotify_fd, buf, sizeof(buf)); in IBus_CheckConnection() local
417 if (readsize > 0) { in IBus_CheckConnection()
422 for (p = buf; p < buf + readsize; /**/) { in IBus_CheckConnection()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datomsrecovery.c1170 gint read, write, readsize; in moov_recov_write_file() local
1172 readsize = MIN (MAX_CHUNK_SIZE, remaining); in moov_recov_write_file()
1174 read = fread (data, 1, readsize, mdatrf->file); in moov_recov_write_file()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstcollectpads.c1148 guint readsize, buf_size; in gst_collect_pads_read_buffer() local
1160 readsize = MIN (size, buf_size - data->pos); in gst_collect_pads_read_buffer()
1163 readsize); in gst_collect_pads_read_buffer()