Home
last modified time | relevance | path

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

12345

/external/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 …]
/external/cronet/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 …]
/external/cronet/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.cs169 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
186 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()
/external/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()
110 public void WriteTo(ref WriteContext ctx) in WriteTo()
200 public void WriteTo(ref WriteContext ctx) in WriteTo()
DMessageExtensions.cs169 WriteContext.Initialize(output, out WriteContext ctx); in WriteTo()
186 WriteContext.Initialize(ref output, out WriteContext ctx); in WriteTo()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs62 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
81 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
105 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
120 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
178 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
195 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
216 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
233 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
296 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.cs144WriteContext.Initialize(new TestArrayBufferWriter<byte>(), out WriteContext writeCtx); in LegacyGeneratedCodeThrowsWithIBufferWriter()
238 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) in IBufferMessage.InternalWriteTo()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs62 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
81 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
105 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
120 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteVarint()
178 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
195 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian32()
216 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
233 WriteContext.Initialize(bufferWriter, out WriteContext ctx); in AssertWriteLittleEndian64()
296 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.cs144WriteContext.Initialize(new TestArrayBufferWriter<byte>(), out WriteContext writeCtx); in LegacyGeneratedCodeThrowsWithIBufferWriter()
238 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) in IBufferMessage.InternalWriteTo()
/external/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()
/external/cronet/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()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dwriting.cc203 class WriteContext { class
205 explicit WriteContext(grpc_chttp2_transport* t) : t_(t) { in WriteContext() function in __anonfa1c09610111::WriteContext
322 DataSendContext(WriteContext* write_context, grpc_chttp2_transport* t, in DataSendContext()
424 WriteContext* write_context_;
433 StreamWriteContext(WriteContext* write_context, grpc_chttp2_stream* s) in StreamWriteContext()
629 WriteContext* const write_context_;
640 WriteContext ctx(t); in grpc_chttp2_begin_write()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dwriting.cc187 class WriteContext { class
189 WriteContext(grpc_chttp2_transport* t) : t_(t) { in WriteContext() function in __anon9cca820d0111::WriteContext
314 DataSendContext(WriteContext* write_context, grpc_chttp2_transport* t, in DataSendContext()
397 WriteContext* write_context_;
406 StreamWriteContext(WriteContext* write_context, grpc_chttp2_stream* s) in StreamWriteContext()
582 WriteContext* const write_context_;
593 WriteContext ctx(t); in grpc_chttp2_begin_write()

12345