Home
last modified time | relevance | path

Searched refs:lws_intptr_t (Results 1 – 22 of 22) sorted by relevance

/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
Dminimal-ws-server.c106 (int)(lws_intptr_t)threadid) >= 0 && in thread_service()
110 lwsl_info("%s: thr %d: exiting\n", __func__, (int)(lws_intptr_t)threadid); in thread_service()
185 (void *)(lws_intptr_t)n)) in main()
/third_party/libwebsockets/plugins/
Dprotocol_post_demo.c87 pss->fd = (lws_filefd_type)(lws_intptr_t)lws_open("/tmp/post-file", in file_upload_cb()
101 n = (int)write((int)(lws_intptr_t)pss->fd, buf, (unsigned int)len); in file_upload_cb()
110 close((int)(lws_intptr_t)pss->fd); in file_upload_cb()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/
Dminimal-http-server-smp.c60 (int)(lws_intptr_t)threadid) >= 0 && in thread_service()
129 (void *)(lws_intptr_t)n)) in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dminimal-ws-server.c93 (int)(lws_intptr_t)threadid) >= 0 && in thread_service()
123 (void *)(lws_intptr_t)started)) in system_notify_cb()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-smp/
Dminimal-http-server-eventlib-smp.c58 (int)(lws_intptr_t)threadid) >= 0 && in thread_service()
159 (void *)(lws_intptr_t)n)) in main()
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c461 lws_sockfd_type sockfd = (lws_sockfd_type)(lws_intptr_t)handle->data; in lws_libuv_closewsi_m()
479 h->data = (void *)(lws_intptr_t)wsi->desc.sockfd; in elops_close_handle_manually_uv()
515 (int)(lws_intptr_t)wsi->desc.filefd); in elops_accept_uv()
522 (void *)(lws_intptr_t)wsi->desc.sockfd); in elops_accept_uv()
623 (void *)(lws_intptr_t)wsi->desc.sockfd); in elops_init_vhost_listen_wsi_uv()
/third_party/libwebsockets/lib/misc/
Dgetifaddrs.c237 i < sa->sa_len - ((lws_intptr_t)sa->sa_data - (lws_intptr_t)&sa->sa_family); i++) in print_addr()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
Dlibevent.c34 signal_cb((int)(lws_intptr_t)arg); in signal_cb_event()
/third_party/libwebsockets/include/
Dlibwebsockets.h73 #define lws_intptr_t intptr_t macro
75 typedef unsigned long long lws_intptr_t; typedef
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c315 close((int)(lws_intptr_t)pss->fd); in file_upload_cb()
323 n = (int)write((int)(lws_intptr_t)pss->fd, buf, (unsigned int)len); in file_upload_cb()
333 close((int)(lws_intptr_t)pss->fd); in file_upload_cb()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c131 (void *)(lws_intptr_t)filt.accept_fd, 0)) { in rops_handle_POLLIN_listen()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c374 wsi->tls.client_bio = BIO_new_socket((int)(lws_intptr_t)wsi->desc.sockfd, in lws_ssl_client_bio_create()
1119 (long)(lws_intptr_t)
1128 (long)(lws_intptr_t)
Dopenssl-server.c650 SSL_set_fd(wsi->tls.ssl, (int)(lws_intptr_t)accept_fd);
/third_party/libwebsockets/lib/core-net/
Doutput.c341 n = (int)write((int)(lws_intptr_t)wsi->desc.filefd, buf, in lws_ssl_capable_write_no_ssl()
Ddummy-callback.c856 return (int)(lws_intptr_t)(pthread_self()).p; in lws_callback_http_dummy()
858 return (int)(lws_intptr_t)pthread_self(); in lws_callback_http_dummy()
Dclose.c664 __func__, lws_wsi_tag(wsi), (int)(lws_intptr_t)wsi->desc.sockfd, in __lws_close_free_wsi()
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension.c230 (void *)(lws_intptr_t)n, arg, (size_t)len); in lws_ext_cb_all_exts()
/third_party/libwebsockets/lib/roles/http/server/
Dlejp-conf.c238 if ((lws_intptr_t)(a->p) & 15) in lwsws_align()
239 a->p += 16 - ((lws_intptr_t)(a->p) & 15); in lwsws_align()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c187 addr->sin_addr.s_addr = (unsigned long)(lws_intptr_t)address; in lws_interface_to_sa()
/third_party/libwebsockets/lib/roles/http/
Dheader.c108 if ((lws_intptr_t)(end - *p) < 3) in lws_finalize_http_header()
Dparsers.c430 !!(lws_intptr_t)pt->http.ah_wait_list); in __lws_header_table_detach()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c167 pt->context->eventlib_signal_cb((void *)(lws_intptr_t)sock_fd, in lws_event_sigint_cb()