Searched refs:npendings (Results 1 – 2 of 2) sorted by relevance
826 Py_ssize_t npendings; in decoder_append_pending() local828 npendings = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in decoder_append_pending()829 if (npendings + ctx->pendingsize > MAXDECPENDING || in decoder_append_pending()830 npendings > PY_SSIZE_T_MAX - ctx->pendingsize) { in decoder_append_pending()834 memcpy(ctx->pending + ctx->pendingsize, buf->inbuf, npendings); in decoder_append_pending()835 ctx->pendingsize += npendings; in decoder_append_pending()
822 Py_ssize_t npendings; in decoder_append_pending() local824 npendings = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in decoder_append_pending()825 if (npendings + ctx->pendingsize > MAXDECPENDING || in decoder_append_pending()826 npendings > PY_SSIZE_T_MAX - ctx->pendingsize) { in decoder_append_pending()830 memcpy(ctx->pending + ctx->pendingsize, buf->inbuf, npendings); in decoder_append_pending()831 ctx->pendingsize += npendings; in decoder_append_pending()