Searched refs:result_str (Results 1 – 2 of 2) sorted by relevance
211 PyObject *result_str; in PyZlib_decompress() local228 if (!(result_str = PyString_FromStringAndSize(NULL, r_strlen))) in PyZlib_decompress()233 zst.next_out = (Byte *)PyString_AS_STRING(result_str); in PyZlib_decompress()272 if (_PyString_Resize(&result_str, r_strlen << 1) < 0) { in PyZlib_decompress()276 zst.next_out = (unsigned char *)PyString_AS_STRING(result_str) \ in PyZlib_decompress()294 _PyString_Resize(&result_str, zst.total_out); in PyZlib_decompress()295 return result_str; in PyZlib_decompress()298 Py_XDECREF(result_str); in PyZlib_decompress()
217 PyObject *result_str; in PyZlib_decompress() local234 if (!(result_str = PyString_FromStringAndSize(NULL, r_strlen))) in PyZlib_decompress()239 zst.next_out = (Byte *)PyString_AS_STRING(result_str); in PyZlib_decompress()278 if (_PyString_Resize(&result_str, r_strlen << 1) < 0) { in PyZlib_decompress()282 zst.next_out = (unsigned char *)PyString_AS_STRING(result_str) \ in PyZlib_decompress()300 _PyString_Resize(&result_str, zst.total_out); in PyZlib_decompress()301 return result_str; in PyZlib_decompress()304 Py_XDECREF(result_str); in PyZlib_decompress()