Home
last modified time | relevance | path

Searched refs:getVarintList (Results 1 – 10 of 10) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DProto2UnknownEnumValueTest.java79 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues()
81 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues()
83 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testUnknownEnumValues()
105 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues()
107 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues()
109 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testExtensionUnknownEnumValues()
DUnknownFieldSetTest.java82 if (entry.getValue().getVarintList().isEmpty()) { in getBizarroData()
262 assertEquals(1, field.getVarintList().size()); in testVarint()
263 assertEquals(allFields.getOptionalInt32(), (long) field.getVarintList().get(0)); in testVarint()
297 assertEquals(1, nestedField.getVarintList().size()); in testGroup()
298 assertEquals(allFields.getOptionalGroup().getA(), (long) nestedField.getVarintList().get(0)); in testGroup()
378 assertEquals(1, field.getVarintList().size()); in testParseKnownAndUnknown()
379 assertEquals(654321, (long) field.getVarintList().get(0)); in testParseKnownAndUnknown()
454 message.getUnknownFields().getField(singularField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
457 message.getUnknownFields().getField(repeatedField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
471 message.getUnknownFields().getField(singularField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
[all …]
DProto2ExtensionLookupSchemaTest.java136 .getVarintList(); in testUnknownEnum()
145 .getVarintList(); in testUnknownEnum()
154 .getVarintList(); in testUnknownEnum()
DAbstractProto2SchemaTest.java186 .getVarintList(); in unknownEnum()
195 .getVarintList(); in unknownEnum()
204 .getVarintList(); in unknownEnum()
DUnknownEnumValueTest.java275 .getVarintList() in testUnknownEnumValuesInProto2()
308 unknown.getField(repeatedPackedField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValuesInProto2WithDynamicMessage()
DDynamicMessageTest.java275 derived.getUnknownFields().getField(unknownFieldNum).getVarintList()); in testToBuilder()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java78 if (entry.getValue().getVarintList().isEmpty()) { in getBizarroData()
103 assertEquals(1, field.getVarintList().size()); in testVarint()
105 (long) field.getVarintList().get(0)); in testVarint()
143 assertEquals(1, nestedField.getVarintList().size()); in testGroup()
145 (long) nestedField.getVarintList().get(0)); in testGroup()
226 assertEquals(1, field.getVarintList().size()); in testParseKnownAndUnknown()
227 assertEquals(654321, (long) field.getVarintList().get(0)); in testParseKnownAndUnknown()
305 .getVarintList()); in testParseUnknownEnumValue()
309 .getVarintList()); in testParseUnknownEnumValue()
323 .getVarintList()); in testParseUnknownEnumValue()
[all …]
DDynamicMessageTest.java263 derived.getUnknownFields().getField(unknownFieldNum).getVarintList()); in testToBuilder()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSet.java703 public List<Long> getVarintList() { in getVarintList() method in UnknownFieldSet.Field
DTextFormat.java754 printUnknownField(number, WireFormat.WIRETYPE_VARINT, field.getVarintList(), generator); in printUnknownFields()