Lines Matching refs:wpipe
907 MHD_pipe spipe = con->daemon->wpipe[0]; in MHD_handle_connection()
1615 (MHD_INVALID_PIPE_ != daemon->wpipe[1]) && in internal_add_connection()
1616 (1 != MHD_pipe_write_ (daemon->wpipe[1], "n", 1)) ) in internal_add_connection()
1792 if ( (MHD_INVALID_PIPE_ != daemon->wpipe[1]) && in MHD_resume_connection()
1793 (1 != MHD_pipe_write_ (daemon->wpipe[1], "r", 1)) ) in MHD_resume_connection()
2277 if ( (MHD_INVALID_PIPE_ != daemon->wpipe[0]) && in MHD_run_from_select()
2278 (FD_ISSET (daemon->wpipe[0], (fd_set*)read_fd_set)) ) in MHD_run_from_select()
2279 (void) MHD_pipe_read_ (daemon->wpipe[0], &tmp, sizeof (tmp)); in MHD_run_from_select()
2384 if ( (MHD_INVALID_PIPE_ != daemon->wpipe[0]) && in MHD_select()
2385 (MHD_YES != add_to_fd_set (daemon->wpipe[0], in MHD_select()
2485 if (MHD_INVALID_PIPE_ != daemon->wpipe[0]) in MHD_poll_all()
2487 p[poll_server].fd = daemon->wpipe[0]; in MHD_poll_all()
2602 (void) MHD_pipe_read_ (daemon->wpipe[0], &tmp, sizeof (tmp)); in MHD_poll_all()
2637 if (MHD_INVALID_PIPE_ != daemon->wpipe[0]) in MHD_poll_listen_socket()
2639 p[poll_count].fd = daemon->wpipe[0]; in MHD_poll_listen_socket()
2809 if ( (MHD_INVALID_PIPE_ != daemon->wpipe[0]) && in MHD_epoll()
2810 (daemon->wpipe[0] == events[i].data.fd) ) in MHD_epoll()
2812 (void) MHD_pipe_read_ (daemon->wpipe[0], &tmp, sizeof (tmp)); in MHD_epoll()
3067 if ( (MHD_INVALID_PIPE_ == daemon->wpipe[1]) && in MHD_quiesce_daemon()
3572 if ( (MHD_INVALID_PIPE_ != daemon->wpipe[0]) && in setup_epoll_to_listen()
3577 event.data.fd = daemon->wpipe[0]; in setup_epoll_to_listen()
3580 daemon->wpipe[0], in setup_epoll_to_listen()
3679 daemon->wpipe[0] = MHD_INVALID_PIPE_; in MHD_start_daemon_va()
3680 daemon->wpipe[1] = MHD_INVALID_PIPE_; in MHD_start_daemon_va()
3692 if ( (use_pipe) && (0 != MHD_pipe_ (daemon->wpipe)) ) in MHD_start_daemon_va()
3705 (daemon->wpipe[0] >= FD_SETSIZE) ) in MHD_start_daemon_va()
3711 if (0 != MHD_pipe_close_ (daemon->wpipe[0])) in MHD_start_daemon_va()
3713 if (0 != MHD_pipe_close_ (daemon->wpipe[1])) in MHD_start_daemon_va()
4202 (0 != MHD_pipe_ (d->wpipe)) ) in MHD_start_daemon_va()
4214 (d->wpipe[0] >= FD_SETSIZE) ) in MHD_start_daemon_va()
4220 if (0 != MHD_pipe_close_ (d->wpipe[0])) in MHD_start_daemon_va()
4222 if (0 != MHD_pipe_close_ (d->wpipe[1])) in MHD_start_daemon_va()
4370 (MHD_INVALID_PIPE_ != daemon->wpipe[1]) && in close_all_connections()
4371 (1 != MHD_pipe_write_ (daemon->wpipe[1], "e", 1)) ) in close_all_connections()
4408 if (MHD_INVALID_PIPE_ == daemon->wpipe[1]) in epoll_shutdown()
4417 daemon->wpipe[1], in epoll_shutdown()
4457 if (MHD_INVALID_PIPE_ != daemon->wpipe[1]) in MHD_stop_daemon()
4459 if (1 != MHD_pipe_write_ (daemon->wpipe[1], "e", 1)) in MHD_stop_daemon()
4491 if (MHD_INVALID_PIPE_ != daemon->worker_pool[i].wpipe[1]) in MHD_stop_daemon()
4493 if (1 != MHD_pipe_write_ (daemon->worker_pool[i].wpipe[1], "e", 1)) in MHD_stop_daemon()
4507 if (MHD_INVALID_PIPE_ != daemon->worker_pool[i].wpipe[1]) in MHD_stop_daemon()
4509 if (0 != MHD_pipe_close_ (daemon->worker_pool[i].wpipe[0])) in MHD_stop_daemon()
4511 if (0 != MHD_pipe_close_ (daemon->worker_pool[i].wpipe[1])) in MHD_stop_daemon()
4557 if (MHD_INVALID_PIPE_ != daemon->wpipe[1]) in MHD_stop_daemon()
4559 if (0 != MHD_pipe_close_ (daemon->wpipe[0])) in MHD_stop_daemon()
4561 if (0 != MHD_pipe_close_ (daemon->wpipe[1])) in MHD_stop_daemon()