Home
last modified time | relevance | path

Searched refs:tm_year (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/bionic/
Dtime64.c207 Year orig_year = (Year)date->tm_year; in timegm64()
264 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in check_tm()
273 assert(tm->tm_yday <= length_of_year[IS_LEAP(tm->tm_year)]); in check_tm()
378 dest->tm_year = (Year)src->tm_year; in copy_tm_to_TM()
410 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/libc/tzcode/
Dstrptime.c365 tm->tm_year = i - TM_YEAR_BASE; in _strptime()
399 tm->tm_year = cr->relyear + 2000 - TM_YEAR_BASE; in _strptime()
401 tm->tm_year = cr->relyear + 1900 - TM_YEAR_BASE; in _strptime()
403 tm->tm_year = cr->relyear + cr->century - TM_YEAR_BASE; in _strptime()
Dstrftime.c253 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
469 year = t->tm_year;
570 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1,
574 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
Dlocaltime.c1379 newy = tmp->tm_year;
1383 tmp->tm_year = newy;
1384 if (tmp->tm_year != newy)
1643 tmp->tm_year = y;
1644 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE))
1789 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 &&
1829 y = yourtm.tm_year;
1863 yourtm.tm_year = y;
1864 if (yourtm.tm_year != y)
/bionic/libc/kernel/common/linux/
Drtc.h29 int tm_year; member
/bionic/libc/include/
Dtime.h51 int tm_year; /* year */ member
/bionic/libc/netbsd/resolv/
Dres_debug.c1123 mytime->tm_year += 1900; in p_secstodate()
1126 mytime->tm_year, mytime->tm_mon, mytime->tm_mday, in p_secstodate()