Home
last modified time | relevance | path

Searched refs:parseInt64 (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java639 assertEquals( 0L, TextFormat.parseInt64( "0")); in testParseInteger()
640 assertEquals( 1L, TextFormat.parseInt64( "1")); in testParseInteger()
641 assertEquals( -1L, TextFormat.parseInt64( "-1")); in testParseInteger()
642 assertEquals( 12345L, TextFormat.parseInt64( "12345")); in testParseInteger()
643 assertEquals( -12345L, TextFormat.parseInt64( "-12345")); in testParseInteger()
644 assertEquals( 2147483647L, TextFormat.parseInt64( "2147483647")); in testParseInteger()
645 assertEquals(-2147483648L, TextFormat.parseInt64("-2147483648")); in testParseInteger()
646 assertEquals( 4294967295L, TextFormat.parseInt64( "4294967295")); in testParseInteger()
647 assertEquals( 4294967296L, TextFormat.parseInt64( "4294967296")); in testParseInteger()
649 TextFormat.parseInt64("9223372036854775807")); in testParseInteger()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormat.java846 final long result = parseInt64(currentToken); in consumeInt64()
1998 static long parseInt64(final String text) throws NumberFormatException { in parseInt64() method in TextFormat
DDescriptors.java1409 defaultValue = TextFormat.parseInt64(proto.getDefaultValue()); in crossLink()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1466 private long parseInt64(JsonElement json) throws InvalidProtocolBufferException { in parseInt64() method in JsonFormat.ParserImpl
1667 return parseInt64(json); in parseFieldValue()