/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 2331 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 …]
|
D | AbstractMessageTest.java | 85 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()
|
D | MessageTest.java | 327 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/ |
D | TestUtil.java | 3113 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 …]
|
D | AbstractMessageTest.java | 94 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()
|
D | MessageTest.java | 328 result.getRepeatedFieldCount( in testDynamicRepeatedMessageNull() 354 result.getRepeatedFieldCount( in testDynamicRepeatedMessageNotNull()
|
D | UnknownEnumValueTest.java | 295 assertEquals(2, message.getRepeatedFieldCount(repeatedPackedField)); in testUnknownEnumValuesInProto2WithDynamicMessage()
|
D | MapTest.java | 733 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()
|
D | MapForProto2Test.java | 642 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/ |
D | MessageOrBuilder.java | 119 int getRepeatedFieldCount(Descriptors.FieldDescriptor field); in getRepeatedFieldCount() method
|
D | DynamicMessage.java | 209 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);
|
D | GeneratedMessage.java | 249 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);
|
D | MapEntry.java | 228 public int getRepeatedFieldCount(FieldDescriptor field) { in getRepeatedFieldCount() method in MapEntry 425 public int getRepeatedFieldCount(FieldDescriptor field) { in getRepeatedFieldCount() method in MapEntry.Builder
|
D | GeneratedMessageV3.java | 282 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);
|
D | FieldSet.java | 293 public int getRepeatedFieldCount(final FieldDescriptorType descriptor) { in getRepeatedFieldCount() method in FieldSet
|
D | GeneratedMessageLite.java | 811 return extensions.getRepeatedFieldCount(extensionLite.descriptor); in getExtensionCount()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 454 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/ |
D | JsonFormat.java | 1557 if (builder.getRepeatedFieldCount(field) > 0) { in mergeField()
|