Home
last modified time | relevance | path

Searched refs:WriteContext (Results 1 – 25 of 63) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs144 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawVarint32_WriteContext()
191 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawVarint64_WriteContext()
218 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteFixed32_WriteContext()
245 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteFixed64_WriteContext()
259 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawTag_OneByte_WriteContext()
273 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawTag_TwoBytes_WriteContext()
287 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawTag_ThreeBytes_WriteContext()
300 WriteContext.Initialize(ref span, out WriteContext ctx); in Baseline_WriteContext()
322 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawFloat_WriteContext()
347 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteRawDouble_WriteContext()
[all …]
DWriteMessagesBenchmark.cs189 WriteContext.Initialize(ref span, out WriteContext ctx); in WriteDelimitedMessagesToSpan_PreAllocatedBuffer()
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs222 …w FieldCodec<string>((ref ParseContext ctx) => ctx.ReadString(), (ref WriteContext ctx, string val… in ForString()
233 …ieldCodec<ByteString>((ref ParseContext ctx) => ctx.ReadBytes(), (ref WriteContext ctx, ByteString… in ForBytes()
244 …return new FieldCodec<bool>((ref ParseContext ctx) => ctx.ReadBool(), (ref WriteContext ctx, bool … in ForBool()
255 …return new FieldCodec<int>((ref ParseContext ctx) => ctx.ReadInt32(), (ref WriteContext output, in… in ForInt32()
266 … new FieldCodec<int>((ref ParseContext ctx) => ctx.ReadSInt32(), (ref WriteContext output, int val… in ForSInt32()
277 …ew FieldCodec<uint>((ref ParseContext ctx) => ctx.ReadFixed32(), (ref WriteContext output, uint va… in ForFixed32()
288 …ew FieldCodec<int>((ref ParseContext ctx) => ctx.ReadSFixed32(), (ref WriteContext output, int val… in ForSFixed32()
299 …new FieldCodec<uint>((ref ParseContext ctx) => ctx.ReadUInt32(), (ref WriteContext output, uint va… in ForUInt32()
310 … new FieldCodec<long>((ref ParseContext ctx) => ctx.ReadInt64(), (ref WriteContext output, long va… in ForInt64()
321 …new FieldCodec<long>((ref ParseContext ctx) => ctx.ReadSInt64(), (ref WriteContext output, long va… in ForSInt64()
[all …]
DWritingPrimitivesMessages.cs51 public static void WriteMessage(ref WriteContext ctx, IMessage value) in WriteMessage()
61 public static void WriteGroup(ref WriteContext ctx, IMessage value) in WriteGroup()
71 public static void WriteRawMessage(ref WriteContext ctx, IMessage message) in WriteRawMessage()
DWriteContext.cs53 public ref struct WriteContext struct
59 … static void Initialize(ref Span<byte> buffer, ref WriterInternalState state, out WriteContext ctx) in Initialize() argument
71 internal static void Initialize(CodedOutputStream output, out WriteContext ctx) in Initialize() argument
81 internal static void Initialize(IBufferWriter<byte> output, out WriteContext ctx) in Initialize() argument
91 internal static void Initialize(ref Span<byte> buffer, out WriteContext ctx) in Initialize() argument
DCodedOutputStream.cs269 WriteContext.Initialize(ref span, ref state, out WriteContext ctx); in WriteMessage()
291 WriteContext.Initialize(ref span, ref state, out WriteContext ctx); in WriteRawMessage()
309 WriteContext.Initialize(ref span, ref state, out WriteContext ctx); in WriteGroup()
DExtensionValue.cs44 void WriteTo(ref WriteContext ctx); in WriteTo()
109 public void WriteTo(ref WriteContext ctx) in WriteTo()
197 public void WriteTo(ref WriteContext ctx) in WriteTo()
DMessageExtensions.cs160 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
177 WriteContext.Initialize(ref output, out WriteContext ctx); in WriteTo()
DUnknownFieldSet.cs75 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
90 public void WriteTo(ref WriteContext ctx) in WriteTo()
DExtensionSet.cs349 WriteContext.Initialize(stream, out WriteContext ctx); in WriteTo()
364 public void WriteTo(ref WriteContext ctx) in WriteTo()
DIBufferMessage.cs52 void InternalWriteTo(ref WriteContext ctx); in InternalWriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs61 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
80 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
104 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
119 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
177 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
194 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
215 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
232 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
295 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in WriteContext_WritesWithFlushes()
DFieldCodecTest.cs127 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestRoundTripRaw()
188 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestDefaultValue()
DLegacyGeneratedCodeTest.cs144 WriteContext.Initialize(new ArrayBufferWriter<byte>(), out WriteContext writeCtx); in LegacyGeneratedCodeThrowsWithIBufferWriter()
238 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) in IBufferMessage.InternalWriteTo()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DFieldCodecTest.cs127 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestRoundTripRaw()
184 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestDefaultValue()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dwriting.cc199 class WriteContext { class
201 explicit WriteContext(grpc_chttp2_transport* t) : t_(t) { in WriteContext() function in __anon636541400111::WriteContext
318 DataSendContext(WriteContext* write_context, grpc_chttp2_transport* t, in DataSendContext()
420 WriteContext* write_context_;
429 StreamWriteContext(WriteContext* write_context, grpc_chttp2_stream* s) in StreamWriteContext()
625 WriteContext* const write_context_;
636 WriteContext ctx(t); in grpc_chttp2_begin_write()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs161 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
341 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
521 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
701 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
881 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1061 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1241 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1421 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1601 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs468 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
486 public void WriteTo(ref WriteContext ctx, Codec codec) in WriteTo()
739 public void InternalWriteTo(ref WriteContext ctx) in InternalWriteTo()
DRepeatedField.cs233 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
251 public void WriteTo(ref WriteContext ctx, FieldCodec<T> codec) in WriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestCustomOptionsProto3.cs401 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
593 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
729 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
865 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1001 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1137 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1286 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1422 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1558 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1694 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
[all …]
DUnittestIssues.cs181 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
319 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
457 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
649 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
829 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1067 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1324 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1514 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1691 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
2008 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
[all …]
/third_party/grpc/src/csharp/Grpc.Examples/
DMath.cs166 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
374 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
564 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
736 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
908 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs268 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
467 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
679 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1068 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1551 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
1852 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
2066 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
2290 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
2575 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
2818 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
[all …]
DMetrics.cs234 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
466 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
620 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs162 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
348 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
577 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()
797 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { in IBufferMessage.InternalWriteTo()

123