Searched refs:lws_token_indexes (Results 1 – 11 of 11) sorted by relevance
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-http.h | 215 enum lws_token_indexes { enum 392 lws_token_to_string(enum lws_token_indexes token); 403 lws_hdr_total_length(struct lws *wsi, enum lws_token_indexes h); 415 lws_hdr_fragment_length(struct lws *wsi, enum lws_token_indexes h, 433 lws_hdr_copy(struct lws *wsi, char *dest, int len, enum lws_token_indexes h); 454 enum lws_token_indexes h, int frag_idx); 630 lws_add_http_header_by_token(struct lws *wsi, enum lws_token_indexes token,
|
/third_party/libwebsockets/lib/roles/http/ |
D | header.c | 30 lws_token_to_string(enum lws_token_indexes token) in lws_token_to_string() 141 lws_add_http_header_by_token(struct lws *wsi, enum lws_token_indexes token, in lws_add_http_header_by_token() 632 c = lws_token_to_string((enum lws_token_indexes)m); in lws_sul_http_ah_lifecheck() 638 len = lws_hdr_total_length(wsi, (enum lws_token_indexes)m); in lws_sul_http_ah_lifecheck() 644 if (lws_hdr_copy(wsi, buf, sizeof buf, (enum lws_token_indexes)m) > 0) { in lws_sul_http_ah_lifecheck()
|
D | parsers.c | 459 lws_hdr_fragment_length(struct lws *wsi, enum lws_token_indexes h, int frag_idx) in lws_hdr_fragment_length() 478 int lws_hdr_total_length(struct lws *wsi, enum lws_token_indexes h) in lws_hdr_total_length() 502 enum lws_token_indexes h, int frag_idx) in lws_hdr_copy_fragment() 533 enum lws_token_indexes h) in lws_hdr_copy() 681 char *lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h) in lws_hdr_simple_ptr() 723 lws_hdr_simple_create(struct lws *wsi, enum lws_token_indexes h, const char *s) in lws_hdr_simple_create()
|
/third_party/libwebsockets/test-apps/ |
D | test-server.c | 141 c = lws_token_to_string((enum lws_token_indexes)n); in lws_callback_http() 147 hlen = lws_hdr_total_length(wsi, (enum lws_token_indexes)n); in lws_callback_http() 153 if (lws_hdr_copy(wsi, buf, sizeof buf, (enum lws_token_indexes)n) < 0) in lws_callback_http()
|
/third_party/libwebsockets/lib/roles/h2/ |
D | private-lib-roles-h2.h | 349 enum lws_token_indexes token, 367 lws_hdr_extant(struct lws *wsi, enum lws_token_indexes h);
|
D | hpack.c | 297 lws_hdr_extant(struct lws *wsi, enum lws_token_indexes h) in lws_hdr_extant() 325 len = lws_hdr_copy(wsi, s, sizeof(s) - 1, (enum lws_token_indexes)hdr); in lws_dump_header() 331 p = lws_token_to_string((enum lws_token_indexes)hdr); in lws_dump_header() 728 lws_token_to_string((enum lws_token_indexes)tok)); in lws_hpack_use_idx_hdr() 1450 int lws_add_http2_header_by_token(struct lws *wsi, enum lws_token_indexes token, in lws_add_http2_header_by_token()
|
D | http2.c | 1685 c = lws_token_to_string((enum lws_token_indexes)n); in lws_h2_parse_end_of_frame() 1691 len = lws_hdr_total_length(h2n->swsi, (enum lws_token_indexes)n); in lws_h2_parse_end_of_frame() 1698 (enum lws_token_indexes)n) < 0) { in lws_h2_parse_end_of_frame()
|
/third_party/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 35 int n = lws_hdr_total_length(par, (enum lws_token_indexes)index); in proxy_header() 43 if (lws_hdr_copy(par, (char *)temp, temp_len, (enum lws_token_indexes)index) < 0) { in proxy_header() 51 if (lws_add_http_header_by_token(wsi, (enum lws_token_indexes)index, temp, n, p, end)) { in proxy_header()
|
D | private-lib-core-net.h | 1074 lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h); 1077 lws_hdr_simple_create(struct lws *wsi, enum lws_token_indexes h, const char *s);
|
D | wsi.c | 1356 return lws_hdr_simple_ptr(wsi, (enum lws_token_indexes)hdr_idx); in lws_wsi_client_stash_item()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 236 lws_hdr_simple_ptr(wsi, (enum lws_token_indexes)uritok)); in lws_cgi() 266 sizeof(cgi_path) - 12, (enum lws_token_indexes)uritok); in lws_cgi()
|