Home
last modified time | relevance | path

Searched refs:parseInt32 (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.java624 assertEquals( 0, TextFormat.parseInt32( "0")); in testParseInteger()
625 assertEquals( 1, TextFormat.parseInt32( "1")); in testParseInteger()
626 assertEquals( -1, TextFormat.parseInt32( "-1")); in testParseInteger()
627 assertEquals( 12345, TextFormat.parseInt32( "12345")); in testParseInteger()
628 assertEquals( -12345, TextFormat.parseInt32( "-12345")); in testParseInteger()
629 assertEquals( 2147483647, TextFormat.parseInt32( "2147483647")); in testParseInteger()
630 assertEquals(-2147483648, TextFormat.parseInt32("-2147483648")); in testParseInteger()
666 assertEquals(0x1234abcd, TextFormat.parseInt32("0x1234abcd")); in testParseInteger()
667 assertEquals(-0x1234abcd, TextFormat.parseInt32("-0x1234abcd")); in testParseInteger()
673 assertEquals(01234567, TextFormat.parseInt32("01234567")); in testParseInteger()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1449 private int parseInt32(JsonElement json) throws InvalidProtocolBufferException { in parseInt32() method in JsonFormat.ParserImpl
1622 int numericValue = parseInt32(json); in parseEnum()
1662 return parseInt32(json); in parseFieldValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormat.java818 final int result = parseInt32(currentToken); in consumeInt32()
1978 static int parseInt32(final String text) throws NumberFormatException { in parseInt32() method in TextFormat
DDescriptors.java1400 defaultValue = TextFormat.parseInt32(proto.getDefaultValue()); in crossLink()