Searched refs:tm_year (Results 1 – 8 of 8) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | localtime.c | 80 tmp->tm_year = 1970; in nolocks_localtime() 83 time_t days_this_year = 365 + is_leap_year(tmp->tm_year); in nolocks_localtime() 86 tmp->tm_year++; in nolocks_localtime() 94 mdays[1] += is_leap_year(tmp->tm_year); in nolocks_localtime() 103 tmp->tm_year -= 1900; /* Surprisingly tm_year is year-1900. */ in nolocks_localtime()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-cn3010-evb-hs5.c | 94 TM_CHECK(tms->tm_year < 0 || tms->tm_year > 200,"year"); in validate_tm_struct() 138 tms.tm_year = ((reg[5] & 0x80) ? 100 : 0) + bcd2bin(reg[6]); in cvmx_rtc_ds1337_read() 176 if (tms.tm_year >= 100) /* Set century bit*/ in cvmx_rtc_ds1337_write() 180 reg[6] = bin2bcd(tms.tm_year % 100); in cvmx_rtc_ds1337_write()
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_time.h | 26 #define ngx_tm_year tm_year
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | loslib.c | 143 setfield(L, "year", stm->tm_year+1900); in os_date() 183 ts.tm_year = getfield(L, "year", -1) - 1900; in os_time()
|
| /f-stack/freebsd/sys/ |
| H A D | efi.h | 99 uint16_t tm_year; /* 1998 - 20XX */ member
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | efirt_machdep.c | 347 "Sec %d\n", tm.tm_year, tm.tm_mon, tm.tm_mday, tm.tm_hour, in efi_time_sysctl_handler()
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_regs.c | 209 tm->tm_mon + 1, (int)tm->tm_mday, 1900 + tm->tm_year, in qede_set_fw_dump_file_name()
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 216 dir = loc->tm_year - gmt->tm_year; in gmt2local()
|