Home
last modified time | relevance | path

Searched refs:grpc_arg (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/grpc/src/core/lib/channel/
Dchannel_args.cc40 static grpc_arg copy_arg(const grpc_arg* src) { in copy_arg()
41 grpc_arg dst; in copy_arg()
61 const grpc_arg* to_add, in grpc_channel_args_copy_and_add()
74 static bool should_remove_arg(const grpc_arg* arg, const char** to_remove, in should_remove_arg()
84 const grpc_arg* to_add, size_t num_to_add) { in grpc_channel_args_copy_and_add_and_remove()
103 static_cast<grpc_arg*>(gpr_malloc(sizeof(grpc_arg) * dst->num_args)); in grpc_channel_args_copy_and_add_and_remove()
130 grpc_arg* uniques = in grpc_channel_args_union()
131 static_cast<grpc_arg*>(gpr_malloc(sizeof(*uniques) * max_out)); in grpc_channel_args_union()
147 static int cmp_arg(const grpc_arg* a, const grpc_arg* b) { in cmp_arg()
174 const grpc_arg* const* a = static_cast<const grpc_arg* const*>(ap); in cmp_key_stable()
[all …]
Dchannel_args.h41 const grpc_arg* to_add,
53 const grpc_arg* to_add, size_t num_to_add);
69 const grpc_arg* grpc_channel_args_find(const grpc_channel_args* args,
81 int grpc_channel_arg_get_integer(const grpc_arg* arg,
92 char* grpc_channel_arg_get_string(const grpc_arg* arg);
99 bool grpc_channel_arg_get_bool(const grpc_arg* arg, bool default_value);
108 const grpc_arg* arg = grpc_channel_args_find(args, name); in grpc_channel_args_find_pointer()
114 grpc_arg grpc_channel_arg_string_create(char* name, char* value);
115 grpc_arg grpc_channel_arg_integer_create(char* name, int value);
116 grpc_arg grpc_channel_arg_pointer_create(char* name, void* value,
/third_party/grpc/test/cpp/common/
Dchannel_arguments_test.cc107 bool HasArg(grpc_arg expected_arg) { in HasArg()
111 const grpc_arg& arg = args.args[i]; in HasArg()
136 grpc_arg arg0; in TEST_F()
141 grpc_arg arg1; in TEST_F()
163 grpc_arg arg0; in TEST_F()
169 grpc_arg arg1; in TEST_F()
195 grpc_arg arg0; in TEST_F()
208 grpc_arg arg0, arg1; in TEST_F()
230 grpc_arg arg0; in TEST_F()
244 const grpc_arg& arg = args.args[i]; in TEST_F()
/third_party/grpc/src/core/ext/transport/chttp2/client/secure/
Dsecure_channel_create.cc88 grpc_arg args_to_add[2]; in GetSecureNamingChannelArgs()
113 grpc_arg new_security_connector_arg = in GetSecureNamingChannelArgs()
142 grpc_arg arg = grpc_channel_arg_string_create( in CreateChannel()
188 grpc_arg channel_factory_arg = in grpc_secure_channel_create()
190 grpc_arg args_to_add[] = {channel_factory_arg, in grpc_secure_channel_create()
/third_party/grpc/test/core/end2end/fixtures/
Dh2_census.cc57 static grpc_arg make_census_enable_arg(void) { in make_census_enable_arg()
58 grpc_arg arg; in make_census_enable_arg()
69 grpc_arg arg = make_census_enable_arg(); in chttp2_init_client_fullstack()
84 grpc_arg arg = make_census_enable_arg(); in chttp2_init_server_fullstack()
/third_party/grpc/src/cpp/common/
Dchannel_arguments.cc43 grpc_arg ap; in ChannelArguments()
95 grpc_arg mutator_arg = grpc_socket_mutator_to_arg(mutator); in SetSocketMutator()
170 grpc_arg arg; in SetInt()
189 grpc_arg arg; in SetPointerWithVtable()
200 grpc_arg arg; in SetString()
213 channel_args->args = const_cast<grpc_arg*>(&args_[0]); in SetChannelArgs()
/third_party/grpc/src/core/lib/security/credentials/
Dcredentials.cc68 grpc_arg grpc_channel_credentials_to_arg( in grpc_channel_credentials_to_arg()
76 const grpc_arg* arg) { in grpc_channel_credentials_from_arg()
137 grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* c) { in grpc_server_credentials_to_arg()
142 grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg) { in grpc_server_credentials_from_arg()
Dcredentials.h141 grpc_arg grpc_channel_credentials_to_arg(grpc_channel_credentials* credentials);
145 const grpc_arg* arg);
256 grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* c);
257 grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg);
/third_party/grpc/test/core/channel/
Dchannel_args_test.cc34 grpc_arg to_add[2]; in test_create()
80 grpc_arg client_a[3]; in test_channel_create_with_args()
119 grpc_arg no_deadline_filter_arg = grpc_channel_arg_integer_create( in mutate_channel_args()
144 grpc_arg client_a[3]; in test_channel_create_with_global_mutator()
174 grpc_arg server_a[3]; in test_server_create_with_args()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Darguments.pyx.pxi18 cdef grpc_arg arg
21 cdef tuple _wrap_grpc_arg(grpc_arg arg):
27 cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg):
72 self._c_arguments.arguments = <grpc_arg *>gpr_malloc(
73 self._c_arguments.arguments_length * sizeof(grpc_arg))
Darguments.pxd.pxi16 cdef tuple _wrap_grpc_arg(grpc_arg arg)
19 cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg)
24 cdef grpc_arg c_argument
/third_party/grpc/src/core/ext/transport/chttp2/server/secure/
Dserver_secure_chttp2.cc59 grpc_arg arg_to_add = in ModifyArgsForConnection()
98 grpc_arg arg_to_add = grpc_server_credentials_to_arg(creds); in grpc_server_add_secure_http2_port()
111 grpc_arg args_to_add[2]; in grpc_server_add_secure_http2_port()
/third_party/grpc/src/core/ext/transport/chttp2/client/
Dauthority.cc27 grpc_arg new_args[1]; in grpc_default_authority_add_if_not_present()
31 const grpc_arg* server_uri_arg = in grpc_default_authority_add_if_not_present()
/third_party/grpc/src/core/ext/filters/client_channel/
Dclient_channel_factory.cc41 grpc_arg ClientChannelFactory::CreateChannelArg(ClientChannelFactory* factory) { in CreateChannelArg()
49 const grpc_arg* arg = in GetFromChannelArgs()
Dsubchannel_pool_interface.cc82 grpc_arg SubchannelPoolInterface::CreateChannelArg( in CreateChannelArg()
92 const grpc_arg* arg = grpc_channel_args_find(args, GRPC_ARG_SUBCHANNEL_POOL); in GetSubchannelPoolFromChannelArgs()
/third_party/grpc/src/core/lib/security/transport/
Dtarget_authority_table.cc54 grpc_arg CreateTargetAuthorityTableChannelArg(TargetAuthorityTable* table) { in CreateTargetAuthorityTableChannelArg()
62 const grpc_arg* arg = in FindTargetAuthorityTableInArgs()
/third_party/grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.cc77 grpc_arg grpc_fake_transport_expected_targets_arg(char* expected_targets) { in grpc_fake_transport_expected_targets_arg()
85 const grpc_arg* expected_target_arg = in grpc_fake_transport_get_expected_targets()
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/
DChannelArgsUtil.m44 grpc_arg *arg = &channel_args->args[i];
63 channelArgs->args = gpr_malloc(argCount * sizeof(grpc_arg));
69 grpc_arg *arg = &channelArgs->args[j];
/third_party/grpc/include/grpcpp/support/
Dchannel_arguments.h120 out.args = args_.empty() ? nullptr : const_cast<grpc_arg*>(&args_[0]); in c_channel_args()
142 std::vector<grpc_arg> args_;
Dchannel_arguments_impl.h124 out.args = args_.empty() ? NULL : const_cast<grpc_arg*>(&args_[0]); in c_channel_args()
146 std::vector<grpc_arg> args_;
/third_party/grpc/src/core/ext/transport/chttp2/client/insecure/
Dchannel_create.cc64 grpc_arg arg = grpc_channel_arg_string_create( in CreateChannel()
104 grpc_arg arg = grpc_core::ClientChannelFactory::CreateChannelArg(g_factory); in grpc_insecure_channel_create()
/third_party/grpc/src/core/lib/security/context/
Dsecurity_context.h147 grpc_arg grpc_auth_context_to_arg(grpc_auth_context* c);
148 grpc_auth_context* grpc_auth_context_from_arg(const grpc_arg* arg);
/third_party/grpc/src/core/lib/security/credentials/tls/
Dtls_credentials.cc75 grpc_arg* arg = &args->args[i]; in create_security_connector()
94 grpc_arg new_arg = grpc_channel_arg_string_create( in create_security_connector()
/third_party/grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h75 grpc_arg grpc_security_connector_to_arg(grpc_security_connector* sc);
78 grpc_security_connector* grpc_security_connector_from_arg(const grpc_arg* arg);
/third_party/grpc/src/core/lib/compression/
Dcompression_args.cc56 grpc_arg tmp; in grpc_channel_args_set_channel_default_compression_algorithm()
109 grpc_arg tmp; in grpc_channel_args_compression_algorithm_set_state()

12345678