Searched refs:tm_year (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/bionic/ |
D | time64.c | 200 Year orig_year = (Year)date->tm_year; in timegm64() 258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in check_tm() 267 assert(tm->tm_yday <= length_of_year[IS_LEAP(tm->tm_year)]); in check_tm() 373 dest->tm_year = (Year)src->tm_year; in copy_tm_to_TM() 405 dest->tm_year = (int)src->tm_year; in copy_TM_to_tm() 495 Year year = input_date->tm_year + 1900; in mktime64() 504 date.tm_year = safe_year(year) - 1900; in mktime64() 509 time += seconds_between_years(year, (Year)(safe_date.tm_year + 1900)); in mktime64() 625 p->tm_year = year; in gmtime64_r() 626 if( p->tm_year != year ) { in gmtime64_r() [all …]
|
/bionic/tests/ |
D | time_test.cpp | 74 ASSERT_EQ(1970, broken_down->tm_year + 1900); in TEST() 87 ASSERT_EQ(1970, broken_down->tm_year + 1900); in TEST() 91 struct tm tm = {.tm_year = 70, .tm_mon = 0, .tm_mday = 1}; in TEST() 131 t.tm_year = 1980 - 1900; in TEST() 140 t.tm_year = 1980 - 1900; in TEST() 150 struct tm tm = {.tm_year = 2100 - 1900, .tm_mon = 2, .tm_mday = 10}; in TEST() 180 t.tm_year = 2016 - 1900; in TEST() 190 t.tm_year = INT_MAX; in TEST() 203 t.tm_year = INT_MAX; in TEST() 217 t.tm_year = 2022 - 1900; in TEST() [all …]
|
D | wchar_test.cpp | 664 t.tm_year = 200; in TEST()
|
/bionic/libc/tzcode/ |
D | strftime.c | 263 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt() 388 tm.tm_year = t->tm_year; in _fmt() 455 year = t->tm_year; in _fmt() 549 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt() 554 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt()
|
D | strptime.c | 418 tm->tm_year = i - TM_YEAR_BASE; in _strptime() 555 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime() 557 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime() 559 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime() 566 const int year = tm->tm_year + TM_YEAR_BASE; in _strptime()
|
D | localtime.c | 1605 ? ckd_sub(&result->tm_year, in localsub() 1606 result->tm_year, years) in localsub() 1607 : ckd_add(&result->tm_year, in localsub() 1608 result->tm_year, years)) in localsub() 1613 newy = result->tm_year; in localsub() 1619 result->tm_year = newy; in localsub() 1848 if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) { in timesub() 1855 tmp->tm_year = signed_y - TM_YEAR_BASE; in timesub() 1858 tmp->tm_year = y - TM_YEAR_BASE; in timesub() 1869 + ((tmp->tm_year % DAYSPERWEEK) in timesub() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 18 int tm_year; member
|
/bionic/tests/headers/posix/ |
D | time_h.c | 53 STRUCT_MEMBER(struct tm, int, tm_year); in time_h()
|
/bionic/libc/include/ |
D | time.h | 86 int tm_year; member
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 1191 mytime->tm_year += 1900; in p_secstodate() 1194 mytime->tm_year, mytime->tm_mon, mytime->tm_mday, in p_secstodate()
|