IsValidPattern 146 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1:2:3:4:5:6:7:8:9")); // Too long. IsValidPattern 147 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1:2:3:4:5:6:7")); // Too Short IsValidPattern 148 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1:2:3:4:5:6:7:H")); // Non-hex. IsValidPattern 149 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1:G:3:4:5:6:7:8")); // Non-hex. IsValidPattern 151 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1.2.3.4.5")); // Too long IsValidPattern 152 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1.2.3")); // Too short IsValidPattern 153 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1.2.3.A")); // Non-decimal. IsValidPattern 154 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1.A.3.4")); // Non-decimal IsValidPattern 155 net/base/ip_pattern_unittest.cc EXPECT_FALSE(IsValidPattern("1.256.3.4")); // Out of range