Home
last modified time | relevance | path

Searched refs:BatchContextSafeHandle (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs440 public delegate BatchContextSafeHandle grpcsharp_batch_context_create_delegate(); in grpcsharp_batch_context_create_delegate()
441 …delegate IntPtr grpcsharp_batch_context_recv_initial_metadata_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_recv_initial_metadata_delegate()
442 …c delegate IntPtr grpcsharp_batch_context_recv_message_length_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_recv_message_length_delegate()
443 …ate void grpcsharp_batch_context_recv_message_to_buffer_delegate(BatchContextSafeHandle ctx, byte[… in grpcsharp_batch_context_recv_message_to_buffer_delegate()
444 …atusCode grpcsharp_batch_context_recv_status_on_client_status_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_recv_status_on_client_status_delegate()
445 …r grpcsharp_batch_context_recv_status_on_client_details_delegate(BatchContextSafeHandle ctx, out U… in grpcsharp_batch_context_recv_status_on_client_details_delegate()
446 …pcsharp_batch_context_recv_status_on_client_trailing_metadata_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_recv_status_on_client_trailing_metadata_delegate()
447 …te int grpcsharp_batch_context_recv_close_on_server_cancelled_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_recv_close_on_server_cancelled_delegate()
448 public delegate void grpcsharp_batch_context_reset_delegate(BatchContextSafeHandle ctx); in grpcsharp_batch_context_reset_delegate()
462 …llError grpcsharp_call_start_unary_delegate(CallSafeHandle call, BatchContextSafeHandle ctx, byte[… in grpcsharp_call_start_unary_delegate()
[all …]
DBatchContextSafeHandle.cs36 …internal class BatchContextSafeHandle : SafeHandleZeroIsInvalid, IOpCompletionCallback, IPooledObj… class
39 static readonly ILogger Logger = GrpcEnvironment.Logger.ForType<BatchContextSafeHandle>();
41 Action<BatchContextSafeHandle> returnToPoolAction;
44 private BatchContextSafeHandle() in BatchContextSafeHandle() method in Grpc.Core.Internal.BatchContextSafeHandle
48 public static BatchContextSafeHandle Create() in Create()
62 public void SetReturnToPoolAction(Action<BatchContextSafeHandle> returnAction) in SetReturnToPoolAction()
DCompletionRegistry.cs30 …internal delegate void BatchCompletionDelegate(bool success, BatchContextSafeHandle ctx, object st… in BatchCompletionDelegate()
39 readonly Func<BatchContextSafeHandle> batchContextFactory;
45 …public CompletionRegistry(GrpcEnvironment environment, Func<BatchContextSafeHandle> batchContextFa… in CompletionRegistry()
70 …public BatchContextSafeHandle RegisterBatchCompletion(BatchCompletionDelegate callback, object sta… in RegisterBatchCompletion()
DINativeCall.cs72 …void StartUnary(BatchContextSafeHandle ctx, byte[] payload, WriteFlags writeFlags, MetadataArraySa… in StartUnary()
DCallSafeHandle.cs79 …public void StartUnary(BatchContextSafeHandle ctx, byte[] payload, WriteFlags writeFlags, Metadata… in StartUnary()
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs.template8 'BatchContextSafeHandle grpcsharp_batch_context_create()',
9 'IntPtr grpcsharp_batch_context_recv_initial_metadata(BatchContextSafeHandle ctx)',
10 'IntPtr grpcsharp_batch_context_recv_message_length(BatchContextSafeHandle ctx)',
11 …'void grpcsharp_batch_context_recv_message_to_buffer(BatchContextSafeHandle ctx, byte[] buffer, UI…
12 'StatusCode grpcsharp_batch_context_recv_status_on_client_status(BatchContextSafeHandle ctx)',
13 …'IntPtr grpcsharp_batch_context_recv_status_on_client_details(BatchContextSafeHandle ctx, out UInt…
14 …ntPtr grpcsharp_batch_context_recv_status_on_client_trailing_metadata(BatchContextSafeHandle ctx)',
15 'int grpcsharp_batch_context_recv_close_on_server_cancelled(BatchContextSafeHandle ctx)',
16 'void grpcsharp_batch_context_reset(BatchContextSafeHandle ctx)',
30 …'CallError grpcsharp_call_start_unary(CallSafeHandle call, BatchContextSafeHandle ctx, byte[] send…
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs57 readonly IObjectPool<BatchContextSafeHandle> batchContextPool;
303 …batchContextPool = new DefaultObjectPool<BatchContextSafeHandle>(() => BatchContextSafeHandle.Crea… in GrpcEnvironment()
320 internal IObjectPool<BatchContextSafeHandle> BatchContextPool => batchContextPool;
DServer.cs391 private void HandleServerShutdown(bool success, BatchContextSafeHandle ctx, object state) in HandleServerShutdown()
/external/grpc-grpc/src/csharp/Grpc.Microbenchmarks/
DCompletionRegistryBenchmark.cs46 … = useSharedRegistry ? new CompletionRegistry(environment, () => BatchContextSafeHandle.Create(), … in Run()
55 var ctx = BatchContextSafeHandle.Create(); in ThreadBody()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DCompletionQueueSafeHandleTest.cs43 …ionQueueSafeHandle.CreateAsync(new CompletionRegistry(env, () => BatchContextSafeHandle.Create(), … in CreateAsyncAndShutdown()
DFakeNativeCall.cs110 …public void StartUnary(BatchContextSafeHandle ctx, byte[] payload, WriteFlags writeFlags, Metadata… in StartUnary()