Lines Matching refs:cqlen
1207 h2_recv_continuation (uint32_t n, uint32_t clen, const off_t cqlen, chunkqueue * const cq, connecti… in h2_recv_continuation() argument
1217 if (cqlen < n+9) return n+9; /* incomplete frame; go on */ in h2_recv_continuation()
1718 for (off_t cqlen = chunkqueue_length(cq); cqlen >= 9; ) { in h2_parse_frames() local
1739 if (cqlen < 9+flen) return 1; /* incomplete frame; go on */ in h2_parse_frames()
1750 clen = h2_recv_continuation(9+flen, clen, cqlen, cq, con); in h2_parse_frames()
1752 if (cqlen < clen) return 1; /* incomplete frames; go on */ in h2_parse_frames()
1759 cqlen = chunkqueue_length(cq); in h2_parse_frames()
1771 cqlen -= (9+flen); in h2_parse_frames()
1785 if (cqlen < 9+flen) return 1; /* incomplete frame; go on */ in h2_parse_frames()
1790 cqlen -= (9+flen); in h2_parse_frames()
1806 if (cqlen < 9+flen) return 1; /* incomplete frame; go on */ in h2_parse_frames()
1841 cqlen -= (9+flen); in h2_parse_frames()
1859 const off_t cqlen = chunkqueue_length(cq); in h2_want_read() local
1860 if (cqlen < 9) return 1; in h2_want_read()
1876 for (uint32_t n = 9+flen; cqlen >= n+9; n += 9+flen) { in h2_want_read()
1883 if (cqlen < n+9+flen) return 1; /* incomplete frame; go on */ in h2_want_read()
2650 const off_t cqlen = chunkqueue_length(cq); in h2_send_cqdata() local
2651 if ((int32_t)dlen > cqlen) dlen = (uint32_t)cqlen; in h2_send_cqdata()
2654 else if (dlen < 2048 && cqlen >= 2048) return 0; in h2_send_cqdata()