Searched refs:day (Results 1 – 8 of 8) sorted by relevance
/drivers/hdf_core/framework/support/platform/src/rtc/ |
D | rtc_base.c | 32 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/ |
D | rtc_test.c | 125 (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()
|
D | rtc_test.h | 25 uint32_t day; member
|
D | rtc_driver_test.c | 73 ret = drsOps->GetUint32(node, "day", &config->day, 0); in RtcTestReadConfig()
|
/drivers/hdf_core/framework/include/platform/ |
D | rtc_base.h | 68 uint8_t RtcIsInvalidDay(const uint8_t day, const uint8_t month, const uint16_t year);
|
D | rtc_if.h | 72 uint8_t day; /**< Day. The value ranges from 1 to 31. */ member
|
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/ |
D | rtc_adapter.c | 34 linuxTime->tm_mday = hdfTime->day; in HdfTimeToLinuxTime() 46 hdfTime->day = linuxTime->tm_mday; in LinuxTimeToHdfTime()
|
/drivers/hdf_core/framework/tools/idl-gen/testcase/ |
D | test_header_parser.py | 501 day = stack["properties"]["public"][3] 502 params = parser._checkout_function_pointer_param(day["type"])
|