Searched refs:datacnt (Results 1 – 9 of 9) sorted by relevance
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
D | ngtcp2_strm.c | 226 for (; idx < fr->datacnt && offset < gap.begin; ++idx) { in strm_streamfrq_unacked_pop() 236 if (idx == fr->datacnt) { in strm_streamfrq_unacked_pop() 244 fr->offset += ngtcp2_vec_len(fr->data, fr->datacnt); in strm_streamfrq_unacked_pop() 245 fr->datacnt = 0; in strm_streamfrq_unacked_pop() 252 if (fr->offset == 0 && fr->datacnt == 0 && strm->tx.offset == 0 && in strm_streamfrq_unacked_pop() 269 for (; end_idx < fr->datacnt; ++end_idx) { in strm_streamfrq_unacked_pop() 279 if (fr->offset == offset && base_offset == 0 && fr->datacnt == end_idx) { in strm_streamfrq_unacked_pop() 284 if (fr->datacnt == end_idx) { in strm_streamfrq_unacked_pop() 290 fr->datacnt = end_idx - idx; in strm_streamfrq_unacked_pop() 299 &nfrc, fr->datacnt - end_idx, strm->frc_objalloc, strm->mem); in strm_streamfrq_unacked_pop() [all …]
|
D | ngtcp2_rtb.c | 74 size_t datacnt, in ngtcp2_frame_chain_stream_datacnt_objalloc_new() argument 79 if (datacnt > 1) { in ngtcp2_frame_chain_stream_datacnt_objalloc_new() 80 need = sizeof(ngtcp2_vec) * (datacnt - 1); in ngtcp2_frame_chain_stream_datacnt_objalloc_new() 91 size_t datacnt, in ngtcp2_frame_chain_crypto_datacnt_objalloc_new() argument 96 if (datacnt > 1) { in ngtcp2_frame_chain_crypto_datacnt_objalloc_new() 97 need = sizeof(ngtcp2_vec) * (datacnt - 1); in ngtcp2_frame_chain_crypto_datacnt_objalloc_new() 162 if (frc->fr.stream.datacnt && in ngtcp2_frame_chain_objalloc_del() 163 sizeof(ngtcp2_vec) * (frc->fr.stream.datacnt - 1) > in ngtcp2_frame_chain_objalloc_del() 172 if (frc->fr.crypto.datacnt && in ngtcp2_frame_chain_objalloc_del() 173 sizeof(ngtcp2_vec) * (frc->fr.crypto.datacnt - 1) > in ngtcp2_frame_chain_objalloc_del() [all …]
|
D | ngtcp2_rtb.h | 146 size_t datacnt, 158 size_t datacnt,
|
D | ngtcp2_pkt.h | 188 size_t datacnt; member 309 size_t datacnt; member 333 size_t datacnt; member
|
D | ngtcp2_pkt.c | 645 dest->datacnt = 1; in ngtcp2_pkt_decode_stream_frame() 648 dest->datacnt = 0; in ngtcp2_pkt_decode_stream_frame() 1340 dest->datacnt = 1; in ngtcp2_pkt_decode_crypto_frame() 1343 dest->datacnt = 0; in ngtcp2_pkt_decode_crypto_frame() 1483 dest->datacnt = 0; in ngtcp2_pkt_decode_datagram_frame() 1490 dest->datacnt = 1; in ngtcp2_pkt_decode_datagram_frame() 1590 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_stream_frame() 1615 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_stream_frame() 1975 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_crypto_frame() 1993 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_crypto_frame() [all …]
|
D | ngtcp2_conn.c | 550 if (fr->datacnt) { in conn_call_recv_datagram() 551 assert(fr->datacnt == 1); in conn_call_recv_datagram() 1935 len = ngtcp2_vec_len(frc->fr.stream.data, frc->fr.stream.datacnt) + in conn_retry_early_payloadlen() 1981 datalen = ngtcp2_vec_len(fr->data, fr->datacnt); in conn_cryptofrq_unacked_offset() 2024 for (; idx < fr->datacnt && offset < gap.begin; ++idx) { in conn_cryptofrq_unacked_pop() 2034 if (idx == fr->datacnt) { in conn_cryptofrq_unacked_pop() 2045 for (; end_idx < fr->datacnt; ++end_idx) { in conn_cryptofrq_unacked_pop() 2055 if (fr->offset == offset && base_offset == 0 && fr->datacnt == end_idx) { in conn_cryptofrq_unacked_pop() 2060 if (fr->datacnt == end_idx) { in conn_cryptofrq_unacked_pop() 2066 fr->datacnt = end_idx - idx; in conn_cryptofrq_unacked_pop() [all …]
|
D | ngtcp2_conn.h | 706 size_t datacnt; member 717 size_t datacnt; member
|
D | ngtcp2_log.c | 226 fr->fin, fr->offset, ngtcp2_vec_len(fr->data, fr->datacnt), in log_fr_stream() 420 ngtcp2_vec_len(fr->data, fr->datacnt)); in log_fr_crypto() 463 ngtcp2_vec_len(fr->data, fr->datacnt)); in log_fr_datagram()
|
D | ngtcp2_qlog.c | 422 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_crypto_frame() 455 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_stream_frame() 668 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_datagram_frame()
|