Lines Matching refs:dlen
2028 h2_send_hpack (request_st * const r, connection * const con, const char *data, uint32_t dlen, const… in h2_send_hpack() argument
2069 chunkqueue_append_buffer_open_sz(con->write_queue, dlen + (dlen>>10) + 9); in h2_send_hpack()
2074 const uint32_t len = dlen < fsize ? dlen : fsize; in h2_send_hpack()
2078 if (len == dlen) in h2_send_hpack()
2090 dlen -= len; in h2_send_hpack()
2094 } while (dlen); in h2_send_hpack()
2331 const uint32_t dlen = (uint32_t)((char *)dst - tb->ptr); in h2_send_headers() local
2336 h2_send_hpack(r, con, tb->ptr, dlen, flags); in h2_send_headers()
2428 uint32_t dlen = (uint32_t)((char *)dst - tb->ptr); in h2_send_headers_block() local
2429 h2_send_hpack(r, con, tb->ptr, dlen, flags); in h2_send_headers_block()
2548 h2_send_data (request_st * const r, connection * const con, const char *data, uint32_t dlen)
2574 if ((int32_t)dlen > r->h2_swin) dlen = (uint32_t)r->h2_swin;
2575 if ((int32_t)dlen > h2r->h2_swin) dlen = (uint32_t)h2r->h2_swin;
2576 if (0 == dlen) return 0;
2577 r->h2_swin -= (int32_t)dlen;
2578 h2r->h2_swin -= (int32_t)dlen;
2590 chunkqueue_append_buffer_open_sz(con->write_queue, dlen + (dlen>>10) + 9);
2596 const uint32_t len = dlen < fsize ? dlen : fsize;
2611 dlen -= len;
2612 } while (dlen);
2622 h2_send_cqdata (request_st * const r, connection * const con, chunkqueue * const cq, uint32_t dlen) in h2_send_cqdata() argument
2648 if ((int32_t)dlen > r->h2_swin) dlen = (uint32_t)r->h2_swin; in h2_send_cqdata()
2649 if ((int32_t)dlen > h2r->h2_swin) dlen = (uint32_t)h2r->h2_swin; in h2_send_cqdata()
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()
2655 if (0 == dlen) return 0; in h2_send_cqdata()
2676 const uint32_t len = dlen < fsize ? dlen : fsize-9; in h2_send_cqdata()
2683 dlen -= len; in h2_send_cqdata()
2701 const uint32_t len = dlen < fsize ? dlen : fsize; in h2_send_cqdata()
2702 dlen -= len; in h2_send_cqdata()
2710 } while (dlen); in h2_send_cqdata()