Home
last modified time | relevance | path

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

123

/base/hiviewdfx/hiview/adapter/utility/platform/windows/
Dtime_util.cpp41 struct timespec now = { 0, 0 }; in GetTimeOfDay() local
51 auto now = std::chrono::system_clock::now(); in GenerateTimestamp() local
58 auto now = std::chrono::system_clock::now(); in GetMilliseconds() local
70 auto now = std::chrono::system_clock::now(); in GetMillSecOfSec() local
83 time_t now = std::time(nullptr); in Get0ClockStampMs() local
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
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/adapter/utility/platform/linux/
Dtime_util.cpp35 struct timeval now { 0 }; in GenerateTimestamp() struct
49 auto now = std::chrono::system_clock::now(); in GetMillSecOfSec() local
56 auto now = std::chrono::system_clock::now(); in GetMilliseconds() local
93 time_t now = std::time(nullptr); in Get0ClockStampMs() local
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_client_unittest.cpp54 auto now = time(nullptr); variable
85 auto now = time(nullptr); variable
88 auto task = [](int32_t now, std::atomic<int>& counter) { in __anon211548e90102()
/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/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
392 time_t now; variable
/base/telephony/data_storage/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
Dreminder_request_alarm.cpp109 time_t now; in GetNextTriggerTime() local
158 int8_t ReminderRequestAlarm::GetNextAlarm(const time_t now, const time_t target) const in GetNextAlarm() argument
/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/notification/common_event_service/services/src/
Dpublish_manager.cpp36 int64_t now = SystemTime::GetNowSysTime(); in CheckIsFloodAttack() local
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dtime_util.cpp29 auto now = std::chrono::system_clock::now(); in GetMilliseconds() 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/hicollie/frameworks/native/
Dwatchdog_inner.cpp153 uint64_t WatchdogInner::FetchNextTask(uint64_t now, WatchdogTask& task) in FetchNextTask()
193 uint64_t now = GetCurrentTickMillseconds(); in Start() local
/base/usb/usb_manager/test/native/js_unittest/
DDateAndTimeUtil.js29 now() { method in DateAndTimeUtil
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Ddfx_base_test.cpp252 time_t now = time(nullptr); variable
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestalarm_fuzzer/
Dreminderrequestalarm_fuzzer.cpp52 time_t now; in DoSomethingInterestingWithMyAPI() local
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_event_queue_test.cpp128 auto now = InnerEvent::Clock::now(); in DelayTest() local
157 auto now = InnerEvent::Clock::now(); in InsertPriorityTest() local
243 auto now = InnerEvent::Clock::now(); in InsertPriorityEvent() local
255 auto now = InnerEvent::Clock::now(); in InsertPriorityEvent() local
272 auto now = InnerEvent::Clock::now(); in InsertAllPriorityEvent() local
284 auto now = InnerEvent::Clock::now(); in InsertAllPriorityEvent() local
296 auto now = InnerEvent::Clock::now(); in InsertAllPriorityEvent() local
593 auto now = InnerEvent::Clock::now(); variable
601 auto now = InnerEvent::Clock::now(); variable
/base/hiviewdfx/hiview/base/event_pool/
Devent_thread_pool.cpp103 uint64_t now = TimeUtil::GetMilliseconds(); in TaskCallback() local
/base/startup/init/services/modules/bootchart/
Dbootchart.c71 struct tm *now = localtime(&tm); in BootchartLogHeader() local
178 struct timeval now = {}; in BootchartThreadMain() local
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h46 InnerEvent::TimePoint now = InnerEvent::Clock::now(); in TimePointToTimeOut() local

123