Searched refs:tm_wday (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/tzcode/ |
D | strftime.c | 205 pt = _add((t->tm_wday < 0 || in _fmt() 206 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 207 "?" : Locale->weekday[t->tm_wday], in _fmt() 211 pt = _add((t->tm_wday < 0 || in _fmt() 212 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 213 "?" : Locale->wday[t->tm_wday], in _fmt() 378 t->tm_wday) / DAYSPERWEEK, in _fmt() 388 pt = _conv((t->tm_wday == 0) ? in _fmt() 389 DAYSPERWEEK : t->tm_wday, in _fmt() 423 wday = t->tm_wday; in _fmt() [all …]
|
D | asctime.c | 90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 92 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
|
D | strptime.c | 239 tm->tm_wday = i; in _strptime() 389 if (!(_conv_num(&bp, &tm->tm_wday, 0, 6))) in _strptime() 397 tm->tm_wday = i % 7; in _strptime()
|
D | localtime.c | 1678 tmp->tm_wday = EPOCH_WDAY + in timesub() 1684 tmp->tm_wday %= DAYSPERWEEK; in timesub() 1685 if (tmp->tm_wday < 0) in timesub() 1686 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
/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/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() 635 p->tm_wday = v_tm_wday; in gmtime64_r() 734 if( 0 <= date->tm_wday && date->tm_wday <= 6 ) in valid_tm_wday() 769 wday_name[date->tm_wday], in asctime64_r()
|
/bionic/libc/kernel/uapi/linux/ |
D | rtc.h | 28 int tm_wday; member
|
/bionic/libc/include/ |
D | time.h | 53 int tm_wday; member
|
/bionic/tests/headers/posix/ |
D | time_h.c | 54 STRUCT_MEMBER(struct tm, int, tm_wday); in time_h()
|
/bionic/tests/ |
D | time_test.cpp | 340 EXPECT_EQ(2, tm.tm_wday); in TEST() 974 EXPECT_EQ(5, tm.tm_wday); in TEST() 989 EXPECT_EQ(5, tm.tm_wday); in TEST()
|