Home
last modified time | relevance | path

Searched refs:lws_get_context (Results 1 – 25 of 65) sorted by relevance

123

/external/libwebsockets/minimal-examples/http-client/minimal-http-client-h2-rxflow/
Dminimal-http-client.c44 lws_sul_schedule(lws_get_context(pss->wsi), 0, &pss->sul, drain_cb, in drain_cb()
75 lws_sul_schedule(lws_get_context(wsi), 0, &pss->sul, drain_cb, in callback_http()
112 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
118 lws_sul_schedule(lws_get_context(wsi), 0, &pss->sul, NULL, in callback_http()
120 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
Dminimal-http-client-post.c44 lws_cancel_service(lws_get_context(wsi)); in callback_http()
54 lws_cancel_service(lws_get_context(wsi)); in callback_http()
90 lws_cancel_service(lws_get_context(wsi)); in callback_http()
/external/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c42 lws_sul_schedule(lws_get_context(v->wsi), 0, &v->sul, sul_cb, in sul_cb()
140 lws_sul_schedule(lws_get_context(wsi), 0, &vhd->sul, sul_cb, 1); in callback_raw_test()
156 lws_sul_schedule(lws_get_context(wsi), 0, &vhd->sul, sul_cb, LWS_SET_TIMER_USEC_CANCEL); in callback_raw_test()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-hugeurl/
Dminimal-http-client-hugeurl.c115 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
121 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c49 lws_sul_schedule(lws_get_context(pss->wsi), 0, &pss->sul, sul_cb, in sul_cb()
82 lws_sul_schedule(lws_get_context(wsi), 0, &pss->sul, sul_cb, in callback_http()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c122 vhd->context = lws_get_context(wsi); in callback_minimal_client_echo()
257 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_client_echo()
269 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_client_echo()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-custom-headers/
Dminimal-http-client-custom-headers.c111 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
117 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-certinfo/
Dminimal-http-client-certinfo.c101 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
107 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/
Dminimal-http-client-attach.c83 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
89 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/gtk/minimal-gtk/
Dmain.c106 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
110 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c82 vhd->context = lws_get_context(wsi); in callback_minimal_server_echo()
214 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_server_echo()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c124 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
130 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/external/libwebsockets/lib/roles/ws/ext/
Dextension.c158 ext->callback(lws_get_context(wsi), in lws_ext_parse_options()
200 lws_get_context(wsi), wsi->ws->active_extensions[n], in lws_ext_cb_active()
/external/libwebsockets/plugins/
Dprotocol_client_loopback_test.c92 i.context = lws_get_context(wsi); in callback_client_loopback_test()
Dprotocol_lws_raw_test.c110 vhd->context = lws_get_context(wsi); in callback_raw_test()
Dprotocol_esp32_lws_group.c83 vhd->context = lws_get_context(wsi); in callback_lws_group()
/external/libwebsockets/plugin-standalone/
Dprotocol_example_standalone.c73 vhd->context = lws_get_context(wsi); in callback_dumb_increment()
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c381 lws_get_random(lws_get_context(wsi), rands, sizeof(rands)); in callback_audio()
446 if (!avs_query_start(lws_get_context(wsi))) { in callback_audio()
/external/libwebsockets/plugins/generic-table/
Dprotocol_table_dirlisting.c88 uv_loop_t *loop = lws_uv_getloop(lws_get_context(wsi), 0); in scan_dir()
112 uv_fs_event_init(lws_uv_getloop(lws_get_context(wsi), 0), in scan_dir()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/
Dprotocol_lws_minimal.c79 vhd->context = lws_get_context(wsi); in callback_minimal()
/external/libwebsockets/lib/secure-streams/protocols/
Dss-h2.c70 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in secstream_h2()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server/
Dprotocol_lws_minimal.c79 vhd->context = lws_get_context(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c96 vhd->context = lws_get_context(wsi); in callback_minimal()
/external/libwebsockets/lib/roles/ws/
Dclient-ws.c526 if (ext->callback(lws_get_context(wsi), ext, wsi, in lws_client_ws_upgrade()
575 if (ext->callback(lws_get_context(wsi), ext, wsi, in lws_client_ws_upgrade()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c172 vhd->tp = lws_threadpool_create(lws_get_context(wsi), in callback_minimal()

123