Lines Matching refs:outobj
23 PyObject *excobj, *outobj; member
172 PyBytes_AS_STRING(buf->outobj)); in expand_encodebuffer()
173 orgsize = PyBytes_GET_SIZE(buf->outobj); in expand_encodebuffer()
181 if (_PyBytes_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer()
184 buf->outbuf = (unsigned char *)PyBytes_AS_STRING(buf->outobj) +orgpos; in expand_encodebuffer()
185 buf->outbuf_end = (unsigned char *)PyBytes_AS_STRING(buf->outobj) in expand_encodebuffer()
186 + PyBytes_GET_SIZE(buf->outobj); in expand_encodebuffer()
480 buf.outobj = NULL; in multibytecodec_encode()
492 buf.outobj = PyBytes_FromStringAndSize(NULL, datalen * 2 + 16); in multibytecodec_encode()
493 if (buf.outobj == NULL) in multibytecodec_encode()
495 buf.outbuf = (unsigned char *)PyBytes_AS_STRING(buf.outobj); in multibytecodec_encode()
496 buf.outbuf_end = buf.outbuf + PyBytes_GET_SIZE(buf.outobj); in multibytecodec_encode()
530 PyBytes_AS_STRING(buf.outobj)); in multibytecodec_encode()
532 if (finalsize != PyBytes_GET_SIZE(buf.outobj)) in multibytecodec_encode()
533 if (_PyBytes_Resize(&buf.outobj, finalsize) == -1) in multibytecodec_encode()
539 return buf.outobj; in multibytecodec_encode()
543 Py_XDECREF(buf.outobj); in multibytecodec_encode()