Go to the source code of this file.
Macros | |
#define | CONCURRENT_COUNT 10 |
Functions | |
static void | getaddrinfo_basic_cb (uv_getaddrinfo_t *handle, int status, struct addrinfo *res) |
static void | getaddrinfo_cuncurrent_cb (uv_getaddrinfo_t *handle, int status, struct addrinfo *res) |
static void | getaddrinfo_fail_cb (uv_getaddrinfo_t *req, int status, struct addrinfo *res) |
TEST_IMPL (getaddrinfo_basic) | |
TEST_IMPL (getaddrinfo_basic_sync) | |
TEST_IMPL (getaddrinfo_concurrent) | |
TEST_IMPL (getaddrinfo_fail) | |
TEST_IMPL (getaddrinfo_fail_sync) | |
Variables | |
static int | callback_counts [CONCURRENT_COUNT] |
static int | fail_cb_called |
static int | getaddrinfo_cbs = 0 |
static uv_getaddrinfo_t * | getaddrinfo_handle |
static uv_getaddrinfo_t | getaddrinfo_handles [CONCURRENT_COUNT] |
static const char * | name = "localhost" |
#define CONCURRENT_COUNT 10 |
Definition at line 26 of file test-getaddrinfo.c.
|
static |
Definition at line 50 of file test-getaddrinfo.c.
|
static |
Definition at line 60 of file test-getaddrinfo.c.
|
static |
Definition at line 39 of file test-getaddrinfo.c.
TEST_IMPL | ( | getaddrinfo_basic | ) |
Definition at line 125 of file test-getaddrinfo.c.
TEST_IMPL | ( | getaddrinfo_basic_sync | ) |
Definition at line 146 of file test-getaddrinfo.c.
TEST_IMPL | ( | getaddrinfo_concurrent | ) |
Definition at line 162 of file test-getaddrinfo.c.
TEST_IMPL | ( | getaddrinfo_fail | ) |
Definition at line 83 of file test-getaddrinfo.c.
TEST_IMPL | ( | getaddrinfo_fail_sync | ) |
Definition at line 108 of file test-getaddrinfo.c.
|
static |
Definition at line 35 of file test-getaddrinfo.c.
|
static |
Definition at line 36 of file test-getaddrinfo.c.
|
static |
Definition at line 30 of file test-getaddrinfo.c.
|
static |
Definition at line 33 of file test-getaddrinfo.c.
|
static |
Definition at line 34 of file test-getaddrinfo.c.
|
static |
Definition at line 28 of file test-getaddrinfo.c.