Home
last modified time | relevance | path

Searched refs:LengthDelimited (Results 1 - 18 of 18) sorted by relevance

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadMaliciouslyLargeBlob()
348 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
399 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()
445 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
457 output.WriteTag(3, WireFormat.WireType.LengthDelimited); in SkipGroup()
464 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
468 Assert.AreEqual(WireFormat.MakeTag(3, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
482 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup_WrongEndGroupTag()
[all...]
H A 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()
294 output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
312 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
339 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapFieldOrderIsIrrelevant()
371 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
381 output.WriteTag(TestMap.MapStringStringFieldNumber, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
383 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
385 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
[all...]
H A DCodedOutputStreamTest.cs303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DRepeatedFieldTest.cs310 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
326 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
352 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_NonPackedInt32()
364 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_String()
390 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_Message()
411 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_PackedInt32()
453 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_String()
476 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_Message()
514 var tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in CalculateSize_VariableSizePacked()
524 var tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in CalculateSize_FixedSizePacked()
[all...]
H A DMapFieldTest.cs591 var keyTag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_CodedInputStream()
592 var valueTag = WireFormat.MakeTag(2, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_CodedInputStream()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A 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()
314 output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_MessageValue()
337 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapIgnoresExtraFieldsWithinEntryMessages()
369 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapFieldOrderIsIrrelevant()
406 output.WriteTag(TestMap.MapInt32Int32FieldNumber, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
416 output.WriteTag(TestMap.MapStringStringFieldNumber, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
418 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
420 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapNonContiguousEntries()
[all...]
H A DCodedInputStreamTest.cs373 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadMaliciouslyLargeBlob()
391 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadBlobGreaterThanCurrentLimit()
423 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadStringGreaterThanCurrentLimit()
585 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
605 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
623 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
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()
718 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
[all...]
H A DCodedOutputStreamTest.cs397 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
418 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
H A DRepeatedFieldTest.cs309 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
325 uint nonPackedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_PackedInt32()
351 uint packedTag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_NonPackedInt32()
363 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_String()
389 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in AddEntriesFrom_Message()
410 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_PackedInt32()
452 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_String()
475 uint tag = WireFormat.MakeTag(10, WireFormat.WireType.LengthDelimited); in WriteTo_Message()
513 var tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in CalculateSize_VariableSizePacked()
523 var tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in CalculateSize_FixedSizePacked()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs165 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
170 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
339 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in MergingStreamExplicitValue()
400 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapperInt32FastPath()
427 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapperInt32SlowPath()
454 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int64FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapperInt64FastPath()
481 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int64FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapperInt64SlowPath()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs160 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
165 output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
332 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in MergingStreamExplicitValue()
393 var wrapperTag = WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapper()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DWireFormat.cs62 LengthDelimited = 2, enumerator
H A DFieldCodec.cs539 { typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) },
540 { typeof(ByteString), ForBytes(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) }
682 TypeSupportsPacking && WireFormat.GetTagWireType(tag) == WireFormat.WireType.LengthDelimited;
H A DParsingPrimitivesMessages.cs67 case WireFormat.WireType.LengthDelimited: in SkipLastField()
H A DUnknownField.cs135 output.WriteTag(fieldNumber, WireFormat.WireType.LengthDelimited); in WriteTo()
H A DUnknownFieldSet.cs228 case WireFormat.WireType.LengthDelimited: in MergeFieldFrom()
/third_party/protobuf/src/google/protobuf/
H A Dunknown_field_set.h286 union LengthDelimited { union in google::protobuf::UnknownField
296 mutable union LengthDelimited length_delimited_;
H A Dunknown_field_set_unittest.cc170 TEST_F(UnknownFieldSetTest, LengthDelimited) { in TEST_F()

Completed in 26 milliseconds