/external/grpc-grpc/test/core/bad_client/tests/ |
D | simple_request.cc | 94 grpc_call_details call_details; in verifier() local 98 grpc_call_details_init(&call_details); in verifier() 101 error = grpc_server_request_call(server, &s, &call_details, in verifier() 107 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier() 108 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier() 111 grpc_call_details_destroy(&call_details); in verifier()
|
D | large_metadata.cc | 100 grpc_call_details call_details; in server_verifier_sends_too_much_metadata() local 104 grpc_call_details_init(&call_details); in server_verifier_sends_too_much_metadata() 107 error = grpc_server_request_call(server, &s, &call_details, in server_verifier_sends_too_much_metadata() 113 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in server_verifier_sends_too_much_metadata() 114 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in server_verifier_sends_too_much_metadata() 136 grpc_call_details_destroy(&call_details); in server_verifier_sends_too_much_metadata()
|
D | duplicate_header.cc | 58 grpc_call_details call_details; in verifier() local 66 grpc_call_details_init(&call_details); in verifier() 69 error = grpc_server_request_call(server, &s, &call_details, in verifier() 75 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier() 76 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier() 119 grpc_call_details_destroy(&call_details); in verifier()
|
/external/grpc-grpc/test/core/memory_usage/ |
D | server.cc | 67 grpc_call_details call_details; member 82 server, &calls[call_idx].call, &calls[call_idx].call_details, in request_call_unary() 211 grpc_call_details_init(&calls[i].call_details); in main() 247 if (0 == grpc_slice_str_cmp(s->call_details.method, in main() 252 grpc_slice_str_cmp(s->call_details.method, in main() 257 grpc_slice_str_cmp(s->call_details.method, in main() 261 } else if (0 == grpc_slice_str_cmp(s->call_details.method, in main() 266 } else if (0 == grpc_slice_str_cmp(s->call_details.method, in main() 282 grpc_call_details_destroy(&s->call_details); in main() 302 grpc_call_details_destroy(&s->call_details); in main()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | default_host.cc | 99 grpc_call_details call_details; in test_invoke_simple_request() local 120 grpc_call_details_init(&call_details); in test_invoke_simple_request() 150 grpc_server_request_call(f.server, &s, &call_details, in test_invoke_simple_request() 195 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request() 199 call_details.host, config); in test_invoke_simple_request() 201 GPR_ASSERT(grpc_slice_buf_start_eq(call_details.host, "localhost", 9) || in test_invoke_simple_request() 202 grpc_slice_buf_start_eq(call_details.host, "127.0.0.1", 9)); in test_invoke_simple_request() 210 grpc_call_details_destroy(&call_details); in test_invoke_simple_request()
|
D | retry_too_many_attempts.cc | 108 grpc_call_details call_details; in test_retry_too_many_attempts() local 161 grpc_call_details_init(&call_details); in test_retry_too_many_attempts() 189 grpc_server_request_call(f.server, &s, &call_details, in test_retry_too_many_attempts() 226 grpc_call_details_destroy(&call_details); in test_retry_too_many_attempts() 227 grpc_call_details_init(&call_details); in test_retry_too_many_attempts() 230 grpc_server_request_call(f.server, &s, &call_details, in test_retry_too_many_attempts() 267 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_too_many_attempts() 268 GPR_ASSERT(0 == call_details.flags); in test_retry_too_many_attempts() 275 grpc_call_details_destroy(&call_details); in test_retry_too_many_attempts()
|
D | retry_server_pushback_disabled.cc | 109 grpc_call_details call_details; in test_retry_server_pushback_disabled() local 167 grpc_call_details_init(&call_details); in test_retry_server_pushback_disabled() 195 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_disabled() 232 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_disabled() 233 grpc_call_details_init(&call_details); in test_retry_server_pushback_disabled() 236 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_disabled() 274 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_server_pushback_disabled() 275 GPR_ASSERT(0 == call_details.flags); in test_retry_server_pushback_disabled() 282 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_disabled()
|
D | retry_server_pushback_delay.cc | 108 grpc_call_details call_details; in test_retry_server_pushback_delay() local 166 grpc_call_details_init(&call_details); in test_retry_server_pushback_delay() 194 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_delay() 234 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_delay() 235 grpc_call_details_init(&call_details); in test_retry_server_pushback_delay() 238 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_delay() 286 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_server_pushback_delay() 287 GPR_ASSERT(0 == call_details.flags); in test_retry_server_pushback_delay() 294 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_delay()
|
D | retry.cc | 108 grpc_call_details call_details; in test_retry() local 161 grpc_call_details_init(&call_details); in test_retry() 189 grpc_server_request_call(f.server, &s, &call_details, in test_retry() 233 grpc_call_details_destroy(&call_details); in test_retry() 234 grpc_call_details_init(&call_details); in test_retry() 237 grpc_server_request_call(f.server, &s, &call_details, in test_retry() 293 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry() 294 GPR_ASSERT(0 == call_details.flags); in test_retry() 301 grpc_call_details_destroy(&call_details); in test_retry()
|
D | max_concurrent_streams.cc | 96 grpc_call_details call_details; in simple_request_body() local 111 grpc_call_details_init(&call_details); in simple_request_body() 141 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body() 177 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body() 184 grpc_call_details_destroy(&call_details); in simple_request_body() 204 grpc_call_details call_details; in test_max_concurrent_streams() local 236 grpc_call_details_init(&call_details); in test_max_concurrent_streams() 257 f.server, &s1, &call_details, in test_max_concurrent_streams() 383 grpc_call_details_destroy(&call_details); in test_max_concurrent_streams() 386 f.server, &s2, &call_details, in test_max_concurrent_streams() [all …]
|
D | max_connection_age.cc | 106 grpc_call_details call_details; in test_max_age_forcibly_close() local 120 grpc_call_details_init(&call_details); in test_max_age_forcibly_close() 151 grpc_server_request_call(f.server, &s, &call_details, in test_max_age_forcibly_close() 208 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_forcibly_close() 215 grpc_call_details_destroy(&call_details); in test_max_age_forcibly_close() 248 grpc_call_details call_details; in test_max_age_gracefully_close() local 262 grpc_call_details_init(&call_details); in test_max_age_gracefully_close() 293 grpc_server_request_call(f.server, &s, &call_details, in test_max_age_gracefully_close() 344 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_gracefully_close() 351 grpc_call_details_destroy(&call_details); in test_max_age_gracefully_close()
|
D | retry_cancellation.cc | 106 grpc_call_details call_details; in test_retry_cancellation() local 162 grpc_call_details_init(&call_details); in test_retry_cancellation() 192 grpc_server_request_call(f.server, &s, &call_details, in test_retry_cancellation() 229 grpc_call_details_destroy(&call_details); in test_retry_cancellation() 230 grpc_call_details_init(&call_details); in test_retry_cancellation() 234 grpc_server_request_call(f.server, &s, &call_details, in test_retry_cancellation() 253 grpc_call_details_destroy(&call_details); in test_retry_cancellation()
|
D | bad_ping.cc | 105 grpc_call_details call_details; in test_bad_ping() local 119 grpc_call_details_init(&call_details); in test_bad_ping() 150 grpc_server_request_call(f.server, &s, &call_details, in test_bad_ping() 207 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_bad_ping() 214 grpc_call_details_destroy(&call_details); in test_bad_ping() 264 grpc_call_details call_details; in test_pings_without_data() local 278 grpc_call_details_init(&call_details); in test_pings_without_data() 309 grpc_server_request_call(f.server, &s, &call_details, in test_pings_without_data() 369 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_pings_without_data() 375 grpc_call_details_destroy(&call_details); in test_pings_without_data()
|
D | keepalive_timeout.cc | 124 grpc_call_details call_details; in test_keepalive_timeout() local 141 grpc_call_details_init(&call_details); in test_keepalive_timeout() 161 f.server, &s, &call_details, in test_keepalive_timeout() 197 char* method_str = grpc_slice_to_c_string(call_details.method); in test_keepalive_timeout() 200 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_keepalive_timeout() 209 grpc_call_details_destroy(&call_details); in test_keepalive_timeout()
|
D | call_host_override.cc | 108 grpc_call_details call_details; in test_invoke_simple_request() local 131 grpc_call_details_init(&call_details); in test_invoke_simple_request() 161 grpc_server_request_call(f.server, &s, &call_details, in test_invoke_simple_request() 206 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request() 207 validate_host_override_string("foo.test.google.fr:1234", call_details.host, in test_invoke_simple_request() 215 grpc_call_details_destroy(&call_details); in test_invoke_simple_request()
|
D | shutdown_finishes_calls.cc | 88 grpc_call_details call_details; in test_early_server_shutdown_finishes_inflight_calls() local 103 grpc_call_details_init(&call_details); in test_early_server_shutdown_finishes_inflight_calls() 134 grpc_server_request_call(f.server, &s, &call_details, in test_early_server_shutdown_finishes_inflight_calls() 172 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_early_server_shutdown_finishes_inflight_calls() 179 grpc_call_details_destroy(&call_details); in test_early_server_shutdown_finishes_inflight_calls()
|
D | max_message_length.cc | 122 grpc_call_details call_details; in test_max_message_length_on_request() local 192 grpc_call_details_init(&call_details); in test_max_message_length_on_request() 233 grpc_server_request_call(f.server, &s, &call_details, in test_max_message_length_on_request() 259 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_request() 274 grpc_call_details_destroy(&call_details); in test_max_message_length_on_request() 313 grpc_call_details call_details; in test_max_message_length_on_response() local 380 grpc_call_details_init(&call_details); in test_max_message_length_on_response() 415 grpc_server_request_call(f.server, &s, &call_details, in test_max_message_length_on_response() 454 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_response() 466 grpc_call_details_destroy(&call_details); in test_max_message_length_on_response()
|
D | retry_disabled.cc | 109 grpc_call_details call_details; in test_retry_disabled() local 165 grpc_call_details_init(&call_details); in test_retry_disabled() 193 grpc_server_request_call(f.server, &s, &call_details, in test_retry_disabled() 230 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_disabled() 231 GPR_ASSERT(0 == call_details.flags); in test_retry_disabled() 238 grpc_call_details_destroy(&call_details); in test_retry_disabled()
|
D | retry_throttled.cc | 107 grpc_call_details call_details; in test_retry_throttled() local 167 grpc_call_details_init(&call_details); in test_retry_throttled() 195 grpc_server_request_call(f.server, &s, &call_details, in test_retry_throttled() 232 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_throttled() 233 GPR_ASSERT(0 == call_details.flags); in test_retry_throttled() 240 grpc_call_details_destroy(&call_details); in test_retry_throttled()
|
D | retry_exceeds_buffer_size_in_initial_batch.cc | 111 grpc_call_details call_details; in test_retry_exceeds_buffer_size_in_initial_batch() local 168 grpc_call_details_init(&call_details); in test_retry_exceeds_buffer_size_in_initial_batch() 196 grpc_server_request_call(f.server, &s, &call_details, in test_retry_exceeds_buffer_size_in_initial_batch() 233 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_exceeds_buffer_size_in_initial_batch() 234 GPR_ASSERT(0 == call_details.flags); in test_retry_exceeds_buffer_size_in_initial_batch() 241 grpc_call_details_destroy(&call_details); in test_retry_exceeds_buffer_size_in_initial_batch()
|
D | retry_non_retriable_status.cc | 107 grpc_call_details call_details; in test_retry_non_retriable_status() local 160 grpc_call_details_init(&call_details); in test_retry_non_retriable_status() 188 grpc_server_request_call(f.server, &s, &call_details, in test_retry_non_retriable_status() 225 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_non_retriable_status() 226 GPR_ASSERT(0 == call_details.flags); in test_retry_non_retriable_status() 233 grpc_call_details_destroy(&call_details); in test_retry_non_retriable_status()
|
D | proxy_auth.cc | 103 grpc_call_details call_details; in simple_request_body() local 124 grpc_call_details_init(&call_details); in simple_request_body() 154 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body() 199 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body() 200 GPR_ASSERT(0 == call_details.flags); in simple_request_body() 207 grpc_call_details_destroy(&call_details); in simple_request_body()
|
D | no_error_on_hotpath.cc | 100 grpc_call_details call_details; in simple_request_body() local 120 grpc_call_details_init(&call_details); in simple_request_body() 150 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body() 192 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body() 193 GPR_ASSERT(0 == call_details.flags); in simple_request_body() 200 grpc_call_details_destroy(&call_details); in simple_request_body()
|
D | retry_recv_message.cc | 108 grpc_call_details call_details; in test_retry_recv_message() local 161 grpc_call_details_init(&call_details); in test_retry_recv_message() 189 grpc_server_request_call(f.server, &s, &call_details, in test_retry_recv_message() 229 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_recv_message() 230 GPR_ASSERT(0 == call_details.flags); in test_retry_recv_message() 237 grpc_call_details_destroy(&call_details); in test_retry_recv_message()
|
/external/grpc-grpc/test/core/bad_ssl/ |
D | server_common.cc | 52 grpc_call_details call_details; in bad_ssl_run() local 58 grpc_call_details_init(&call_details); in bad_ssl_run() 64 error = grpc_server_request_call(server, &s, &call_details, in bad_ssl_run() 102 grpc_call_details_destroy(&call_details); in bad_ssl_run()
|