/third_party/grpc/test/cpp/common/ |
D | alarm_test.cc | 38 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 43 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 56 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 61 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 75 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 80 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 116 alarm.experimental().Set(grpc_timeout_seconds_to_deadline(0), [c](bool ok) { in TEST() 157 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 162 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 175 Alarm alarm(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() [all …]
|
/third_party/grpc/test/core/iomgr/ |
D | resource_quota_test.cc | 40 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in assert_counter_becomes() 160 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_simple_async_alloc() 193 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_async_alloc_blocked_by_size() 215 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge() 228 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge() 252 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked() 267 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked() 291 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim() 308 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_blocked_until_scheduled_reclaim() 309 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim() [all …]
|
D | combiner_test.cc | 49 GPR_ASSERT(gpr_event_wait(&done, grpc_timeout_seconds_to_deadline(5)) != in test_execute_one() 135 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_execute_finally()
|
D | tcp_client_posix_test.cc | 50 return grpc_timespec_to_millis_round_up(grpc_timeout_seconds_to_deadline(10)); in test_deadline() 130 grpc_timeout_seconds_to_deadline(5))))); in test_succeeds()
|
D | tcp_client_uv_test.cc | 46 return grpc_timespec_to_millis_round_up(grpc_timeout_seconds_to_deadline(10)); in test_deadline() 122 grpc_timeout_seconds_to_deadline(5))))); in test_succeeds()
|
/third_party/grpc/test/core/end2end/tests/ |
D | connectivity.cc | 104 grpc_timeout_seconds_to_deadline(3), in test_connectivity() 116 grpc_timeout_seconds_to_deadline(3), in test_connectivity() 135 f.client, state, grpc_timeout_seconds_to_deadline(3), f.cq, tag(4)); in test_connectivity() 149 grpc_timeout_seconds_to_deadline(3), in test_connectivity() 216 grpc_timeout_seconds_to_deadline(3), cq, in test_watch_connectivity_cq_callback()
|
D | no_op.cc | 45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | cancel_in_a_vacuum.cc | 50 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 68 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | filter_status_code.cc | 70 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 88 grpc_timeout_seconds_to_deadline(5), in shutdown_server() 241 grpc_timeout_seconds_to_deadline(3)) == 0); in test_request() 245 grpc_timeout_seconds_to_deadline(3)) == 0); in test_request()
|
D | empty_batch.cc | 47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | max_connection_idle.cc | 40 ev = grpc_completion_queue_next(cq, grpc_timeout_seconds_to_deadline(5), in drain_cq() 62 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in simple_request_body() 197 f.client, state, grpc_timeout_seconds_to_deadline(3), f.cq, tag(99)); in test_max_connection_idle()
|
D | bad_hostname.cc | 47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | negative_deadline.cc | 48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | cancel_with_status.cc | 51 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 69 f->cq, grpc_timeout_seconds_to_deadline(5), nullptr); in shutdown_server()
|
D | cancel_before_invoke.cc | 48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | authority_not_supported.cc | 45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | request_with_flags.cc | 48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 64 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
|
D | cancel_after_invoke.cc | 52 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now() 70 f->cq, grpc_timeout_seconds_to_deadline(5), nullptr); in shutdown_server()
|
/third_party/grpc/test/core/client_channel/resolvers/ |
D | fake_resolver_test.cc | 133 GPR_ASSERT(gpr_event_wait(&ev1, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver() 145 GPR_ASSERT(gpr_event_wait(&ev2, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver() 163 GPR_ASSERT(gpr_event_wait(&ev3, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver() 175 GPR_ASSERT(gpr_event_wait(&ev4, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver() 187 GPR_ASSERT(gpr_event_wait(&ev5, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
|
/third_party/grpc/test/core/handshake/ |
D | verify_peer_options.cc | 91 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread() 101 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(60); in server_thread() 181 channel, state, grpc_timeout_seconds_to_deadline(3), cq, nullptr); in verify_peer_options_test() 182 gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in verify_peer_options_test()
|
D | server_ssl_common.cc | 141 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread() 150 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in server_thread()
|
/third_party/grpc/test/core/bad_client/ |
D | bad_client.cc | 125 gpr_event_wait(&done_write, grpc_timeout_seconds_to_deadline(5))); in grpc_run_client_side_validator() 135 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in grpc_run_client_side_validator() 235 GPR_ASSERT(gpr_event_wait(&a.done_thd, grpc_timeout_seconds_to_deadline(1))); in grpc_run_bad_client_test() 244 grpc_timeout_seconds_to_deadline(1), in grpc_run_bad_client_test()
|
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | alts_concurrent_connectivity_test.cc | 230 grpc_timeout_seconds_to_deadline(self->per_connect_deadline_seconds_); in ConnectLoop() 307 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST() 506 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST() 537 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST() 569 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST()
|
/third_party/grpc/test/core/end2end/ |
D | h2_ssl_session_reuse_test.cc | 49 gpr_timespec five_seconds_time() { return grpc_timeout_seconds_to_deadline(5); } in five_seconds_time() 146 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(60); in do_round_trip() 274 grpc_timeout_seconds_to_deadline(5), in TEST()
|
/third_party/grpc/test/core/util/ |
D | test_config.h | 31 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s);
|