Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dtime_zone.h38 using time_point = std::chrono::time_point<std::chrono::system_clock, D>; variable
44 inline std::pair<time_point<seconds>, D> split_seconds( in split_seconds()
45 const time_point<D>& tp) { in split_seconds()
54 inline std::pair<time_point<seconds>, seconds> split_seconds( in split_seconds()
55 const time_point<seconds>& tp) { in split_seconds()
105 absolute_lookup lookup(const time_point<seconds>& tp) const;
107 absolute_lookup lookup(const time_point<D>& tp) const { in lookup()
158 time_point<seconds> pre; // uses the pre-transition offset
159 time_point<seconds> trans; // instant of civil-offset change
160 time_point<seconds> post; // uses the post-transition offset
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc190 const time_point<seconds>& tp) const { in BreakTime()
231 civil_second() + ToUnixSeconds(time_point<seconds>::min()); in MakeTime()
233 civil_second() + ToUnixSeconds(time_point<seconds>::max()); in MakeTime()
234 const time_point<seconds> tp = (cs < min_tp_cs) ? time_point<seconds>::min() in MakeTime()
236 ? time_point<seconds>::max() in MakeTime()
244 const time_point<seconds> tp = time_point<seconds>::min(); in MakeTime()
249 const time_point<seconds> tp = time_point<seconds>::max(); in MakeTime()
263 const time_point<seconds> tp = FromUnixSeconds(t0); in MakeTime()
272 const time_point<seconds> trans = FromUnixSeconds(tt); in MakeTime()
276 const time_point<seconds> pre = FromUnixSeconds(t1); in MakeTime()
[all …]
Dtime_zone_lookup_test.cc824 chrono::system_clock::time_point() - chrono::system_clock::from_time_t(0); in TEST()
825 EXPECT_EQ(chrono::system_clock::time_point::duration::zero(), in TEST()
905 const time_point<chrono::nanoseconds> tp_ns = in TEST()
908 const time_point<chrono::microseconds> tp_us = in TEST()
911 const time_point<chrono::milliseconds> tp_ms = in TEST()
914 const time_point<chrono::seconds> tp_s = in TEST()
917 const time_point<absl::time_internal::cctz::seconds> tp_s64 = in TEST()
924 const time_point<chrono::minutes> tp_m = in TEST()
928 const time_point<chrono::hours> tp_h = chrono::time_point_cast<chrono::hours>( in TEST()
952 time_point<absl::time_internal::cctz::seconds> tp; in TEST()
[all …]
Dtime_zone_if.h42 const time_point<seconds>& tp) const = 0;
45 virtual bool NextTransition(const time_point<seconds>& tp,
47 virtual bool PrevTransition(const time_point<seconds>& tp,
60 inline std::int_fast64_t ToUnixSeconds(const time_point<seconds>& tp) { in ToUnixSeconds()
65 inline time_point<seconds> FromUnixSeconds(std::int_fast64_t t) { in FromUnixSeconds()
Dtime_zone_format_test.cc60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier()
77 const time_point<chrono::nanoseconds> t0 = in TEST()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST()
132 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST()
269 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST()
331 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST()
399 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST()
630 time_point<chrono::nanoseconds> tp = in TEST()
718 time_point<chrono::nanoseconds> tp_ns; in TEST()
724 time_point<chrono::microseconds> tp_us; in TEST()
[all …]
Dtime_zone_libc.h37 const time_point<seconds>& tp) const override;
39 bool NextTransition(const time_point<seconds>& tp,
41 bool PrevTransition(const time_point<seconds>& tp,
Dtime_zone_impl.h53 time_zone::absolute_lookup BreakTime(const time_point<seconds>& tp) const { in BreakTime()
65 bool NextTransition(const time_point<seconds>& tp, in NextTransition()
69 bool PrevTransition(const time_point<seconds>& tp, in PrevTransition()
Dtime_zone_info.h76 const time_point<seconds>& tp) const override;
78 bool NextTransition(const time_point<seconds>& tp,
80 bool PrevTransition(const time_point<seconds>& tp,
Dtime_zone_lookup.cc75 const time_point<seconds>& tp) const { in lookup()
83 bool time_zone::next_transition(const time_point<seconds>& tp, in next_transition()
88 bool time_zone::prev_transition(const time_point<seconds>& tp, in prev_transition()
/third_party/nghttp2/src/
Dshrpx_log_config.h41 Timestamp(const std::chrono::system_clock::time_point &tp);
52 std::chrono::system_clock::time_point time_str_updated;
64 void update_tstamp_millis(const std::chrono::system_clock::time_point &now);
67 void update_tstamp(const std::chrono::system_clock::time_point &now);
Dnghttp.h109 std::chrono::steady_clock::time_point request_start_time;
112 std::chrono::steady_clock::time_point response_start_time;
115 std::chrono::steady_clock::time_point response_end_time;
200 std::chrono::system_clock::time_point system_start_time;
202 std::chrono::steady_clock::time_point start_time;
205 std::chrono::steady_clock::time_point domain_lookup_end_time;
209 std::chrono::steady_clock::time_point connect_end_time;
Dh2load.h154 std::chrono::steady_clock::time_point request_time;
156 std::chrono::system_clock::time_point request_wall_time;
158 std::chrono::steady_clock::time_point stream_close_time;
170 std::chrono::steady_clock::time_point client_start_time;
173 std::chrono::steady_clock::time_point client_end_time;
182 std::chrono::steady_clock::time_point connect_start_time;
184 std::chrono::steady_clock::time_point connect_time;
186 std::chrono::steady_clock::time_point ttfb;
Dshrpx_log_config.cc38 Timestamp::Timestamp(const std::chrono::system_clock::time_point &tp) { in Timestamp()
100 const std::chrono::system_clock::time_point &now) { in update_tstamp_millis()
114 const std::chrono::system_clock::time_point &now) { in update_tstamp()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkTimelineSemaphore.hpp54 VkResult wait(uint64_t value, const std::chrono::time_point<CLOCK, DURATION> end_ns);
106 VkResult wait(uint64_t value, const std::chrono::time_point<CLOCK, DURATION> end_ns);
147 const std::chrono::time_point<Clock, Duration> timeout) in wait()
154 const std::chrono::time_point<Clock, Duration> timeout) in wait()
DVkDevice.cpp34 using time_point = std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>; typedef
36 time_point now() in now()
41 const time_point getEndTimePoint(uint64_t timeout, bool &infiniteTimeout) in getEndTimePoint()
43 const time_point start = now(); in getEndTimePoint()
231 const time_point end_ns = getEndTimePoint(timeout, infiniteTimeout); in waitForFences()
291 const time_point end_ns = getEndTimePoint(timeout, infiniteTimeout); in waitForSemaphores()
/third_party/flutter/engine/flutter/fml/platform/win/
Dmessage_loop_win.cc32 void MessageLoopWin::WakeUp(fml::TimePoint time_point) { in WakeUp() argument
35 if (time_point > now) { in WakeUp()
36 due_time.QuadPart = (time_point - now).ToNanoseconds() / -100; in WakeUp()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathCache.h114 void purgeEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point& purgeTime);
153 GrStdSteadyClock::time_point quickPerFlushTimestamp() { in quickPerFlushTimestamp()
155 if (GrStdSteadyClock::time_point::min() == fPerFlushTimestamp) { in quickPerFlushTimestamp()
176 GrStdSteadyClock::time_point fPerFlushTimestamp = GrStdSteadyClock::time_point::min();
255 GrStdSteadyClock::time_point fTimestamp;
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Devent.h77 const std::chrono::time_point<Clock, Duration>& timeout) const;
119 const std::chrono::time_point<Clock, Duration>& timeout);
173 const std::chrono::time_point<Clock, Duration>& timeout) { in wait_until()
209 const std::chrono::time_point<Clock, Duration>& timeout) const { in wait_until()
Dscheduler.h48 using TimePoint = std::chrono::system_clock::time_point;
175 const std::chrono::time_point<Clock, Duration>& timeout,
210 const std::chrono::time_point<Clock, Duration>& timeout);
551 const std::chrono::time_point<Clock, Duration>& timeout, in wait()
565 const std::chrono::time_point<Clock, Duration>& timeout) { in wait()
/third_party/flutter/skia/tools/skpbench/
Dskpbench.cpp200 std::chrono::high_resolution_clock::time_point* startStopTime) { in ddl_sample()
203 clock::time_point start = *startStopTime; in ddl_sample()
248 clock::time_point startStopTime = clock::now(); in run_ddl_benchmark()
285 clock::time_point now = clock::now(); in run_benchmark()
286 const clock::time_point endTime = now + benchDuration; in run_benchmark()
289 clock::time_point sampleStart = now; in run_benchmark()
325 clock::time_point now = clock::now(); in run_gpu_time_benchmark()
326 const clock::time_point endTime = now + benchDuration; in run_gpu_time_benchmark()
329 const clock::time_point sampleEndTime = now + sampleDuration; in run_gpu_time_benchmark()
/third_party/flutter/glfw/deps/
Dtinycthread.c465 int thrd_sleep(const struct timespec *time_point, struct timespec *remaining) in thrd_sleep() argument
480 delta = (DWORD) ((time_point->tv_sec - now.tv_sec) * 1000 + in thrd_sleep()
481 (time_point->tv_nsec - now.tv_nsec + 500000) / 1000000); in thrd_sleep()
488 delta = (time_point->tv_sec - now.tv_sec) * 1000000L + in thrd_sleep()
489 (time_point->tv_nsec - now.tv_nsec + 500L) / 1000L; in thrd_sleep()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DChrono.h33 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>;
39 time_point_cast<system_clock::time_point::duration>(TP)); in toTimeT()
/third_party/skia/tools/skpbench/
Dskpbench.cpp213 std::chrono::high_resolution_clock::time_point* startStopTime, in ddl_sample()
217 clock::time_point start = *startStopTime; in ddl_sample()
295 clock::time_point startStopTime = clock::now(); in run_ddl_benchmark()
356 clock::time_point now = clock::now(); in run_benchmark()
357 const clock::time_point endTime = now + benchDuration; in run_benchmark()
360 clock::time_point sampleStart = now; in run_benchmark()
400 clock::time_point now = clock::now(); in run_gpu_time_benchmark()
401 const clock::time_point endTime = now + benchDuration; in run_gpu_time_benchmark()
404 const clock::time_point sampleEndTime = now + sampleDuration; in run_gpu_time_benchmark()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime.cc54 inline cctz::time_point<cctz::seconds> unix_epoch() { in unix_epoch()
141 Time MakeTimeWithOverflow(const cctz::time_point<cctz::seconds>& sec, in MakeTimeWithOverflow()
145 const auto max = cctz::time_point<cctz::seconds>::max(); in MakeTimeWithOverflow()
146 const auto min = cctz::time_point<cctz::seconds>::min(); in MakeTimeWithOverflow()
188 const cctz::time_point<cctz::seconds>& tp, in FindTransition()
334 Time FromChrono(const std::chrono::system_clock::time_point& tp) { in FromChrono()
339 std::chrono::system_clock::time_point ToChronoTime(absl::Time t) { in ToChronoTime()
/third_party/flutter/engine/flutter/fml/platform/linux/
Dtimerfd.cc36 bool TimerRearm(int fd, fml::TimePoint time_point) { in TimerRearm() argument
37 const uint64_t nano_secs = time_point.ToEpochDelta().ToNanoseconds(); in TimerRearm()

1234