Lines Matching refs:ip
153 IPAddress ip; in TEST() local
155 EXPECT_FALSE(IPAddress::forString("not_an_ip", &ip)); in TEST()
409 const char* ip; in TEST() member
424 IPAddress ip; in TEST() local
425 EXPECT_TRUE(IPAddress::forString(expectation.ip, &ip)) in TEST()
426 << "Failed to parse IP address " << expectation.ip; in TEST()
432 IPPrefix prefix(ip, expectation.cidrLen); in TEST()
436 EXPECT_EQ(ipTruncated, prefix.ip()) in TEST()
437 << "Unexpected IP truncation: " << prefix.ip() << ", expected: " << ipTruncated; in TEST()
530 EXPECT_EQ(IPAddress(FE80_2, idx), linkLocalNtpSockaddr.ip()); in TEST()
532 EXPECT_EQ(0, IPSockAddr(linkLocalNtpSockaddr.ip()).port()); in TEST()
533 const IPPrefix linkLocalPrefix(linkLocalNtpSockaddr.ip(), 64); in TEST()
534 EXPECT_EQ(IPAddress(FE80, idx), linkLocalPrefix.ip()); in TEST()
536 EXPECT_EQ(IPV6_ADDR_BITS, IPPrefix(linkLocalPrefix.ip()).length()); in TEST()