Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dbz2module.c207 #define SMALLCHUNK 8192 macro
209 #define SMALLCHUNK BUFSIZ macro
652 char small_buffer[SMALLCHUNK]; in BZ2File_readlines()
654 size_t buffersize = SMALLCHUNK; in BZ2File_readlines()
1017 char small_buffer[SMALLCHUNK]; in BZ2File_seek()
1019 size_t buffersize = SMALLCHUNK; in BZ2File_seek()
1649 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Comp_compress()
1729 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Comp_flush()
1946 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Decomp_decompress()
2172 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in bz2_compress()
[all …]
/external/python/cpython3/Modules/_io/
Dfileio.c42 #define SMALLCHUNK (8*1024) macro
46 #define SMALLCHUNK BUFSIZ macro
661 if (addend < SMALLCHUNK)
663 addend = SMALLCHUNK;
714 bufsize = SMALLCHUNK;
Dwinconsoleio.c32 #define SMALLCHUNK (2*1024) macro
36 #define SMALLCHUNK BUFSIZ macro
770 if (addend < SMALLCHUNK) in new_buffersize()
772 addend = SMALLCHUNK; in new_buffersize()
/external/python/cpython2/Modules/_io/
Dfileio.c41 #define SMALLCHUNK (8*1024) macro
45 #define SMALLCHUNK BUFSIZ macro
562 if (end >= SMALLCHUNK && end >= pos && pos >= 0) { in new_buffersize()
586 result = PyBytes_FromStringAndSize(NULL, SMALLCHUNK); in fileio_readall()
/external/python/cpython2/Objects/
Dfileobject.c1006 #define SMALLCHUNK 8192 macro
1008 #define SMALLCHUNK BUFSIZ macro
1686 char small_buffer[SMALLCHUNK]; in file_readlines()
1688 size_t buffersize = SMALLCHUNK; in file_readlines()