Searched refs:currentsize (Results 1 – 5 of 5) sorted by relevance
649 new_buffersize(fileio *self, size_t currentsize) argument656 assert(currentsize <= PY_SSIZE_T_MAX);657 if (currentsize > 65536)658 addend = currentsize >> 3;660 addend = 256 + currentsize;664 return addend + currentsize;
759 new_buffersize(winconsoleio *self, DWORD currentsize) in new_buffersize() argument766 if (currentsize > 65536) in new_buffersize()767 addend = currentsize >> 3; in new_buffersize()769 addend = 256 + currentsize; in new_buffersize()773 return addend + currentsize; in new_buffersize()
540 new_buffersize(fileio *self, size_t currentsize) in new_buffersize() argument564 return currentsize + end - pos + 1; in new_buffersize()571 return currentsize + (currentsize >> 3) + 6; in new_buffersize()
1012 new_buffersize(PyFileObject *f, size_t currentsize) in new_buffersize() argument1043 bufsize = currentsize + end - pos + 1; in new_buffersize()1053 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()