Go to the source code of this file.
|
static grpc_slice * | allocate_blocks (size_t num_bytes, size_t slice_size, size_t *num_blocks, uint8_t *current_data) |
|
static grpc_endpoint_test_fixture | begin_test (grpc_endpoint_test_config config, const char *test_name, size_t slice_size) |
|
size_t | count_slices (grpc_slice *slices, size_t nslices, int *current_data) |
|
static void | end_test (grpc_endpoint_test_config config) |
|
void | grpc_endpoint_tests (grpc_endpoint_test_config config, grpc_pollset *pollset, gpr_mu *mu) |
|
static void | inc_on_failure (void *arg, grpc_error_handle error) |
|
static void | multiple_shutdown_test (grpc_endpoint_test_config config) |
|
static void | read_and_write_test (grpc_endpoint_test_config config, size_t num_bytes, size_t write_size, size_t slice_size, int max_write_frame_size, bool shutdown) |
|
static void | read_and_write_test_read_handler (void *data, grpc_error_handle error) |
|
static void | read_and_write_test_write_handler (void *data, grpc_error_handle error) |
|
static void | read_scheduler (void *data, grpc_error_handle) |
|
static void | wait_for_fail_count (int *fail_count, int want_fail_count) |
|
static void | write_scheduler (void *data, grpc_error_handle) |
|
◆ allocate_blocks()
static grpc_slice* allocate_blocks |
( |
size_t |
num_bytes, |
|
|
size_t |
slice_size, |
|
|
size_t * |
num_blocks, |
|
|
uint8_t * |
current_data |
|
) |
| |
|
static |
◆ begin_test()
◆ count_slices()
size_t count_slices |
( |
grpc_slice * |
slices, |
|
|
size_t |
nslices, |
|
|
int * |
current_data |
|
) |
| |
◆ end_test()
◆ grpc_endpoint_tests()
◆ inc_on_failure()
◆ multiple_shutdown_test()
◆ read_and_write_test()
static void read_and_write_test |
( |
grpc_endpoint_test_config |
config, |
|
|
size_t |
num_bytes, |
|
|
size_t |
write_size, |
|
|
size_t |
slice_size, |
|
|
int |
max_write_frame_size, |
|
|
bool |
shutdown |
|
) |
| |
|
static |
◆ read_and_write_test_read_handler()
static void read_and_write_test_read_handler |
( |
void * |
data, |
|
|
grpc_error_handle |
error |
|
) |
| |
|
static |
◆ read_and_write_test_write_handler()
static void read_and_write_test_write_handler |
( |
void * |
data, |
|
|
grpc_error_handle |
error |
|
) |
| |
|
static |
◆ read_scheduler()
◆ wait_for_fail_count()
static void wait_for_fail_count |
( |
int * |
fail_count, |
|
|
int |
want_fail_count |
|
) |
| |
|
static |
◆ write_scheduler()
◆ g_mu
◆ g_pollset