/external/grpc-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() 78 alarm.experimental().Set(grpc_timeout_seconds_to_deadline(0), [c](bool ok) { in TEST() 119 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 124 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 137 Alarm alarm(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 142 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 153 first.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() 158 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST() 168 first.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST() [all …]
|
/external/grpc-grpc/test/core/iomgr/ |
D | resource_quota_test.cc | 40 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in assert_counter_becomes() 159 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_simple_async_alloc() 186 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_async_alloc_blocked_by_size() 209 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge() 223 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge() 248 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked() 264 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked() 289 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim() 307 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_blocked_until_scheduled_reclaim() 308 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim() [all …]
|
D | combiner_test.cc | 50 GPR_ASSERT(gpr_event_wait(&done, grpc_timeout_seconds_to_deadline(5)) != in test_execute_one() 142 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 | resolve_address_posix_test.cc | 37 return grpc_timeout_seconds_to_deadline(100); in test_deadline() 81 grpc_timeout_seconds_to_deadline(seconds)); in n_sec_deadline()
|
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()
|
/external/grpc-grpc/test/core/client_channel/resolvers/ |
D | fake_resolver_test.cc | 138 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_fake_resolver() 151 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_fake_resolver() 169 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_fake_resolver() 181 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_fake_resolver() 194 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_fake_resolver()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | connectivity.cc | 93 grpc_timeout_seconds_to_deadline(3), in test_connectivity() 105 grpc_timeout_seconds_to_deadline(3), in test_connectivity() 124 f.client, state, grpc_timeout_seconds_to_deadline(3), f.cq, tag(4)); in test_connectivity() 138 grpc_timeout_seconds_to_deadline(3), in test_connectivity()
|
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 | 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 | 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 | 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 | 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 | 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 | 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()
|
/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 89 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread() 99 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(60); in server_thread() 176 channel, state, grpc_timeout_seconds_to_deadline(3), cq, nullptr); in verify_peer_options_test() 177 gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in verify_peer_options_test()
|
D | server_ssl_common.cc | 107 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread() 116 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in server_thread()
|
/external/grpc-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() 234 GPR_ASSERT(gpr_event_wait(&a.done_thd, grpc_timeout_seconds_to_deadline(1))); in grpc_run_bad_client_test() 243 grpc_timeout_seconds_to_deadline(1), in grpc_run_bad_client_test()
|
/external/grpc-grpc/test/core/end2end/ |
D | h2_ssl_session_reuse_test.cc | 46 gpr_timespec five_seconds_time() { return grpc_timeout_seconds_to_deadline(5); } in five_seconds_time() 111 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(60); in do_round_trip() 241 grpc_timeout_seconds_to_deadline(5), in TEST()
|
D | cq_verifier_native.cc | 56 grpc_timeout_seconds_to_deadline(timeout_seconds); in cq_verifier_next_event()
|
/external/grpc-grpc/test/core/util/ |
D | test_config.h | 31 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s);
|