Lines Matching refs:c
302 uint8_t c[16]; in h2_send_rst_stream_id() member
317 (const char *)rst_stream.c+3, sizeof(rst_stream)-3); in h2_send_rst_stream_id()
381 uint8_t c[20]; in h2_send_goaway() member
400 (const char *)goaway.c+3, sizeof(goaway)-3); in h2_send_goaway()
545 uint8_t c[20]; in h2_recv_ping()
816 uint8_t c[16]; in h2_send_window_update() member
831 (const char *)window_upd.c+3, sizeof(window_upd)-3); in h2_send_window_update()
1172 const chunk * const c = dst->last; in h2_recv_data() local
1173 if ((c && c->type == FILE_CHUNK && c->file.is_temp) in h2_recv_data()
1209 chunk *c = cq->first; in h2_recv_continuation() local
1210 uint8_t *s = (uint8_t *)(c->mem->ptr + c->offset); in h2_recv_continuation()
1220 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_recv_continuation()
1221 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_recv_continuation()
1245 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_recv_continuation()
1246 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_recv_continuation()
1334 buffer_truncate(c->mem, n + (uint32_t)c->offset); in h2_recv_continuation()
1719 chunk *c = cq->first; in h2_parse_frames() local
1723 uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_parse_frames()
1726 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_parse_frames()
1728 uint8_t *s = (uint8_t *)(c->mem->ptr + c->offset); in h2_parse_frames()
1742 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_parse_frames()
1743 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_parse_frames()
1753 c = cq->first; /*(reload after h2_recv_continuation())*/ in h2_parse_frames()
1754 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_parse_frames()
1809 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_parse_frames()
1810 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_parse_frames()
1861 chunk *c = cq->first; in h2_want_read() local
1862 uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_want_read()
1865 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_want_read()
1867 uint8_t *s = (uint8_t *)(c->mem->ptr + c->offset); in h2_want_read()
1879 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_want_read()
1880 s = (uint8_t *)(c->mem->ptr + c->offset); in h2_want_read()
1898 chunk * const c = cq->first; in h2_recv_client_connection_preface() local
1899 if (c && buffer_clen(c->mem) - c->offset >= 4) { in h2_recv_client_connection_preface()
1900 const char * const s = c->mem->ptr + c->offset; in h2_recv_client_connection_preface()
1910 chunk *c = cq->first; in h2_recv_client_connection_preface() local
1911 const uint32_t clen = buffer_clen(c->mem) - c->offset; in h2_recv_client_connection_preface()
1913 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_recv_client_connection_preface()
1914 const uint8_t * const s = (uint8_t *)(c->mem->ptr + c->offset); in h2_recv_client_connection_preface()
2031 uint8_t c[12]; in h2_send_hpack() member
2075 headers.c[3] = (len >> 16) & 0xFF; /*(off +3 to skip over align pad)*/ in h2_send_hpack()
2076 headers.c[4] = (len >> 8) & 0xFF; in h2_send_hpack()
2077 headers.c[5] = (len ) & 0xFF; in h2_send_hpack()
2079 headers.c[7] |= H2_FLAG_END_HEADERS; in h2_send_hpack()
2082 (const char *)headers.c+3, sizeof(headers)-3); in h2_send_hpack()
2085 memcpy(ptr, headers.c+3, sizeof(headers)-3); in h2_send_hpack()
2092 headers.c[6] = H2_FTYPE_CONTINUATION; /*(if additional frames needed)*/ in h2_send_hpack()
2093 headers.c[7] = 0x00; /*(off +3 to skip over align pad)*/ in h2_send_hpack()
2534 chunk * const c = r->write_queue.first;
2535 const uint32_t len = buffer_clen(c->mem) - (uint32_t)c->offset;
2536 uint32_t flags = (r->resp_body_finished && NULL == c->next)
2539 h2_send_headers_block(r, con, c->mem->ptr + c->offset, len, flags);
2553 uint8_t c[12];
2597 dataframe.c[3] = (len >> 16) & 0xFF; /*(off +3 to skip over align pad)*/
2598 dataframe.c[4] = (len >> 8) & 0xFF;
2599 dataframe.c[5] = (len ) & 0xFF;
2602 (const char *)dataframe.c+3, sizeof(dataframe)-3);
2605 memcpy(ptr, dataframe.c+3, sizeof(dataframe)-3);
2627 uint8_t c[12]; in h2_send_cqdata() member
2685 dataframe.c[3] = (len >> 16) & 0xFF; /*(+3 to skip align pad)*/ in h2_send_cqdata()
2686 dataframe.c[4] = (len >> 8) & 0xFF; in h2_send_cqdata()
2687 dataframe.c[5] = (len ) & 0xFF; in h2_send_cqdata()
2688 memcpy(b->ptr,(const char *)dataframe.c+3, sizeof(dataframe)-3); in h2_send_cqdata()
2704 dataframe.c[3] = (len >> 16) & 0xFF; /*(off +3 to skip over align pad)*/ in h2_send_cqdata()
2705 dataframe.c[4] = (len >> 8) & 0xFF; in h2_send_cqdata()
2706 dataframe.c[5] = (len ) & 0xFF; in h2_send_cqdata()
2708 (const char *)dataframe.c+3, sizeof(dataframe)-3); in h2_send_cqdata()
2723 uint8_t c[12]; in h2_send_end_stream_data() member
2737 (const char *)dataframe.c+3, sizeof(dataframe)-3); in h2_send_end_stream_data()