Searched refs:tm_mon (Results 1 – 12 of 12) sorted by relevance
/bionic/libc/bionic/ |
D | time64.c | 231 days += julian_days_by_month[IS_LEAP(orig_year)][date->tm_mon]; in timegm64() 258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in check_tm() 260 assert(tm->tm_mon >= 0); in check_tm() 261 assert(tm->tm_mon <= 11); in check_tm() 372 dest->tm_mon = src->tm_mon; in copy_tm_to_TM() 404 dest->tm_mon = src->tm_mon; in copy_TM_to_tm() 639 p->tm_mon = v_tm_mon; in gmtime64_r() 707 month_diff = local_tm->tm_mon - gm_tm.tm_mon; in localtime64_r() 746 if( 0 <= date->tm_mon && date->tm_mon <= 11 ) in valid_tm_mon() 775 mon_name[date->tm_mon], in asctime64_r()
|
/bionic/libc/tzcode/ |
D | asctime.c | 91 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r() 93 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
|
D | strftime.c | 241 pt = _add((t->tm_mon < 0 || in _fmt() 242 t->tm_mon >= MONSPERYEAR) ? in _fmt() 243 "?" : Locale->month[t->tm_mon], in _fmt() 248 pt = _add((t->tm_mon < 0 || in _fmt() 249 t->tm_mon >= MONSPERYEAR) ? in _fmt() 250 "?" : Locale->mon[t->tm_mon], in _fmt() 354 pt = _conv(t->tm_mon + 1, getformat(modifier, "02", " 2", " ", "02"), pt, ptlim); in _fmt() 488 t->tm_mon == TM_JANUARY) || in _fmt() 490 t->tm_mon == TM_DECEMBER)) in _fmt()
|
D | strptime.c | 260 tm->tm_mon = i; in _strptime() 318 if (!(_conv_num(&bp, &tm->tm_mon, 1, 12))) in _strptime() 320 tm->tm_mon--; in _strptime() 570 for (i = 0; i < tm->tm_mon; i++) in _strptime() 588 tm->tm_mon = 0; in _strptime() 589 while (tm->tm_mon < MONSPERYEAR && days >= mon_lens[tm->tm_mon]) in _strptime() 590 days -= mon_lens[tm->tm_mon++]; in _strptime()
|
D | localtime.c | 1861 for (tmp->tm_mon = 0; idays >= ip[tmp->tm_mon]; ++(tmp->tm_mon)) in timesub() 1862 idays -= ip[tmp->tm_mon]; in timesub() 1985 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 && in tmcomp() 2025 if (normalize_overflow32(&y, &yourtm.tm_mon, MONSPERYEAR)) in time2sub() 2036 li = y + (1 < yourtm.tm_mon); in time2sub() 2040 li = y + (1 < yourtm.tm_mon); in time2sub() 2046 i = mon_lengths[isleap(y)][yourtm.tm_mon]; in time2sub() 2050 if (++yourtm.tm_mon >= MONSPERYEAR) { in time2sub() 2051 yourtm.tm_mon = 0; in time2sub()
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 166 pt = _add((t->tm_mon < 0 || in _fmt() 167 t->tm_mon >= MONSPERYEAR) ? in _fmt() 168 UNKNOWN : Locale->month[t->tm_mon], in _fmt() 173 pt = _add((t->tm_mon < 0 || in _fmt() 174 t->tm_mon >= MONSPERYEAR) ? in _fmt() 175 UNKNOWN : Locale->mon[t->tm_mon], in _fmt() 266 pt = _conv(t->tm_mon + 1, L"%02d", pt, ptlim); in _fmt() 389 if ((w == 52 && t->tm_mon == TM_JANUARY) || in _fmt() 390 (w == 1 && t->tm_mon == TM_DECEMBER)) in _fmt()
|
/bionic/tests/ |
D | time_test.cpp | 70 ASSERT_EQ(0, broken_down->tm_mon); in TEST() 83 ASSERT_EQ(0, broken_down->tm_mon); in TEST() 88 struct tm tm = {.tm_year = 70, .tm_mon = 0, .tm_mday = 1}; in TEST() 129 t.tm_mon = 6; in TEST() 138 t.tm_mon = 6; in TEST() 147 struct tm tm = {.tm_year = 2100 - 1900, .tm_mon = 2, .tm_mday = 10}; in TEST() 177 t.tm_mon = 2; in TEST() 198 t.tm_mon = 11; in TEST() 213 struct tm tm = {.tm_year = 2150 - 1900, .tm_mon = 2, .tm_mday = 10, .tm_isdst = -1}; in TEST() 235 t.tm_mon = 2; in TEST() [all …]
|
D | wchar_test.cpp | 580 t.tm_mon = 2; in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 29 int tm_mon; member
|
/bionic/tests/headers/posix/ |
D | time_h.c | 52 STRUCT_MEMBER(struct tm, int, tm_mon); in time_h()
|
/bionic/libc/include/ |
D | time.h | 51 int tm_mon; member
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 1192 mytime->tm_mon += 1; in p_secstodate() 1194 mytime->tm_year, mytime->tm_mon, mytime->tm_mday, in p_secstodate()
|