Searched refs:stdwsi (Results 1 – 10 of 10) sorted by relevance
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-spawn.c | 127 if (lsp->stdwsi[n]) { in lws_spawn_piped_destroy() 129 wsi = lsp->stdwsi[n]; in lws_spawn_piped_destroy() 130 lsp->stdwsi[n]->desc.filefd = NULL; in lws_spawn_piped_destroy() 131 lsp->stdwsi[n] = NULL; in lws_spawn_piped_destroy() 266 wsi = lsp->stdwsi[LWS_STDOUT]; in windows_pipe_poll_hack() 267 wsi1 = lsp->stdwsi[LWS_STDERR]; in windows_pipe_poll_hack() 273 CloseHandle(lsp->stdwsi[LWS_STDOUT]->desc.filefd); in windows_pipe_poll_hack() 275 lsp->stdwsi[LWS_STDOUT]->desc.filefd = NULL; in windows_pipe_poll_hack() 276 lsp->stdwsi[LWS_STDOUT] = NULL; in windows_pipe_poll_hack() 279 if (lsp->stdwsi[LWS_STDIN]) { in windows_pipe_poll_hack() [all …]
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-spawn.c | 137 if (lsp->stdwsi[n]) { in lws_spawn_piped_destroy() 138 lws_set_timeout(lsp->stdwsi[n], 1, LWS_TO_KILL_ASYNC); in lws_spawn_piped_destroy() 139 lsp->stdwsi[n] = NULL; in lws_spawn_piped_destroy() 378 lsp->stdwsi[n] = lws_create_stdwsi(i->vh->context, i->tsi, in lws_spawn_piped() 380 if (!lsp->stdwsi[n]) { in lws_spawn_piped() 386 &lsp->stdwsi[n]->lc, "nspawn-stdwsi-%d", n); in lws_spawn_piped() 388 lsp->stdwsi[n]->lsp_channel = (uint8_t)n; in lws_spawn_piped() 389 lws_vhost_bind_wsi(i->vh, lsp->stdwsi[n]); in lws_spawn_piped() 390 lsp->stdwsi[n]->a.protocol = pcol; in lws_spawn_piped() 391 lsp->stdwsi[n]->a.opaque_user_data = i->opaque; in lws_spawn_piped() [all …]
|
/third_party/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 338 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy() 340 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT], 1); in lws_callback_http_dummy() 666 if (args->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy() 668 lws_rx_flow_control(args->stdwsi[LWS_STDOUT], 0); in lws_callback_http_dummy() 674 n = lws_get_socket_fd(args->stdwsi[LWS_STDERR]); in lws_callback_http_dummy() 715 if (!args->stdwsi[LWS_STDIN]) in lws_callback_http_dummy() 717 n = lws_get_socket_fd(args->stdwsi[LWS_STDIN]); in lws_callback_http_dummy() 768 written = (int)write(args->stdwsi[LWS_STDIN]->desc.filefd, in lws_callback_http_dummy() 810 if (wsi->http.cgi->post_in_expected && args->stdwsi[LWS_STDIN] && in lws_callback_http_dummy() 811 args->stdwsi[LWS_STDIN]->desc.filefd > 0) { in lws_callback_http_dummy() [all …]
|
D | close.c | 451 wsi->parent->http.cgi->lsp->stdwsi[(int)wsi->lsp_channel] = in __lws_close_free_wsi()
|
D | private-lib-core-net.h | 909 struct lws *stdwsi[3]; member
|
/third_party/libwebsockets/test-apps/ |
D | test-sshd.c | 469 priv->wsi_stdout = args->stdwsi[LWS_STDOUT]; in ssh_ops_child_process_io() 470 priv->wsi_stderr = args->stdwsi[LWS_STDERR]; in ssh_ops_child_process_io() 500 m = lws_get_socket_fd(args->stdwsi[args->ch]); in ssh_ops_child_process_io() 530 n = lws_get_socket_fd(args->stdwsi[args->ch]); in ssh_ops_child_process_io() 538 lws_rx_flow_control(args->stdwsi[args->ch], 0); in ssh_ops_child_process_io()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | ops-cgi.c | 68 args.stdwsi = &wsi->parent->http.cgi->lsp->stdwsi[0]; in rops_handle_POLLIN_cgi()
|
D | cgi-server.c | 677 n = lws_get_socket_fd(wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]); in lws_cgi_write_split_stdout_headers() 828 n = lws_get_socket_fd(wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]); in lws_cgi_write_split_stdout_headers() 919 args.stdwsi = &wsi->http.cgi->lsp->stdwsi[0]; in lws_cgi_kill() 1072 return wsi->http.cgi->lsp->stdwsi[ch]; in lws_cgi_get_stdwsi()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-cgi.h | 54 struct lws **stdwsi; /**< get fd with lws_get_socket_fd() */ member
|
/third_party/libwebsockets/lib/roles/h1/ |
D | ops-h1.c | 151 args.stdwsi = &wsi->http.cgi->lsp->stdwsi[0]; in lws_read_h1()
|