Home
last modified time | relevance | path

Searched refs:SEC_TO_NANOSEC (Results 1 - 11 of 11) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_vsync_client_darwin.cpp57 constexpr int64_t SEC_TO_NANOSEC = 1000000000; in VsyncThreadMain() local
63 int64_t now = ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec; in VsyncThreadMain()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_vsync_client_windows.cpp57 constexpr int64_t SEC_TO_NANOSEC = 1000000000; in VsyncThreadMain() local
63 int64_t now = ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec; in VsyncThreadMain()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp34 const int64_t SEC_TO_NANOSEC = 1000000000; member
39 int64_t timeoutNanoSec = timeout % SEC_TO_NANOSEC; in TimeoutToRelativeTime()
40 int64_t timeoutSec = timeout / SEC_TO_NANOSEC; in TimeoutToRelativeTime()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_glow_point.cpp28 constexpr int32_t SEC_TO_NANOSEC { 1000000000 };
62 return static_cast<int64_t>(time.tv_sec) * SEC_TO_NANOSEC + time.tv_nsec; in GetNanoTime()
/foundation/ability/form_fwk/services/src/
H A Dform_util.cpp34 constexpr int64_t SEC_TO_NANOSEC = 1000000000; member
71 elapsedTime = (t.tv_sec) * SEC_TO_NANOSEC + t.tv_nsec; in GenerateFormId()
146 return (ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec); in GetCurrentNanosecond()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dtime_util.cpp27 constexpr int64_t SEC_TO_NANOSEC = 1000000000; member
56 return ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec; in GetSysTimestamp()
/foundation/multimodalinput/input/test/unittest/common/src/
H A Devent_util_test.cpp29 constexpr int32_t SEC_TO_NANOSEC { 1000000000 };
298 return static_cast<int64_t>(time.tv_sec) * SEC_TO_NANOSEC + time.tv_nsec; in GetNanoTime()
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Daction.h31 constexpr int64_t SEC_TO_NANOSEC = 1000000000; member
H A Daction.cpp108 std::chrono::duration<int64_t, std::nano> duration(ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec); in DispatchPointerEvent()
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.cpp61 constexpr int64_t SEC_TO_NANOSEC = 1000000000; member
72 return (ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec);
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp45 constexpr int32_t SEC_TO_NANOSEC = 1000000000; member
153 return static_cast<int64_t>(time.tv_sec) * SEC_TO_NANOSEC + time.tv_nsec; in GetNanoTime()

Completed in 15 milliseconds