Searched refs:OVERALLOCATE_FACTOR (Results 1 – 3 of 3) sorted by relevance
3205 # define OVERALLOCATE_FACTOR 2 macro3208 # define OVERALLOCATE_FACTOR 4 macro3300 && allocated <= (PY_SSIZE_T_MAX - allocated / OVERALLOCATE_FACTOR)) { in _PyBytesWriter_Resize()3302 allocated += allocated / OVERALLOCATE_FACTOR; in _PyBytesWriter_Resize()
183 # define OVERALLOCATE_FACTOR 2 macro186 # define OVERALLOCATE_FACTOR 413523 && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) { in _PyUnicodeWriter_PrepareInternal()13525 newlen += newlen / OVERALLOCATE_FACTOR; in _PyUnicodeWriter_PrepareInternal()13536 && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) { in _PyUnicodeWriter_PrepareInternal()13538 newlen += newlen / OVERALLOCATE_FACTOR; in _PyUnicodeWriter_PrepareInternal()13573 #undef OVERALLOCATE_FACTOR in _PyUnicodeWriter_PrepareInternal()
3160 # define OVERALLOCATE_FACTOR 2 macro3163 # define OVERALLOCATE_FACTOR 4 macro3255 && allocated <= (PY_SSIZE_T_MAX - allocated / OVERALLOCATE_FACTOR)) { in _PyBytesWriter_Resize()3257 allocated += allocated / OVERALLOCATE_FACTOR; in _PyBytesWriter_Resize()