Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc342 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32()
347 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt64()
352 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt32()
357 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt64()
362 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt32()
367 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt64()
372 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteFixed32()
377 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteFixed64()
382 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteSFixed32()
387 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteSFixed64()
[all …]
Dwire_format_lite_inl.h517 inline void WireFormatLite::WriteTag(int field_number, WireType type, in WriteTag() function
519 output->WriteTag(MakeTag(field_number, type)); in WriteTag()
585 WriteTag(field_number, WIRETYPE_START_GROUP, output); in WriteGroupNoVirtual()
587 WriteTag(field_number, WIRETYPE_END_GROUP, output); in WriteGroupNoVirtual()
593 WriteTag(field_number, WIRETYPE_LENGTH_DELIMITED, output); in WriteMessageNoVirtual()
Dwire_format_unittest.cc575 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST()
577 WireFormatLite::WriteTag(WireFormatLite::kMessageSetMessageNumber, in TEST()
586 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST()
Dextension_set_heavy.cc684 output->WriteTag(WireFormatLite::kMessageSetItemStartTag); in SerializeMessageSetItemWithCachedSizes()
702 output->WriteTag(WireFormatLite::kMessageSetItemEndTag); in SerializeMessageSetItemWithCachedSizes()
Dlite_unittest.cc337 google::protobuf::internal::WireFormatLite::WriteTag( in main()
341 google::protobuf::internal::WireFormatLite::WriteTag( in main()
Dwire_format_lite.h355 INL static void WriteTag(field_number, WireType type, output);
Dwire_format.cc839 WireFormatLite::WriteTag(field->number(), in SerializeFieldWithCachedSizes()
Dextension_set.cc1435 WireFormatLite::WriteTag(number, in SerializeFieldWithCachedSizes()
Ddescriptor.pb.cc13554 …::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormat… in SerializeWithCachedSizes()
13564 …::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormat… in SerializeWithCachedSizes()
14539 …::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormat… in SerializeWithCachedSizes()
/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.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/v8/src/
Dvalue-serializer.cc206 WriteTag(SerializationTag::kVersion); in WriteHeader()
214 void ValueSerializer::WriteTag(SerializationTag tag) { in WriteTag() function in v8::internal::ValueSerializer
418 WriteTag(tag); in WriteOddball()
423 WriteTag(SerializationTag::kInt32); in WriteSmi()
428 WriteTag(SerializationTag::kDouble); in WriteHeapNumber()
433 WriteTag(SerializationTag::kDouble); in WriteMutableHeapNumber()
438 WriteTag(SerializationTag::kBigInt); in WriteBigInt()
449 WriteTag(SerializationTag::kOneByteString); in WriteString()
456 WriteTag(SerializationTag::kPadding); in WriteString()
457 WriteTag(SerializationTag::kTwoByteString); in WriteString()
[all …]
Dvalue-serializer.h106 void WriteTag(SerializationTag tag);
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs229 output.WriteTag(packedTag); in AddEntriesFrom_PackedInt32()
254 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
256 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
258 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
280 output.WriteTag(tag); in AddEntriesFrom_String()
282 output.WriteTag(tag); in AddEntriesFrom_String()
284 output.WriteTag(tag); in AddEntriesFrom_String()
306 output.WriteTag(tag); in AddEntriesFrom_Message()
308 output.WriteTag(tag); in AddEntriesFrom_Message()
452 output.WriteTag(tag); in TestNegativeEnumArray()
[all …]
/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/src/Google.Protobuf/
DCodedOutputStream.cs391 public void WriteTag(int fieldNumber, WireFormat.WireType type) in WriteTag() method in Google.Protobuf.CodedOutputStream
400 public void WriteTag(uint tag) in WriteTag() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs453 output.WriteTag(Tag); in WriteTagAndValue()
/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()
309 WireFormatLite::WriteTag(field_desc.number(), in WriteGroup()
313 WireFormatLite::WriteTag(field_desc.number(), in WriteGroup()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs193 output.WriteTag(tag); in WriteTo()
206 output.WriteTag(tag); in WriteTo()
DMapField.cs444 output.WriteTag(codec.MapTag); in WriteTo()
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc546 WriteTag(field); in StartObjectField()
752 void ProtoWriter::WriteTag(const google::protobuf::Field& field) { in WriteTag() function in google::protobuf::util::converter::ProtoWriter
755 stream_->WriteTag(WireFormatLite::MakeTag(field.number(), wire_type)); in WriteTag()
Dproto_writer.h257 void WriteTag(const google::protobuf::Field& field);
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h768 void WriteTag(uint32 value);
1150 inline void CodedOutputStream::WriteTag(uint32 value) { in WriteTag() function