/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | MetadataArraySafeHandle.cs | 42 … var metadataArray = Native.grpcsharp_metadata_array_create(new UIntPtr((ulong)metadata.Count)); in Create() 46 …Native.grpcsharp_metadata_array_add(metadataArray, metadata[i].Key, valueBytes, new UIntPtr((ulong… in Create() 48 return metadataArray; in Create() 54 public static Metadata ReadMetadataFromPtrUnsafe(IntPtr metadataArray) in ReadMetadataFromPtrUnsafe() argument 56 if (metadataArray == IntPtr.Zero) in ReadMetadataFromPtrUnsafe() 61 ulong count = Native.grpcsharp_metadata_array_count(metadataArray).ToUInt64(); in ReadMetadataFromPtrUnsafe() 68 … IntPtr keyPtr = Native.grpcsharp_metadata_array_get_key(metadataArray, index, out keyLen); in ReadMetadataFromPtrUnsafe() 71 … IntPtr valuePtr = Native.grpcsharp_metadata_array_get_value(metadataArray, index, out valueLen); in ReadMetadataFromPtrUnsafe()
|
D | CallSafeHandle.cs | 69 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 74 …unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFlags, metadataArray, callFlags) in StartUnary() 79 …e ctx, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 81 …unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFlags, metadataArray, callFlags) in StartUnary() 85 …eaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartClientStreaming() argument 90 … Native.grpcsharp_call_start_client_streaming(this, ctx, metadataArray, callFlags).CheckOk(); in StartClientStreaming() 94 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartServerStreaming() argument 99 …g(this, ctx, payload, new UIntPtr((ulong)payload.Length), writeFlags, metadataArray, callFlags).Ch… in StartServerStreaming() 103 …ing(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartDuplexStreaming() argument 108 … Native.grpcsharp_call_start_duplex_streaming(this, ctx, metadataArray, callFlags).CheckOk(); in StartDuplexStreaming() [all …]
|
D | INativeCall.cs | 70 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 72 …e ctx, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 74 …eaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartClientStreaming() argument 76 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartServerStreaming() argument 78 …ing(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartDuplexStreaming() argument 84 … StartSendInitialMetadata(ISendCompletionCallback callback, MetadataArraySafeHandle metadataArray); in StartSendInitialMetadata() argument 90 …erCompletionCallback callback, Status status, MetadataArraySafeHandle metadataArray, bool sendEmpt… in StartSendStatusFromServer() argument
|
D | AsyncCall.cs | 100 … using (var metadataArray = MetadataArraySafeHandle.Create(details.Options.Headers)) in UnaryCall() 105 … call.StartUnary(ctx, payload, GetWriteFlagsForCall(), metadataArray, details.Options.Flags); in UnaryCall() 166 … using (var metadataArray = MetadataArraySafeHandle.Create(details.Options.Headers)) in UnaryCallAsync() 168 …rtUnary(UnaryResponseClientCallback, payload, GetWriteFlagsForCall(), metadataArray, details.Optio… in UnaryCallAsync() 203 … using (var metadataArray = MetadataArraySafeHandle.Create(details.Options.Headers)) in ClientStreamingCallAsync() 205 … call.StartClientStreaming(UnaryResponseClientCallback, metadataArray, details.Options.Flags); in ClientStreamingCallAsync() 241 … using (var metadataArray = MetadataArraySafeHandle.Create(details.Options.Headers)) in StartServerStreamingCall() 243 …ming(ReceivedStatusOnClientCallback, payload, GetWriteFlagsForCall(), metadataArray, details.Optio… in StartServerStreamingCall() 275 … using (var metadataArray = MetadataArraySafeHandle.Create(details.Options.Headers)) in StartDuplexStreamingCall() 277 … call.StartDuplexStreaming(ReceivedStatusOnClientCallback, metadataArray, details.Options.Flags); in StartDuplexStreamingCall()
|
D | NativeMethods.Generated.cs | 462 …UIntPtr sendBufferLen, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags met… in grpcsharp_call_start_unary_delegate() argument 463 …lSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray, CallFlags met… in grpcsharp_call_start_client_streaming_delegate() argument 464 …UIntPtr sendBufferLen, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags met… in grpcsharp_call_start_server_streaming_delegate() argument 465 …lSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray, CallFlags met… in grpcsharp_call_start_duplex_streaming_delegate() argument 468 …te[] statusMessage, UIntPtr statusMessageLen, MetadataArraySafeHandle metadataArray, int sendEmpty… in grpcsharp_call_send_status_from_server_delegate() argument 472 …a_delegate(CallSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray); in grpcsharp_call_send_initial_metadata_delegate() argument 501 public delegate UIntPtr grpcsharp_metadata_array_count_delegate(IntPtr metadataArray); in grpcsharp_metadata_array_count_delegate() argument 502 …public delegate IntPtr grpcsharp_metadata_array_get_key_delegate(IntPtr metadataArray, UIntPtr ind… in grpcsharp_metadata_array_get_key_delegate() argument 503 …public delegate IntPtr grpcsharp_metadata_array_get_value_delegate(IntPtr metadataArray, UIntPtr i… in grpcsharp_metadata_array_get_value_delegate() argument 507 …delegate(IntPtr callbackPtr, IntPtr userData, MetadataArraySafeHandle metadataArray, StatusCode st… in grpcsharp_metadata_credentials_notify_from_plugin_delegate() argument [all …]
|
D | AsyncCallServer.cs | 115 using (var metadataArray = MetadataArraySafeHandle.Create(headers)) in SendInitialMetadataAsync() 117 call.StartSendInitialMetadata(SendCompletionCallback, metadataArray); in SendInitialMetadataAsync() 141 using (var metadataArray = MetadataArraySafeHandle.Create(trailers)) in SendStatusFromServerAsync() 143 …tSendStatusFromServer(SendStatusFromServerCompletionCallback, status, metadataArray, !initialMetad… in SendStatusFromServerAsync()
|
D | NativeMetadataCredentialsPlugin.cs | 83 using (var metadataArray = MetadataArraySafeHandle.Create(metadata)) in GetMetadataAsync() 85 …arp_metadata_credentials_notify_from_plugin(callbackPtr, userDataPtr, metadataArray, StatusCode.OK… in GetMetadataAsync()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | FakeNativeCall.cs | 104 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 110 …e ctx, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartUnary() argument 116 …eaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartClientStreaming() argument 122 …lback, byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartServerStreaming() argument 128 …ing(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle metadataArray, CallFlags cal… in StartDuplexStreaming() argument 144 …d StartSendInitialMetadata(ISendCompletionCallback callback, MetadataArraySafeHandle metadataArray) in StartSendInitialMetadata() argument 159 …erCompletionCallback callback, Status status, MetadataArraySafeHandle metadataArray, bool sendEmpt… in StartSendStatusFromServer() argument
|
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.Generated.cs.template | 30 …UIntPtr sendBufferLen, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags met… 31 …lSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray, CallFlags met… 32 …UIntPtr sendBufferLen, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags met… 33 …lSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray, CallFlags met… 36 …te[] statusMessage, UIntPtr statusMessageLen, MetadataArraySafeHandle metadataArray, int sendEmpty… 40 …_metadata(CallSafeHandle call, BatchContextSafeHandle ctx, MetadataArraySafeHandle metadataArray)', 69 'UIntPtr grpcsharp_metadata_array_count(IntPtr metadataArray)', 70 …'IntPtr grpcsharp_metadata_array_get_key(IntPtr metadataArray, UIntPtr index, out UIntPtr keyLengt… 71 …'IntPtr grpcsharp_metadata_array_get_value(IntPtr metadataArray, UIntPtr index, out UIntPtr valueL… 75 …m_plugin(IntPtr callbackPtr, IntPtr userData, MetadataArraySafeHandle metadataArray, StatusCode st…
|