Searched refs:tm_yday (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | rtc.c | 122 rtc_timeinfo.tm_yday = RTC_TimeStruct.RTC_Days; in rtc_restore_timeinfo() 129 if(rtc_timeinfo.tm_yday > days_in_year - 1){ in rtc_restore_timeinfo() 131 rtc_timeinfo.tm_yday -= days_in_year; in rtc_restore_timeinfo() 134 RTC_TimeStruct.RTC_Days = rtc_timeinfo.tm_yday; in rtc_restore_timeinfo() 138 …rtc_calculate_mday(rtc_timeinfo.tm_year, rtc_timeinfo.tm_yday, &rtc_timeinfo.tm_mon, &rtc_timeinfo… in rtc_restore_timeinfo() 210 delta_days = RTC_TimeStruct.RTC_Days - tm_temp.tm_yday; in hal_rtc_get_time() 218 tm_temp.tm_yday += delta_days; in hal_rtc_get_time() 227 tm_temp.tm_yday -= is_leap_year(tm_temp.tm_year) ? 366 : 365; in hal_rtc_get_time() 231 RTC_TimeStruct.RTC_Days = tm_temp.tm_yday; in hal_rtc_get_time() 271 timeinfo.tm_yday = get_yday((rtc_time_t *)time); in hal_rtc_set_time() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | rtc_api.c | 136 rtc_timeinfo.tm_yday = RTC_TimeStruct.RTC_Days; in rtc_restore_timeinfo() 142 if(rtc_timeinfo.tm_yday > (days_in_year - 1)){ in rtc_restore_timeinfo() 144 rtc_timeinfo.tm_yday -= days_in_year; in rtc_restore_timeinfo() 147 RTC_TimeStruct.RTC_Days = rtc_timeinfo.tm_yday; in rtc_restore_timeinfo() 151 …rtc_calculate_mday(rtc_timeinfo.tm_year, rtc_timeinfo.tm_yday, &rtc_timeinfo.tm_mon, &rtc_timeinfo… in rtc_restore_timeinfo() 231 RTC_TimeStruct.RTC_Days = timeinfo->tm_yday; in rtc_write() 267 delta_days = RTC_TimeStruct.RTC_Days - tm_temp.tm_yday; in rtc_read() 275 tm_temp.tm_yday += delta_days; in rtc_read() 284 tm_temp.tm_yday -= is_leap_year(tm_temp.tm_year) ? 366 : 365; in rtc_read() 288 RTC_TimeStruct.RTC_Days = tm_temp.tm_yday; in rtc_read()
|
/AliOS-Things-master/components/csi/csi2/include/drv/ |
A D | rtc.h | 31 int tm_yday; ///< Days in year.[0-365] !NOTE:Set 0 mean January 1st member
|
/AliOS-Things-master/components/minilibc/include/ |
A D | time.h | 106 int tm_yday; /* Day of the year (0-365) */ member
|
/AliOS-Things-master/components/py_engine/engine/shared/timeutils/ |
A D | timeutils.h | 49 uint16_t tm_yday; // 1..366 member
|
A D | timeutils.c | 143 tm->tm_yday = timeutils_year_day(tm->tm_year, tm->tm_mon, tm->tm_mday); in timeutils_seconds_since_2000_to_struct_time()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | modutime.c | 62 tuple[7] = mp_obj_new_int(tm.tm_yday), in time_localtime()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | modutime.c | 61 tuple[7] = mp_obj_new_int(tm.tm_yday), in time_localtime()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | modutime.c | 61 tuple[7] = mp_obj_new_int(tm.tm_yday), in time_localtime()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.c | 39434 (long) tms[0].tm_wday, (long) tms[0].tm_yday, (long) tms[0].tm_isdst)); in duk_bi_date_get_local_tzoffset_gmtime() 39439 (long) tms[1].tm_wday, (long) tms[1].tm_yday, (long) tms[1].tm_isdst)); in duk_bi_date_get_local_tzoffset_gmtime() 39499 (long) tm.tm_wday, (long) tm.tm_yday, (long) tm.tm_isdst)); in duk_bi_date_parse_string_strptime()
|
Completed in 270 milliseconds