Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_pickle.c634 Py_ssize_t max_output_len; /* Allocation size of output_buffer. */ member
943 PyBytes_FromStringAndSize(NULL, self->max_output_len)); in _Pickler_ClearBuffer()
1070 if (required > self->max_output_len) { in _Pickler_Write()
1076 self->max_output_len = (self->output_len + n) / 2 * 3; in _Pickler_Write()
1077 if (_PyBytes_Resize(&self->output_buffer, self->max_output_len) < 0) in _Pickler_Write()
1125 self->max_output_len = WRITE_BUF_SIZE; in _Pickler_New()
1131 self->max_output_len); in _Pickler_New()
4755 self->max_output_len = WRITE_BUF_SIZE; in _pickle_Pickler___init___impl()
4757 self->max_output_len); in _pickle_Pickler___init___impl()