Home
last modified time | relevance | path

Searched defs:now (Results 1 – 25 of 70) sorted by relevance

123

/base/hiviewdfx/hiview/base/utility/
Dtime_util.cpp36 struct timeval now; in GenerateTimestamp() local
50 auto now = std::chrono::system_clock::now(); in GetMillSecOfSec() local
57 auto now = std::chrono::system_clock::now(); in GetMilliseconds() local
94 time_t now = std::time(nullptr); in Get0ClockStampMs() local
108 auto now = std::chrono::steady_clock::now(); in GetSteadyClockTimeMs() local
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_client_unittest.cpp54 auto now = time(nullptr); variable
85 auto now = time(nullptr); variable
89 auto task = [](int32_t now) { in __anon5d66fa070102()
Dfaultlogger_unittest.cpp263 time_t now = std::time(nullptr); variable
331 time_t now = std::time(nullptr); variable
581 time_t now = time(nullptr); variable
611 time_t now = time(nullptr); variable
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_flow_control_test.cpp51 std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); variable
69 std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); variable
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/test/common/moduletest/
Dfaultlogger_native_interface_test.cpp54 auto now = time(nullptr); variable
75 auto now = time(nullptr); variable
96 auto now = time(nullptr); variable
126 auto now = time(nullptr); variable
/base/notification/eventhandler/test/systemtest/ems_inner_event_system_test/
Dems_inner_event_system_test.cpp138 InnerEvent::TimePoint now = InnerEvent::Clock::now(); variable
152 InnerEvent::TimePoint now = InnerEvent::TimePoint::max(); variable
167 InnerEvent::TimePoint now = InnerEvent::Clock::time_point(); variable
181 InnerEvent::TimePoint now = InnerEvent::TimePoint::min(); variable
195 InnerEvent::TimePoint now; variable
/base/telephony/telephony_data/common/include/
Dtime_util.h67 time_t now = time(DEFAULT_TIMER); in GetCurrentTime() local
83 time_t now = time(DEFAULT_TIMER) - THIRTY_DAYS; in GetTimeOfThirty() local
/base/hiviewdfx/hiview/base/
Devent_loop.cpp166 uint64_t now = NanoSecondSinceSystemStart(); in AddEvent() local
202 uint64_t now = NanoSecondSinceSystemStart(); in AddEventForResult() local
221 uint64_t now = NanoSecondSinceSystemStart(); in AddTimerEvent() local
433 uint64_t now = NanoSecondSinceSystemStart(); in ProcessQueuedEvent() local
454 bool EventLoop::FetchNextEvent(uint64_t now, uint64_t& leftTimeNanosecond, LoopEvent& out) in FetchNextEvent()
506 void EventLoop::ReInsertPeriodicEvent(uint64_t now, LoopEvent &event) in ReInsertPeriodicEvent()
Dplugin_proxy.cpp109 time_t now = time(nullptr); in DestroyInstanceIfNeed() local
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_flow_control.cpp31 std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); in KvManagerFlowControl() local
59 std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); in KvStoreFlowControl() local
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_timer.cpp31 time_t now; // unit is seconds. in ReminderRequestTimer() local
98 time_t now; in UpdateTimeInfo() local
/base/hiviewdfx/hiview/base/test/unittest/common/
Devent_base_test.cpp27 auto now = std::chrono::system_clock::now(); in GetCurrentMillis() local
74 auto now = GetCurrentMillis(); variable
/base/telephony/ril_adapter/services/hril/src/
Dhril_event.cpp45 struct timeval now; in GetNextTimeOut() local
61 struct timeval now; in ProcessTimerList() local
137 struct timeval now; in AddTimerEvent() local
/base/msdp/device_status/utils/common/include/
Dtime_cost_chk.h34 : beginTime_(std::chrono::high_resolution_clock::now()), in beginTime_()
/base/notification/common_event_service/services/src/
Dpublish_manager.cpp36 int64_t now = SystemTime::GetNowSysTime(); in CheckIsFloodAttack() local
/base/hiviewdfx/faultloggerd/tools/crash_validator/
Dmain.cpp31 auto now = time(nullptr); in SigIntHandler() local
/base/useriam/user_auth_framework/common/utils/
Diam_time.cpp35 const time_point<system_clock> now = system_clock::now(); in GetNowTimeString() local
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dtime_util.cpp29 auto now = std::chrono::system_clock::now(); in GetMilliseconds() local
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_handler.cpp66 InnerEvent::TimePoint now = InnerEvent::Clock::now(); in SendEvent() local
309 auto now = InnerEvent::Clock::now(); in DistributeEvent() local
343 auto now = InnerEvent::Clock::now(); in DistributeEvent() local
350 auto now = std::chrono::system_clock::now(); in Dump() local
/base/hiviewdfx/faultloggerd/test/unittest/common/
Dcommon_test.cpp49 time_t now = time(nullptr); variable
/base/update/updateservice/services/firmware/common/src/
Dfirmware_update_adapter.cpp51 time_t now; in GetRequestId() local
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_controller.cpp227 int64_t now = static_cast<int64_t>(time(nullptr)); in OnInputEvent() local
265 int64_t now = static_cast<int64_t>(time(nullptr)); in OnInputEvent() local
318 int64_t now = static_cast<int64_t>(time(nullptr)); in OnInputEvent() local
326 int64_t now = GetTickCount(); in CheckEventReciveTime() local
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_calendar_test.cpp45 time_t now; in CreateCalendar() local
140 time_t now; variable
183 time_t now; variable
214 time_t now; variable
256 time_t now; variable
413 time_t now; variable
/base/powermgr/battery_manager/charger/src/
Dcharger_thread.cpp85 void ChargerThread::HdfInputEventCallback::SetKeyState(int32_t code, int32_t value, int64_t now) in SetKeyState()
294 auto now = GetCurrentTime(); in HandlePowerKeyState() local
303 void ChargerThread::HandlePowerKey(int32_t keycode, int64_t now) in HandlePowerKey()
/base/usb/usb_manager/test/native/js_unittest/
DDateAndTimeUtil.js29 now() { method in DateAndTimeUtil

123