Searched refs:tm_year (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/bionic/
H A Dtime64.c200 Year orig_year = (Year)date->tm_year;
258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]);
267 assert(tm->tm_yday <= length_of_year[IS_LEAP(tm->tm_year)]);
373 dest->tm_year = (Year)src->tm_year;
405 dest->tm_year = (int)src->tm_year;
490 Year year = input_date->tm_year + 1900;
499 date.tm_year = safe_year(year) - 1900;
504 time += seconds_between_years(year, (Year)(safe_date.tm_year
[all...]
/bionic/libc/kernel/uapi/linux/
H A Drtc.h27 int tm_year; member in struct:rtc_time
/bionic/libc/tzcode/
H A Dstrptime.c386 tm->tm_year = i - TM_YEAR_BASE;
420 tm->tm_year = cr->relyear + 2000 - TM_YEAR_BASE;
422 tm->tm_year = cr->relyear + 1900 - TM_YEAR_BASE;
424 tm->tm_year = cr->relyear + cr->century - TM_YEAR_BASE;
H A Dstrftime.c237 pt = _yconv(t->tm_year, TM_YEAR_BASE,
420 year = t->tm_year;
516 pt = _yconv(t->tm_year, TM_YEAR_BASE,
521 pt = _yconv(t->tm_year, TM_YEAR_BASE,
H A Dlocaltime.c1436 newy = result->tm_year;
1442 result->tm_year = newy;
1671 tmp->tm_year = y;
1672 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE))
1822 if (atmp->tm_year != btmp->tm_year)
1823 return atmp->tm_year < btmp->tm_year ? -1 : 1;
1863 y = yourtm.tm_year;
1899 yourtm.tm_year
[all...]
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Drtc.h27 int tm_year; member in struct:rtc_time
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Drtc.h27 int tm_year; member in struct:rtc_time
/bionic/tests/
H A Dtime_test.cpp68 ASSERT_EQ(1970, broken_down->tm_year + 1900);
81 ASSERT_EQ(1970, broken_down->tm_year + 1900);
115 t.tm_year = 1980 - 1900;
124 t.tm_year = 1980 - 1900;
136 t.tm_year = 200;
167 t.tm_year = 2016 - 1900;
177 t.tm_year = INT_MAX;
189 t.tm_year = 200;
252 t.tm_year = 200;
878 const struct tm tm0 = { .tm_year
[all...]
H A Dwchar_test.cpp547 t.tm_year = 200;
/bionic/libc/include/
H A Dtime.h52 int tm_year; member in struct:tm
/bionic/libc/upstream-openbsd/lib/libc/time/
H A Dwcsftime.c186 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
351 year = t->tm_year;
435 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1, pt, ptlim);
438 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1, pt, ptlim);
/bionic/tests/headers/posix/
H A Dtime_h.c53 STRUCT_MEMBER(struct tm, int, tm_year);
/bionic/tools/versioner/current/
H A Dtime.h52 int tm_year; member in struct:tm
/bionic/libc/dns/resolv/
H A Dres_debug.c1173 mytime->tm_year += 1900;
1176 mytime->tm_year, mytime->tm_mon, mytime->tm_mday,

Completed in 948 milliseconds