Searched refs:tm_sec (Results 1 – 12 of 12) sorted by relevance
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/ |
H A D | time.c | 47 r->tm_sec = work % 60; in gmtime_r() 101 if (t->tm_sec > 60) in mktime() 103 t->tm_min += t->tm_sec / 60; in mktime() 104 t->tm_sec %= 60; in mktime() 166 return ((day + t->tm_hour) * i + t->tm_min) * i + t->tm_sec; in mktime() 188 num2str(buf + 17, t->tm_sec); in asctime_r()
|
/nrf52832-nimble/rt-thread/components/drivers/rtc/ |
H A D | alarm.c | 28 sec = time->tm_sec; in alarm_mkdaysec() 51 wkalarm.tm_sec = alarm->wktime.tm_sec; in alarm_set() 65 alarm->wktime.tm_sec = wkalarm.tm_sec; in alarm_set() 273 if ((setup->tm_sec > 59) || (setup->tm_sec < 0)) in alarm_setup() 274 setup->tm_sec = now.tm_sec; in alarm_setup() 352 if ((setup->tm_hour == 23) && (setup->tm_min == 59) && (setup->tm_sec == 59)) in alarm_setup() 358 setup->tm_sec = 60 - RT_ALARM_DELAY; in alarm_setup()
|
H A D | soft_rtc.c | 21 …r - 1900, .tm_mon = month - 1, .tm_mday = day, .tm_hour = hour, .tm_min = minute, .tm_sec = second}
|
H A D | rtc.c | 115 tm_new.tm_sec = second; in set_time()
|
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/sys/ |
H A D | time.h | 38 int tm_sec; /* Seconds. [0-60] (1 leap second) */ member
|
/nrf52832-nimble/rt-thread/components/utilities/ulog/syslog/ |
H A D | syslog.c | 195 …get_month_str(tm->tm_mon + 1), tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, rt_tick_get() % 1… in syslog_formater() 198 …get_month_str(tm->tm_mon + 1), tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, rt_tick_get() % 1… in syslog_formater()
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c24x0/ |
H A D | rtc.c | 55 ti->tm_sec = BCD2BIN(sec & 0x7F); in rt_hw_rtc_get() 79 sec = BIN2BCD(ti->tm_sec); in rt_hw_rtc_set()
|
/nrf52832-nimble/rt-thread/components/utilities/ymodem/ |
H A D | ymodem.c | 122 int tm_sec) in _rym_do_handshake() argument 131 for (i = 0; i < tm_sec; i++) in _rym_do_handshake() 147 if (i == tm_sec) in _rym_do_handshake()
|
/nrf52832-nimble/rt-thread/components/libc/compilers/common/ |
H A D | gmtime_r.c | 56 r->tm_sec = work % 60; in gmtime_r()
|
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/ |
H A D | alarm.h | 36 rt_int32_t tm_sec; /* alarm at tm_sec */ member
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/elmfat/ |
H A D | dfs_elm.c | 772 tm_file.tm_sec = sec; /* Seconds: 0-59 */ in dfs_elm_stat() 941 (DWORD)tm_now.tm_sec / 2 ; in get_fattime()
|
/nrf52832-nimble/rt-thread/components/utilities/ulog/ |
H A D | ulog.c | 268 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, rt_tick_get() % 1000); 271 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec);
|