Lines Matching refs:error
24 std::string canonical, host, error; in TEST() local
28 ParseNetAddress("www.google.com", &host, &port, &canonical, &error)); in TEST()
34 ParseNetAddress("www.google.com:666", &host, &port, &canonical, &error)); in TEST()
41 std::string canonical, host, error; in TEST() local
44 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, &canonical, &error)); in TEST()
49 EXPECT_TRUE(ParseNetAddress("1.2.3.4:666", &host, &port, &canonical, &error)); in TEST()
56 std::string canonical, host, error; in TEST() local
59 EXPECT_TRUE(ParseNetAddress("::1", &host, &port, &canonical, &error)); in TEST()
65 &canonical, &error)); in TEST()
70 EXPECT_TRUE(ParseNetAddress("[::1]:666", &host, &port, &canonical, &error)); in TEST()
76 &canonical, &error)); in TEST()
113 std::string error; in TEST() local
114 EXPECT_FALSE(ParseNetAddress(address, &host, &port, &canonical, &error)); in TEST()
115 EXPECT_NE("", error); in TEST()
121 std::string host, error; in TEST() local
124 EXPECT_TRUE(ParseNetAddress("www.google.com", &host, &port, nullptr, &error)); in TEST()
125 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, nullptr, &error)); in TEST()
126 EXPECT_TRUE(ParseNetAddress("::1", &host, &port, nullptr, &error)); in TEST()