Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs269 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
273 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
292 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_PrimitiveValue()
295 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
314 … output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
317 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_MessageValue()
337 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
346 output.WriteTag(1, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
348 output.WriteTag(2, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
350 output.WriteTag(3, WireFormat.WireType.Varint); in MapIgnoresExtraFieldsWithinEntryMessages()
[all …]
DCodedInputStreamTest.cs512 … output.WriteTag(WireFormat.MakeTag(unknownFieldNumber, WireFormat.WireType.StartGroup)); in MakeMaliciousRecursionUnknownFieldsPayload()
516 … output.WriteTag(WireFormat.MakeTag(unknownFieldNumber, WireFormat.WireType.EndGroup)); in MakeMaliciousRecursionUnknownFieldsPayload()
540 output.WriteTag(WireFormat.MakeTag(groupFieldNumber, WireFormat.WireType.StartGroup)); in ReadGroup_WrongEndGroupTag()
543 output.WriteTag(WireFormat.MakeTag(groupFieldNumber + 1, WireFormat.WireType.EndGroup)); in ReadGroup_WrongEndGroupTag()
555 output.WriteTag(WireFormat.MakeTag(14, WireFormat.WireType.StartGroup)); in ReadGroup_UnknownFields_WrongEndGroupTag()
557 output.WriteTag(WireFormat.MakeTag(15, WireFormat.WireType.EndGroup)); in ReadGroup_UnknownFields_WrongEndGroupTag()
672 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
674 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
711 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup()
715 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup()
[all …]
DCodedOutputStreamTest.cs392 cout.WriteTag(11, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
397 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
402 cout.WriteTag(13, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
413 cout.WriteTag(1, WireFormat.WireType.Varint); in TestCodedInputOutputPosition()
418 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
423 cout.WriteTag(3, WireFormat.WireType.Fixed32); in TestCodedInputOutputPosition()
DIssuesTest.cs101 cos.WriteTag(11, WireFormat.WireType.Varint); in CodedInputStream_LimitReachedRightAfterTag()
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.cc409 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32()
414 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt64()
419 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt32()
424 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt64()
429 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt32()
434 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteSInt64()
439 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteFixed32()
444 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteFixed64()
449 WriteTag(field_number, WIRETYPE_FIXED32, output); in WriteSFixed32()
454 WriteTag(field_number, WIRETYPE_FIXED64, output); in WriteSFixed64()
[all …]
Dwire_format_unittest.cc597 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); in TEST()
599 WireFormatLite::WriteTag(WireFormatLite::kMessageSetMessageNumber, in TEST()
608 coded_output.WriteTag(WireFormatLite::kMessageSetItemEndTag); in TEST()
642 WireFormatLite::WriteTag(15, // i in SerializeReverseOrder()
645 WireFormatLite::WriteTag(16, // recursive in SerializeReverseOrder()
658 coded_output->WriteTag(WireFormatLite::kMessageSetItemStartTag); in SerializeReverseOrder()
660 WireFormatLite::WriteTag(WireFormatLite::kMessageSetMessageNumber, in SerializeReverseOrder()
671 coded_output->WriteTag(WireFormatLite::kMessageSetItemEndTag); in SerializeReverseOrder()
Dwire_format_lite.h349 PROTOBUF_ALWAYS_INLINE static void WriteTag(int field_number, WireType type,
1270 inline void WireFormatLite::WriteTag(int field_number, WireType type, in WriteTag() function
1272 output->WriteTag(MakeTag(field_number, type)); in WriteTag()
1338 WriteTag(field_number, WIRETYPE_START_GROUP, output); in WriteGroupNoVirtual()
1340 WriteTag(field_number, WIRETYPE_END_GROUP, output); in WriteGroupNoVirtual()
1346 WriteTag(field_number, WIRETYPE_LENGTH_DELIMITED, output); in WriteMessageNoVirtual()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
167 output.WriteTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.Varint); in RepeatedWrappersBinaryFormat()
170 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
344 coded.WriteTag(wrapperTag); in MergingStreamExplicitValue()
346 coded.WriteTag(valueTag); in MergingStreamExplicitValue()
404 output.WriteTag(wrapperTag); in UnknownFieldInWrapperInt32FastPath()
407 output.WriteTag(unknownTag); in UnknownFieldInWrapperInt32FastPath()
409 output.WriteTag(valueTag); in UnknownFieldInWrapperInt32FastPath()
431 output.WriteTag(wrapperTag); in UnknownFieldInWrapperInt32SlowPath()
434 output.WriteTag(unknownTag); in UnknownFieldInWrapperInt32SlowPath()
[all …]
/third_party/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()
DWriteContext.cs282 public void WriteTag(int fieldNumber, WireFormat.WireType type) in WriteTag() method
284 WritingPrimitives.WriteTag(ref buffer, ref state, fieldNumber, type); in WriteTag()
291 public void WriteTag(uint tag) in WriteTag() method
293 WritingPrimitives.WriteTag(ref buffer, ref state, tag); in WriteTag()
DCodedOutputStream.cs412 public void WriteTag(int fieldNumber, WireFormat.WireType type) in WriteTag() method in Google.Protobuf.CodedOutputStream
415 WritingPrimitives.WriteTag(ref span, ref state, fieldNumber, type); in WriteTag()
422 public void WriteTag(uint tag) in WriteTag() method in Google.Protobuf.CodedOutputStream
425 WritingPrimitives.WriteTag(ref span, ref state, tag); in WriteTag()
DExtensionValue.cs111 ctx.WriteTag(codec.Tag); in WriteTo()
115 ctx.WriteTag(codec.EndTag); in WriteTo()
DWritingPrimitives.cs472 …public static void WriteTag(ref Span<byte> buffer, ref WriterInternalState state, int fieldNumber,… in WriteTag() method in Google.Protobuf.WritingPrimitives
480 public static void WriteTag(ref Span<byte> buffer, ref WriterInternalState state, uint tag) in WriteTag() method in Google.Protobuf.WritingPrimitives
DFieldCodec.cs836 ctx.WriteTag(Tag);
840 ctx.WriteTag(EndTag);
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs316 output.WriteTag(packedTag); in AddEntriesFrom_PackedInt32()
341 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
343 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
345 output.WriteTag(nonPackedTag); in AddEntriesFrom_NonPackedInt32()
367 output.WriteTag(tag); in AddEntriesFrom_String()
369 output.WriteTag(tag); in AddEntriesFrom_String()
371 output.WriteTag(tag); in AddEntriesFrom_String()
393 output.WriteTag(tag); in AddEntriesFrom_Message()
395 output.WriteTag(tag); in AddEntriesFrom_Message()
539 output.WriteTag(tag); in TestNegativeEnumArray()
[all …]
DMapFieldTest.cs597 output.WriteTag(keyTag); in AddEntriesFrom_CodedInputStream()
599 output.WriteTag(valueTag); in AddEntriesFrom_CodedInputStream()
/third_party/node/deps/v8/src/objects/
Dvalue-serializer.cc280 WriteTag(SerializationTag::kVersion); in WriteHeader()
288 void ValueSerializer::WriteTag(SerializationTag tag) { in WriteTag() function in v8::internal::ValueSerializer
496 WriteTag(tag); in WriteOddball()
501 WriteTag(SerializationTag::kInt32); in WriteSmi()
506 WriteTag(SerializationTag::kDouble); in WriteHeapNumber()
511 WriteTag(SerializationTag::kBigInt); in WriteBigInt()
522 WriteTag(SerializationTag::kOneByteString); in WriteString()
529 WriteTag(SerializationTag::kPadding); in WriteString()
530 WriteTag(SerializationTag::kTwoByteString); in WriteString()
541 WriteTag(SerializationTag::kObjectReference); in WriteJSReceiver()
[all …]
/third_party/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()
/third_party/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 …]
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs263 ctx.WriteTag(tag); in WriteTo()
276 ctx.WriteTag(tag); in WriteTo()
280 ctx.WriteTag(codec.EndTag); in WriteTo()
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.h857 PROTOBUF_ALWAYS_INLINE uint8* WriteTag(uint32 num, uint32 wt, uint8* ptr) { in WriteTag() function
864 ptr = WriteTag(num, 2, ptr); in WriteLengthDelim()
1170 void WriteTag(uint32 value);
1656 inline void CodedOutputStream::WriteTag(uint32 value) { WriteVarint32(value); } in WriteTag() function
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc585 WriteTag(field); in StartObjectField()
827 void ProtoWriter::WriteTag(const google::protobuf::Field& field) { in WriteTag() function in google::protobuf::util::converter::ProtoWriter
830 stream_->WriteTag(WireFormatLite::MakeTag(field.number(), wire_type)); in WriteTag()

12