Home
last modified time | relevance | path

Searched refs:lws_lookup (Results 1 – 9 of 9) sorted by relevance

/third_party/libwebsockets/lib/plat/unix/
Dunix-fds.c36 return context->lws_lookup[fd - lws_plat_socket_offset()]; in wsi_from_fd()
40 p = context->lws_lookup; in wsi_from_fd()
64 p = context->lws_lookup; in sanity_assert_no_wsi_traces()
93 if (sfd == LWS_SOCK_INVALID || !context->lws_lookup) in sanity_assert_no_sockfd_traces()
97 context->lws_lookup[sfd - lws_plat_socket_offset()]) { in sanity_assert_no_sockfd_traces()
104 p = context->lws_lookup; in sanity_assert_no_sockfd_traces()
132 assert(context->lws_lookup[wsi->desc.sockfd - in insert_wsi()
135 context->lws_lookup[wsi->desc.sockfd - \ in insert_wsi()
143 p = context->lws_lookup; in insert_wsi()
151 p = context->lws_lookup; in insert_wsi()
[all …]
Dunix-init.c130 context->lws_lookup = lws_zalloc(sizeof(struct lws *) * in lws_plat_init()
133 if (!context->lws_lookup) { in lws_plat_init()
236 if (context->lws_lookup) in lws_plat_context_late_destroy()
237 lws_free_set_NULL(context->lws_lookup); in lws_plat_context_late_destroy()
/third_party/libwebsockets/lib/plat/optee/
Dprivate-lib-plat-optee.h44 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]
45 #define insert_wsi(A,B) assert(A->lws_lookup[B->desc.sockfd - \
47 A->lws_lookup[B->desc.sockfd - \
49 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
Dlws-plat-optee.c155 if (context->lws_lookup) in lws_plat_context_late_destroy()
156 lws_free(context->lws_lookup); in lws_plat_context_late_destroy()
202 context->lws_lookup = lws_zalloc(sizeof(struct lws *) * in lws_plat_init()
204 if (context->lws_lookup == NULL) { in lws_plat_init()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-init.c50 if (context->lws_lookup) in lws_plat_context_late_destroy()
51 lws_free(context->lws_lookup); in lws_plat_context_late_destroy()
94 context->lws_lookup = lws_zalloc(sizeof(struct lws *) * in lws_plat_init()
96 if (context->lws_lookup == NULL) { in lws_plat_init()
Dfreertos-fds.c54 assert(context->lws_lookup[wsi->desc.sockfd - in insert_wsi()
57 context->lws_lookup[wsi->desc.sockfd - \ in insert_wsi()
Dprivate-lib-plat-freertos.h117 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]
125 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
Dprivate-lib-plat-freertos.h111 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]
119 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h602 struct lws **lws_lookup; member