Lines Matching refs:outobj
56 PyObject *excobj, *outobj; member
195 PyBytes_AS_STRING(buf->outobj)); in expand_encodebuffer()
196 orgsize = PyBytes_GET_SIZE(buf->outobj); in expand_encodebuffer()
204 if (_PyBytes_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer()
207 buf->outbuf = (unsigned char *)PyBytes_AS_STRING(buf->outobj) +orgpos; in expand_encodebuffer()
208 buf->outbuf_end = (unsigned char *)PyBytes_AS_STRING(buf->outobj) in expand_encodebuffer()
209 + PyBytes_GET_SIZE(buf->outobj); in expand_encodebuffer()
503 buf.outobj = NULL; in multibytecodec_encode()
515 buf.outobj = PyBytes_FromStringAndSize(NULL, datalen * 2 + 16); in multibytecodec_encode()
516 if (buf.outobj == NULL) in multibytecodec_encode()
518 buf.outbuf = (unsigned char *)PyBytes_AS_STRING(buf.outobj); in multibytecodec_encode()
519 buf.outbuf_end = buf.outbuf + PyBytes_GET_SIZE(buf.outobj); in multibytecodec_encode()
553 PyBytes_AS_STRING(buf.outobj)); in multibytecodec_encode()
555 if (finalsize != PyBytes_GET_SIZE(buf.outobj)) in multibytecodec_encode()
556 if (_PyBytes_Resize(&buf.outobj, finalsize) == -1) in multibytecodec_encode()
562 return buf.outobj; in multibytecodec_encode()
566 Py_XDECREF(buf.outobj); in multibytecodec_encode()