Home
last modified time | relevance | path

Searched refs:grpc_timeout_seconds_to_deadline (Results 1 – 25 of 128) sorted by relevance

123456

/external/grpc-grpc/test/cpp/common/
Dalarm_test.cc38 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/
Dresource_quota_test.cc40 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 …]
Dcombiner_test.cc50 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()
Dtcp_client_posix_test.cc50 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()
Dresolve_address_posix_test.cc37 return grpc_timeout_seconds_to_deadline(100); in test_deadline()
81 grpc_timeout_seconds_to_deadline(seconds)); in n_sec_deadline()
Dtcp_client_uv_test.cc46 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/
Dfake_resolver_test.cc138 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/
Dconnectivity.cc93 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()
Dno_op.cc45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dcancel_in_a_vacuum.cc50 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
68 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dempty_batch.cc47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dfilter_status_code.cc70 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()
Dmax_connection_idle.cc40 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()
Dnegative_deadline.cc48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dbad_hostname.cc47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dcancel_with_status.cc51 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()
Dcancel_before_invoke.cc48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dauthority_not_supported.cc45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Drequest_with_flags.cc48 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/
Dverify_peer_options.cc89 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()
Dserver_ssl_common.cc107 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/
Dbad_client.cc125 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/
Dh2_ssl_session_reuse_test.cc46 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()
Dcq_verifier_native.cc56 grpc_timeout_seconds_to_deadline(timeout_seconds); in cq_verifier_next_event()
/external/grpc-grpc/test/core/util/
Dtest_config.h31 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s);

123456