Home
last modified time | relevance | path

Searched refs:uri_len (Results 1 – 13 of 13) sorted by relevance

/third_party/libwebsockets/lib/roles/http/server/
Dserver.c939 lws_find_mount(struct lws *wsi, const char *uri_ptr, int uri_len) in lws_find_mount() argument
946 if (uri_len >= hm->mountpoint_len && in lws_find_mount()
1500 int uri_len, int *h) in lws_http_redirect_hit() argument
1589 int uri_len = 0, meth, m, http_version_len, ha; in lws_http_action() local
1603 meth = lws_http_get_uri_and_method(wsi, &uri_ptr, &uri_len); in lws_http_action()
1700 wsi->user_space, uri_ptr, (unsigned int)uri_len); in lws_http_action()
1736 if (uri_len >= lws_ptr_diff(end, p)) in lws_http_action()
1741 memcpy(p, uri_ptr, (unsigned int)uri_len); in lws_http_action()
1742 p += uri_len; in lws_http_action()
1768 lws_prepare_access_log_info(wsi, uri_ptr, uri_len, meth); in lws_http_action()
[all …]
Daccess-log.c44 lws_prepare_access_log_info(struct lws *wsi, char *uri_ptr, int uri_len, int meth) in lws_prepare_access_log_info() argument
90 m = uri_len; in lws_prepare_access_log_info()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c497 int uri_len = 0, meth; in lws_process_ws_upgrade() local
500 meth = lws_http_get_uri_and_method(wsi, &uri_ptr, &uri_len); in lws_process_ws_upgrade()
501 hit = lws_find_mount(wsi, uri_ptr, uri_len); in lws_process_ws_upgrade()
781 int uri_len = lws_hdr_total_length(wsi, WSI_TOKEN_GET_URI); in handshake_0405() local
783 lws_find_mount(wsi, uri_ptr, uri_len); in handshake_0405()
/third_party/lwip/src/apps/http/
Dhttp_client.c515 size_t server_name_len, uri_len; in httpc_init_connection_common() local
529 uri_len = strlen(uri); in httpc_init_connection_common()
530 alloc_len += server_name_len + 1 + uri_len + 1; in httpc_init_connection_common()
560 memcpy(req->uri, uri, uri_len + 1); in httpc_init_connection_common()
Dhttpd.c2034 u16_t left_len, uri_len; local
2073 uri_len = (u16_t)(sp2 - (sp1 + 1));
2090 uri[uri_len] = 0;
2105 uri[uri_len] = ' ';
2209 size_t uri_len = strlen(uri); local
2210 if ((uri_len > 0) && (uri[uri_len - 1] == '/') &&
2211 ((uri != http_uri_buf) || (uri_len == 1))) {
2212 size_t copy_len = LWIP_MIN(sizeof(http_uri_buf) - 1, uri_len - 1);
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c802 int uri_len = 0; in lws_h2_bind_for_post_before_action() local
853 if (lws_http_get_uri_and_method(wsi, &uri_ptr, &uri_len) >= 0) in lws_h2_bind_for_post_before_action()
858 (size_t)(hit ? uri_len - in lws_h2_bind_for_post_before_action()
860 uri_len))) in lws_h2_bind_for_post_before_action()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dhs20_supplicant.c880 u8 uri_len, osu_method_len, osu_nai_len; in hs20_osu_add_prov() local
945 uri_len = *pos++; in hs20_osu_add_prov()
946 if (uri_len > end - pos) { in hs20_osu_add_prov()
951 os_memcpy(prov->server_uri, pos, uri_len); in hs20_osu_add_prov()
952 pos += uri_len; in hs20_osu_add_prov()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dhs20_supplicant.c865 u8 uri_len, osu_method_len, osu_nai_len; in hs20_osu_add_prov() local
919 uri_len = *pos++; in hs20_osu_add_prov()
920 if (uri_len > end - pos) { in hs20_osu_add_prov()
925 os_memcpy(prov->server_uri, pos, uri_len); in hs20_osu_add_prov()
926 pos += uri_len; in hs20_osu_add_prov()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Doma_dm_client.c509 size_t uri_len; in oma_dm_run_add() local
566 uri_len = os_strlen(uri); in oma_dm_run_add()
567 os_strlcpy(uri, pos + uri_len, os_strlen(pos)); in oma_dm_run_add()
Dosu_client.c3009 size_t uri_len = os_strlen(logo->uri); in osu_cert_cb() local
3014 i, logo->uri, (int) uri_len, (int) name_len); in osu_cert_cb()
3015 if (uri_len < 1 + name_len) { in osu_cert_cb()
3019 pos = &logo->uri[uri_len - name_len - 1]; in osu_cert_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Doma_dm_client.c509 size_t uri_len; in oma_dm_run_add() local
566 uri_len = os_strlen(uri); in oma_dm_run_add()
567 os_strlcpy(uri, pos + uri_len, os_strlen(pos)); in oma_dm_run_add()
Dosu_client.c3009 size_t uri_len = os_strlen(logo->uri); in osu_cert_cb() local
3014 i, logo->uri, (int) uri_len, (int) name_len); in osu_cert_cb()
3015 if (uri_len < 1 + name_len) { in osu_cert_cb()
3019 pos = &logo->uri[uri_len - name_len - 1]; in osu_cert_cb()
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h886 lws_find_mount(struct lws *wsi, const char *uri_ptr, int uri_len);