Home
last modified time | relevance | path

Searched refs:ADDR (Results 1 – 1 of 1) sorted by relevance

/libuv/test/
H A Dtest-ip6-addr.c143 #define TEST_GOOD(ADDR) \ argument
144 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR, &addr)); \
145 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%en1", &addr)); \
146 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%%%%", &addr)); \
147 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%en1:1.2.3.4", &addr)); \
149 #define TEST_BAD(ADDR) \ argument
150 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR, &addr)); \
151 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1", &addr)); \
152 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%%%%", &addr)); \
153 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1:1.2.3.4", &addr)); \

Completed in 3 milliseconds