/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | cpu_dumper.cpp | 196 bool CPUDumper::GetDateAndTime(std::string &dateTime) in GetDateAndTime() argument 203 dateTime = " "; in GetDateAndTime() 204 dateTime.append(std::to_string(TM_START_YEAR + timeData.tm_year)); in GetDateAndTime() 205 dateTime.append("-"); in GetDateAndTime() 207 dateTime.append(std::to_string(0)); in GetDateAndTime() 209 dateTime.append(std::to_string(1 + timeData.tm_mon)); in GetDateAndTime() 210 dateTime.append("-"); in GetDateAndTime() 212 dateTime.append(std::to_string(0)); in GetDateAndTime() 214 dateTime.append(std::to_string(timeData.tm_mday)); in GetDateAndTime() 215 dateTime.append(" "); in GetDateAndTime() [all …]
|
/base/security/device_security_level/services/dfx/ |
D | dslm_hidumper.c | 42 DateTime dateTime = {0}; in GetTimeStringFromTimeStamp() local 49 if (!GetDateTimeByMillisecondSinceBoot(timeStamp, &dateTime)) { in GetTimeStringFromTimeStamp() 55 …dateTime.year, dateTime.mon, dateTime.day, dateTime.hour, dateTime.min, dateTime.sec, dateTime.mse… in GetTimeStringFromTimeStamp()
|
/base/startup/init/services/log/ |
D | init_log.c | 51 char dateTime[80] = {"00-00-00 00:00:00"}; // 80 data time in LogToFile() local 53 strftime(dateTime, sizeof(dateTime), "%Y-%m-%d %H:%M:%S", &t); in LogToFile() 55 …(void)fprintf(outfile, "[%s.%ld][pid=%d %d][%s]%s \n", dateTime, curr.tv_nsec, getpid(), gettid(),… in LogToFile()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_request_calendar.cpp | 48 ReminderRequestCalendar::ReminderRequestCalendar(const tm &dateTime, in ReminderRequestCalendar() argument 53 …firstDesignateYear_ = static_cast<uint16_t>(GetActualTime(TimeTransferType::YEAR, dateTime.tm_year… in ReminderRequestCalendar() 54 …firstDesignateMonth_ = static_cast<uint8_t>(GetActualTime(TimeTransferType::MONTH, dateTime.tm_mon… in ReminderRequestCalendar() 55 firstDesignateDay_ = dateTime.tm_mday; in ReminderRequestCalendar() 61 InitDateTime(dateTime); in ReminderRequestCalendar() 250 void ReminderRequestCalendar::InitDateTime(const tm &dateTime) in InitDateTime() argument 252 dateTime_.tm_year = dateTime.tm_year; in InitDateTime() 253 dateTime_.tm_mon = dateTime.tm_mon; in InitDateTime() 254 dateTime_.tm_mday = dateTime.tm_mday; in InitDateTime() 255 dateTime_.tm_hour = dateTime.tm_hour; in InitDateTime() [all …]
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
D | reminder_common.cpp | 446 tm dateTime; in CreateReminderCalendar() local 447 …dateTime.tm_year = ReminderRequest::GetCTime(ReminderRequest::TimeTransferType::YEAR, propertyYear… in CreateReminderCalendar() 448 …dateTime.tm_mon = ReminderRequest::GetCTime(ReminderRequest::TimeTransferType::MONTH, propertyMont… in CreateReminderCalendar() 449 dateTime.tm_mday = propertyDayVal; in CreateReminderCalendar() 450 dateTime.tm_hour = propertyHourVal; in CreateReminderCalendar() 451 dateTime.tm_min = propertyMinteVal; in CreateReminderCalendar() 452 dateTime.tm_sec = 0; in CreateReminderCalendar() 453 dateTime.tm_isdst = -1; in CreateReminderCalendar() 454 reminder = std::make_shared<ReminderRequestCalendar>(dateTime, repeatMonths, repeatDays); in CreateReminderCalendar()
|
D | publish.cpp | 445 napi_value dateTime = nullptr; in ParseReminderCalendar() local 446 napi_create_object(env, &dateTime); in ParseReminderCalendar() 447 napi_set_named_property(env, result, CALENDAR_DATE_TIME, dateTime); in ParseReminderCalendar() 450 napi_set_named_property(env, dateTime, CALENDAR_YEAR, value); in ParseReminderCalendar() 452 napi_set_named_property(env, dateTime, CALENDAR_MONTH, value); in ParseReminderCalendar() 454 napi_set_named_property(env, dateTime, CALENDAR_DAY, value); in ParseReminderCalendar() 456 napi_set_named_property(env, dateTime, CALENDAR_HOUR, value); in ParseReminderCalendar() 458 napi_set_named_property(env, dateTime, CALENDAR_MINUTE, value); in ParseReminderCalendar() 460 napi_set_named_property(env, dateTime, CALENDAR_SECOND, value); in ParseReminderCalendar()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | reminder_request_calendar.h | 52 ReminderRequestCalendar(const tm &dateTime, 177 void InitDateTime(const tm &dateTime);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ReminderHelperTest.js | 214 dateTime : { property 257 dateTime : { property 406 dateTime : { property 884 dateTime : { property 921 dateTime : { property 1371 dateTime : { property 1458 dateTime : { property 1545 dateTime : { property 1607 dateTime : { property
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/ |
D | cpu_dumper.h | 34 bool GetDateAndTime(std::string& dateTime);
|