Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c14 unsigned char *outbuf, *outbuf_end; member
20 Py_UNICODE *outbuf, *outbuf_end; member
182 buf->outbuf_end = (unsigned char *)PyString_AS_STRING(buf->outobj) in expand_encodebuffer()
188 if ((s) < 0 || (s) > (buf)->outbuf_end - (buf)->outbuf) \
205 buf->outbuf_end = PyUnicode_AS_UNICODE(buf->outobj) in expand_decodebuffer()
211 if ((s) < 0 || (s) > (buf)->outbuf_end - (buf)->outbuf) \
263 outleft = (Py_ssize_t)(buf->outbuf_end - buf->outbuf); in multibytecodec_encerror()
492 buf.outbuf_end = buf.outbuf + PyString_GET_SIZE(buf.outobj); in multibytecodec_encode()
500 outleft = (Py_ssize_t)(buf.outbuf_end - buf.outbuf); in multibytecodec_encode()
515 outleft = (Py_ssize_t)(buf.outbuf_end - buf.outbuf); in multibytecodec_encode()
[all …]
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c22 unsigned char *outbuf, *outbuf_end; member
175 buf->outbuf_end = (unsigned char *)PyBytes_AS_STRING(buf->outobj) in expand_encodebuffer()
181 if ((s) < 0 || (s) > (buf)->outbuf_end - (buf)->outbuf) \
241 Py_ssize_t outleft = (Py_ssize_t)(buf->outbuf_end - buf->outbuf); in multibytecodec_encerror()
486 buf.outbuf_end = buf.outbuf + PyBytes_GET_SIZE(buf.outobj); in multibytecodec_encode()
491 Py_ssize_t outleft = (Py_ssize_t)(buf.outbuf_end - buf.outbuf); in multibytecodec_encode()
509 outleft = (Py_ssize_t)(buf.outbuf_end - buf.outbuf); in multibytecodec_encode()