Searched refs:tm_wday (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 154 pt = _add((t->tm_wday < 0 || in _fmt() 155 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 156 UNKNOWN : Locale->weekday[t->tm_wday], in _fmt() 160 pt = _add((t->tm_wday < 0 || in _fmt() 161 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 162 UNKNOWN : Locale->wday[t->tm_wday], in _fmt() 309 t->tm_wday) / DAYSPERWEEK, in _fmt() 319 pt = _conv((t->tm_wday == 0) ? in _fmt() 320 DAYSPERWEEK : t->tm_wday, in _fmt() 354 wday = t->tm_wday; in _fmt() [all …]
|
/bionic/libc/tzcode/ |
D | strftime.c | 229 pt = _add((t->tm_wday < 0 || in _fmt() 230 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 231 "?" : Locale->weekday[t->tm_wday], in _fmt() 235 pt = _add((t->tm_wday < 0 || in _fmt() 236 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 237 "?" : Locale->wday[t->tm_wday], in _fmt() 404 pt = _conv((t->tm_yday + DAYSPERWEEK - t->tm_wday) / DAYSPERWEEK, in _fmt() 414 pt = _conv((t->tm_wday == 0) ? DAYSPERWEEK : t->tm_wday, " ", pt, ptlim); in _fmt() 447 wday = t->tm_wday; in _fmt() 515 (t->tm_yday + DAYSPERWEEK - (t->tm_wday ? (t->tm_wday - 1) : (DAYSPERWEEK - 1))) / in _fmt() [all …]
|
D | asctime.c | 88 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 90 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
|
D | strptime.c | 235 tm->tm_wday = i; in _strptime() 378 if (!(_conv_num(&bp, &tm->tm_wday, 0, 6))) in _strptime() 387 tm->tm_wday = i % 7; in _strptime() 577 tm->tm_wday = EPOCH_WDAY + in _strptime() 583 tm->tm_wday %= DAYSPERWEEK; in _strptime() 584 if (tm->tm_wday < 0) in _strptime() 585 tm->tm_wday += DAYSPERWEEK; in _strptime()
|
D | localtime.c | 1842 tmp->tm_wday = (TM_WDAY_BASE in timesub() 1848 tmp->tm_wday %= DAYSPERWEEK; in timesub() 1849 if (tmp->tm_wday < 0) in timesub() 1850 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
/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 | 31 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 | 53 int tm_wday; member
|
/bionic/tests/ |
D | time_test.cpp | 483 EXPECT_EQ(2, tm.tm_wday); in TEST() 1229 EXPECT_EQ(5, tm.tm_wday); in TEST() 1244 EXPECT_EQ(5, tm.tm_wday); in TEST()
|