Home
last modified time | relevance | path

Searched refs:parseUInt64 (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java652 assertEquals( 0L, TextFormat.parseUInt64( "0")); in testParseInteger()
653 assertEquals( 1L, TextFormat.parseUInt64( "1")); in testParseInteger()
654 assertEquals( 12345L, TextFormat.parseUInt64( "12345")); in testParseInteger()
655 assertEquals( 2147483647L, TextFormat.parseUInt64( "2147483647")); in testParseInteger()
656 assertEquals( 4294967295L, TextFormat.parseUInt64( "4294967295")); in testParseInteger()
657 assertEquals( 4294967296L, TextFormat.parseUInt64( "4294967296")); in testParseInteger()
659 TextFormat.parseUInt64("9223372036854775807")); in testParseInteger()
661 TextFormat.parseUInt64("9223372036854775808")); in testParseInteger()
662 assertEquals(-1L, TextFormat.parseUInt64("18446744073709551615")); in testParseInteger()
667 assertEquals(-1, TextFormat.parseUInt64("0xffffffffffffffff")); in testParseInteger()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java865 final long result = parseUInt64(currentToken); in consumeUInt64()
1980 static long parseUInt64(final String text) throws NumberFormatException { in parseUInt64() method in TextFormat
DDescriptors.java1409 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()