Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java703 assertEquals(0L, TextFormat.parseInt64("0")); in testParseInteger()
704 assertEquals(1L, TextFormat.parseInt64("1")); in testParseInteger()
705 assertEquals(-1L, TextFormat.parseInt64("-1")); in testParseInteger()
706 assertEquals(12345L, TextFormat.parseInt64("12345")); in testParseInteger()
707 assertEquals(-12345L, TextFormat.parseInt64("-12345")); in testParseInteger()
708 assertEquals(2147483647L, TextFormat.parseInt64("2147483647")); in testParseInteger()
709 assertEquals(-2147483648L, TextFormat.parseInt64("-2147483648")); in testParseInteger()
710 assertEquals(4294967295L, TextFormat.parseInt64("4294967295")); in testParseInteger()
711 assertEquals(4294967296L, TextFormat.parseInt64("4294967296")); in testParseInteger()
712 assertEquals(9223372036854775807L, TextFormat.parseInt64("9223372036854775807")); in testParseInteger()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java955 final long result = parseInt64(currentToken); in consumeInt64()
2226 static long parseInt64(final String text) throws NumberFormatException { in parseInt64() method in TextFormat
DDescriptors.java1470 defaultValue = TextFormat.parseInt64(proto.getDefaultValue()); in crossLink()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1672 private long parseInt64(JsonElement json) throws InvalidProtocolBufferException { in parseInt64() method in JsonFormat.ParserImpl
1872 return parseInt64(json); in parseFieldValue()