Home
last modified time | relevance | path

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

/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c60 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member
425 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_decerror()
431 (const char *)buf->inbuf_top, in multibytecodec_decerror()
432 (Py_ssize_t)(buf->inbuf_end - buf->inbuf_top), in multibytecodec_decerror()
466 newpos += (Py_ssize_t)(buf->inbuf_end - buf->inbuf_top); in multibytecodec_decerror()
467 if (newpos < 0 || buf->inbuf_top + newpos > buf->inbuf_end) { in multibytecodec_decerror()
474 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_decerror()
681 buf.inbuf = buf.inbuf_top = (unsigned char *)data; in _multibytecodec_MultibyteCodec_decode_impl()
682 buf.inbuf_end = buf.inbuf_top + datalen; in _multibytecodec_MultibyteCodec_decode_impl()
870 buf->inbuf = buf->inbuf_top = (const unsigned char *)data; in decoder_prepare_buffer()
[all …]