Lines Matching refs:n

1118         off_t n = max_request_size - dst->bytes_in - (off_t)alen;  in h2_recv_data()  local
1121 if (__builtin_expect( (n >= 0), 1)) /*(force wupd below w/ +16384)*/ in h2_recv_data()
1122 wupd=n>=rwin ? (n-=rwin)>(int32_t)len ? len : (uint32_t)n+16384 : 0; in h2_recv_data()
1123 else if (-n > 65536 || 0 == r->http_status) { in h2_recv_data()
1207 h2_recv_continuation (uint32_t n, uint32_t clen, const off_t cqlen, chunkqueue * const cq, connecti… in h2_recv_continuation() argument
1211 uint32_t m = n; in h2_recv_continuation()
1217 if (cqlen < n+9) return n+9; /* incomplete frame; go on */ in h2_recv_continuation()
1218 if (clen < n+9) { in h2_recv_continuation()
1219 clen = h2_frame_cq_compact(cq, n+9); in h2_recv_continuation()
1223 if (s[n+3] != H2_FTYPE_CONTINUATION) { in h2_recv_continuation()
1227 flags = s[n+4]; in h2_recv_continuation()
1228 const uint32_t flen = h2_u24(s+n); in h2_recv_continuation()
1229 if (id != h2_u32(s+n+5)) { in h2_recv_continuation()
1237 n += 9+flen; in h2_recv_continuation()
1238 if (n >= 65536) { /*(very oversized for hpack)*/ 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()
1273 n = m; /* reset n to beginning of first CONTINUATION frame */ in h2_recv_continuation()
1280 if (flen < 1 + plen + ((s[n+4] & H2_FLAG_PRIORITY) ? 5 : 0)) { in h2_recv_continuation()
1307 const uint32_t flen = h2_u24(s+n); in h2_recv_continuation()
1309 if (clen < n+9+flen) { in h2_recv_continuation()
1314 flags = s[n+4]; in h2_recv_continuation()
1315 memmove(s+m, s+n+9, flen); in h2_recv_continuation()
1317 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()
1333 n = m; in h2_recv_continuation()
1334 buffer_truncate(c->mem, n + (uint32_t)c->offset); in h2_recv_continuation()
1876 for (uint32_t n = 9+flen; cqlen >= n+9; n += 9+flen) { in h2_want_read() local
1877 if (clen < n+9) { in h2_want_read()
1878 clen = h2_frame_cq_compact(cq, n+9); in h2_want_read()
1882 flen = h2_u24(s+n); in h2_want_read()
1883 if (cqlen < n+9+flen) return 1; /* incomplete frame; go on */ in h2_want_read()
2232 const char *n; in h2_send_headers() local
2235 n = !resp_header_repeated in h2_send_headers()
2245 if (NULL == n) in h2_send_headers()
2250 voff = (uint32_t)(n + 1 - lsx.buf); in h2_send_headers()
2264 } while (n); in h2_send_headers()