Lines Matching refs:ricnt
2291 DEBUGF("qpack::encoder: Header acknowledgement stream=%ld ricnt=%" PRIu64
2366 nghttp3_qpack_encoder *encoder, nghttp3_buf *pbuf, uint64_t ricnt,
2370 uint64_t encricnt = ricnt == 0 ? 0 : (ricnt % (2 * max_ents)) + 1;
2371 int sign = base < ricnt;
2372 uint64_t delta_base = sign ? ricnt - base - 1 : base - ricnt;
2378 DEBUGF("qpack::encode: ricnt=%" PRIu64 " base=%" PRIu64 " icnt=%" PRIu64 "\n",
2379 ricnt, base, encoder->ctx.next_absidx);
3230 sctx->ricnt = 0;
3245 return sctx->ricnt;
3283 rv = nghttp3_qpack_decoder_reconstruct_ricnt(decoder, &sctx->ricnt,
3315 if (sctx->ricnt <= sctx->rstate.left) {
3319 sctx->base = sctx->ricnt - sctx->rstate.left - 1;
3321 sctx->base = sctx->ricnt + sctx->rstate.left;
3324 DEBUGF("qpack::decode: ricnt=%" PRIu64 " base=%" PRIu64 " icnt=%" PRIu64
3326 sctx->ricnt, sctx->base, decoder->ctx.next_absidx);
3328 if (sctx->ricnt > decoder->ctx.next_absidx) {
3641 if (sctx->ricnt > decoder->ctx.next_absidx) {
3661 if (sctx->ricnt) {
3703 if (decoder->written_icnt < sctx->ricnt) {
3704 decoder->written_icnt = sctx->ricnt;
3778 uint64_t max_ents, full, max, max_wrapped, ricnt;
3795 ricnt = max_wrapped + encricnt - 1;
3797 if (ricnt > max) {
3798 if (ricnt <= full) {
3801 ricnt -= full;
3804 if (ricnt == 0) {
3808 *dest = ricnt;
3846 if (rstate->absidx >= sctx->ricnt) {
3870 if (rstate->absidx >= sctx->ricnt) {