/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | NativeExtension.cs | 38 readonly NativeMethods nativeMethods; 77 public NativeMethods NativeMethods property in Grpc.Core.Internal.NativeExtension 86 private static NativeMethods LoadNativeMethodsUsingExplicitLoad() in LoadNativeMethodsUsingExplicitLoad() 115 return new NativeMethods(new UnmanagedLibrary(paths)); in LoadNativeMethodsUsingExplicitLoad() 124 private static NativeMethods LoadNativeMethodsUsingDllImports() in LoadNativeMethodsUsingDllImports() 143 return new NativeMethods(new NativeMethods.DllImportsFromSharedLib_x64_dll()); in LoadNativeMethodsUsingDllImports() 145 return new NativeMethods(new NativeMethods.DllImportsFromSharedLib_x64()); in LoadNativeMethodsUsingDllImports() 151 return new NativeMethods(new NativeMethods.DllImportsFromSharedLib_x86_dll()); in LoadNativeMethodsUsingDllImports() 153 return new NativeMethods(new NativeMethods.DllImportsFromSharedLib_x86()); in LoadNativeMethodsUsingDllImports() 160 private static NativeMethods LoadNativeMethods() in LoadNativeMethods() [all …]
|
D | NativeMethods.cs | 39 internal partial class NativeMethods class 47 public static NativeMethods Get() in Get() 49 return NativeExtension.Get().NativeMethods; in Get()
|
D | CStringSafeHandle.cs | 27 static readonly NativeMethods Native = NativeMethods.Get();
|
D | CompletionQueueEvent.cs | 30 static readonly NativeMethods Native = NativeMethods.Get();
|
D | CallCredentialsSafeHandle.cs | 28 static readonly NativeMethods Native = NativeMethods.Get();
|
D | ChannelArgsSafeHandle.cs | 27 static readonly NativeMethods Native = NativeMethods.Get();
|
D | ServerCredentialsSafeHandle.cs | 29 static readonly NativeMethods Native = NativeMethods.Get();
|
D | ChannelCredentialsSafeHandle.cs | 28 static readonly NativeMethods Native = NativeMethods.Get();
|
D | ServerSafeHandle.cs | 26 static readonly NativeMethods Native = NativeMethods.Get();
|
D | CompletionQueueSafeHandle.cs | 30 static readonly NativeMethods Native = NativeMethods.Get();
|
D | MetadataArraySafeHandle.cs | 27 static readonly NativeMethods Native = NativeMethods.Get();
|
D | ChannelSafeHandle.cs | 29 static readonly NativeMethods Native = NativeMethods.Get();
|
D | AuthContextSafeHandle.cs | 33 static readonly NativeMethods Native = NativeMethods.Get();
|
D | RequestCallContextSafeHandle.cs | 32 static readonly NativeMethods Native = NativeMethods.Get();
|
D | NativeMetadataCredentialsPlugin.cs | 31 static readonly NativeMethods Native = NativeMethods.Get();
|
D | SliceBufferSafeHandle.cs | 35 static readonly NativeMethods Native = NativeMethods.Get();
|
D | BatchContextSafeHandle.cs | 45 static readonly NativeMethods Native = NativeMethods.Get();
|
D | Timespec.cs | 75 static readonly NativeMethods Native = NativeMethods.Get();
|
/third_party/grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.Generated.cs.template | 35 internal partial class NativeMethods 45 public NativeMethods(UnmanagedLibrary library) 52 public NativeMethods(DllImportsFromStaticLib unusedInstance) 59 public NativeMethods(DllImportsFromSharedLib unusedInstance) 66 public NativeMethods(DllImportsFromSharedLib_x86 unusedInstance) 73 public NativeMethods(DllImportsFromSharedLib_x64 unusedInstance) 80 public NativeMethods(DllImportsFromSharedLib_x86_dll unusedInstance) 87 public NativeMethods(DllImportsFromSharedLib_x64_dll unusedInstance)
|
/third_party/grpc/src/csharp/Grpc.Microbenchmarks/ |
D | UnaryCallOverheadBenchmark.cs | 70 var native = NativeMethods.Get(); in Setup() 73 …NativeMethods.Delegates.grpcsharp_call_start_unary_delegate fakeCallStartUnary = (CallSafeHandle c… in Setup() 78 …NativeMethods.Delegates.grpcsharp_completion_queue_pluck_delegate fakeCqPluck = (CompletionQueueSa… in Setup()
|
D | PInvokeByteArrayBenchmark.cs | 27 static readonly NativeMethods Native = NativeMethods.Get();
|
D | SendMessageBenchmark.cs | 28 static readonly NativeMethods Native = NativeMethods.Get();
|
D | Utf8Encode.cs | 61 var native = NativeMethods.Get(); in Setup() 64 …NativeMethods.Delegates.grpcsharp_call_send_status_from_server_delegate nop = (CallSafeHandle call… in Setup()
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/ |
D | PInvokeTest.cs | 33 static readonly NativeMethods Native = NativeMethods.Get();
|
/third_party/grpc/src/csharp/Grpc.Core/ |
D | GrpcEnvironment.cs | 358 var ptr = NativeMethods.Get().grpcsharp_version_string(); // the pointer is not owned in GetCoreVersionString() 373 NativeMethods.Get().grpcsharp_init(); in GrpcNativeInit() 381 NativeMethods.Get().grpcsharp_shutdown(); in GrpcNativeShutdown()
|