Home
last modified time | relevance | path

Searched refs:WriteLength (Results 1 - 15 of 15) sorted by relevance

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DGeneratedMessageTest.cs262 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( in DuplicateKeys_LastEntryWins()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DGeneratedMessageTest.cs272 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( in DuplicateKeys_LastEntryWins()
[all...]
H A DUnknownFieldSetTest.cs196 output.WriteLength(-1); in TestReadInvalidWireTypeThrowsInvalidProtocolBufferException()
H A DCodedInputStreamTest.cs607 output.WriteLength(-1); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
625 output.WriteLength(-1); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs166 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, 8 bytes in UnknownFieldInWrapperInt64FastPath()
487 output.WriteLength(4); // unknownTag + value 5 + valueType + value 6, each 1 byte in UnknownFieldInWrapperInt64SlowPath()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DWriteContext.cs272 public void WriteLength(int length) in WriteLength() method
274 WritingPrimitives.WriteLength(ref buffer, ref state, length); in WriteLength()
H A DWritingPrimitivesMessages.cs53 WritingPrimitives.WriteLength(ref ctx.buffer, ref ctx.state, value.CalculateSize()); in WriteMessage()
H A DWritingPrimitives.cs169 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
H A DCodedOutputStream.cs398 public void WriteLength(int length) in WriteLength() method in Google.Protobuf.CodedOutputStream
401 WritingPrimitives.WriteLength(ref span, ref state, length); in WriteLength()
H A DMessageExtensions.cs133 codedOutput.WriteLength(message.CalculateSize()); in WriteDelimitedTo()
H A DFieldCodec.cs621 ctx.WriteLength(codec.CalculateSizeWithTag(value));
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs161 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/node/deps/v8/src/diagnostics/
H A Dgdb-jit.cc1504 void WriteLength(Writer* w, Writer::Slot<uint32_t>* length_slot,
1558 void UnwindInfoSection::WriteLength(Writer* w,
1597 WriteLength(w, &cie_length_slot, cie_position);
1616 WriteLength(w, &fde_length_slot, fde_position);
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DRepeatedField.cs264 ctx.WriteLength(size); in WriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs596 output.WriteLength(20); // total of keyTag + key + valueTag + value in AddEntriesFrom_CodedInputStream()

Completed in 14 milliseconds