reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
29 EXPECT_TRUE(Socket::DecodeHostAndPort("localhost:1138", host_str, port_str, 32 EXPECT_STREQ("1138", port_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)); 57 EXPECT_STREQ("12345", port_str.c_str()); 62 Socket::DecodeHostAndPort("*:0", host_str, port_str, port, &error)); 64 EXPECT_STREQ("0", port_str.c_str()); 69 Socket::DecodeHostAndPort("*:65535", host_str, port_str, port, &error)); 71 EXPECT_STREQ("65535", port_str.c_str()); 76 Socket::DecodeHostAndPort("[::1]:12345", host_str, port_str, port, &error)); 78 EXPECT_STREQ("12345", port_str.c_str()); 83 Socket::DecodeHostAndPort("[abcd:12fg:AF58::1]:12345", host_str, port_str, port, &error)); 85 EXPECT_STREQ("12345", port_str.c_str());