/external/grpc-grpc/src/core/lib/gpr/ |
D | time.cc | 31 GPR_ASSERT(a.clock_type == b.clock_type); in gpr_time_cmp() 50 out.clock_type = type; in gpr_time_0() 58 out.clock_type = type; in gpr_inf_future() 66 out.clock_type = type; in gpr_inf_past() 89 out.clock_type = type; in to_seconds_from_sub_second_time() 105 out.clock_type = type; in to_seconds_from_above_second_time() 137 GPR_ASSERT(b.clock_type == GPR_TIMESPAN); in gpr_time_add() 138 sum.clock_type = a.clock_type; in gpr_time_add() 148 sum = gpr_inf_future(sum.clock_type); in gpr_time_add() 151 sum = gpr_inf_past(sum.clock_type); in gpr_time_add() [all …]
|
D | time_posix.cc | 48 gpr_clock_type clock_type) { in gpr_from_timespec() argument 57 rv.clock_type = clock_type; in gpr_from_timespec() 67 static gpr_timespec now_impl(gpr_clock_type clock_type) { in now_impl() argument 69 GPR_ASSERT(clock_type != GPR_TIMESPAN); in now_impl() 70 if (clock_type == GPR_CLOCK_PRECISE) { in now_impl() 77 syscall(SYS_clock_gettime, clockid_for_gpr_clock[clock_type], &now); in now_impl() 79 clock_gettime(clockid_for_gpr_clock[clock_type], &now); in now_impl() 81 return gpr_from_timespec(now, clock_type); in now_impl() 108 now.clock_type = clock; in now_impl() 131 gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type) = now_impl; [all …]
|
D | time_windows.cc | 49 now_tv.clock_type = clock; in now_impl() 71 gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type) = now_impl; 73 gpr_timespec gpr_now(gpr_clock_type clock_type) { in gpr_now() argument 74 return gpr_now_impl(clock_type); in gpr_now() 85 now = gpr_now(until.clock_type); in gpr_sleep_until()
|
D | time_precise.cc | 66 clk->clock_type = GPR_CLOCK_PRECISE; in gpr_precise_clock_now() 76 clk->clock_type = GPR_CLOCK_PRECISE; in gpr_precise_clock_now()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/sources/ |
D | rx-interval.hpp | 54 …interval_initial_type(rxsc::scheduler::clock_type::time_point i, rxsc::scheduler::clock_type::dura… in interval_initial_type() 60 rxsc::scheduler::clock_type::time_point initial; 61 rxsc::scheduler::clock_type::duration period; 66 …interval(rxsc::scheduler::clock_type::time_point i, rxsc::scheduler::clock_type::duration p, coord… in interval() 100 std::is_convertible<Duration, rxsc::scheduler::clock_type::duration>::value, 123 auto interval(rxsc::scheduler::clock_type::duration period, Coordination cn) in interval() 125 … detail::defer_interval<rxsc::scheduler::clock_type::duration, Coordination>::value, in interval() 126 …typename detail::defer_interval<rxsc::scheduler::clock_type::duration, Coordination>::observabl… in interval() 127 …return detail::defer_interval<rxsc::scheduler::clock_type::duration, Coordination>::make(… in interval() 133 auto interval(rxsc::scheduler::clock_type::time_point when, Duration period) in interval() [all …]
|
D | rx-timer.hpp | 54 timer_initial_type(rxsc::scheduler::clock_type::time_point t, coordination_type cn) in timer_initial_type() 59 rxsc::scheduler::clock_type::time_point when; 64 timer(rxsc::scheduler::clock_type::time_point t, coordination_type cn) in timer() 68 timer(rxsc::scheduler::clock_type::duration p, coordination_type cn) in timer() 69 : initial(rxsc::scheduler::clock_type::time_point(), std::move(cn)) in timer() 101 std::is_convertible<TimePointOrDuration, rxsc::scheduler::clock_type::time_point>::value || 102 std::is_convertible<TimePointOrDuration, rxsc::scheduler::clock_type::duration>::value,
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
D | rx-runloop.hpp | 18 typedef scheduler::clock_type clock_type; typedef 21 clock_type::time_point> queue_item_time; 38 std::function<void(clock_type::time_point)> notify_earlier_wakeup; 69 virtual clock_type::time_point now() const { in now() 70 return clock_type::now(); in now() 77 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 102 virtual clock_type::time_point now() const { in now() 103 return clock_type::now(); in now() 136 typedef scheduler::clock_type clock_type; typedef in rxcpp::schedulers::run_loop 158 clock_type::time_point now() const { in now() [all …]
|
D | rx-currentthread.hpp | 20 typedef scheduler_base::clock_type clock; 152 virtual clock_type::time_point now() const { in now() 153 return clock_type::now(); in now() 160 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 178 virtual clock_type::time_point now() const { in now() 179 return clock_type::now(); in now() 186 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 254 virtual clock_type::time_point now() const { in now() 255 return clock_type::now(); in now()
|
D | rx-immediate.hpp | 33 virtual clock_type::time_point now() const { in now() 34 return clock_type::now(); in now() 45 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 66 virtual clock_type::time_point now() const { in now() 67 return clock_type::now(); in now()
|
D | rx-eventloop.hpp | 27 typename clock_type::time_point> queue_item_time; 50 virtual clock_type::time_point now() const { in now() 51 return clock_type::now(); in now() 58 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 97 virtual clock_type::time_point now() const { in now() 98 return clock_type::now(); in now()
|
D | rx-newthread.hpp | 34 typename clock_type::time_point> queue_item_time; 116 if (clock_type::now() < peek.when) { in new_worker() 129 virtual clock_type::time_point now() const { in now() 130 return clock_type::now(); in now() 137 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 164 virtual clock_type::time_point now() const { in now() 165 return clock_type::now(); in now()
|
D | rx-test.hpp | 20 typedef scheduler_interface::clock_type clock_type; typedef in rxcpp::schedulers::detail::test_type 29 clock_type::time_point now() const { in now() 46 virtual clock_type::time_point to_time_point(long absolute) const in to_time_point() 48 return clock_type::time_point(std::chrono::milliseconds(absolute)); in to_time_point() 51 virtual long to_relative(clock_type::duration d) const in to_relative() 73 virtual clock_type::time_point now() const { in now() 81 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 131 virtual clock_type::time_point now() const { in now() 144 clock_type::time_point to_time_point(long absolute) const { in to_time_point() 373 typedef detail::test_type::clock_type clock_type; typedef in rxcpp::schedulers::test [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
D | rx-scheduler.hpp | 154 typedef std::chrono::steady_clock clock_type; typedef 169 typedef scheduler_base::clock_type clock_type; typedef in rxcpp::schedulers::worker_interface 173 virtual clock_type::time_point now() const = 0; 176 virtual void schedule(clock_type::time_point when, const schedulable& scbl) const = 0; 208 typedef scheduler_base::clock_type clock_type; typedef in rxcpp::schedulers::worker 253 inline clock_type::time_point now() const { in now() 264 inline void schedule(clock_type::time_point when, const schedulable& scbl) const { in schedule() 273 inline void schedule(clock_type::duration when, const schedulable& scbl) const { in schedule() 280 …inline void schedule_periodically(clock_type::time_point initial, clock_type::duration period, con… in schedule_periodically() 287 …inline void schedule_periodically(clock_type::duration initial, clock_type::duration period, const… in schedule_periodically() [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
D | timestamp.cpp | 8 typedef rxsc::detail::test_type::clock_type::time_point time_point; 46 typedef rxsc::detail::test_type::clock_type::time_point time_point; 89 typedef rxsc::detail::test_type::clock_type clock_type; typedef 90 typedef clock_type::time_point time_point; 115 … on_timestamp.next(210, std::make_pair(2, clock_type::time_point(milliseconds(210)))), 116 … on_timestamp.next(240, std::make_pair(3, clock_type::time_point(milliseconds(240)))), 137 typedef rxsc::detail::test_type::clock_type clock_type; typedef 138 typedef clock_type::time_point time_point; 165 … on_timestamp.next(210, std::make_pair(2, clock_type::time_point(milliseconds(210)))), 166 … on_timestamp.next(240, std::make_pair(3, clock_type::time_point(milliseconds(240)))),
|
D | time_interval.cpp | 8 typedef rxsc::detail::test_type::clock_type::time_point::duration duration; 46 typedef rxsc::detail::test_type::clock_type::time_point::duration duration; 89 typedef rxsc::detail::test_type::clock_type clock_type; typedef 90 typedef clock_type::time_point::duration duration; 137 typedef rxsc::detail::test_type::clock_type clock_type; typedef 138 typedef clock_type::time_point::duration duration;
|
/external/grpc-grpc/include/grpc/support/ |
D | time.h | 69 GPRAPI gpr_timespec gpr_time_from_micros(int64_t x, gpr_clock_type clock_type); 70 GPRAPI gpr_timespec gpr_time_from_nanos(int64_t x, gpr_clock_type clock_type); 71 GPRAPI gpr_timespec gpr_time_from_millis(int64_t x, gpr_clock_type clock_type); 72 GPRAPI gpr_timespec gpr_time_from_seconds(int64_t x, gpr_clock_type clock_type); 73 GPRAPI gpr_timespec gpr_time_from_minutes(int64_t x, gpr_clock_type clock_type); 74 GPRAPI gpr_timespec gpr_time_from_hours(int64_t x, gpr_clock_type clock_type);
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 77 gpr_clock_type clock_type) { in grpc_millis_to_timespec() argument 81 return gpr_inf_future(clock_type); in grpc_millis_to_timespec() 84 return gpr_inf_past(clock_type); in grpc_millis_to_timespec() 87 if (clock_type == GPR_TIMESPAN) { in grpc_millis_to_timespec() 90 return gpr_time_add(gpr_convert_clock_type(g_start_time, clock_type), in grpc_millis_to_timespec() 96 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_down() 101 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_up()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 41 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() 45 this.clock_type = clock_type; in Timespec() 50 private ClockType clock_type; field 130 GrpcPreconditions.CheckState(clock_type == ClockType.Realtime); in ToDateTime()
|
/external/grpc-grpc/test/core/transport/ |
D | bdp_estimator_test.cc | 34 extern gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type); 41 gpr_timespec fake_gpr_now(gpr_clock_type clock_type) { in fake_gpr_now() argument 45 ts.clock_type = clock_type; in fake_gpr_now()
|
/external/grpc-grpc/src/cpp/util/ |
D | time_cc.cc | 44 to->clock_type = GPR_CLOCK_REALTIME; in Timepoint2Timespec() 60 to->clock_type = GPR_CLOCK_REALTIME; in TimepointHR2Timespec() 64 if (gpr_time_cmp(t, gpr_inf_future(t.clock_type)) == 0) { in Timespec2Timepoint()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | inconsistency-check.c | 94 int consistency_test(int clock_type, unsigned long seconds) in consistency_test() argument 102 clock_gettime(clock_type, &list[0]); in consistency_test() 114 clock_gettime(clock_type, &list[i]); in consistency_test()
|
/external/kernel-headers/original/uapi/linux/hdlc/ |
D | ioctl.h | 42 unsigned int clock_type; /* internal, external, TX-internal etc. */ member 48 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
|
/external/iproute2/include/uapi/linux/hdlc/ |
D | ioctl.h | 42 unsigned int clock_type; /* internal, external, TX-internal etc. */ member 48 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/ |
D | rx-replaysubject.hpp | 20 typedef rxu::maybe<rxsc::scheduler::clock_type::duration> period_type; 21 typedef rxsc::scheduler::clock_type::time_point time_point_type; 148 …replay(rxsc::scheduler::clock_type::duration period, Coordination cn, composite_subscription cs = … in replay() 153 …replay(std::size_t count, rxsc::scheduler::clock_type::duration period, Coordination cn, composite… in replay()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-time_interval.hpp | 70 typedef rxsc::scheduler::clock_type::time_point time_point; 126 class Value = typename rxsc::scheduler::clock_type::time_point::duration> 138 class Value = typename rxsc::scheduler::clock_type::time_point::duration>
|