Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java653 assertEquals( 0L, TextFormat.parseUInt64( "0")); in testParseInteger()
654 assertEquals( 1L, TextFormat.parseUInt64( "1")); in testParseInteger()
655 assertEquals( 12345L, TextFormat.parseUInt64( "12345")); in testParseInteger()
656 assertEquals( 2147483647L, TextFormat.parseUInt64( "2147483647")); in testParseInteger()
657 assertEquals( 4294967295L, TextFormat.parseUInt64( "4294967295")); in testParseInteger()
658 assertEquals( 4294967296L, TextFormat.parseUInt64( "4294967296")); in testParseInteger()
660 TextFormat.parseUInt64("9223372036854775807")); in testParseInteger()
662 TextFormat.parseUInt64("9223372036854775808")); in testParseInteger()
663 assertEquals(-1L, TextFormat.parseUInt64("18446744073709551615")); in testParseInteger()
668 assertEquals(-1, TextFormat.parseUInt64("0xffffffffffffffff")); in testParseInteger()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormat.java873 final long result = parseUInt64(currentToken); in consumeUInt64()
2009 static long parseUInt64(final String text) throws NumberFormatException { in parseUInt64() method in TextFormat
DDescriptors.java1413 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()