Home
last modified time | relevance | path

Searched refs:pTime (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_local_live_view_content.cpp207 auto pTime = NotificationJsonConverter::ConvertFromJson<NotificationTime>(timeObj); in FromJson() local
208 if (pTime != nullptr) { in FromJson()
209 pContent->time_ = *pTime; in FromJson()
210 delete pTime; in FromJson()
211 pTime = nullptr; in FromJson()
316 auto pTime = parcel.ReadParcelable<NotificationTime>(); in ReadFromParcel() local
317 if (pTime == nullptr) { in ReadFromParcel()
321 time_ = *pTime; in ReadFromParcel()
322 delete pTime; in ReadFromParcel()
323 pTime = nullptr; in ReadFromParcel()
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dtime_format_utils.cpp135 tm *pTime; in ConvertTimestampToDatetime() local
138 pTime = localtime(&ts); in ConvertTimestampToDatetime()
139 if (pTime == nullptr) { in ConvertTimestampToDatetime()
142 size_t sizeDateStr = strftime(date, maxDateTimeSize, "%Y-%m-%d", pTime); in ConvertTimestampToDatetime()
143 size_t sizeTimeStr = strftime(time, maxDateTimeSize, "%H:%M:%S", pTime); in ConvertTimestampToDatetime()
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_dfx.cpp84 struct tm* pTime; in GetCurrentTime() local
92 pTime = localtime(&t); in GetCurrentTime()
93 if (pTime == nullptr) { in GetCurrentTime()
98 if (strftime(strTime, sizeof(strTime), "%Y%m%d-%H%M%S", pTime) == 0U) { in GetCurrentTime()
103 if (strftime(strTime, sizeof(strTime), "%Y-%m-%d %H:%M:%S", pTime) == 0U) { in GetCurrentTime()