Lines Matching refs:left
1114 size_t left = nghttp3_buf_left(buf);
1117 if (left >= extra_size) {
1121 need = nghttp3_buf_cap(buf) + extra_size - left;
2409 * If the |rstate->left| is nonzero, it is used as an initial value,
2416 * This function stores the decoded integer in |rstate->left| if it
2427 uint64_t n = rstate->left;
2437 rstate->left = (*p) & k;
2445 rstate->left = n;
2477 rstate->left = n;
2481 rstate->left = n;
2538 rv = nghttp3_qpack_encoder_add_icnt(encoder, encoder->rstate.left);
2545 (int64_t)encoder->rstate.left);
2552 (int64_t)encoder->rstate.left);
2628 rstate->left = 0;
2685 if (len >= rstate->left) {
2686 len = (size_t)rstate->left;
2701 rstate->left -= len;
2709 size_t n = (size_t)nghttp3_min((uint64_t)len, rstate->left);
2713 rstate->left -= n;
2823 decoder->rstate.left);
2825 decoder, (size_t)decoder->rstate.left);
2863 decoder->rstate.left = 0;
2880 if (decoder->rstate.left > NGHTTP3_QPACK_MAX_NAMELEN) {
2889 (size_t)decoder->rstate.left * 2 + 1, mem);
2893 (size_t)decoder->rstate.left + 1, mem);
2914 if (decoder->rstate.left) {
2933 if (decoder->rstate.left) {
2945 decoder->rstate.left = 0;
2962 if (decoder->rstate.left > NGHTTP3_QPACK_MAX_VALUELEN) {
2971 (size_t)decoder->rstate.left * 2 + 1, mem);
2975 (size_t)decoder->rstate.left + 1, mem);
2999 if (decoder->rstate.left) {
3034 if (decoder->rstate.left) {
3284 sctx->rstate.left);
3296 sctx->rstate.left = 0;
3315 if (sctx->ricnt <= sctx->rstate.left) {
3319 sctx->base = sctx->ricnt - sctx->rstate.left - 1;
3321 sctx->base = sctx->ricnt + sctx->rstate.left;
3336 sctx->rstate.left = 0;
3340 assert(sctx->rstate.left == 0);
3440 sctx->rstate.left = 0;
3457 if (sctx->rstate.left > NGHTTP3_QPACK_MAX_NAMELEN) {
3466 (size_t)sctx->rstate.left * 2 + 1, mem);
3470 (size_t)sctx->rstate.left + 1, mem);
3490 if (sctx->rstate.left) {
3508 if (sctx->rstate.left) {
3520 sctx->rstate.left = 0;
3537 if (sctx->rstate.left > NGHTTP3_QPACK_MAX_VALUELEN) {
3546 (size_t)sctx->rstate.left * 2 + 1, mem);
3550 (size_t)sctx->rstate.left + 1, mem);
3573 if (sctx->rstate.left) {
3611 if (sctx->rstate.left) {
3816 rstate->dynamic, rstate->left, decoder->ctx.next_absidx);
3819 if (decoder->ctx.next_absidx < rstate->left + 1) {
3822 rstate->absidx = decoder->ctx.next_absidx - rstate->left - 1;
3824 rstate->absidx = rstate->left;
3838 rstate->dynamic, rstate->left, sctx->base, decoder->ctx.next_absidx);
3841 if (sctx->base < rstate->left + 1) {
3844 rstate->absidx = sctx->base - rstate->left - 1;
3850 rstate->absidx = rstate->left;
3864 rstate->left, sctx->base, decoder->ctx.next_absidx);
3868 rstate->absidx = rstate->left + sctx->base;