Lines Matching defs:fr
45 const nghttp3_frame_settings *fr) {
48 p = nghttp3_frame_write_hd(p, &fr->hd);
50 for (i = 0; i < fr->niv; ++i) {
51 p = nghttp3_put_varint(p, (int64_t)fr->iv[i].id);
52 p = nghttp3_put_varint(p, (int64_t)fr->iv[i].value);
59 const nghttp3_frame_settings *fr) {
63 for (i = 0; i < fr->niv; ++i) {
64 payloadlen += nghttp3_put_varint_len((int64_t)fr->iv[i].id) +
65 nghttp3_put_varint_len((int64_t)fr->iv[i].value);
75 const nghttp3_frame_goaway *fr) {
76 p = nghttp3_frame_write_hd(p, &fr->hd);
77 p = nghttp3_put_varint(p, fr->id);
83 const nghttp3_frame_goaway *fr) {
84 size_t payloadlen = nghttp3_put_varint_len(fr->id);
94 const nghttp3_frame_priority_update *fr) {
95 p = nghttp3_frame_write_hd(p, &fr->hd);
96 p = nghttp3_put_varint(p, fr->pri_elem_id);
98 assert(fr->pri.urgency <= NGHTTP3_URGENCY_LOW);
102 *p++ = (uint8_t)('0' + fr->pri.urgency);
104 if (fr->pri.inc) {
114 int64_t *ppayloadlen, const nghttp3_frame_priority_update *fr) {
115 size_t payloadlen = nghttp3_put_varint_len(fr->pri_elem_id) + sizeof("u=U") -
116 1 + (fr->pri.inc ? sizeof(", i") - 1 : 0);
120 return nghttp3_put_varint_len(fr->hd.type) +
197 void nghttp3_frame_headers_free(nghttp3_frame_headers *fr,
199 if (fr == NULL) {
203 nghttp3_nva_del(fr->nva, mem);