Home
last modified time | relevance | path

Searched refs:addField (Results 1 – 25 of 27) sorted by relevance

12

/third_party/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m66 XCTAssertThrowsSpecificNamed([set addField:field], NSException, NSInvalidArgumentException);
83 [set1 addField:field1];
87 [set2 addField:field2];
95 [set1 addField:field1];
99 [set2 addField:field2];
107 [set1 addField:field1];
111 [set2 addField:field2];
119 [set1 addField:field1];
123 [set2 addField:field2];
132 [group1 addField:fieldGroup1];
[all …]
DGPBWireFormatTests.m158 [unknownFieldSet addField:unknownField];
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java84 bizarroFields.addField(entry.getKey(), varintField); in getBizarroData()
87 bizarroFields.addField(entry.getKey(), fixed32Field); in getBizarroData()
121 unknownSetBuilder.addField(8, fieldBuilder.build()); in testClone()
131 .addField(997, UnknownFieldSet.Field.newBuilder().addVarint(99).build()) in testClone_lengthDelimited()
132 .addField( in testClone_lengthDelimited()
156 .addField(997, UnknownFieldSet.Field.newBuilder().addVarint(99).build()) in testReuse()
157 .addField( in testReuse()
166 builder.addField(1000, UnknownFieldSet.Field.newBuilder().addVarint(-90).build()); in testReuse()
177 UnknownFieldSet.newBuilder().addField(0, field); in testAddField_zero()
188 UnknownFieldSet.newBuilder().addField(-2, field); in testAddField_negative()
[all …]
DProto2UnknownEnumValueTest.java50 builder.addField( in buildPayloadWithUnknownEnumValues()
56 builder.addField( in buildPayloadWithUnknownEnumValues()
DDescriptorsTest.java426 .addField( in testDescriptorValidatorException()
460 .addField( in testDescriptorComplexCrosslink()
471 .addField( in testDescriptorComplexCrosslink()
548 .addField( in testUnknownFieldsDenied()
573 .addField( in testUnknownFieldsAllowed()
601 .addField( in testHiddenDependency()
640 .addField( in testPublicDependency()
672 .addField( in testComplexNamespacePublicDependency()
764 .addField( in testPackedEnumField()
DDynamicMessageTest.java91 .addField(1, UnknownFieldSet.Field.newBuilder().addVarint(1).build()) in testUnknownFields()
92 .addField(2, UnknownFieldSet.Field.newBuilder().addFixed32(1).build()) in testUnknownFields()
265 .addField( in testToBuilder()
DUnknownFieldSetPerformanceTest.java73 builder.addField(i, field); in testAddField()
DTextFormatTest.java196 .addField( in makeUnknownFieldSet()
205 .addField(12, UnknownFieldSet.Field.newBuilder().addVarint(6).build()) in makeUnknownFieldSet()
210 .addField(10, UnknownFieldSet.Field.newBuilder().addVarint(5).build()) in makeUnknownFieldSet()
213 .addField( in makeUnknownFieldSet()
215 .addField( in makeUnknownFieldSet()
1220 .addField( in testPrintToUnicodeString_unknown()
DWireFormatTest.java302 .addField( in testSerializeMessageSetWithFlag()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java80 bizarroFields.addField(entry.getKey(), varintField); in getBizarroData()
83 bizarroFields.addField(entry.getKey(), fixed32Field); in getBizarroData()
167 .addField(2, in testMergeFrom()
170 .addField(3, in testMergeFrom()
179 .addField(1, in testMergeFrom()
182 .addField(3, in testMergeFrom()
214 .addField(123456, in testParseKnownAndUnknown()
280 .addField(singularField.getNumber(), in testParseUnknownEnumValue()
285 .addField(repeatedField.getNumber(), in testParseUnknownEnumValue()
334 .addField(1, in testLargeVarint()
[all …]
DTextFormatTest.java152 .addField(5, in makeUnknownFieldSet()
160 .addField(10, in makeUnknownFieldSet()
166 .addField(8, in makeUnknownFieldSet()
172 .addField(15, in makeUnknownFieldSet()
531 .addField(1, in testPrintToUnicodeString_unknown()
DDynamicMessageTest.java90 .addField(1, UnknownFieldSet.Field.newBuilder().addVarint(1).build()) in testUnknownFields()
91 .addField(2, UnknownFieldSet.Field.newBuilder().addFixed32(1).build()) in testUnknownFields()
254 .addField(unknownFieldNum, in testToBuilder()
DDescriptorsTest.java442 .addField(FieldDescriptorProto.newBuilder() in testDescriptorValidatorException()
474 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
483 .addField(FieldDescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
549 .addField(FieldDescriptorProto.newBuilder() in testHiddenDependency()
585 .addField(FieldDescriptorProto.newBuilder() in testPublicDependency()
619 .addField(FieldDescriptorProto.newBuilder() in testComplexNamespacePublicDependency()
DWireFormatTest.java290 .addField(UNKNOWN_TYPE_ID, in testSerializeMessageSetWithFlag()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMessageBuilderContext.php85 $this->descriptor->addField($this->getFieldDescriptor(
96 $this->descriptor->addField($this->getFieldDescriptor(
107 $this->descriptor->addField($this->getFieldDescriptor(
DOneofDescriptor.php57 public function addField(FieldDescriptor $field) function in Google\\Protobuf\\Internal\\OneofDescriptor
73 $oneof->addField($field);
DDescriptor.php76 public function addField($field) function in Google\\Protobuf\\Internal\\Descriptor
197 $desc->addField(FieldDescriptor::buildFromProto($field_proto));
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptor.java120 public IRubyObject addField(ThreadContext context, IRubyObject obj) { in addField() method in RubyDescriptor
123 this.builder.addField(fieldDef.build()); in addField()
184 addField(context, fieldDescriptor); in addOneof()
DRubyMessageBuilderContext.java172 mapentryDesc.addField(context, keyField); in map()
181 mapentryDesc.addField(context, valueField); in map()
207 descriptor.addField(context, in msgdefAddField()
DRubyOneofBuilderContext.java78 descriptor.addField(context, fieldDescriptor); in optional()
DRubyOneofDescriptor.java84 public IRubyObject addField(ThreadContext context, IRubyObject obj) { in addField() method in RubyOneofDescriptor
/third_party/protobuf/objectivec/
DGPBUnknownFieldSet.h73 - (void)addField:(GPBUnknownField *)field;
DGPBUnknownFieldSet.m59 [result addField:copied];
257 - (void)addField:(GPBUnknownField *)field {
277 [self addField:existing];
300 [self addField:fieldCopy];
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSet.java421 addField(number, field); in mergeField()
466 public Builder addField(int number, Field field) { in addField() method in UnknownFieldSet.Builder
/third_party/flatbuffers/dart/lib/
Dflat_buffers.dart203 _currentVTable.addField(field, offset);
736 _currentVTable.addField(field, _tail);
1203 void addField(int field, int offset) {

12