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()
1635 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Comp_compress()
1715 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Comp_flush()
1932 ret = PyString_FromStringAndSize(NULL, SMALLCHUNK); in BZ2Decomp_decompress()
2158 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
670 if (addend < SMALLCHUNK)
672 addend = SMALLCHUNK;
719 bufsize = SMALLCHUNK;
Dwinconsoleio.c32 #define SMALLCHUNK (2*1024) macro
36 #define SMALLCHUNK BUFSIZ macro
791 if (addend < SMALLCHUNK) in new_buffersize()
793 addend = SMALLCHUNK; in new_buffersize()
/external/python/cpython2/Modules/_io/
Dfileio.c38 #define SMALLCHUNK (8*1024) macro
42 #define SMALLCHUNK BUFSIZ macro
526 if (end >= SMALLCHUNK && end >= pos && pos >= 0) { in new_buffersize()
550 result = PyBytes_FromStringAndSize(NULL, SMALLCHUNK); in fileio_readall()
/external/python/cpython2/Objects/
Dfileobject.c996 #define SMALLCHUNK 8192 macro
998 #define SMALLCHUNK BUFSIZ macro
1665 char small_buffer[SMALLCHUNK]; in file_readlines()
1667 size_t buffersize = SMALLCHUNK; in file_readlines()