/external/libwebsockets/lib/roles/http/client/ |
D | client-http.c | 632 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP); in lws_client_interpret_server_handshake() 641 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP1_0); in lws_client_interpret_server_handshake() 651 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_STATUS); in lws_client_interpret_server_handshake() 675 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_LOCATION); in lws_client_interpret_server_handshake() 688 char *mp = lws_hdr_simple_ptr(wsi,_WSI_TOKEN_CLIENT_METHOD); in lws_client_interpret_server_handshake() 705 ads = lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 730 ads = lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 735 if (lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI)) in lws_client_interpret_server_handshake() 736 lws_strncpy(new_path, lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 841 if (!strncmp(lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() [all …]
|
D | client-handshake.c | 869 char *pa = lws_hdr_simple_ptr(wsi, 905 ads = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_PEER_ADDRESS); 922 iface = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_IFACE); 1101 memcpy(p, lws_hdr_simple_ptr(wsi, hnames2[n]), (size_t)(
|
/external/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 114 char *pct = lws_hdr_simple_ptr(wsi, in lws_cgi() 180 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD)); in lws_cgi() 182 lws_hdr_simple_ptr(wsi, in lws_cgi() 191 lws_hdr_simple_ptr(wsi, uritok)); in lws_cgi() 243 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_REFERER)); in lws_cgi() 251 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST)); in lws_cgi() 268 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_USER_AGENT)); in lws_cgi() 276 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_CONTENT_ENCODING)); in lws_cgi() 283 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT)); in lws_cgi() 290 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING)); in lws_cgi() [all …]
|
/external/libwebsockets/lib/roles/ws/ |
D | client-ws.c | 174 if (lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_SENT_PROTOCOLS)) in lws_generate_client_ws_handshake() 176 lws_hdr_simple_ptr(wsi, in lws_generate_client_ws_handshake() 288 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_UPGRADE); in lws_client_ws_upgrade() 331 pc = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_SENT_PROTOCOLS); in lws_client_ws_upgrade() 364 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL); in lws_client_ws_upgrade() 607 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_ACCEPT); in lws_client_ws_upgrade()
|
D | server-ws.c | 316 atoi(lws_hdr_simple_ptr(wsi, WSI_TOKEN_VERSION)); in lws_process_ws_upgrade2() 331 lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL), 0)) { in lws_process_ws_upgrade2() 610 lws_hdr_simple_ptr(wsi, WSI_TOKEN_KEY)); in handshake_0405() 703 lws_hdr_simple_ptr(wsi, WSI_TOKEN_GET_URI); in handshake_0405()
|
/external/libwebsockets/lib/roles/http/server/ |
D | server.c | 481 if (strstr(lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING), in lws_vfs_prepare_flags() 606 if (strcmp(sym, lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_IF_RANGE))) in lws_http_serve() 615 if (!strcmp(sym, lws_hdr_simple_ptr(wsi, in lws_http_serve() 964 *puri_ptr = lws_hdr_simple_ptr(wsi, methods[n]); in lws_http_get_uri_and_method() 1052 pcolon = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_AUTHORIZATION); in lws_check_basic_auth() 1056 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_AUTHORIZATION)); in lws_check_basic_auth() 1188 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_AUTHORITY); in lws_http_proxy_start() 1194 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST); in lws_http_proxy_start() 1200 !lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST)) in lws_http_proxy_start() 1203 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST); in lws_http_proxy_start() [all …]
|
D | access-log.c | 74 me = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_prepare_access_log_info()
|
/external/libwebsockets/lib/roles/h2/ |
D | ops-h2.c | 503 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in rops_check_upgrades_h2() 508 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_COLON_PROTOCOL); in rops_check_upgrades_h2() 767 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_h2_bind_for_post_before_action() 771 lws_hdr_simple_ptr(wsi, in lws_h2_bind_for_post_before_action() 777 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_PATH), in lws_h2_bind_for_post_before_action()
|
D | http2.c | 1524 lws_hdr_simple_ptr(h2n->swsi, in lws_h2_parse_end_of_frame() 1604 strncmp(lws_hdr_simple_ptr(h2n->swsi, WSI_TOKEN_TE), in lws_h2_parse_end_of_frame() 1619 p = lws_hdr_simple_ptr(h2n->swsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_h2_parse_end_of_frame() 2304 char *meth = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_METHOD), in lws_h2_client_handshake() 2305 *uri = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI); in lws_h2_client_handshake() 2355 (unsigned char *)lws_hdr_simple_ptr(wsi, in lws_h2_client_handshake() 2362 (unsigned char *)lws_hdr_simple_ptr(wsi, in lws_h2_client_handshake() 2468 if (lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL)) { in lws_h2_ws_handshake() 2470 (uint8_t *)lws_hdr_simple_ptr(wsi, in lws_h2_ws_handshake() 2472 (int)strlen(lws_hdr_simple_ptr(wsi, in lws_h2_ws_handshake() [all …]
|
/external/libwebsockets/lib/roles/http/compression/ |
D | stream.c | 49 a = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING); in lws_http_compression_validate()
|
/external/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 541 if (lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_CONTENT_LENGTH)) in lws_callback_http_dummy() 543 lws_hdr_simple_ptr(wsi, in lws_callback_http_dummy()
|
D | private-lib-core-net.h | 1026 lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h);
|
D | wsi.c | 1057 return lws_hdr_simple_ptr(wsi, hdr_idx); in lws_wsi_client_stash_item()
|
/external/libwebsockets/lib/roles/http/ |
D | parsers.c | 641 char *lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h) in lws_hdr_simple_ptr() function 1419 atoi(lws_hdr_simple_ptr(wsi, WSI_TOKEN_VERSION)); in lws_parse()
|