Home
last modified time | relevance | path

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

/external/pcre/dist2/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 …]
/external/python/cpython2/Lib/
Dgzip.py256 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 …]
Dcodecs.py543 readsize = size or 72
547 data = self.read(readsize, firstline=True)
589 if readsize<8000:
590 readsize *= 2
/external/python/cpython3/Lib/
Dcodecs.py554 readsize = size or 72
558 data = self.read(readsize, firstline=True)
602 if readsize < 8000:
603 readsize *= 2
/external/python/cpython2/Modules/
Dbz2module.c1021 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()