Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/qps/
Dserver.h127 for (const auto& channel_arg : config.channel_args()) { in ApplyConfigToBuilder() local
128 switch (channel_arg.value_case()) { in ApplyConfigToBuilder()
130 builder->AddChannelArgument(channel_arg.name(), in ApplyConfigToBuilder()
131 channel_arg.str_value()); in ApplyConfigToBuilder()
134 builder->AddChannelArgument(channel_arg.name(), in ApplyConfigToBuilder()
135 channel_arg.int_value()); in ApplyConfigToBuilder()
139 channel_arg.name().c_str()); in ApplyConfigToBuilder()
Dclient.h514 for (const auto& channel_arg : config.channel_args()) { in set_channel_args() local
515 if (channel_arg.value_case() == ChannelArg::kStrValue) { in set_channel_args()
516 args->SetString(channel_arg.name(), channel_arg.str_value()); in set_channel_args()
517 } else if (channel_arg.value_case() == ChannelArg::kIntValue) { in set_channel_args()
518 args->SetInt(channel_arg.name(), channel_arg.int_value()); in set_channel_args()
/external/selinux/libsepol/src/
Ddebug.h37 channel_arg, func_arg, ...) do { \ argument
41 _sepol_h->msg_channel = channel_arg; \
/external/selinux/libsemanage/src/
Ddebug.h37 channel_arg, func_arg, ...) do { \ argument
41 (handle_arg)->msg_channel = channel_arg; \
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_test.cc385 const grpc_arg* channel_arg = in CheckResolverResultLocked() local
387 GPR_ASSERT(channel_arg != nullptr); in CheckResolverResultLocked()
388 GPR_ASSERT(channel_arg->type == GRPC_ARG_POINTER); in CheckResolverResultLocked()
390 (grpc_lb_addresses*)channel_arg->value.pointer.p; in CheckResolverResultLocked()
/external/grpc-grpc/src/core/lib/http/
Dhttpcli_security_connector.cc189 grpc_arg channel_arg = grpc_security_connector_to_arg(&sc->base); in ssl_handshake() local
190 grpc_channel_args args = {1, &channel_arg}; in ssl_handshake()
/external/grpc-grpc/src/core/ext/filters/message_size/
Dmessage_size_filter.cc289 const grpc_arg* channel_arg = in init_channel_elem() local
291 const char* service_config_str = grpc_channel_arg_get_string(channel_arg); in init_channel_elem()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc332 const grpc_arg* channel_arg = in get_lb_policy_name_from_resolver_result_locked() local
334 const char* lb_policy_name = grpc_channel_arg_get_string(channel_arg); in get_lb_policy_name_from_resolver_result_locked()
337 channel_arg = in get_lb_policy_name_from_resolver_result_locked()
339 if (channel_arg != nullptr && channel_arg->type == GRPC_ARG_POINTER) { in get_lb_policy_name_from_resolver_result_locked()
341 static_cast<grpc_lb_addresses*>(channel_arg->value.pointer.p); in get_lb_policy_name_from_resolver_result_locked()
441 const grpc_arg* channel_arg = in get_service_config_from_resolver_result_locked() local
443 const char* service_config_json = grpc_channel_arg_get_string(channel_arg); in get_service_config_from_resolver_result_locked()
453 channel_arg = in get_service_config_from_resolver_result_locked()
455 const char* server_uri = grpc_channel_arg_get_string(channel_arg); in get_service_config_from_resolver_result_locked()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc1876 const grpc_arg* channel_arg = in maybe_add_client_load_reporting_filter() local
1878 if (channel_arg != nullptr && channel_arg->type == GRPC_ARG_STRING && in maybe_add_client_load_reporting_filter()
1879 strcmp(channel_arg->value.string, "grpclb") == 0) { in maybe_add_client_load_reporting_filter()