Home
last modified time | relevance | path

Searched refs:channelArgs (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DChannelArgsSafeHandleTest.cs32 var channelArgs = ChannelArgsSafeHandle.Create(0); in CreateEmptyAndDestroy()
33 channelArgs.Dispose(); in CreateEmptyAndDestroy()
39 var channelArgs = ChannelArgsSafeHandle.Create(5); in CreateNonEmptyAndDestroy()
40 channelArgs.Dispose(); in CreateNonEmptyAndDestroy()
46 var channelArgs = ChannelArgsSafeHandle.CreateNull(); in CreateNullAndDestroy()
47 channelArgs.Dispose(); in CreateNullAndDestroy()
53 var channelArgs = ChannelArgsSafeHandle.Create(3); in CreateFillAndDestroy()
54 channelArgs.SetInteger(0, "somekey", 12345); in CreateFillAndDestroy()
55 channelArgs.SetString(1, "somekey", "abcdefghijkl"); in CreateFillAndDestroy()
56 channelArgs.SetString(2, "somekey", "XYZ"); in CreateFillAndDestroy()
[all …]
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCChannel.m78 grpc_channel_args *channelArgs = gpr_malloc(sizeof(grpc_channel_args));
79 channelArgs->num_args = argCount;
80 channelArgs->args = gpr_malloc(argCount * sizeof(grpc_arg));
85 grpc_arg *arg = &channelArgs->args[i];
105 return channelArgs;
118 channelArgs:(NSDictionary *)channelArgs {
124 _channelArgs = BuildChannelArgs(channelArgs);
137 channelArgs:(NSDictionary *)channelArgs {
147 _channelArgs = BuildChannelArgs(channelArgs);
169 channelArgs:(NSDictionary *)channelArgs {
[all …]
DGRPCChannel.h47 channelArgs:(nonnull NSDictionary *)channelArgs;
56 channelArgs:(nullable NSDictionary *)channelArgs;
62 channelArgs:(nullable NSDictionary *)channelArgs;
DGRPCHost.m282 channel = [GRPCChannel secureCronetChannelWithHost:_address channelArgs:args];
287 [GRPCChannel secureChannelWithHost:_address credentials:_channelCreds channelArgs:args];
292 return [GRPCChannel insecureChannelWithHost:_address channelArgs:args];
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DChannelOptionsTest.cs63 var channelArgs = ChannelOptions.CreateChannelArgs(null); in CreateChannelArgsNull()
64 Assert.IsTrue(channelArgs.IsInvalid); in CreateChannelArgsNull()
71 var channelArgs = ChannelOptions.CreateChannelArgs(options); in CreateChannelArgsEmpty()
72 channelArgs.Dispose(); in CreateChannelArgsEmpty()
86 var channelArgs = ChannelOptions.CreateChannelArgs(options); in CreateChannelArgs()
87 channelArgs.Dispose(); in CreateChannelArgs()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DChannelSafeHandle.cs35 … public static ChannelSafeHandle CreateInsecure(string target, ChannelArgsSafeHandle channelArgs) in CreateInsecure() argument
40 return Native.grpcsharp_insecure_channel_create(target, channelArgs); in CreateInsecure()
43 …eSecure(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs) in CreateSecure() argument
48 return Native.grpcsharp_secure_channel_create(credentials, target, channelArgs); in CreateSecure()
DNativeMethods.Generated.cs484 …andle grpcsharp_insecure_channel_create_delegate(string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_insecure_channel_create_delegate() argument
485 …legate(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_secure_channel_create_delegate() argument
683 …nnelSafeHandle grpcsharp_insecure_channel_create(string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_insecure_channel_create() argument
686 …create(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_secure_channel_create() argument
976 …nnelSafeHandle grpcsharp_insecure_channel_create(string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_insecure_channel_create() argument
979 …create(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs); in grpcsharp_secure_channel_create() argument
/external/grpc-grpc/src/csharp/Grpc.Core/
DServer.cs74 using (var channelArgs = ChannelOptions.CreateChannelArgs(this.options)) in Server()
76 this.handle = ServerSafeHandle.NewServer(channelArgs); in Server()
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/
DNativeMethods.Generated.cs.template52 …nelSafeHandle grpcsharp_insecure_channel_create(string target, ChannelArgsSafeHandle channelArgs)',
53 …reate(ChannelCredentialsSafeHandle credentials, string target, ChannelArgsSafeHandle channelArgs)',