Searched refs:parseUInt64 (Results 1 – 3 of 3) sorted by relevance
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatTest.java | 926 assertEquals(0L, TextFormat.parseUInt64("0")); in testParseInteger() 927 assertEquals(1L, TextFormat.parseUInt64("1")); in testParseInteger() 928 assertEquals(12345L, TextFormat.parseUInt64("12345")); in testParseInteger() 929 assertEquals(2147483647L, TextFormat.parseUInt64("2147483647")); in testParseInteger() 930 assertEquals(4294967295L, TextFormat.parseUInt64("4294967295")); in testParseInteger() 931 assertEquals(4294967296L, TextFormat.parseUInt64("4294967296")); in testParseInteger() 932 assertEquals(9223372036854775807L, TextFormat.parseUInt64("9223372036854775807")); in testParseInteger() 933 assertEquals(-9223372036854775808L, TextFormat.parseUInt64("9223372036854775808")); in testParseInteger() 934 assertEquals(-1L, TextFormat.parseUInt64("18446744073709551615")); in testParseInteger() 939 assertEquals(-1, TextFormat.parseUInt64("0xffffffffffffffff")); in testParseInteger() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 1141 final long result = parseUInt64(currentToken); in consumeUInt64() 2489 static long parseUInt64(final String text) throws NumberFormatException { in parseUInt64() method in TextFormat
|
D | Descriptors.java | 1530 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()
|