Lines Matching refs:inpos
54 Py_ssize_t inpos, inlen; member
246 esize = (Py_ssize_t)buf->inpos; in multibytecodec_encerror()
262 Py_ssize_t inpos; in multibytecodec_encerror() local
272 inpos = 0; in multibytecodec_encerror()
277 kind, data, &inpos, 1, in multibytecodec_encerror()
295 buf->inpos += esize; in multibytecodec_encerror()
299 start = (Py_ssize_t)buf->inpos; in multibytecodec_encerror()
336 Py_ssize_t inpos; in multibytecodec_encerror() local
339 &inpos, ERROR_STRICT, in multibytecodec_encerror()
367 buf->inpos = newpos; in multibytecodec_encerror()
505 buf.inpos = 0; in multibytecodec_encode()
521 while (buf.inpos < buf.inlen) { in multibytecodec_encode()
528 &buf.inpos, buf.inlen, in multibytecodec_encode()
560 *inpos_t = buf.inpos; in multibytecodec_encode()
770 Py_ssize_t inpos, datalen; in encoder_encode_stateful() local
809 inpos = 0; in encoder_encode_stateful()
813 inbuf, &inpos, in encoder_encode_stateful()
823 if (inpos < datalen) { in encoder_encode_stateful()
824 if (datalen - inpos > MAXENCPENDING) { in encoder_encode_stateful()
830 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()