Home
last modified time | relevance | path

Searched refs:server_a (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/end2end/tests/
Dmax_connection_age.cc83 grpc_arg server_a[3]; in test_max_age_forcibly_close() local
84 server_a[0].type = GRPC_ARG_INTEGER; in test_max_age_forcibly_close()
85 server_a[0].key = const_cast<char*>(GRPC_ARG_MAX_CONNECTION_AGE_MS); in test_max_age_forcibly_close()
86 server_a[0].value.integer = MAX_CONNECTION_AGE_MS; in test_max_age_forcibly_close()
87 server_a[1].type = GRPC_ARG_INTEGER; in test_max_age_forcibly_close()
88 server_a[1].key = const_cast<char*>(GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS); in test_max_age_forcibly_close()
89 server_a[1].value.integer = MAX_CONNECTION_AGE_GRACE_MS; in test_max_age_forcibly_close()
90 server_a[2].type = GRPC_ARG_INTEGER; in test_max_age_forcibly_close()
91 server_a[2].key = const_cast<char*>(GRPC_ARG_MAX_CONNECTION_IDLE_MS); in test_max_age_forcibly_close()
92 server_a[2].value.integer = MAX_CONNECTION_IDLE_MS; in test_max_age_forcibly_close()
[all …]
Dbad_ping.cc80 grpc_arg server_a[3]; in test_bad_ping() local
81 server_a[0].type = GRPC_ARG_INTEGER; in test_bad_ping()
82 server_a[0].key = in test_bad_ping()
84 server_a[0].value.integer = 300000 /* 5 minutes */; in test_bad_ping()
85 server_a[1].type = GRPC_ARG_INTEGER; in test_bad_ping()
86 server_a[1].key = const_cast<char*>(GRPC_ARG_HTTP2_MAX_PING_STRIKES); in test_bad_ping()
87 server_a[1].value.integer = MAX_PING_STRIKES; in test_bad_ping()
88 server_a[2].type = GRPC_ARG_INTEGER; in test_bad_ping()
89 server_a[2].key = const_cast<char*>(GRPC_ARG_HTTP2_BDP_PROBE); in test_bad_ping()
90 server_a[2].value.integer = 0; in test_bad_ping()
[all …]
Dping.cc50 grpc_arg server_a[2]; in test_ping() local
51 server_a[0].type = GRPC_ARG_INTEGER; in test_ping()
52 server_a[0].key = in test_ping()
54 server_a[0].value.integer = 0; in test_ping()
55 server_a[1].type = GRPC_ARG_INTEGER; in test_ping()
56 server_a[1].key = const_cast<char*>(GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS); in test_ping()
57 server_a[1].value.integer = 1; in test_ping()
59 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_ping()
Dmax_connection_idle.cc177 grpc_arg server_a[2]; in test_max_connection_idle() local
178 server_a[0].type = GRPC_ARG_INTEGER; in test_max_connection_idle()
179 server_a[0].key = const_cast<char*>(GRPC_ARG_MAX_CONNECTION_IDLE_MS); in test_max_connection_idle()
180 server_a[0].value.integer = MAX_CONNECTION_IDLE_MS; in test_max_connection_idle()
181 server_a[1].type = GRPC_ARG_INTEGER; in test_max_connection_idle()
182 server_a[1].key = const_cast<char*>(GRPC_ARG_MAX_CONNECTION_AGE_MS); in test_max_connection_idle()
183 server_a[1].value.integer = MAX_CONNECTION_AGE_MS; in test_max_connection_idle()
185 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_max_connection_idle()
/external/grpc-grpc/test/core/channel/
Dchannel_args_test.cc205 grpc_arg server_a[3]; in test_server_create_with_args() local
208 server_a[0].type = GRPC_ARG_INTEGER; in test_server_create_with_args()
209 server_a[0].key = const_cast<char*>("arg_int"); in test_server_create_with_args()
210 server_a[0].value.integer = 0; in test_server_create_with_args()
213 server_a[1].type = GRPC_ARG_STRING; in test_server_create_with_args()
214 server_a[1].key = const_cast<char*>("arg_str"); in test_server_create_with_args()
215 server_a[1].value.string = const_cast<char*>("arg_str_val"); in test_server_create_with_args()
220 server_a[2].type = GRPC_ARG_POINTER; in test_server_create_with_args()
221 server_a[2].key = const_cast<char*>("arg_pointer"); in test_server_create_with_args()
222 server_a[2].value.pointer.vtable = &fake_pointer_arg_vtable; in test_server_create_with_args()
[all …]
Dchannelz_test.cc150 grpc_arg server_a[] = { in ServerFixture() local
157 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in ServerFixture()