Home
last modified time | relevance | path

Searched refs:LengthDelimited (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadMaliciouslyLargeBlob()
362 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
382 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
400 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
449 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()
495 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
507 output.WriteTag(3, WireFormat.WireType.LengthDelimited); in SkipGroup()
514 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
[all …]
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 …]
DCodedOutputStreamTest.cs303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
/external/rust/crates/protobuf/src/
Dunknown.rs25 LengthDelimited(Vec<u8>), enumerator
40 UnknownValue::LengthDelimited(ref bytes) => UnknownValueRef::LengthDelimited(&bytes), in get_ref()
66 LengthDelimited(&'o [u8]), enumerator
76 UnknownValueRef::LengthDelimited(_) => wire_format::WireTypeLengthDelimited, in wire_type()
103 UnknownValue::LengthDelimited(length_delimited) => { in add_value()
155 return Some(UnknownValueRef::LengthDelimited(&length_delimited.unwrap())); in next()
Dcoded_output_stream.rs366 UnknownValueRef::LengthDelimited(bytes) => self.write_bytes_no_tag(bytes), in write_unknown_no_tag()
Dcoded_input_stream.rs583 .map(|v| UnknownValue::LengthDelimited(v)) in read_unknown()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
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 …]
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 …]
DCodedOutputStreamTest.cs303 cout.WriteTag(12, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
324 cout.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestCodedInputOutputPosition()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
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 …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
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 …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs160 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
332 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in MergingStreamExplicitValue()
393 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapper()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs160 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
165 …output.WriteTag(RepeatedWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in RepeatedWrappersBinaryFormat()
332 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in MergingStreamExplicitValue()
393 … WireFormat.MakeTag(TestWellKnownTypes.Int32FieldFieldNumber, WireFormat.WireType.LengthDelimited); in UnknownFieldInWrapper()
/external/protobuf/csharp/src/Google.Protobuf/
DWireFormat.cs62 LengthDelimited = 2, enumerator
DFieldCodec.cs521 …Format.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) },
522 …eFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFormat.WireType.LengthDelimited)) }
624 … TypeSupportsPacking && WireFormat.GetTagWireType(tag) == WireFormat.WireType.LengthDelimited;
DUnknownField.cs135 output.WriteTag(fieldNumber, WireFormat.WireType.LengthDelimited); in WriteTo()
DUnknownFieldSet.cs210 case WireFormat.WireType.LengthDelimited: in MergeFieldFrom()
DCodedInputStream.cs431 case WireFormat.WireType.LengthDelimited: in SkipLastField()
/external/protobuf/src/google/protobuf/
Dunknown_field_set.h275 union LengthDelimited { union
285 mutable union LengthDelimited length_delimited_;
Dunknown_field_set_unittest.cc166 TEST_F(UnknownFieldSetTest, LengthDelimited) { in TEST_F() argument
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m115 // LengthDelimited
444 // LengthDelimited