Home
last modified time | relevance | path

Searched refs:WriteTag (Results 1 – 25 of 28) sorted by relevance

12

/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs259 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
263 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
277 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_PrimitiveValue()
280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
294 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
297 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
312 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
321 output.WriteTag(1, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
323 output.WriteTag(2, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
325 output.WriteTag(3, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
[all …]
DCodedInputStreamTest.cs399 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
401 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
438 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup()
442 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup()
443 output.WriteTag(1, WireFormat.WireType.Fixed32); in SkipGroup()
445 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
448 output.WriteTag(3, WireFormat.WireType.StartGroup); in SkipGroup()
449 output.WriteTag(1, WireFormat.WireType.Fixed64); in SkipGroup()
452 output.WriteTag(3, WireFormat.WireType.EndGroup); in SkipGroup()
455 output.WriteTag(2, WireFormat.WireType.EndGroup); in SkipGroup()
[all …]
DCodedOutputStreamTest.cs298 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
308 cout.WriteTag(13, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
319 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
329 cout.WriteTag(3, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs259 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
263 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
277 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_PrimitiveValue()
280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
294 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
297 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
312 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
321 output.WriteTag(1, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
323 output.WriteTag(2, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
325 output.WriteTag(3, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
[all …]
DCodedInputStreamTest.cs449 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
451 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
488 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup()
492 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup()
493 output.WriteTag(1, WireFormat.WireType.Fixed32); in SkipGroup()
495 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
498 output.WriteTag(3, WireFormat.WireType.StartGroup); in SkipGroup()
499 output.WriteTag(1, WireFormat.WireType.Fixed64); in SkipGroup()
502 output.WriteTag(3, WireFormat.WireType.EndGroup); in SkipGroup()
505 output.WriteTag(2, WireFormat.WireType.EndGroup); in SkipGroup()
[all …]
DCodedOutputStreamTest.cs298 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
308 cout.WriteTag(13, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
319 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
329 cout.WriteTag(3, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc407 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32()
412 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt64()
417 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt32()
422 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt64()
427 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt32()
432 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt64()
437 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteFixed32()
442 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteFixed64()
447 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteSFixed32()
452 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteSFixed64()
[all …]
Dwire_format_unittest.cc591 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST()
593 WireFormatLite::WriteTag(WireFormatLite::kMessageSetMessageNumber, in TEST()
602 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST()
636 WireFormatLite::WriteTag(15, // i in SerializeReverseOrder()
639 WireFormatLite::WriteTag(16, // recursive in SerializeReverseOrder()
652 coded_output->WriteTag(WireFormatLite::kMessageSetItemStartTag); in SerializeReverseOrder()
654 WireFormatLite::WriteTag(WireFormatLite::kMessageSetMessageNumber, in SerializeReverseOrder()
665 coded_output->WriteTag(WireFormatLite::kMessageSetItemEndTag); in SerializeReverseOrder()
Dwire_format_lite.h348 PROTOBUF_ALWAYS_INLINE static void WriteTag(int field_number, WireType type,
1272 inline void WireFormatLite::WriteTag(int field_number, WireType type, in WriteTag() function
1274 output->WriteTag(MakeTag(field_number, type)); in WriteTag()
1340 WriteTag(field_number, WIRETYPE_START_GROUP, output); in WriteGroupNoVirtual()
1342 WriteTag(field_number, WIRETYPE_END_GROUP, output); in WriteGroupNoVirtual()
1348 WriteTag(field_number, WIRETYPE_LENGTH_DELIMITED, output); in WriteMessageNoVirtual()
Dlite_unittest.cc372 internal::WireFormatLite::WriteTag( in TEST()
376 internal::WireFormatLite::WriteTag( in TEST()
Dwire_format.cc859 WireFormatLite::WriteTag(field->number(), in SerializeMapEntry()
944 WireFormatLite::WriteTag(field->number(), in SerializeFieldWithCachedSizes()
/external/protobuf/csharp/src/Google.Protobuf/
DUnknownField.cs111 output.WriteTag(fieldNumber, WireFormat.WireType.Varint); in WriteTo()
119 output.WriteTag(fieldNumber, WireFormat.WireType.Fixed32); in WriteTo()
127 output.WriteTag(fieldNumber, WireFormat.WireType.Fixed64); in WriteTo()
135 output.WriteTag(fieldNumber, WireFormat.WireType.LengthDelimited); in WriteTo()
143 output.WriteTag(fieldNumber, WireFormat.WireType.StartGroup); in WriteTo()
145 output.WriteTag(fieldNumber, WireFormat.WireType.EndGroup); in WriteTo()
DExtensionValue.cs122 output.WriteTag(codec.Tag); in WriteTo()
126 output.WriteTag(codec.EndTag); in WriteTo()
DCodedOutputStream.cs400 public void WriteTag(int fieldNumber, WireFormat.WireType type) in WriteTag() method in Google.Protobuf.CodedOutputStream
409 public void WriteTag(uint tag) in WriteTag() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs749 output.WriteTag(Tag);
753 output.WriteTag(EndTag);
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs160 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
337 coded.WriteTag(wrapperTag); in MergingStreamExplicitValue()
339 coded.WriteTag(valueTag); in MergingStreamExplicitValue()
397 output.WriteTag(wrapperTag); in UnknownFieldInWrapper()
399 output.WriteTag(unknownTag); in UnknownFieldInWrapper()
401 output.WriteTag(valueTag); in UnknownFieldInWrapper()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs160 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
162 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
337 coded.WriteTag(wrapperTag); in MergingStreamExplicitValue()
339 coded.WriteTag(valueTag); in MergingStreamExplicitValue()
397 output.WriteTag(wrapperTag); in UnknownFieldInWrapper()
399 output.WriteTag(unknownTag); in UnknownFieldInWrapper()
401 output.WriteTag(valueTag); in UnknownFieldInWrapper()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs315 output.WriteTag(packedTag); in AddEntriesFrom_PackedInt32()
340 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
342 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
344 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
366 output.WriteTag(tag); in AddEntriesFrom_String()
368 output.WriteTag(tag); in AddEntriesFrom_String()
370 output.WriteTag(tag); in AddEntriesFrom_String()
392 output.WriteTag(tag); in AddEntriesFrom_Message()
394 output.WriteTag(tag); in AddEntriesFrom_Message()
538 output.WriteTag(tag); in TestNegativeEnumArray()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs315 output.WriteTag(packedTag); in AddEntriesFrom_PackedInt32()
340 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
342 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
344 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
366 output.WriteTag(tag); in AddEntriesFrom_String()
368 output.WriteTag(tag); in AddEntriesFrom_String()
370 output.WriteTag(tag); in AddEntriesFrom_String()
392 output.WriteTag(tag); in AddEntriesFrom_Message()
394 output.WriteTag(tag); in AddEntriesFrom_Message()
538 output.WriteTag(tag); in TestNegativeEnumArray()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs196 output.WriteTag(tag); in WriteTo()
209 output.WriteTag(tag); in WriteTo()
213 output.WriteTag(codec.EndTag); in WriteTo()
DMapField.cs447 output.WriteTag(codec.MapTag); in WriteTo()
/external/tensorflow/tensorflow/core/kernels/
Dencode_proto_op.cc259 WireFormatLite::WriteTag(field_desc.number(), in WriteField()
275 WireFormatLite::WriteTag(field_desc.number(), wire_type, output); in WriteField()
329 WireFormatLite::WriteTag(field_desc.number(), in WriteGroup()
333 WireFormatLite::WriteTag(field_desc.number(), in WriteGroup()
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc579 WriteTag(field); in StartObjectField()
821 void ProtoWriter::WriteTag(const google::protobuf::Field& field) { in WriteTag() function in google::protobuf::util::converter::ProtoWriter
824 stream_->WriteTag(WireFormatLite::MakeTag(field.number(), wire_type)); in WriteTag()
Dproto_writer.h277 void WriteTag(const google::protobuf::Field& field);
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h800 void WriteTag(uint32 value);
1243 inline void CodedOutputStream::WriteTag(uint32 value) { WriteVarint32(value); } in WriteTag() function

12