Home
last modified time | relevance | path

Searched refs:NativeMethods (Results 1 – 25 of 30) sorted by relevance

12

/third_party/grpc/src/csharp/Grpc.Core/Internal/
DNativeExtension.cs38 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 …]
DNativeMethods.cs39 internal partial class NativeMethods class
47 public static NativeMethods Get() in Get()
49 return NativeExtension.Get().NativeMethods; in Get()
DCStringSafeHandle.cs27 static readonly NativeMethods Native = NativeMethods.Get();
DCompletionQueueEvent.cs30 static readonly NativeMethods Native = NativeMethods.Get();
DCallCredentialsSafeHandle.cs28 static readonly NativeMethods Native = NativeMethods.Get();
DChannelArgsSafeHandle.cs27 static readonly NativeMethods Native = NativeMethods.Get();
DServerCredentialsSafeHandle.cs29 static readonly NativeMethods Native = NativeMethods.Get();
DChannelCredentialsSafeHandle.cs28 static readonly NativeMethods Native = NativeMethods.Get();
DServerSafeHandle.cs26 static readonly NativeMethods Native = NativeMethods.Get();
DCompletionQueueSafeHandle.cs30 static readonly NativeMethods Native = NativeMethods.Get();
DMetadataArraySafeHandle.cs27 static readonly NativeMethods Native = NativeMethods.Get();
DChannelSafeHandle.cs29 static readonly NativeMethods Native = NativeMethods.Get();
DAuthContextSafeHandle.cs33 static readonly NativeMethods Native = NativeMethods.Get();
DRequestCallContextSafeHandle.cs32 static readonly NativeMethods Native = NativeMethods.Get();
DNativeMetadataCredentialsPlugin.cs31 static readonly NativeMethods Native = NativeMethods.Get();
DSliceBufferSafeHandle.cs35 static readonly NativeMethods Native = NativeMethods.Get();
DBatchContextSafeHandle.cs45 static readonly NativeMethods Native = NativeMethods.Get();
DTimespec.cs75 static readonly NativeMethods Native = NativeMethods.Get();
/third_party/grpc/templates/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs.template35 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/
DUnaryCallOverheadBenchmark.cs70 var native = NativeMethods.Get(); in Setup()
73NativeMethods.Delegates.grpcsharp_call_start_unary_delegate fakeCallStartUnary = (CallSafeHandle c… in Setup()
78NativeMethods.Delegates.grpcsharp_completion_queue_pluck_delegate fakeCqPluck = (CompletionQueueSa… in Setup()
DPInvokeByteArrayBenchmark.cs27 static readonly NativeMethods Native = NativeMethods.Get();
DSendMessageBenchmark.cs28 static readonly NativeMethods Native = NativeMethods.Get();
DUtf8Encode.cs61 var native = NativeMethods.Get(); in Setup()
64NativeMethods.Delegates.grpcsharp_call_send_status_from_server_delegate nop = (CallSafeHandle call… in Setup()
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DPInvokeTest.cs33 static readonly NativeMethods Native = NativeMethods.Get();
/third_party/grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs358 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()

12