Home
last modified time | relevance | path

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

/third_party/node/src/
Dnode_sockaddr-inl.h27 bool SocketAddress::is_numeric_host(const char* hostname) { in is_numeric_host() function
28 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
Dnode_sockaddr.h44 inline static bool is_numeric_host(const char* hostname);
45 inline static bool is_numeric_host(const char* hostname, int family);
/third_party/node/test/cctest/
Dtest_sockaddr.cc9 CHECK(SocketAddress::is_numeric_host("123.123.123.123")); in TEST()
10 CHECK(!SocketAddress::is_numeric_host("localhost")); in TEST()