Home
last modified time | relevance | path

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

12345678910

/external/rust/crates/grpcio-sys/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,
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc34 static grpc_arg copy_arg(const grpc_arg* src) { in copy_arg()
35 grpc_arg dst; in copy_arg()
55 const grpc_arg* to_add, in grpc_channel_args_copy_and_add()
68 static bool should_remove_arg(const grpc_arg* arg, const char** to_remove, in should_remove_arg()
78 const grpc_arg* to_add, size_t num_to_add) { in grpc_channel_args_copy_and_add_and_remove()
97 static_cast<grpc_arg*>(gpr_malloc(sizeof(grpc_arg) * dst->num_args)); in grpc_channel_args_copy_and_add_and_remove()
122 grpc_arg* uniques = in grpc_channel_args_union()
123 static_cast<grpc_arg*>(gpr_malloc(sizeof(*uniques) * max_out)); in grpc_channel_args_union()
139 static int cmp_arg(const grpc_arg* a, const grpc_arg* b) { in cmp_arg()
166 const grpc_arg* const* a = static_cast<const grpc_arg* const*>(ap); in cmp_key_stable()
[all …]
Dchannel_args.h39 const grpc_arg* to_add,
51 const grpc_arg* to_add, size_t num_to_add);
99 const grpc_arg* grpc_channel_args_find(const grpc_channel_args* args,
111 int grpc_channel_arg_get_integer(const grpc_arg* arg,
117 char* grpc_channel_arg_get_string(const grpc_arg* arg);
119 bool grpc_channel_arg_get_bool(const grpc_arg* arg, bool default_value);
122 grpc_arg grpc_channel_arg_string_create(char* name, char* value);
123 grpc_arg grpc_channel_arg_integer_create(char* name, int value);
124 grpc_arg grpc_channel_arg_pointer_create(char* name, void* value,
/external/grpc-grpc/test/cpp/common/
Dchannel_arguments_test.cc102 bool HasArg(grpc_arg expected_arg) { in HasArg()
106 const grpc_arg& arg = args.args[i]; in HasArg()
131 grpc_arg arg0; in TEST_F()
136 grpc_arg arg1; in TEST_F()
158 grpc_arg arg0; in TEST_F()
164 grpc_arg arg1; in TEST_F()
190 grpc_arg arg0; in TEST_F()
203 grpc_arg arg0, arg1; in TEST_F()
222 grpc_arg arg0; in TEST_F()
236 const grpc_arg& arg = args.args[i]; in TEST_F()
/external/grpc-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()
125 const grpc_arg& arg = *it; in SetUserAgentPrefix()
169 grpc_arg arg; in SetInt()
188 grpc_arg arg; in SetPointerWithVtable()
199 grpc_arg arg; in SetString()
212 channel_args->args = const_cast<grpc_arg*>(&args_[0]); in SetChannelArgs()
/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_census.cc59 static grpc_arg make_census_enable_arg(void) { in make_census_enable_arg()
60 grpc_arg arg; in make_census_enable_arg()
71 grpc_arg arg = make_census_enable_arg(); in chttp2_init_client_fullstack()
86 grpc_arg arg = make_census_enable_arg(); in chttp2_init_server_fullstack()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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);
255 grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* c);
256 grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg);
/external/grpc-grpc/src/core/ext/transport/chttp2/client/secure/
Dsecure_channel_create.cc67 const grpc_arg* server_uri_arg = in get_secure_naming_subchannel_args()
101 grpc_arg args_to_add[2]; in get_secure_naming_subchannel_args()
127 grpc_arg new_security_connector_arg = in get_secure_naming_subchannel_args()
177 grpc_arg arg = grpc_channel_arg_string_create((char*)GRPC_ARG_SERVER_URI, in client_channel_factory_create_channel()
214 grpc_arg args_to_add[] = { in grpc_secure_channel_create()
/external/grpc-grpc/src/core/lib/security/credentials/
Dcredentials.h132 grpc_arg grpc_channel_credentials_to_arg(grpc_channel_credentials* credentials);
136 const grpc_arg* arg);
229 grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* c);
230 grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg);
Dcredentials.cc164 grpc_arg grpc_channel_credentials_to_arg( in grpc_channel_credentials_to_arg()
172 const grpc_arg* arg) { in grpc_channel_credentials_from_arg()
261 grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* p) { in grpc_server_credentials_to_arg()
266 grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg) { in grpc_server_credentials_from_arg()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Darguments.pyx.pxi39 cdef grpc_arg arg
42 cdef tuple _wrap_grpc_arg(grpc_arg arg):
48 cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg):
97 self._c_arguments.arguments = <grpc_arg *>gpr_malloc(
98 self._c_arguments.arguments_length * sizeof(grpc_arg))
Darguments.pxd.pxi25 cdef tuple _wrap_grpc_arg(grpc_arg arg)
28 cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg)
33 cdef grpc_arg c_argument
/external/grpc-grpc/test/core/channel/
Dchannel_args_test.cc31 grpc_arg arg_int; in test_create()
32 grpc_arg arg_string; in test_create()
33 grpc_arg to_add[2]; in test_create()
175 grpc_arg client_a[3]; in test_channel_create_with_args()
205 grpc_arg server_a[3]; in test_server_create_with_args()
/external/rust/crates/grpcio-sys/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()
/external/grpc-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()
/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/src/core/lib/security/transport/
Dtarget_authority_table.cc54 grpc_arg CreateTargetAuthorityTableChannelArg(TargetAuthorityTable* table) { in CreateTargetAuthorityTableChannelArg()
62 const grpc_arg* arg = in FindTargetAuthorityTableInArgs()
/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.h114 grpc_arg grpc_auth_context_to_arg(grpc_auth_context* c);
115 grpc_auth_context* grpc_auth_context_from_arg(const grpc_arg* arg);
/external/grpc-grpc/src/core/ext/transport/chttp2/client/insecure/
Dchannel_create.cc64 grpc_arg arg = grpc_channel_arg_string_create( in client_channel_factory_create_channel()
96 grpc_arg arg = in grpc_insecure_channel_create()

12345678910