/external/pcre/src/ |
D | pcre2_fuzzsupport.c | 304 size_t readsize; in main() local 313 readsize = strlen(argv[i]) - 1; in main() 315 printf("Length = %lu\n", readsize); in main() 316 printf("%.*s\n", (int)readsize, argv[i]+1); in main() 317 buffer = (unsigned char *)malloc(readsize); in main() 319 printf("** Failed to allocate %lu bytes of memory\n", readsize); in main() 322 memcpy(buffer, argv[i]+1, readsize); in main() 323 LLVMFuzzerTestOneInput(buffer, readsize); in main() 352 readsize = fread(buffer, 1, filelen, f); in main() 355 if (readsize != filelen) in main() [all …]
|
/external/python/cpython2/Lib/ |
D | gzip.py | 256 readsize = 1024 260 self._read(readsize) 261 readsize = min(self.max_read_chunk, readsize * 2) 267 self._read(readsize) 268 readsize = min(self.max_read_chunk, readsize * 2) 458 readsize = self.min_readsize 460 readsize = size 463 c = self.read(readsize) 481 readsize = min(size, readsize * 2) 482 if readsize > self.min_readsize: [all …]
|
D | codecs.py | 543 readsize = size or 72 547 data = self.read(readsize, firstline=True) 589 if readsize<8000: 590 readsize *= 2
|
/external/python/apitools/apitools/base/py/ |
D | gzip.py | 340 readsize = 1024 342 while self._read(readsize): 343 readsize = min(self.max_read_chunk, readsize * 2) 347 if not self._read(readsize): 351 readsize = min(self.max_read_chunk, readsize * 2) 573 readsize = self.min_readsize 575 readsize = size 578 c = self.read(readsize) 596 readsize = min(size, readsize * 2) 597 if readsize > self.min_readsize: [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_read.c | 31 static long long readsize = 32 * 1024 * 1024; variable 123 if (tst_parse_filesize(str_readsize, &readsize, 1, filesize)) in setup() 129 buffsize = readsize > writesize ? readsize : writesize; in setup() 167 fail = do_direct_reads(filename, iobuf, filesize, readsize); in run()
|
/external/zstd/programs/ |
D | fileio.c | 1080 int compressionLevel, U64* readsize) in FIO_compressGzFrame() argument 1153 *readsize = inFileSize; in FIO_compressGzFrame() 1163 int compressionLevel, U64* readsize, int plain_lzma) in FIO_compressLzmaFrame() argument 1224 *readsize = inFileSize; in FIO_compressLzmaFrame() 1243 U64* readsize) in FIO_compressLz4Frame() argument 1328 *readsize = inFileSize; in FIO_compressLz4Frame() 1341 int compressionLevel, U64* readsize) in FIO_compressZstdFrame() argument 1393 *readsize += inSize; in FIO_compressZstdFrame() 1395 if ((inSize == 0) || (*readsize == fileSize)) in FIO_compressZstdFrame() 1554 if (fileSize != UTIL_FILESIZE_UNKNOWN && *readsize != fileSize) { in FIO_compressZstdFrame() [all …]
|
/external/fsck_msdos/ |
D | fat.c | 700 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()
|
/external/autotest/client/cros/bluetooth/ |
D | logger_helper.py | 94 readsize = now_size - self.initial_log_size 95 self._bin_log_contents = mf.read(readsize).split(b'\n')
|
/external/python/cpython3/Lib/ |
D | codecs.py | 554 readsize = size or 72 558 data = self.read(readsize, firstline=True) 602 if readsize < 8000: 603 readsize *= 2
|
/external/python/cpython2/Modules/ |
D | bz2module.c | 1021 size_t readsize; in BZ2File_seek() local 1125 readsize = buffersize; in BZ2File_seek() 1130 readsize = (size_t)(offset-bytesread); in BZ2File_seek() 1133 buffer, readsize, self); in BZ2File_seek()
|
/external/libiio/src/ |
D | local.c | 323 ssize_t readsize; in local_read() local 361 readsize = (ssize_t)(ptr - (uintptr_t) dst); in local_read() 362 if ((ret > 0 || ret == -EAGAIN) && (readsize > 0)) in local_read() 363 return readsize; in local_read()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 367 size_t readsize; in lodepng_buffer_file() local 371 readsize = fread(out, 1, size, file); in lodepng_buffer_file() 374 if(readsize != size) return 78; in lodepng_buffer_file()
|