reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Host/SocketTest.cpp
   29   EXPECT_TRUE(Socket::DecodeHostAndPort("localhost:1138", host_str, port_str,
   31   EXPECT_STREQ("localhost", host_str.c_str());
   36   EXPECT_FALSE(Socket::DecodeHostAndPort("google.com:65536", host_str, port_str,
   42   EXPECT_FALSE(Socket::DecodeHostAndPort("google.com:-1138", host_str, port_str,
   48   EXPECT_FALSE(Socket::DecodeHostAndPort("google.com:65536", host_str, port_str,
   55       Socket::DecodeHostAndPort("12345", host_str, port_str, port, &error));
   56   EXPECT_STREQ("", host_str.c_str());
   62       Socket::DecodeHostAndPort("*:0", host_str, port_str, port, &error));
   63   EXPECT_STREQ("*", host_str.c_str());
   69       Socket::DecodeHostAndPort("*:65535", host_str, port_str, port, &error));
   70   EXPECT_STREQ("*", host_str.c_str());
   76       Socket::DecodeHostAndPort("[::1]:12345", host_str, port_str, port, &error));
   77   EXPECT_STREQ("::1", host_str.c_str());
   83       Socket::DecodeHostAndPort("[abcd:12fg:AF58::1]:12345", host_str, port_str, port, &error));
   84   EXPECT_STREQ("abcd:12fg:AF58::1", host_str.c_str());