Home
last modified time | relevance | path

Searched refs:repeatedField (Results 1 - 11 of 11) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DProto2UnknownEnumValueTest.java43 FieldDescriptor repeatedField = field in Proto2UnknownEnumValueTest
57 repeatedField.getNumber(), in buildPayloadWithUnknownEnumValues()
81 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues()
83 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testUnknownEnumValues()
107 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues()
109 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testExtensionUnknownEnumValues()
H A DUnknownFieldSetTest.java422 Descriptors.FieldDescriptor repeatedField = in testParseUnknownEnumValue()
425 assertNotNull(repeatedField); in testParseUnknownEnumValue()
436 repeatedField.getNumber(), in testParseUnknownEnumValue()
457 message.getUnknownFields().getField(repeatedField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
474 message.getUnknownFields().getField(repeatedField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
H A DDescriptorsTest.java245 FieldDescriptor repeatedField = TestAllTypes.getDescriptor().findFieldByName("repeated_int32"); in testFieldDescriptorLabel()
251 assertFalse(repeatedField.isRequired()); in testFieldDescriptorLabel()
252 assertTrue(repeatedField.isRepeated()); in testFieldDescriptorLabel()
258 FieldDescriptor repeatedField = TestAllTypes.getDescriptor().findFieldByName("repeated_int32"); in testFieldDescriptorJsonName()
261 assertEquals("repeatedInt32", repeatedField.getJsonName()); in testFieldDescriptorJsonName()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
H A DRubyRepeatedField.java237 RubyRepeatedField repeatedField = (RubyRepeatedField) list; in plus()
238 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in plus()
239 typeClass.equals(repeatedField.typeClass))) in plus()
241 dup.storage.addAll((RubyArray) repeatedField.toArray(context)); in plus()
258 RubyRepeatedField repeatedField = (RubyRepeatedField) list; in concat()
259 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in concat()
260 typeClass.equals(repeatedField.typeClass))) in concat()
262 this.storage.addAll((RubyArray) repeatedField.toArray(context)); in concat()
H A DRubyMessage.java101 RubyRepeatedField repeatedField = rubyToRepeatedField(context, fieldDescriptor, value); in initialize()
102 addRepeatedField(fieldDescriptor, repeatedField); in initialize()
182 for (RubyRepeatedField repeatedField : repeatedFields.values()) { in hash()
417 RubyRepeatedField repeatedField = repeatedFields.get(fieldDescriptor); in build()
419 for (int i = 0; i < repeatedField.size(); i++) { in build()
420 Object item = convert(context, fieldDescriptor, repeatedField.get(i), depth); in build()
463 private void addRepeatedField(Descriptors.FieldDescriptor fieldDescriptor, RubyRepeatedField repeatedField) { in addRepeatedField() argument
464 this.repeatedFields.put(fieldDescriptor, repeatedField); in addRepeatedField()
690 RubyRepeatedField repeatedField = rubyToRepeatedField(context, fieldDescriptor, ary); in setField()
691 addRepeatedField(fieldDescriptor, repeatedField); in setField()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DCustomOptions.cs265 RepeatedField<T> repeatedField = repeated.GetValue(); in TryGetPrimitiveValue()
266 value = repeatedField[repeatedField.Count - 1]; in TryGetPrimitiveValue()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DUnknownFieldSetTest.java273 Descriptors.FieldDescriptor repeatedField = in testParseUnknownEnumValue()
276 assertNotNull(repeatedField); in testParseUnknownEnumValue()
285 .addField(repeatedField.getNumber(), in testParseUnknownEnumValue()
308 .getField(repeatedField.getNumber()) in testParseUnknownEnumValue()
326 .getField(repeatedField.getNumber()) in testParseUnknownEnumValue()
H A DDescriptorsTest.java265 FieldDescriptor repeatedField = in testFieldDescriptorLabel()
272 assertFalse(repeatedField.isRequired()); in testFieldDescriptorLabel()
273 assertTrue(repeatedField.isRepeated()); in testFieldDescriptorLabel()
/third_party/protobuf/php/tests/
H A DWrapperTypeSettersTest.php255 $repeatedField = $testWrapperSetters->getRepeatedStringValue(); variable
267 ['repeated_string_value', 'getRepeatedStringValue', $repeatedField],
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs168 FieldDescriptor repeatedField = in FieldDescriptorLabel()
172 Assert.IsTrue(repeatedField.IsRepeated); in FieldDescriptorLabel()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs284 FieldDescriptor repeatedField = in FieldDescriptorLabel()
288 Assert.IsTrue(repeatedField.IsRepeated); in FieldDescriptorLabel()

Completed in 8 milliseconds