Home
last modified time | relevance | path

Searched refs:getRepeatedField (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java2359 Assert.assertEquals(201 , message.getRepeatedField(f("repeated_int32" ), 0)); in assertAllFieldsSetViaReflection()
2360 Assert.assertEquals(202L , message.getRepeatedField(f("repeated_int64" ), 0)); in assertAllFieldsSetViaReflection()
2361 Assert.assertEquals(203 , message.getRepeatedField(f("repeated_uint32" ), 0)); in assertAllFieldsSetViaReflection()
2362 Assert.assertEquals(204L , message.getRepeatedField(f("repeated_uint64" ), 0)); in assertAllFieldsSetViaReflection()
2363 Assert.assertEquals(205 , message.getRepeatedField(f("repeated_sint32" ), 0)); in assertAllFieldsSetViaReflection()
2364 Assert.assertEquals(206L , message.getRepeatedField(f("repeated_sint64" ), 0)); in assertAllFieldsSetViaReflection()
2365 Assert.assertEquals(207 , message.getRepeatedField(f("repeated_fixed32" ), 0)); in assertAllFieldsSetViaReflection()
2366 Assert.assertEquals(208L , message.getRepeatedField(f("repeated_fixed64" ), 0)); in assertAllFieldsSetViaReflection()
2367 Assert.assertEquals(209 , message.getRepeatedField(f("repeated_sfixed32"), 0)); in assertAllFieldsSetViaReflection()
2368 Assert.assertEquals(210L , message.getRepeatedField(f("repeated_sfixed64"), 0)); in assertAllFieldsSetViaReflection()
[all …]
DAbstractMessageTest.java88 public Object getRepeatedField( in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper
90 return wrappedMessage.getRepeatedField(field, index); in getRepeatedField()
151 public Object getRepeatedField( in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
153 return wrappedBuilder.getRepeatedField(field, index); in getRepeatedField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTestUtil.java3125 Assert.assertEquals(201 , message.getRepeatedField(f("repeated_int32" ), 0)); in assertAllFieldsSetViaReflection()
3126 Assert.assertEquals(202L , message.getRepeatedField(f("repeated_int64" ), 0)); in assertAllFieldsSetViaReflection()
3127 Assert.assertEquals(203 , message.getRepeatedField(f("repeated_uint32" ), 0)); in assertAllFieldsSetViaReflection()
3128 Assert.assertEquals(204L , message.getRepeatedField(f("repeated_uint64" ), 0)); in assertAllFieldsSetViaReflection()
3129 Assert.assertEquals(205 , message.getRepeatedField(f("repeated_sint32" ), 0)); in assertAllFieldsSetViaReflection()
3130 Assert.assertEquals(206L , message.getRepeatedField(f("repeated_sint64" ), 0)); in assertAllFieldsSetViaReflection()
3131 Assert.assertEquals(207 , message.getRepeatedField(f("repeated_fixed32" ), 0)); in assertAllFieldsSetViaReflection()
3132 Assert.assertEquals(208L , message.getRepeatedField(f("repeated_fixed64" ), 0)); in assertAllFieldsSetViaReflection()
3133 Assert.assertEquals(209 , message.getRepeatedField(f("repeated_sfixed32"), 0)); in assertAllFieldsSetViaReflection()
3134 Assert.assertEquals(210L , message.getRepeatedField(f("repeated_sfixed64"), 0)); in assertAllFieldsSetViaReflection()
[all …]
DUnknownEnumValueTest.java148 (EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi()
150 (EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi()
174 assertTrue(unknown4321 == message.getRepeatedField(repeatedNestedEnumField, 0)); in testUnknownEnumValueInReflectionApi()
175 assertTrue(unknown5432 == message.getRepeatedField(packedNestedEnumField, 0)); in testUnknownEnumValueInReflectionApi()
198 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
211 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
213 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
DAbstractMessageTest.java93 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper
94 return wrappedMessage.getRepeatedField(field, index); in getRepeatedField()
172 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
173 return wrappedBuilder.getRepeatedField(field, index); in getRepeatedField()
DMapTest.java704 intMapField, entryBuilder.getRepeatedField(intMapField, 0)); in testNestedBuilderOnChangeEventPropagationReflection()
714 intMapField, 0, entryBuilder.getRepeatedField(intMapField, 0)); in testNestedBuilderOnChangeEventPropagationReflection()
759 Message mapEntry = (Message) message.getRepeatedField(field, i); in assertHasMapValues()
857 Message mapEntry = (Message) builder.getRepeatedField(f("int32_to_int32_field"), i); in testReflectionApi()
985 Message mapEntry = (Message) builder.getRepeatedField(field, i); in testUnknownEnumValuesInReflectionApi()
DMapForProto2Test.java648 Message mapEntry = (Message) message.getRepeatedField(field, i); in assertHasMapValues()
745 Message mapEntry = (Message) builder.getRepeatedField(f("int32_to_int32_field"), i); in testReflectionApi()
1141 Message mapEntry = (Message) message.getRepeatedField( in testMapInitializationOrder()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageOrBuilder.java139 Object getRepeatedField(Descriptors.FieldDescriptor field, int index); in getRepeatedField() method
DDynamicMessage.java219 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in DynamicMessage
221 return fields.getRepeatedField(field, index); in getRepeatedField()
564 public Object getRepeatedField(FieldDescriptor field, int index) {
566 return fields.getRepeatedField(field, index);
DMapEntry.java231 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in MapEntry
418 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in MapEntry.Builder
DGeneratedMessageV3.java256 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() method in GeneratedMessageV3
585 public Object getRepeatedField(final FieldDescriptor field, final int index) {
910 extensions.getRepeatedField(descriptor, index));
1127 public Object getRepeatedField(final FieldDescriptor field,
1131 return extensions.getRepeatedField(field, index);
1133 return super.getRepeatedField(field, index);
1288 extensions.getRepeatedField(descriptor, index));
1513 public Object getRepeatedField(final FieldDescriptor field,
1517 return extensions.getRepeatedField(field, index);
1519 return super.getRepeatedField(field, index);
DGeneratedMessage.java255 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() method in GeneratedMessage
584 public Object getRepeatedField(final FieldDescriptor field, final int index) {
909 extensions.getRepeatedField(descriptor, index));
1126 public Object getRepeatedField(final FieldDescriptor field,
1130 return extensions.getRepeatedField(field, index);
1132 return super.getRepeatedField(field, index);
1287 extensions.getRepeatedField(descriptor, index));
1512 public Object getRepeatedField(final FieldDescriptor field,
1516 return extensions.getRepeatedField(field, index);
1518 return super.getRepeatedField(field, index);
DFieldSet.java314 public Object getRepeatedField(final FieldDescriptorType descriptor, in getRepeatedField() method in FieldSet
DGeneratedMessageLite.java652 extensions.getRepeatedField(extensionLite.descriptor, index)); in getExtension()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java258 … dup.addRepeatedField(fieldDescriptor, this.getRepeatedField(context, fieldDescriptor)); in dup()
405 copy.addRepeatedField(fdef, this.getRepeatedField(context, fdef).deepCopy(context)); in deepCopy()
415 …private RubyRepeatedField getRepeatedField(ThreadContext context, Descriptors.FieldDescriptor fiel… in getRepeatedField() method in RubyMessage
422 …ret.push(context, wrapField(context, fieldDescriptor, this.builder.getRepeatedField(fieldDescripto… in getRepeatedField()
623 … DynamicMessage message = (DynamicMessage) this.builder.getRepeatedField(fieldDescriptor, i); in getField()
632 return getRepeatedField(context, fieldDescriptor); in getField()