Lines Matching refs:clen
1207 h2_recv_continuation (uint32_t n, uint32_t clen, const off_t cqlen, chunkqueue * const cq, connecti… in h2_recv_continuation() argument
1218 if (clen < n+9) { in h2_recv_continuation()
1219 clen = h2_frame_cq_compact(cq, n+9); in h2_recv_continuation()
1242 if (clen < n) { in h2_recv_continuation()
1243 clen = h2_frame_cq_compact(cq, n); in h2_recv_continuation()
1244 if (clen < n) return n; /* incomplete frame; go on */ in h2_recv_continuation()
1309 if (clen < n+9+flen) { in h2_recv_continuation()
1328 if (n < clen) { /*(additional frames after CONTINUATION)*/ in h2_recv_continuation()
1329 memmove(s+m, s+n, clen-n); in h2_recv_continuation()
1330 n = m + (clen-n); in h2_recv_continuation()
1723 uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_parse_frames() local
1724 if (clen < 9) { in h2_parse_frames()
1725 clen = h2_frame_cq_compact(cq, 9); in h2_parse_frames()
1740 if (clen < 9+flen) { in h2_parse_frames()
1741 clen = h2_frame_cq_compact(cq, 9+flen); in h2_parse_frames()
1750 clen = h2_recv_continuation(9+flen, clen, cqlen, cq, con); in h2_parse_frames()
1751 if (0 == clen) return 0; in h2_parse_frames()
1752 if (cqlen < clen) return 1; /* incomplete frames; go on */ in h2_parse_frames()
1807 if (clen < 9+flen) { in h2_parse_frames()
1808 clen = h2_frame_cq_compact(cq, 9+flen); UNUSED(clen); in h2_parse_frames()
1862 uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_want_read() local
1863 if (clen < 9) { in h2_want_read()
1864 clen = h2_frame_cq_compact(cq, 9); in h2_want_read()
1869 if (clen < 9+flen) return 1; in h2_want_read()
1877 if (clen < n+9) { in h2_want_read()
1878 clen = h2_frame_cq_compact(cq, n+9); in h2_want_read()
1911 const uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_recv_client_connection_preface() local
1912 if (clen < 24) h2_frame_cq_compact(cq, 24); in h2_recv_client_connection_preface()