/third_party/grpc/src/core/lib/channel/ |
D | channel_args.cc | 40 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 …]
|
D | channel_args.h | 41 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/ |
D | channel_arguments_test.cc | 107 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/ |
D | secure_channel_create.cc | 88 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/ |
D | h2_census.cc | 57 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/ |
D | channel_arguments.cc | 43 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/ |
D | credentials.cc | 68 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()
|
D | credentials.h | 141 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/ |
D | channel_args_test.cc | 34 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/ |
D | arguments.pyx.pxi | 18 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))
|
D | arguments.pxd.pxi | 16 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/ |
D | server_secure_chttp2.cc | 59 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/ |
D | authority.cc | 27 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/ |
D | client_channel_factory.cc | 41 grpc_arg ClientChannelFactory::CreateChannelArg(ClientChannelFactory* factory) { in CreateChannelArg() 49 const grpc_arg* arg = in GetFromChannelArgs()
|
D | subchannel_pool_interface.cc | 82 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/ |
D | target_authority_table.cc | 54 grpc_arg CreateTargetAuthorityTableChannelArg(TargetAuthorityTable* table) { in CreateTargetAuthorityTableChannelArg() 62 const grpc_arg* arg = in FindTargetAuthorityTableInArgs()
|
/third_party/grpc/src/core/lib/security/credentials/fake/ |
D | fake_credentials.cc | 77 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/ |
D | ChannelArgsUtil.m | 44 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/ |
D | channel_arguments.h | 120 out.args = args_.empty() ? nullptr : const_cast<grpc_arg*>(&args_[0]); in c_channel_args() 142 std::vector<grpc_arg> args_;
|
D | channel_arguments_impl.h | 124 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/ |
D | channel_create.cc | 64 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/ |
D | security_context.h | 147 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/ |
D | tls_credentials.cc | 75 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/ |
D | security_connector.h | 75 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/ |
D | compression_args.cc | 56 grpc_arg tmp; in grpc_channel_args_set_channel_default_compression_algorithm() 109 grpc_arg tmp; in grpc_channel_args_compression_algorithm_set_state()
|