Home
last modified time | relevance | path

Searched refs:getRepeatedFieldCount (Results 1 – 18 of 18) sorted by relevance

/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java2331 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_int32" ))); in assertAllFieldsSetViaReflection()
2332 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_int64" ))); in assertAllFieldsSetViaReflection()
2333 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_uint32" ))); in assertAllFieldsSetViaReflection()
2334 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_uint64" ))); in assertAllFieldsSetViaReflection()
2335 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sint32" ))); in assertAllFieldsSetViaReflection()
2336 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sint64" ))); in assertAllFieldsSetViaReflection()
2337 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_fixed32" ))); in assertAllFieldsSetViaReflection()
2338 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_fixed64" ))); in assertAllFieldsSetViaReflection()
2339 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sfixed32"))); in assertAllFieldsSetViaReflection()
2340 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sfixed64"))); in assertAllFieldsSetViaReflection()
[all …]
DAbstractMessageTest.java85 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() method in AbstractMessageTest.AbstractMessageWrapper
86 return wrappedMessage.getRepeatedFieldCount(field); in getRepeatedFieldCount()
148 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() method in AbstractMessageTest.AbstractMessageWrapper.Builder
149 return wrappedBuilder.getRepeatedFieldCount(field); in getRepeatedFieldCount()
DMessageTest.java327 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNull()
351 assertEquals(result.getRepeatedFieldCount(result.getDescriptorForType() in testDynamicRepeatedMessageNotNull()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTestUtil.java3113 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_int32"))); in assertAllFieldsSetViaReflection()
3114 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_int64"))); in assertAllFieldsSetViaReflection()
3115 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_uint32"))); in assertAllFieldsSetViaReflection()
3116 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_uint64"))); in assertAllFieldsSetViaReflection()
3117 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sint32"))); in assertAllFieldsSetViaReflection()
3118 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sint64"))); in assertAllFieldsSetViaReflection()
3119 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_fixed32"))); in assertAllFieldsSetViaReflection()
3120 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_fixed64"))); in assertAllFieldsSetViaReflection()
3121 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sfixed32"))); in assertAllFieldsSetViaReflection()
3122 Assert.assertEquals(2, message.getRepeatedFieldCount(f("repeated_sfixed64"))); in assertAllFieldsSetViaReflection()
[all …]
DAbstractMessageTest.java94 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() method in AbstractMessageTest.AbstractMessageWrapper
95 return wrappedMessage.getRepeatedFieldCount(field); in getRepeatedFieldCount()
188 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() method in AbstractMessageTest.AbstractMessageWrapper.Builder
189 return wrappedBuilder.getRepeatedFieldCount(field); in getRepeatedFieldCount()
DMessageTest.java328 result.getRepeatedFieldCount( in testDynamicRepeatedMessageNull()
354 result.getRepeatedFieldCount( in testDynamicRepeatedMessageNotNull()
DUnknownEnumValueTest.java295 assertEquals(2, message.getRepeatedFieldCount(repeatedPackedField)); in testUnknownEnumValuesInProto2WithDynamicMessage()
DMapTest.java733 assertEquals(values.size(), message.getRepeatedFieldCount(field)); in assertHasMapValues()
734 for (int i = 0; i < message.getRepeatedFieldCount(field); i++) { in assertHasMapValues()
838 for (int i = 0; i < builder.getRepeatedFieldCount(f("int32_to_int32_field")); i++) { in testReflectionApi()
980 for (int i = 0; i < builder.getRepeatedFieldCount(field); i++) { in testUnknownEnumValuesInReflectionApi()
DMapForProto2Test.java642 assertEquals(values.size(), message.getRepeatedFieldCount(field)); in assertHasMapValues()
643 for (int i = 0; i < message.getRepeatedFieldCount(field); i++) { in assertHasMapValues()
747 for (int i = 0; i < builder.getRepeatedFieldCount(f("int32_to_int32_field")); i++) { in testReflectionApi()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageOrBuilder.java119 int getRepeatedFieldCount(Descriptors.FieldDescriptor field); in getRepeatedFieldCount() method
DDynamicMessage.java209 public int getRepeatedFieldCount(FieldDescriptor field) { in getRepeatedFieldCount() method in DynamicMessage
211 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount()
571 public int getRepeatedFieldCount(FieldDescriptor field) {
573 return fields.getRepeatedFieldCount(field);
DGeneratedMessage.java249 public int getRepeatedFieldCount(final FieldDescriptor field) { in getRepeatedFieldCount() method in GeneratedMessage
578 public int getRepeatedFieldCount(final FieldDescriptor field) {
874 return extensions.getRepeatedFieldCount(descriptor);
1118 public int getRepeatedFieldCount(final FieldDescriptor field) {
1121 return extensions.getRepeatedFieldCount(field);
1123 return super.getRepeatedFieldCount(field);
1254 return extensions.getRepeatedFieldCount(descriptor);
1504 public int getRepeatedFieldCount(final FieldDescriptor field) {
1507 return extensions.getRepeatedFieldCount(field);
1509 return super.getRepeatedFieldCount(field);
DMapEntry.java228 public int getRepeatedFieldCount(FieldDescriptor field) { in getRepeatedFieldCount() method in MapEntry
425 public int getRepeatedFieldCount(FieldDescriptor field) { in getRepeatedFieldCount() method in MapEntry.Builder
DGeneratedMessageV3.java282 public int getRepeatedFieldCount(final FieldDescriptor field) { in getRepeatedFieldCount() method in GeneratedMessageV3
727 public int getRepeatedFieldCount(final FieldDescriptor field) {
1022 return extensions.getRepeatedFieldCount(descriptor);
1279 public int getRepeatedFieldCount(final FieldDescriptor field) {
1282 return extensions.getRepeatedFieldCount(field);
1284 return super.getRepeatedFieldCount(field);
1407 return extensions.getRepeatedFieldCount(descriptor);
1642 public int getRepeatedFieldCount(final FieldDescriptor field) {
1645 return extensions.getRepeatedFieldCount(field);
1647 return super.getRepeatedFieldCount(field);
DFieldSet.java293 public int getRepeatedFieldCount(final FieldDescriptorType descriptor) { in getRepeatedFieldCount() method in FieldSet
DGeneratedMessageLite.java811 return extensions.getRepeatedFieldCount(extensionLite.descriptor); in getExtensionCount()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java454 int count = this.builder.getRepeatedFieldCount(fieldDescriptor); in getRepeatedField()
644 int mapSize = this.builder.getRepeatedFieldCount(fieldDescriptor); in getField()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1557 if (builder.getRepeatedFieldCount(field) > 0) { in mergeField()