Searched refs:tm_mon (Results 1 – 12 of 12) sorted by relevance
/bionic/libc/tzcode/ |
D | asctime.c | 93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r() 95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
|
D | strftime.c | 217 pt = _add((t->tm_mon < 0 || in _fmt() 218 t->tm_mon >= MONSPERYEAR) ? in _fmt() 219 "?" : Locale->month[t->tm_mon], in _fmt() 224 pt = _add((t->tm_mon < 0 || in _fmt() 225 t->tm_mon >= MONSPERYEAR) ? in _fmt() 226 "?" : Locale->mon[t->tm_mon], in _fmt() 332 … pt = _conv(t->tm_mon + 1, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _fmt() 464 t->tm_mon == TM_JANUARY) || in _fmt() 466 t->tm_mon == TM_DECEMBER)) in _fmt()
|
D | strptime.c | 277 tm->tm_mon = i; in _strptime() 329 if (!(_conv_num(&bp, &tm->tm_mon, 1, 12))) in _strptime() 331 tm->tm_mon--; in _strptime()
|
D | localtime.c | 1696 for (tmp->tm_mon = 0; idays >= ip[tmp->tm_mon]; ++(tmp->tm_mon)) in timesub() 1697 idays -= ip[tmp->tm_mon]; in timesub() 1824 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 && in tmcomp() 1864 if (normalize_overflow32(&y, &yourtm.tm_mon, MONSPERYEAR)) in time2sub() 1875 li = y + (1 < yourtm.tm_mon); in time2sub() 1879 li = y + (1 < yourtm.tm_mon); in time2sub() 1885 i = mon_lengths[isleap(y)][yourtm.tm_mon]; in time2sub() 1889 if (++yourtm.tm_mon >= MONSPERYEAR) { in time2sub() 1890 yourtm.tm_mon = 0; in time2sub()
|
/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() 634 p->tm_mon = v_tm_mon; in gmtime64_r() 702 month_diff = local_tm->tm_mon - gm_tm.tm_mon; in localtime64_r() 741 if( 0 <= date->tm_mon && date->tm_mon <= 11 ) in valid_tm_mon() 770 mon_name[date->tm_mon], in asctime64_r()
|
/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 | 69 ASSERT_EQ(0, broken_down->tm_mon); in TEST() 82 ASSERT_EQ(0, broken_down->tm_mon); in TEST() 118 t.tm_mon = 6; in TEST() 127 t.tm_mon = 6; in TEST() 139 t.tm_mon = 2; in TEST() 171 t.tm_mon = 2; in TEST() 192 t.tm_mon = 2; in TEST() 255 t.tm_mon = 2; in TEST() 307 EXPECT_EQ(2, tm.tm_mon); in TEST() 347 EXPECT_EQ(2, tm.tm_mon); in TEST() [all …]
|
D | wchar_test.cpp | 578 t.tm_mon = 2; in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 28 int tm_mon; member
|
/bionic/libc/include/ |
D | time.h | 51 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/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()
|