Lines Matching defs:flags
40 buf[4] = hd->flags;
48 hd->flags = buf[4];
54 uint8_t flags, int32_t stream_id) {
57 hd->flags = flags;
62 void nghttp2_frame_headers_init(nghttp2_headers *frame, uint8_t flags,
66 nghttp2_frame_hd_init(&frame->hd, 0, NGHTTP2_HEADERS, flags, stream_id);
101 void nghttp2_frame_settings_init(nghttp2_settings *frame, uint8_t flags,
104 NGHTTP2_SETTINGS, flags, 0);
113 void nghttp2_frame_push_promise_init(nghttp2_push_promise *frame, uint8_t flags,
117 nghttp2_frame_hd_init(&frame->hd, 0, NGHTTP2_PUSH_PROMISE, flags, stream_id);
130 void nghttp2_frame_ping_init(nghttp2_ping *frame, uint8_t flags,
132 nghttp2_frame_hd_init(&frame->hd, 8, NGHTTP2_PING, flags, 0);
159 uint8_t flags, int32_t stream_id,
161 nghttp2_frame_hd_init(&frame->hd, 4, NGHTTP2_WINDOW_UPDATE, flags, stream_id);
171 /* We have iframe->padlen == 0, but iframe->frame.hd.flags may have
173 CONTINUATION frame, since we don't reset flags after HEADERS was
178 return padlen - ((frame->hd.flags & NGHTTP2_FLAG_PADDED) > 0);
181 void nghttp2_frame_data_init(nghttp2_data *frame, uint8_t flags,
184 nghttp2_frame_hd_init(&frame->hd, 0, NGHTTP2_DATA, flags, stream_id);
191 uint8_t flags, int32_t stream_id,
193 nghttp2_frame_hd_init(&frame->hd, 0, type, flags, stream_id);
281 size_t nghttp2_frame_priority_len(uint8_t flags) {
282 if (flags & NGHTTP2_FLAG_PRIORITY) {
290 return nghttp2_frame_priority_len(frame->hd.flags);
322 hd.flags = (uint8_t)(hd.flags & ~NGHTTP2_FLAG_END_HEADERS);
331 /* We don't have no flags except for last CONTINUATION */
332 hd.flags = NGHTTP2_FLAG_NONE;
350 hd.flags = NGHTTP2_FLAG_END_HEADERS;
389 if (frame->hd.flags & NGHTTP2_FLAG_PRIORITY) {
423 if (frame->hd.flags & NGHTTP2_FLAG_PRIORITY) {
1050 if ((nva[i].flags & NGHTTP2_NV_FLAG_NO_COPY_NAME) == 0) {
1053 if ((nva[i].flags & NGHTTP2_NV_FLAG_NO_COPY_VALUE) == 0) {
1070 p->flags = nva[i].flags;
1072 if (nva[i].flags & NGHTTP2_NV_FLAG_NO_COPY_NAME) {
1086 if (nva[i].flags & NGHTTP2_NV_FLAG_NO_COPY_VALUE) {
1211 hd->flags |= NGHTTP2_FLAG_PADDED;