Home
last modified time | relevance | path

Searched refs:GPR_NS_PER_MS (Results 1 – 18 of 18) sorted by relevance

/external/grpc-grpc/src/core/lib/transport/
Dtimeout_encoding.cc121 *timeout = x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0); in grpc_http2_decode_timeout()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dtimeout_encoding.cc128 *timeout = x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0); in grpc_http2_decode_timeout()
/external/grpc-grpc/src/core/lib/iomgr/
Dexec_ctx.cc59 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS; in timespec_to_millis_round_down()
68 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS + in timespec_to_millis_round_up()
/external/grpc-grpc/test/core/transport/
Dtimeout_encoding_test.cc106 return static_cast<grpc_millis>(x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0)); in millis_from_nanos()
/external/grpc-grpc/src/core/lib/gpr/
Dtime.cc213 if (t.tv_sec == 2147483 && t.tv_nsec < 648 * GPR_NS_PER_MS) { in gpr_time_to_millis()
214 return 2147483 * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS; in gpr_time_to_millis()
223 t.tv_nsec / GPR_NS_PER_MS); in gpr_time_to_millis()
Dtime_windows.cc92 delta.tv_sec * GPR_MS_PER_SEC + delta.tv_nsec / GPR_NS_PER_MS; in gpr_sleep_until()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dtime.cc221 if (t.tv_sec == 2147483 && t.tv_nsec < 648 * GPR_NS_PER_MS) { in gpr_time_to_millis()
222 return 2147483 * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS; in gpr_time_to_millis()
231 t.tv_nsec / GPR_NS_PER_MS); in gpr_time_to_millis()
Dtime_windows.cc92 delta.tv_sec * GPR_MS_PER_SEC + delta.tv_nsec / GPR_NS_PER_MS; in gpr_sleep_until()
Dtime_precise.cc91 int64_t measurement_ns = GPR_NS_PER_MS; in gpr_precise_clock_init()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dexec_ctx.cc59 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS; in timespan_to_millis_round_down()
73 static_cast<double>(ts.tv_nsec) / GPR_NS_PER_MS + in timespan_to_millis_round_up()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/json/
Djson_util.cc54 *duration = seconds * GPR_MS_PER_SEC + nanos / GPR_NS_PER_MS; in ParseDurationFromJson()
/external/grpc-grpc/include/grpc/support/
Dtime.h42 #define GPR_NS_PER_MS 1000000 macro
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/support/
Dtime.h42 #define GPR_NS_PER_MS 1000000 macro
/external/rust/crates/grpcio-sys/grpc/include/grpc/support/
Dtime.h42 #define GPR_NS_PER_MS 1000000 macro
/external/grpc-grpc/test/core/gpr/
Dtime_test.cc102 x.tv_nsec == (i % GPR_MS_PER_SEC) * GPR_NS_PER_MS); in test_values()
125 GPR_ASSERT(x.tv_sec * GPR_MS_PER_SEC + x.tv_nsec / GPR_NS_PER_MS == i); in test_values()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dmethod_params.cc80 *duration = seconds * GPR_MS_PER_SEC + nanos / GPR_NS_PER_MS; in ParseDuration()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc153 (google_protobuf_Duration_nanos(duration_pb) / GPR_NS_PER_MS)); in grpc_grpclb_duration_to_millis()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc301 (duration_pb->has_nanos ? duration_pb->nanos : 0) / GPR_NS_PER_MS); in grpc_grpclb_duration_to_millis()