#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
|
| static void | alloc_cb (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| |
| static void | connect_cb (uv_connect_t *req, int status) |
| |
| int | ipc_send_recv_helper (void) |
| |
| void | ipc_send_recv_helper_threadproc (void *arg) |
| |
| static void | listen_cb (uv_stream_t *handle, int status) |
| |
| static void | read_cb (uv_stream_t *handle, ssize_t nread, const uv_buf_t *rdbuf) |
| |
| static void | recv_cb (uv_stream_t *handle, ssize_t nread, const uv_buf_t *buf) |
| |
| int | run_ipc_send_recv_helper (uv_loop_t *loop, int inprocess) |
| |
| static int | run_ipc_send_recv_pipe (int inprocess) |
| |
| static int | run_ipc_send_recv_tcp (int inprocess) |
| |
| static int | run_test (int inprocess) |
| |
| static void | send_recv_start (void) |
| |
| void | spawn_helper (uv_pipe_t *channel, uv_process_t *process, const char *helper) |
| |
| | TEST_IMPL (ipc_send_recv_pipe) |
| |
| | TEST_IMPL (ipc_send_recv_pipe_inprocess) |
| |
| | TEST_IMPL (ipc_send_recv_tcp) |
| |
| | TEST_IMPL (ipc_send_recv_tcp_inprocess) |
| |
| static void | write2_cb (uv_write_t *req, int status) |
| |
◆ alloc_cb()
◆ connect_cb()
◆ ipc_send_recv_helper()
| int ipc_send_recv_helper |
( |
void |
| ) |
|
◆ ipc_send_recv_helper_threadproc()
| void ipc_send_recv_helper_threadproc |
( |
void * |
arg | ) |
|
◆ listen_cb()
◆ read_cb()
◆ recv_cb()
◆ run_ipc_send_recv_helper()
◆ run_ipc_send_recv_pipe()
| static int run_ipc_send_recv_pipe |
( |
int |
inprocess | ) |
|
|
static |
◆ run_ipc_send_recv_tcp()
| static int run_ipc_send_recv_tcp |
( |
int |
inprocess | ) |
|
|
static |
◆ run_test()
| static int run_test |
( |
int |
inprocess | ) |
|
|
static |
◆ send_recv_start()
| static void send_recv_start |
( |
void |
| ) |
|
|
static |
◆ spawn_helper()
◆ TEST_IMPL() [1/4]
| TEST_IMPL |
( |
ipc_send_recv_pipe |
| ) |
|
◆ TEST_IMPL() [2/4]
| TEST_IMPL |
( |
ipc_send_recv_pipe_inprocess |
| ) |
|
◆ TEST_IMPL() [3/4]
| TEST_IMPL |
( |
ipc_send_recv_tcp |
| ) |
|
◆ TEST_IMPL() [4/4]
| TEST_IMPL |
( |
ipc_send_recv_tcp_inprocess |
| ) |
|
◆ write2_cb()
◆ ctx
◆ ctx2
◆ is_child_process
◆ is_in_process
◆ read_cb_count
◆ recv_cb_count
◆ write2_cb_called