• Home
  • Raw
  • Download

Lines Matching refs:inbuf_end

13     const Py_UNICODE    *inbuf, *inbuf_top, *inbuf_end;  member
19 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member
243 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_encerror()
291 buf->inbuf_end - buf->inbuf_top, in multibytecodec_encerror()
340 newpos += (Py_ssize_t)(buf->inbuf_end - buf->inbuf_top); in multibytecodec_encerror()
341 if (newpos < 0 || buf->inbuf_top + newpos > buf->inbuf_end) { in multibytecodec_encerror()
382 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror()
411 (Py_ssize_t)(buf->inbuf_end - buf->inbuf_top), in multibytecodec_decerror()
451 newpos += (Py_ssize_t)(buf->inbuf_end - buf->inbuf_top); in multibytecodec_decerror()
452 if (newpos < 0 || buf->inbuf_top + newpos > buf->inbuf_end) { in multibytecodec_decerror()
483 buf.inbuf_end = buf.inbuf_top + datalen; in multibytecodec_encode()
496 while (buf.inbuf < buf.inbuf_end) { in multibytecodec_encode()
501 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in multibytecodec_encode()
631 buf.inbuf_end = buf.inbuf_top + datalen; in MultibyteCodec_Decode()
642 while (buf.inbuf < buf.inbuf_end) { in MultibyteCodec_Decode()
645 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in MultibyteCodec_Decode()
739 Py_UNICODE *inbuf, *inbuf_end, *inbuf_tmp = NULL; in encoder_encode_stateful() local
780 inbuf_end = inbuf + datalen; in encoder_encode_stateful()
794 if (inbuf < inbuf_end) { in encoder_encode_stateful()
795 ctx->pendingsize = (Py_ssize_t)(inbuf_end - inbuf); in encoder_encode_stateful()
826 npendings = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in decoder_append_pending()
842 buf->inbuf_end = buf->inbuf_top + size; in decoder_prepare_buffer()
859 while (buf->inbuf < buf->inbuf_end) { in decoder_feed_buffer()
863 inleft = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in decoder_feed_buffer()
1070 if (final && buf.inbuf < buf.inbuf_end) { in mbidecoder_decode()
1080 if (buf.inbuf < buf.inbuf_end) { /* pending sequence still exists */ in mbidecoder_decode()
1303 if (buf.inbuf < buf.inbuf_end && in mbstreamreader_iread()
1309 if (buf.inbuf < buf.inbuf_end) { /* pending sequence exists */ in mbstreamreader_iread()