Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 11 of 11) sorted by relevance

/components/drivers/rtc/
A Ddev_alarm.c72 wkalarm.tm_mon = alarm->wktime.tm_mon; in alarm_set()
89 alarm->wktime.tm_mon = wkalarm.tm_mon; in alarm_set()
215 (alarm->wktime.tm_mon == now->tm_mon)) in alarm_wakeup()
329 if (tm_mon == 1) in days_of_year_month()
333 else if (((tm_mon <= 6) && (tm_mon % 2 == 0)) || ((tm_mon > 6) && (tm_mon % 2 == 1))) in days_of_year_month()
352 if ((date->tm_mon < 0) || (date->tm_mon > 11)) in is_valid_date()
448 setup->tm_mon = now.tm_mon; in alarm_setup()
473 if ((setup->tm_mon < 0) || (setup->tm_mon > 11)) in alarm_setup()
474 setup->tm_mon = now.tm_mon; in alarm_setup()
484 else if (((setup->tm_mon <= 6) && (setup->tm_mon % 2 == 0)) || \ in alarm_setup()
[all …]
A Ddev_rtc.c173 tm_new.tm_mon = month - 1; /* tm_mon: 0~11 */ in set_date()
312 tm_new.tm_mon = atoi(argv[2]) - 1; /* .tm_min's range is [0-11] */ in date()
322 if (tm_new.tm_mon > 11) /* .tm_min's range is [0-11] */ in date()
A Ddev_soft_rtc.c24 …{.tm_year = year - 1900, .tm_mon = month - 1, .tm_mday = day, .tm_hour = hour, .tm_min = minute, .…
/components/libc/compilers/common/
A Dctime.c196 r->tm_mon = i; in gmtime_r()
282 *(int*) (buf + 4) = *(int*) (months + (t->tm_mon << 2)); in asctime_r()
412 t->tm_year += t->tm_mon / 12; in timegm()
413 t->tm_mon %= 12; in timegm()
415 while (t->tm_mday > __spm[1 + t->tm_mon]) in timegm()
417 if (t->tm_mon == 1 && __isleap(t->tm_year + 1900)) in timegm()
421 t->tm_mday -= __spm[t->tm_mon]; in timegm()
422 ++t->tm_mon; in timegm()
423 if (t->tm_mon > 11) in timegm()
425 t->tm_mon = 0; in timegm()
[all …]
/components/utilities/ulog/syslog/
A Dsyslog.c192 get_month_str(tm->tm_mon + 1), tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); in syslog_formater()
195 get_month_str(tm->tm_mon + 1), tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); in syslog_formater()
/components/lwp/vdso/
A Dvdso_datapage.h48 …{.tm_year = year - 1900, .tm_mon = month - 1, .tm_mday = day, .tm_hour = hour, .tm_min = minute, .…
/components/drivers/include/drivers/
A Ddev_rtc.h104 rt_int32_t tm_mon; /* alarm at tm_mon */ member
/components/dfs/dfs_v1/filesystems/iso9660/
A Ddfs_iso9660.c195 tm.tm_mon = (date->month[0] - '0') * 10 + (date->month[1] - '0'); in iso9660_convert_unixtime()
211 tm.tm_mon = date->month; in iso9660_convert_unixtime2()
/components/dfs/dfs_v1/filesystems/elmfat/
A Ddfs_elm.c835 tm_file.tm_mon = mon - 1; /* Months *since* january: 0-11 */ in dfs_elm_stat()
992 (DWORD)(tm_now.tm_mon + 1) << 21 | in get_fattime()
/components/dfs/dfs_v2/filesystems/elmfat/
A Ddfs_elm.c925 tm_file.tm_mon = mon - 1; /* Months *since* january: 0-11 */ in dfs_elm_stat()
1218 (DWORD)(tm_now.tm_mon + 1) << 21 | in get_fattime()
/components/utilities/ulog/
A Dulog.c289 …printf(log_buf + log_len, ULOG_LINE_BUF_SIZE - log_len, "%02d-%02d %02d:%02d:%02d", tm->tm_mon + 1, in ulog_head_formater()

Completed in 17 milliseconds