Home
last modified time | relevance | path

Searched refs:ReadTag (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc201 uint32 tag = stream_->ReadTag(), last_tag = tag + 1; in WriteMessage()
228 tag = stream_->ReadTag(); in WriteMessage()
243 tag = stream_->ReadTag(); in WriteMessage()
266 tag_to_return = stream_->ReadTag(); in RenderList()
270 } while ((tag_to_return = stream_->ReadTag()) == list_tag); in RenderList()
288 for (uint32 tag = stream_->ReadTag(); tag != 0; tag = stream_->ReadTag()) { in RenderMap()
318 } while ((tag_to_return = stream_->ReadTag()) == list_tag); in RenderMap()
404 uint32 tag = os->stream_->ReadTag(); in RenderDouble()
408 os->stream_->ReadTag(); in RenderDouble()
418 uint32 tag = os->stream_->ReadTag(); in RenderFloat()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs282 Assert.AreEqual(tag, input.ReadTag()); in ReadMaliciouslyLargeBlob()
357 Assert.AreEqual(tag, input.ReadTag()); in ReadInvalidUtf8()
408 uint tag = input.ReadTag(); in TestSlowPathAvoidance()
412 tag = input.ReadTag(); in TestSlowPathAvoidance()
422 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadTag()); in Tag0Throws()
464 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
466 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup()
468 … Assert.AreEqual(WireFormat.MakeTag(3, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
495 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
497 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
[all …]
DCodedOutputStreamTest.cs340 uint tag = cin.ReadTag(); in TestCodedInputOutputPosition()
346 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
357 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
363 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
371 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
382 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs381 Assert.AreEqual(tag, input.ReadTag()); in ReadMaliciouslyLargeBlob()
399 Assert.AreEqual(tag, input.ReadTag()); in ReadBlobGreaterThanCurrentLimit()
407 Assert.AreEqual(tag, ctx.ReadTag()); in ReadBlobGreaterThanCurrentLimit()
431 Assert.AreEqual(tag, input.ReadTag()); in ReadStringGreaterThanCurrentLimit()
439 Assert.AreEqual(tag, ctx.ReadTag()); in ReadStringGreaterThanCurrentLimit()
461 Assert.Throws<InvalidProtocolBufferException>(() => cis.ReadTag()); in ReadTag_ZeroFieldRejected()
594 Assert.AreEqual(tag, input.ReadTag()); in ReadInvalidUtf8()
613 Assert.AreEqual(tag, input.ReadTag()); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
631 Assert.AreEqual(tag, input.ReadTag()); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
681 uint tag = input.ReadTag(); in TestSlowPathAvoidance()
[all …]
DCodedOutputStreamTest.cs434 uint tag = cin.ReadTag(); in TestCodedInputOutputPosition()
440 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
451 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
457 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
465 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
476 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
DLegacyGeneratedCodeTest.cs190 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
275 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs201 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
219 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
381 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
399 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
561 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
579 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
741 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
759 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
921 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
939 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DStruct.cs210 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
228 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
597 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
646 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
828 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
846 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DEmpty.cs163 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
177 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DType.cs363 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
404 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
857 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
911 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1323 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1360 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1590 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1616 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1825 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1850 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DSourceContext.cs189 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
207 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DFieldMask.cs373 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
391 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DDuration.cs282 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
304 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestCustomOptionsProto3.cs454 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
476 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
623 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
637 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
759 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
773 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
895 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
909 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1031 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1045 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DUnittestIssues.cs211 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
225 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
349 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
363 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
487 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
501 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
695 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
723 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
859 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
873 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DUnittestProto3.cs1533 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1772 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
2165 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
2183 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
2396 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
2428 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
2597 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
2615 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
2773 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
2791 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DUnittest.cs3692 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
4045 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
4566 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
4584 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
4753 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
4773 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
4944 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
4964 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
5179 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
5211 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DUnittestIssue6936B.cs150 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
164 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DUnittestImportPublicProto3.cs179 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
197 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
DMapUnittestProto3.cs578 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
660 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
881 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
902 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1048 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1066 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1229 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1251 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1636 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1710 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
DUnittestImportPublic.cs193 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
211 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs546 tag = input.ReadTag(); in TestNegativeEnumArray()
584 tag = input.ReadTag(); in TestNegativeEnumPackedArray()
614 input.ReadTag(); in TestPackedRepeatedFieldCollectionNonDivisibleLength()
616 input.ReadTag(); in TestPackedRepeatedFieldCollectionNonDivisibleLength()
641 input.ReadTag(); in TestPackedRepeatedFieldCollectionNotAllocatedWhenLengthExceedsBuffer()
643 input.ReadTag(); in TestPackedRepeatedFieldCollectionNotAllocatedWhenLengthExceedsBuffer()
670 ctx.ReadTag(); in TestPackedRepeatedFieldCollectionNotAllocatedWhenLengthExceedsRemainingData()
672 ctx.ReadTag(); in TestPackedRepeatedFieldCollectionNotAllocatedWhenLengthExceedsRemainingData()
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs297 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
334 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
543 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
565 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
720 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
738 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs324 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
342 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
801 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
871 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1263 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1320 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1608 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1637 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1869 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1891 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs237 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
255 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
703 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
756 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1231 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1277 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()
1465 while ((tag = input.ReadTag()) != 0) { in MergeFrom()
1483 while ((tag = input.ReadTag()) != 0) { in IBufferMessage.InternalMergeFrom()

1234