Home
last modified time | relevance | path

Searched refs:localtime_r (Results 1 – 25 of 64) sorted by relevance

123

/ohos5.0/base/security/access_token/frameworks/common/src/
H A Dtime_util.cpp39 localtime_r(&time1, &t1); in IsTimeStampsSameMinute()
42 localtime_r(&time2, &t2); in IsTimeStampsSameMinute()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Ddatetime_ex.cpp70 timeResult = localtime_r(&tt, curTime); in GetSystemCurrentTime()
80 struct tm* localTime = localtime_r(&t1, &curTime1); in GetLocalTimeZone()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request_calendar.cpp76 (void)localtime_r(&t, &dateTime); in AddExcludeDate()
106 (void)localtime_r(&t, &dateTime); in IsInExcludeDate()
203 (void)localtime_r(&target, &dateTime_); in SetNextTriggerTime()
367 (void)localtime_r(&t, &nowTime); in CalcLastStartDateTime()
371 (void)localtime_r(&t, &startTime); in CalcLastStartDateTime()
388 (void)localtime_r(&now, &nowTime); in GetNextTriggerTime()
753 (void)localtime_r(&t, &dateTime); in SetDateTime()
H A Dreminder_request_alarm.cpp81 (void)localtime_r(&now, &nowTime); in GetNextTriggerTime()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dtime_util.cpp71 if (localtime_r(&timeStamp, &result) != nullptr) { in TimestampFormatToDate()
85 if (localtime_r(&systemSeconds, &tmLocal) == nullptr) { in GetTimeZone()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/mock/
H A Dglobal.cpp28 localtime_r(&tv.tv_sec, &nowTime); in LogTimeStamp()
/ohos5.0/base/inputmethod/imf/common/src/
H A Dglobal.cpp28 localtime_r(&tv.tv_sec, &nowTime); in LogTimeStamp()
/ohos5.0/base/useriam/user_auth_framework/common/utils/
H A Diam_time.cpp39 localtime_r(&tt, &curr); in GetNowTimeString()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/
H A Dcommon.h38 if (localtime_r(&tp.tv_sec, &curTime) != nullptr) { \
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_request_calendar_test.cpp1012 (void)localtime_r(&now, &nowTime);
1249 (void)localtime_r(&now, &nowTime);
1285 (void)localtime_r(&now, &nowTime);
1314 (void)localtime_r(&now, &nowTime);
1364 (void)localtime_r(&now, &nowTime);
1409 (void)localtime_r(&now, &nowTime);
1439 (void)localtime_r(&now, &nowTime);
1488 (void)localtime_r(&now, &nowTime);
/ohos5.0/base/hiviewdfx/hilog_lite/services/hilogcat/
H A Dhiview_logcat.c63 info = localtime_r(&rawtime, &nowTime); in main()
/ohos5.0/base/security/device_security_level/baselib/utils/src/
H A Dutils_datetime.c62 localtime_r(&time, &tm); in GetDateTimeByMillisecondSince1970()
/ohos5.0/base/telephony/telephony_data/common/include/
H A Dtime_util.h72 struct tm *ltm = localtime_r(&now, &tm); in GetCurrentTime()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Devent_handler.cpp28 #define localtime_r(tm, time) localtime_s(time, tm) macro
332 localtime_r(&tt, &curTime); in Dump()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dlog.h41 (void)localtime_r(&sec, nowTime);
/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/log/linux/
H A Dlog_base.cpp35 localtime_r(&timet, &curtime); in GetCurrentTime()
/ohos5.0/foundation/resourceschedule/ffrt/src/util/
H A Dtime_format.h59 localtime_r(&tt, &curTime);
/ohos5.0/base/startup/init/services/log/
H A Dinit_log.c52 if (localtime_r(&curr.tv_sec, &t) != NULL) { in LogToFile()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Dcommon_util.cpp41 localtime_r(&curr, &nowTime); in DHCP_LOGTime()
/ohos5.0/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp105 localtime_r(&timestamp, &timeInfo); in GetDate()
/ohos5.0/foundation/window/window_manager/utils/include/
H A Devent_tracker.h90 localtime_r(&time, &localTime); in formatTimestamp()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.cpp247 …if (localtime_r(&timeStamp, &tm) == nullptr || strftime(stampStr, timeLength, "%Y/%m/%d %H/%M/%S",… in TimeStampToStr()
260 …if (localtime_r(&timeStamp, &tm) == nullptr || strftime(stampStr, timeLength, "%Y%m%d%H%M%S", &tm)… in TimeStampToSimplelyStr()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_inline.cpp81 localtime_r(&time, &ret); in GetLocalTime()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_timer.c176 if (localtime_r(&seconds, &formatedDateTime) == NULL) {
/ohos5.0/foundation/resourceschedule/device_standby/services/common/src/
H A Dtime_provider.cpp49 auto res = localtime_r(&curTimeStamp, &curLocalTime); in ConvertTimeStampToLocalTime()

123