Home
last modified time | relevance | path

Searched refs:gpr_inf_past (Results 1 – 24 of 24) sorted by relevance

/third_party/grpc/test/core/gpr/
Dtime_test.cc80 x = gpr_inf_past(GPR_CLOCK_REALTIME); in test_values()
176 } while (gpr_time_cmp(x, gpr_inf_past(GPR_TIMESPAN)) > 0); in test_overflow()
177 GPR_ASSERT(gpr_time_cmp(x, gpr_inf_past(GPR_TIMESPAN)) == 0); in test_overflow()
187 infinity[1] = gpr_inf_past(GPR_TIMESPAN); in test_sticky_infinities()
189 addend[1] = gpr_inf_past(GPR_TIMESPAN); in test_sticky_infinities()
214 GPR_ASSERT(1 == gpr_time_similar(gpr_inf_past(GPR_TIMESPAN), in test_similar()
215 gpr_inf_past(GPR_TIMESPAN), in test_similar()
217 GPR_ASSERT(0 == gpr_time_similar(gpr_inf_past(GPR_TIMESPAN), in test_similar()
221 gpr_inf_past(GPR_TIMESPAN), in test_similar()
/third_party/grpc/src/core/lib/gprpp/
Dtime_util.cc29 return gpr_inf_past(GPR_TIMESPAN); in ToGprTimeSpec()
42 return gpr_inf_past(GPR_CLOCK_REALTIME); in ToGprTimeSpec()
57 } else if (gpr_time_cmp(ts, gpr_inf_past(GPR_TIMESPAN)) == 0) { in ToAbslDuration()
69 } else if (gpr_time_cmp(rts, gpr_inf_past(GPR_CLOCK_REALTIME)) == 0) { in ToAbslTime()
/third_party/grpc/src/core/lib/gpr/
Dtime.cc62 gpr_timespec gpr_inf_past(gpr_clock_type type) { in gpr_inf_past() function
77 out = gpr_inf_past(type); in to_seconds_from_sub_second_time()
101 out = gpr_inf_past(type); in to_seconds_from_above_second_time()
155 sum = gpr_inf_past(sum.clock_type); in gpr_time_add()
192 diff = gpr_inf_past(GPR_CLOCK_REALTIME); in gpr_time_sub()
196 diff = gpr_inf_past(GPR_CLOCK_REALTIME); in gpr_time_sub()
/third_party/grpc/test/core/surface/
Dcompletion_queue_test.cc44 ev = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in shutdown_and_destroy()
51 cc, create_test_tag(), gpr_inf_past(GPR_CLOCK_REALTIME), nullptr); in shutdown_and_destroy()
158 ev = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in test_cq_end_op()
194 ev = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in test_cq_tls_cache_full()
203 ev = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in test_cq_tls_cache_full()
253 event = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in test_shutdown_then_next_polling()
318 cc, tags[i], gpr_inf_past(GPR_CLOCK_REALTIME), nullptr); in test_pluck()
330 gpr_inf_past(GPR_CLOCK_REALTIME), in test_pluck()
Dcompletion_queue_threading_test.cc44 ev = grpc_completion_queue_next(cc, gpr_inf_past(GPR_CLOCK_REALTIME), in shutdown_and_destroy()
50 cc, create_test_tag(), gpr_inf_past(GPR_CLOCK_REALTIME), nullptr); in shutdown_and_destroy()
Dpublic_headers_must_be_c89.c321 printf("%lx", (unsigned long) gpr_inf_past); in main()
/third_party/grpc/test/core/end2end/fuzzers/
Dserver_fuzzer.cc79 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
114 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
124 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
Dclient_fuzzer.cc121 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
139 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
145 ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), in LLVMFuzzerTestOneInput()
/third_party/grpc/test/core/end2end/
Dcq_verifier_uv.cc85 ev = grpc_completion_queue_next(v->cq, gpr_inf_past(GPR_CLOCK_MONOTONIC), in cq_verifier_next_event()
91 ev = grpc_completion_queue_next(v->cq, gpr_inf_past(GPR_CLOCK_MONOTONIC), in cq_verifier_next_event()
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.cc204 new_elem->ts_.scheduled_time.time = gpr_inf_past(GPR_CLOCK_REALTIME); in AddNewEntry()
205 new_elem->ts_.sent_time.time = gpr_inf_past(GPR_CLOCK_REALTIME); in AddNewEntry()
206 new_elem->ts_.acked_time.time = gpr_inf_past(GPR_CLOCK_REALTIME); in AddNewEntry()
Dexec_ctx.cc91 return gpr_inf_past(clock_type); in grpc_millis_to_timespec()
/third_party/grpc/include/grpc/support/
Dtime.h37 GPRAPI gpr_timespec gpr_inf_past(gpr_clock_type type); /** The far past. */
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc225 if (claims == nullptr) return gpr_inf_past(GPR_CLOCK_REALTIME); in grpc_jwt_claims_issued_at()
235 if (claims == nullptr) return gpr_inf_past(GPR_CLOCK_REALTIME); in grpc_jwt_claims_not_before()
243 claims->iat = gpr_inf_past(GPR_CLOCK_REALTIME); in grpc_jwt_claims_from_json()
244 claims->nbf = gpr_inf_past(GPR_CLOCK_REALTIME); in grpc_jwt_claims_from_json()
Djwt_credentials.cc49 cached_.jwt_expiration = gpr_inf_past(GPR_CLOCK_REALTIME); in reset_cache()
/third_party/grpc/
Dgrpc.def255 gpr_inf_past
/third_party/grpc/test/core/end2end/tests/
Dnegative_deadline.cc103 gpr_timespec deadline = gpr_inf_past(GPR_CLOCK_REALTIME); in simple_request_body()
/third_party/grpc/src/ruby/ext/grpc/
Drb_grpc.c200 inf_past_realtime = gpr_inf_past(GPR_CLOCK_REALTIME); in Init_grpc_time_consts()
Drb_grpc_imports.generated.h835 #define gpr_inf_past gpr_inf_past_import macro
/third_party/grpc/src/php/ext/grpc/
Dtimeval.c228 grpc_php_wrap_timeval(gpr_inf_past(GPR_CLOCK_REALTIME) TSRMLS_CC); in PHP_METHOD()
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc250 : gpr_inf_past(GPR_CLOCK_MONOTONIC); in on_http_response()
356 token_expiration_(gpr_inf_past(GPR_CLOCK_MONOTONIC)), in grpc_oauth2_token_fetcher_credentials()
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_cq.cc146 gpr_timespec deadline = gpr_inf_past(GPR_CLOCK_MONOTONIC); in BM_EmptyCore()
Dbm_fullstack_trickle.cc244 fixture->cq()->AsyncNext(t, ok, gpr_inf_past(GPR_CLOCK_MONOTONIC))) { in TrickleCQNext()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc.pxi88 gpr_timespec gpr_inf_past(gpr_clock_type type) nogil
/third_party/grpc/src/csharp/ext/
Dgrpc_csharp_ext.c532 return gpr_inf_past(clock_type); in gprsharp_inf_past()