Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java631 assertEquals( 0, TextFormat.parseUInt32( "0")); in testParseInteger()
632 assertEquals( 1, TextFormat.parseUInt32( "1")); in testParseInteger()
633 assertEquals( 12345, TextFormat.parseUInt32( "12345")); in testParseInteger()
634 assertEquals( 2147483647, TextFormat.parseUInt32("2147483647")); in testParseInteger()
635 assertEquals((int) 2147483648L, TextFormat.parseUInt32("2147483648")); in testParseInteger()
636 assertEquals((int) 4294967295L, TextFormat.parseUInt32("4294967295")); in testParseInteger()
690 TextFormat.parseUInt32("4294967296"); in testParseInteger()
697 TextFormat.parseUInt32("-1"); in testParseInteger()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java824 final int result = parseUInt32(currentToken); in consumeUInt32()
1960 static int parseUInt32(final String text) throws NumberFormatException { in parseUInt32() method in TextFormat
DDescriptors.java1400 defaultValue = TextFormat.parseUInt32(proto.getDefaultValue()); in crossLink()