Home
last modified time | relevance | path

Searched refs:FromNanoseconds (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/engine/flutter/fml/time/
Dtime_delta.h28 static constexpr TimeDelta FromNanoseconds(int64_t nanos) { in FromNanoseconds() function
32 return FromNanoseconds(micros * 1000); in FromMicroseconds()
42 return FromNanoseconds(seconds * (1000.0 * 1000.0 * 1000.0)); in FromSecondsF()
60 return TimeDelta::FromNanoseconds(delta_ - other.delta_);
64 return TimeDelta::FromNanoseconds(delta_ + other.delta_);
68 return TimeDelta::FromNanoseconds(delta_ / divisor);
76 return TimeDelta::FromNanoseconds(delta_ * multiplier);
80 return TimeDelta::FromNanoseconds(delta_ % other.delta_);
92 TimeDelta::FromNanoseconds(ts.tv_nsec); in FromTimespec()
Dtime_unittest.cc25 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST()
34 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST()
Dtime_point.h41 TimeDelta ToEpochDelta() const { return TimeDelta::FromNanoseconds(ticks_); } in ToEpochDelta()
45 return TimeDelta::FromNanoseconds(ticks_ - other.ticks_);
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dvsync_recorder.cc31 return {fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds( in GetCurrentVsyncInfo()
33 fml::TimeDelta::FromNanoseconds( in GetCurrentVsyncInfo()
/third_party/flutter/engine/flutter/shell/platform/android/
Dvsync_waiter_android.cc61 fml::TimeDelta::FromNanoseconds(frameTimeNanos)); in OnNativeVsync()
63 fml::TimeDelta::FromNanoseconds(frameTargetTimeNanos)); in OnNativeVsync()
Dace_vsync_waiter_android.cc68 fml::TimeDelta::FromNanoseconds(frameTimeNanos)); in OnNativeVsync()
70 fml::TimeDelta::FromNanoseconds(frameTargetTimeNanos)); in OnNativeVsync()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dace_vsync_waiter_embedder.cc56 … auto frame_time = fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds(nanoTimestamp)); in VSyncCallback()
58 … fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds(nanoTimestamp + refreshPeriod)); in VSyncCallback()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py150 message.FromNanoseconds(1)
155 message.FromNanoseconds(-1)
190 message.FromNanoseconds(1999)
196 message.FromNanoseconds(-1999)
201 message.FromNanoseconds(1)
206 message.FromNanoseconds(-1)
241 message.FromNanoseconds(1999)
245 message.FromNanoseconds(-1999)
288 message.FromNanoseconds(1999999999)
293 message.FromNanoseconds(-1999999999)
Dwell_known_types.py219 def FromNanoseconds(self, nanos): member in Timestamp
345 def FromNanoseconds(self, nanos): member in Duration
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dace_embedder.cc1070 fml::TimeDelta::FromNanoseconds(frame_start_time_nanos)); in FlutterEngineOnVsync()
1073 fml::TimeDelta::FromNanoseconds(frame_target_time_nanos)); in FlutterEngineOnVsync()
Dembedder.cc1312 fml::TimeDelta::FromNanoseconds(frame_start_time_nanos)); in FlutterEngineOnVsync()
1315 fml::TimeDelta::FromNanoseconds(frame_target_time_nanos)); in FlutterEngineOnVsync()
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_unittests.cc135 fml::TimeDelta::FromNanoseconds(target_time_nanos)); in GetEmbedderDescription()
211 fml::TimeDelta::FromNanoseconds(FlutterEngineGetCurrentTime())); in TEST()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder_unittests.cc29 fml::TimeDelta::FromNanoseconds(0))), in TestIOManager()