Lines Matching refs:kErrorParse
131 {"2001:db8::a::b", {0}, kErrorParse}, in TestIp6AddressFromString()
134 {"2001:db8::abcd:efgh", {0}, kErrorParse}, in TestIp6AddressFromString()
137 {"1:2:3:4:5:6:7:8:9", {0}, kErrorParse}, in TestIp6AddressFromString()
140 {"2001:db8::abc:def12:1:2", {0}, kErrorParse}, in TestIp6AddressFromString()
143 {"64:ff9b::123.231.0.257", {0}, kErrorParse}, in TestIp6AddressFromString()
146 {"64:ff9b::1.22.33", {0}, kErrorParse}, in TestIp6AddressFromString()
149 {"64:ff9b::1.22.33.44.5", {0}, kErrorParse}, in TestIp6AddressFromString()
152 {"1:2:3:4:5:6:7:127.1.2.3", {0}, kErrorParse}, in TestIp6AddressFromString()
155 {".", {0}, kErrorParse}, in TestIp6AddressFromString()
158 {":.", {0}, kErrorParse}, in TestIp6AddressFromString()
161 {"::.", {0}, kErrorParse}, in TestIp6AddressFromString()
164 {":f:0:0:c:0:f:f:.", {0}, kErrorParse}, in TestIp6AddressFromString()
215 VerifyOrQuit(prefix.FromString("::") == kErrorParse); in TestIp6PrefixFromString()
216 VerifyOrQuit(prefix.FromString("::/") == kErrorParse); in TestIp6PrefixFromString()
217 VerifyOrQuit(prefix.FromString("::/129") == kErrorParse); in TestIp6PrefixFromString()
218 VerifyOrQuit(prefix.FromString(":: /12") == kErrorParse); in TestIp6PrefixFromString()
219 VerifyOrQuit(prefix.FromString("::/a1") == kErrorParse); in TestIp6PrefixFromString()
220 VerifyOrQuit(prefix.FromString("::/12 ") == kErrorParse); in TestIp6PrefixFromString()
234 {"123.231.0.256", {0}, kErrorParse}, // Invalid byte value. in TestIp4AddressFromString()
235 {"100123.231.0.256", {0}, kErrorParse}, // Invalid byte value. in TestIp4AddressFromString()
236 {"1.22.33", {0}, kErrorParse}, // Too few bytes. in TestIp4AddressFromString()
237 {"1.22.33.44.5", {0}, kErrorParse}, // Too many bytes. in TestIp4AddressFromString()
238 {"a.b.c.d", {0}, kErrorParse}, // Wrong digit char. in TestIp4AddressFromString()
239 {"123.23.45 .12", {0}, kErrorParse}, // Extra space. in TestIp4AddressFromString()
240 {".", {0}, kErrorParse}, // Invalid. in TestIp4AddressFromString()
289 {"123.231.0.256/4", {0}, 0, kErrorParse}, // Invalid byte value. in TestIp4CidrFromString()
290 {"100123.231.0.256/4", {0}, 0, kErrorParse}, // Invalid byte value. in TestIp4CidrFromString()
291 {"1.22.33/4", {0}, 0, kErrorParse}, // Too few bytes. in TestIp4CidrFromString()
292 {"1.22.33.44.5/4", {0}, 0, kErrorParse}, // Too many bytes. in TestIp4CidrFromString()
293 {"a.b.c.d/4", {0}, 0, kErrorParse}, // Wrong digit char. in TestIp4CidrFromString()
294 {"123.23.45 .12/4", {0}, 0, kErrorParse}, // Extra space. in TestIp4CidrFromString()
295 {"./4", {0}, 0, kErrorParse}, // Invalid. in TestIp4CidrFromString()
297 {"1.2.3.4/33", {0}, 0, kErrorParse}, // Prefix length too large in TestIp4CidrFromString()
298 {"1.2.3.4/12345678", {0}, 0, kErrorParse}, // Prefix length too large? in TestIp4CidrFromString()
299 {"1.2.3.4/12a", {0}, 0, kErrorParse}, // Extra char after prefix length. in TestIp4CidrFromString()
300 {"1.2.3.4/-1", {0}, 0, kErrorParse}, // Not even a non-negative integer. in TestIp4CidrFromString()
301 {"1.2.3.4/3.14", {0}, 0, kErrorParse}, // Not even a integer. in TestIp4CidrFromString()
302 {"1.2.3.4/abcd", {0}, 0, kErrorParse}, // Not even a number. in TestIp4CidrFromString()
303 {"1.2.3.4/", {0}, 0, kErrorParse}, // Where is the suffix? in TestIp4CidrFromString()
304 {"1.2.3.4", {0}, 0, kErrorParse}, // Where is the suffix? in TestIp4CidrFromString()
306 {"123.231.0.256/41", {0}, 0, kErrorParse}, // Invalid byte value. in TestIp4CidrFromString()
307 {"100123.231.0.256/abc", {0}, 0, kErrorParse}, // Invalid byte value. in TestIp4CidrFromString()
308 {"1.22.33", {0}, 0, kErrorParse}, // Too few bytes. in TestIp4CidrFromString()
309 {"1.22.33.44.5/36", {0}, 0, kErrorParse}, // Too many bytes. in TestIp4CidrFromString()
310 {"a.b.c.d/99", {0}, 0, kErrorParse}, // Wrong digit char. in TestIp4CidrFromString()
311 {"123.23.45 .12", {0}, 0, kErrorParse}, // Extra space. in TestIp4CidrFromString()
312 {".", {0}, 0, kErrorParse}, // Invalid. in TestIp4CidrFromString()