Searched refs:tm_wday (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/tzcode/ |
D | strftime.c | 231 pt = _add((t->tm_wday < 0 || in _fmt() 232 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 233 "?" : Locale->weekday[t->tm_wday], in _fmt() 237 pt = _add((t->tm_wday < 0 || in _fmt() 238 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 239 "?" : Locale->wday[t->tm_wday], in _fmt() 415 pt = _conv((t->tm_yday + DAYSPERWEEK - t->tm_wday) / DAYSPERWEEK, in _fmt() 425 pt = _conv((t->tm_wday == 0) ? DAYSPERWEEK : t->tm_wday, " ", pt, ptlim); in _fmt() 458 wday = t->tm_wday; in _fmt() 526 (t->tm_yday + DAYSPERWEEK - (t->tm_wday ? (t->tm_wday - 1) : (DAYSPERWEEK - 1))) / in _fmt() [all …]
|
D | asctime.c | 82 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 84 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
|
D | strptime.c | 236 tm->tm_wday = i; in _strptime() 379 if (!(_conv_num(&bp, &tm->tm_wday, 0, 6))) in _strptime() 388 tm->tm_wday = i % 7; in _strptime() 578 tm->tm_wday = EPOCH_WDAY + in _strptime() 584 tm->tm_wday %= DAYSPERWEEK; in _strptime() 585 if (tm->tm_wday < 0) in _strptime() 586 tm->tm_wday += DAYSPERWEEK; in _strptime()
|
D | localtime.c | 1868 tmp->tm_wday = (TM_WDAY_BASE in timesub() 1874 tmp->tm_wday %= DAYSPERWEEK; in timesub() 1875 if (tmp->tm_wday < 0) in timesub() 1876 tmp->tm_wday += DAYSPERWEEK; in timesub() 2393 tmcpy.tm_wday = -1; in timegm() 2395 if (0 <= tmcpy.tm_wday) in timegm()
|
/bionic/libc/bionic/ |
D | time64.c | 263 assert(tm->tm_wday >= 0); in check_tm() 264 assert(tm->tm_wday <= 6); in check_tm() 374 dest->tm_wday = src->tm_wday; in copy_tm_to_TM() 406 dest->tm_wday = src->tm_wday; in copy_TM_to_tm() 640 p->tm_wday = v_tm_wday; in gmtime64_r() 739 if( 0 <= date->tm_wday && date->tm_wday <= 6 ) in valid_tm_wday() 774 wday_name[date->tm_wday], in asctime64_r()
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 19 int tm_wday; member
|
/bionic/tests/headers/posix/ |
D | time_h.c | 54 STRUCT_MEMBER(struct tm, int, tm_wday); in time_h()
|
/bionic/libc/include/ |
D | time.h | 88 int tm_wday; member
|
/bionic/tests/ |
D | time_test.cpp | 502 EXPECT_EQ(2, tm.tm_wday); in TEST() 1268 EXPECT_EQ(5, tm.tm_wday); in TEST() 1283 EXPECT_EQ(5, tm.tm_wday); in TEST()
|