Home
last modified time | relevance | path

Searched refs:day (Results 1 – 8 of 8) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/rtc/
Drtc_base.c32 uint8_t RtcIsInvalidDay(const uint8_t day, const uint8_t month, const uint16_t year) in RtcIsInvalidDay() argument
37 return ((day == 0) || (day > maxDay)) ? RTC_TRUE : RTC_FALSE; in RtcIsInvalidDay()
48 (RtcIsInvalidDay(time->day, time->month, time->year) == RTC_TRUE) || in RtcIsInvalid()
60 (RtcIsInvalidDay(time->day, time->month, time->year) == RTC_TRUE)) { in RtcGetWeekDay()
65 days = time->day - RTC_UNIT_DIFF; in RtcGetWeekDay()
92 … time->year, time->month, time->day, time->hour, time->minute, time->second, time->millisecond); in RtcTimeToTimestamp()
99 days = time->day - RTC_UNIT_DIFF; in RtcTimeToTimestamp()
137 time->day = days; in TimestampToRtcTime()
142 time->day += RTC_UNIT_DIFF; in TimestampToRtcTime()
145 …time->year, time->month, time->day, time->weekday, time->hour, time->minute, time->second, time->m… in TimestampToRtcTime()
/drivers/hdf_core/framework/test/unittest/platform/common/
Drtc_test.c125 (readTime->day != writeTime->day) || (readTime->weekday != writeTime->weekday) || in IsSameRtcTestTime()
167 tester->time.day = tester->config.day; in RtcReadWriteTimeTest()
189 tester->time.day = RTC_GREAT_MONTH_DAY + 1; in RtcReadWriteMaxTimeTest()
211 tester->time.day = 0; in RtcReadWriteMinTimeTest()
260 tester->time.day = tester->config.day; in RtcReadWriteAlarmTimeTest()
282 tester->time.day = RTC_GREAT_MONTH_DAY + 1; in RtcReadWriteAlarmMaxTimeTest()
304 tester->time.day = 0; in RtcReadWriteAlarmMinTimeTest()
327 tester->time.day = tester->config.day; in RtcAlarmEnableTest()
383 tester->time.day = tester->config.day; in RtcAlarmIrqTest()
562 tester->time.day = tester->config.day; in RtcTestSample()
Drtc_test.h25 uint32_t day; member
Drtc_driver_test.c73 ret = drsOps->GetUint32(node, "day", &config->day, 0); in RtcTestReadConfig()
/drivers/hdf_core/framework/include/platform/
Drtc_base.h68 uint8_t RtcIsInvalidDay(const uint8_t day, const uint8_t month, const uint16_t year);
Drtc_if.h72 uint8_t day; /**< Day. The value ranges from 1 to 31. */ member
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/
Drtc_adapter.c34 linuxTime->tm_mday = hdfTime->day; in HdfTimeToLinuxTime()
46 hdfTime->day = linuxTime->tm_mday; in LinuxTimeToHdfTime()
/drivers/hdf_core/framework/tools/idl-gen/testcase/
Dtest_header_parser.py501 day = stack["properties"]["public"][3]
502 params = parser._checkout_function_pointer_param(day["type"])