Searched refs:is_numeric_host (Results 1 – 3 of 3) sorted by relevance
27 bool SocketAddress::is_numeric_host(const char* hostname) { in is_numeric_host() function28 return is_numeric_host(hostname, AF_INET) || in is_numeric_host()29 is_numeric_host(hostname, AF_INET6); in is_numeric_host()32 bool SocketAddress::is_numeric_host(const char* hostname, int family) { in is_numeric_host() function
44 inline static bool is_numeric_host(const char* hostname);45 inline static bool is_numeric_host(const char* hostname, int family);
9 CHECK(SocketAddress::is_numeric_host("123.123.123.123")); in TEST()10 CHECK(!SocketAddress::is_numeric_host("localhost")); in TEST()