Home
last modified time | relevance | path

Searched refs:new_min_size (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dbytesobject.c3317 Py_ssize_t new_min_size; in _PyBytesWriter_Prepare() local
3332 new_min_size = writer->min_size + size; in _PyBytesWriter_Prepare()
3334 if (new_min_size > writer->allocated) in _PyBytesWriter_Prepare()
3335 str = _PyBytesWriter_Resize(writer, str, new_min_size); in _PyBytesWriter_Prepare()
3337 writer->min_size = new_min_size; in _PyBytesWriter_Prepare()
/external/python/cpython3/Objects/
Dbytesobject.c3383 Py_ssize_t new_min_size; in _PyBytesWriter_Prepare() local
3398 new_min_size = writer->min_size + size; in _PyBytesWriter_Prepare()
3400 if (new_min_size > writer->allocated) in _PyBytesWriter_Prepare()
3401 str = _PyBytesWriter_Resize(writer, str, new_min_size); in _PyBytesWriter_Prepare()
3403 writer->min_size = new_min_size; in _PyBytesWriter_Prepare()