Searched refs:outobj (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 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() [all …]
|
/third_party/python/Objects/ |
D | unicodeobject.c | 8782 charmapencode_resize(PyObject **outobj, Py_ssize_t *outpos, Py_ssize_t requiredsize) in charmapencode_resize() argument 8784 Py_ssize_t outsize = PyBytes_GET_SIZE(*outobj); in charmapencode_resize() 8788 if (_PyBytes_Resize(outobj, requiredsize)) in charmapencode_resize() 8804 PyObject **outobj, Py_ssize_t *outpos) in charmapencode_output() argument 8808 Py_ssize_t outsize = PyBytes_GET_SIZE(*outobj); in charmapencode_output() 8816 if (charmapencode_resize(outobj, outpos, requiredsize)) in charmapencode_output() 8818 outstart = PyBytes_AS_STRING(*outobj); in charmapencode_output() 8833 if (charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output() 8837 outstart = PyBytes_AS_STRING(*outobj); in charmapencode_output() 8845 if (charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output() [all …]
|