Home
last modified time | relevance | path

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

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java907 assertEquals(0, TextFormat.parseUInt32("0")); in testParseInteger()
908 assertEquals(1, TextFormat.parseUInt32("1")); in testParseInteger()
909 assertEquals(12345, TextFormat.parseUInt32("12345")); in testParseInteger()
910 assertEquals(2147483647, TextFormat.parseUInt32("2147483647")); in testParseInteger()
911 assertEquals((int) 2147483648L, TextFormat.parseUInt32("2147483648")); in testParseInteger()
912 assertEquals((int) 4294967295L, TextFormat.parseUInt32("4294967295")); in testParseInteger()
961 TextFormat.parseUInt32("4294967296"); in testParseInteger()
968 TextFormat.parseUInt32("-1"); in testParseInteger()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java1100 final int result = parseUInt32(currentToken); in consumeUInt32()
2470 static int parseUInt32(final String text) throws NumberFormatException { in parseUInt32() method in TextFormat
DDescriptors.java1521 defaultValue = TextFormat.parseUInt32(proto.getDefaultValue()); in crossLink()