Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzlibmodule.c211 PyObject *result_str; in PyZlib_decompress() local
228 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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzlibmodule.c217 PyObject *result_str; in PyZlib_decompress() local
234 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()