/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 262 output.WriteLength(2 + nestedMessage.CalculateSize()); in MapWithOnlyValue() 279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue() 296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue() 320 output.WriteLength(6); in MapIgnoresExtraFieldsWithinEntryMessages() 346 output.WriteLength(4); in MapFieldOrderIsIrrelevant() 372 output.WriteLength(4); in MapNonContiguousEntries() 382 output.WriteLength(6); // 3 bytes per entry: tag, size, character in MapNonContiguousEntries() 392 output.WriteLength(4); in MapNonContiguousEntries() 420 output.WriteLength(4); in DuplicateKeys_LastEntryWins() 428 output.WriteLength(4); in DuplicateKeys_LastEntryWins()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 166 output.WriteLength(2); in RepeatedWrappersBinaryFormat() 171 output.WriteLength(0); in RepeatedWrappersBinaryFormat() 345 coded.WriteLength(2); // valueTag + a value 0, each one byte in MergingStreamExplicitValue() 406 … output.WriteLength(6); // unknownTag + value 5 + valueType, each 1 byte, + value 65536, 3 bytes in UnknownFieldInWrapperInt32FastPath() 433 output.WriteLength(4); // unknownTag + value 5 + valueType + value 6, each 1 byte in UnknownFieldInWrapperInt32SlowPath() 460 …output.WriteLength(11); // unknownTag + value 5 + valueType, each 1 byte, + value 0xfffffffffffff,… in UnknownFieldInWrapperInt64FastPath() 487 output.WriteLength(4); // unknownTag + value 5 + valueType + value 6, each 1 byte in UnknownFieldInWrapperInt64SlowPath()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 272 output.WriteLength(2 + nestedMessage.CalculateSize()); in MapWithOnlyValue() 294 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue() 316 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue() 345 output.WriteLength(6); in MapIgnoresExtraFieldsWithinEntryMessages() 376 output.WriteLength(4); in MapFieldOrderIsIrrelevant() 407 output.WriteLength(4); in MapNonContiguousEntries() 417 output.WriteLength(6); // 3 bytes per entry: tag, size, character in MapNonContiguousEntries() 427 output.WriteLength(4); in MapNonContiguousEntries() 461 output.WriteLength(4); in DuplicateKeys_LastEntryWins() 469 output.WriteLength(4); in DuplicateKeys_LastEntryWins()
|
D | UnknownFieldSetTest.cs | 196 output.WriteLength(-1); in TestReadInvalidWireTypeThrowsInvalidProtocolBufferException()
|
D | CodedInputStreamTest.cs | 607 output.WriteLength(-1); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException() 625 output.WriteLength(-1); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 161 output.WriteLength(2); in RepeatedWrappersBinaryFormat() 166 output.WriteLength(0); in RepeatedWrappersBinaryFormat() 338 coded.WriteLength(2); // valueTag + a value 0, each one byte in MergingStreamExplicitValue() 398 output.WriteLength(4); // unknownTag + value 5 + valueType + value 6, each 1 byte in UnknownFieldInWrapper()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | WriteContext.cs | 272 public void WriteLength(int length) in WriteLength() method 274 WritingPrimitives.WriteLength(ref buffer, ref state, length); in WriteLength()
|
D | WritingPrimitivesMessages.cs | 53 WritingPrimitives.WriteLength(ref ctx.buffer, ref ctx.state, value.CalculateSize()); in WriteMessage()
|
D | CodedOutputStream.cs | 398 public void WriteLength(int length) in WriteLength() method in Google.Protobuf.CodedOutputStream 401 WritingPrimitives.WriteLength(ref span, ref state, length); in WriteLength()
|
D | WritingPrimitives.cs | 169 WriteLength(ref buffer, ref state, length); in WriteString() 218 WriteLength(ref buffer, ref state, value.Length); in WriteBytes() 276 … public static void WriteLength(ref Span<byte> buffer, ref WriterInternalState state, int length) in WriteLength() method in Google.Protobuf.WritingPrimitives
|
D | MessageExtensions.cs | 133 codedOutput.WriteLength(message.CalculateSize()); in WriteDelimitedTo()
|
D | FieldCodec.cs | 621 ctx.WriteLength(codec.CalculateSizeWithTag(value));
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | RepeatedField.cs | 264 ctx.WriteLength(size); in WriteTo()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 596 output.WriteLength(20); // total of keyTag + key + valueTag + value in AddEntriesFrom_CodedInputStream()
|