Home
last modified time | relevance | path

Searched refs:tm_wday (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dstrftime.c146 pt = _add((t->tm_wday < 0 || in _fmt()
147 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
148 "?" : Locale->day[t->tm_wday], in _fmt()
152 pt = _add((t->tm_wday < 0 || in _fmt()
153 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
154 "?" : Locale->abday[t->tm_wday], in _fmt()
313 t->tm_wday) / DAYSPERWEEK, in _fmt()
323 pt = _conv((t->tm_wday == 0) ? in _fmt()
324 DAYSPERWEEK : t->tm_wday, in _fmt()
356 wday = t->tm_wday; in _fmt()
[all …]
DTime.c154 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); in timesub()
155 if (tmp->tm_wday < 0) in timesub()
156 tmp->tm_wday += DAYSPERWEEK; in timesub()
630 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime()
632 else wn = wday_name[timeptr->tm_wday]; in asctime()
Dstrptime.c181 bp = find_string(bp, &tm->tm_wday, _ctloc(day), in strptime()
275 bp = conv_num(bp, &tm->tm_wday, 0, 6); in strptime()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dtimemodule.c262 SET(6, (p->tm_wday + 6) % 7); /* Want Monday == 0 */ in tmtotuple()
361 &p->tm_wday, in gettmarg()
386 p->tm_wday = (p->tm_wday + 1) % 7; in gettmarg()
463 if (buf.tm_wday < 0) { in time_strftime()
635 buf.tm_wday = -1; /* sentinel; original value ignored */ in time_mktime()
639 if (tt == (time_t)(-1) && buf.tm_wday == -1) { in time_mktime()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtimemodule.c262 SET(6, (p->tm_wday + 6) % 7); /* Want Monday == 0 */ in tmtotuple()
361 &p->tm_wday, in gettmarg()
386 p->tm_wday = (p->tm_wday + 1) % 7; in gettmarg()
463 if (buf.tm_wday < 0) { in time_strftime()
635 buf.tm_wday = -1; /* sentinel; original value ignored */ in time_mktime()
639 if (tt == (time_t)(-1) && buf.tm_wday == -1) { in time_mktime()
/device/linaro/bootloader/edk2/StdLib/Include/
Dtime.h148 int tm_wday; // days since Sunday [0, 6] member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_strptime.py438 self.assertTrue(result.tm_wday == self.time_tuple.tm_wday,
440 "%s != %s" % (result.tm_wday, self.time_tuple.tm_wday))
Dtest_datetime.py959 self.assertEqual(t.tm_wday, (3+i)%7)
1573 self.assertEqual(tt.tm_wday, t.weekday())
2739 self.assertEqual(0, t.tm_wday)
2786 self.assertEqual(d.weekday(), t.tm_wday)
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DTimerWrapper.c140 GmTime->tm_wday = (int) ((DayNo + 4) % 7); in gmtime()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/
Dtime.h132 int tm_wday; /* days since Sunday [0-6] */ member
/device/linaro/bootloader/edk2/CryptoPkg/Include/
DOpenSslSupport.h134 int tm_wday; /* days since Sunday [0-6] */ member
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dloslib.c215 setfield(L, "wday", stm->tm_wday+1); in os_date()