Searched refs:currentsize (Results 1 – 5 of 5) sorted by relevance
658 new_buffersize(fileio *self, size_t currentsize) argument665 assert(currentsize <= PY_SSIZE_T_MAX);666 if (currentsize > 65536)667 addend = currentsize >> 3;669 addend = 256 + currentsize;673 return addend + currentsize;
780 new_buffersize(winconsoleio *self, DWORD currentsize) in new_buffersize() argument787 if (currentsize > 65536) in new_buffersize()788 addend = currentsize >> 3; in new_buffersize()790 addend = 256 + currentsize; in new_buffersize()794 return addend + currentsize; in new_buffersize()
514 new_buffersize(fileio *self, size_t currentsize) in new_buffersize() argument528 return currentsize + end - pos + 1; in new_buffersize()535 return currentsize + (currentsize >> 3) + 6; in new_buffersize()
1002 new_buffersize(PyFileObject *f, size_t currentsize) in new_buffersize() argument1025 return currentsize + end - pos + 1; in new_buffersize()1032 return currentsize + (currentsize >> 3) + 6; in new_buffersize()
214 Util_NewBufferSize(size_t currentsize) in Util_NewBufferSize() argument219 return currentsize + (currentsize >> 3) + 6; in Util_NewBufferSize()