Home
last modified time | relevance | path

Searched refs:wday (Results 1 – 25 of 31) sorted by relevance

12

/external/u-boot/drivers/rtc/
Ds3c24x0_rtc.c48 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
61 wday = readb(&rtc->bcdday); in rtc_get()
81 year, mon, mday, wday, hour, min, sec); in rtc_get()
93 tmp->tm_wday = bcd2bin(wday & 0x07); in rtc_get()
112 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local
121 wday = bin2bcd(tmp->tm_wday); in rtc_set()
135 writeb(wday, &rtc->bcdday); in rtc_set()
Dmax6900.c41 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local
50 wday = rtc_read (0x8a); in rtc_get()
63 year, mon, cent, mday, wday, in rtc_get()
72 tmp->tm_wday = bcd2bin (wday & 0x07); in rtc_get()
Ddavinci.c16 unsigned long sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
31 wday = readl(&rtc->dotw); in rtc_get()
37 year, mon_cent, mday, wday, in rtc_get()
46 tmp->tm_wday = bcd2bin(wday & 0x07); in rtc_get()
Dpcf8563.c28 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
34 wday = rtc_read (0x06); in rtc_get()
40 year, mon_cent, mday, wday, in rtc_get()
59 tmp->tm_wday = bcd2bin (wday & 0x07); in rtc_get()
Dpt7c4338.c65 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in rtc_get() local
71 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()
77 year, mon, mday, wday, hour, min, sec, ctl_stat); in rtc_get()
94 tmp->tm_wday = bcd2bin((wday - 1) & 0x07); in rtc_get()
Dds3231.c65 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
72 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
79 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
95 tmp->tm_wday = bcd2bin ((wday - 1) & 0x07); in rtc_get()
Dds1307.c83 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
91 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
98 year, mon, mday, wday, hour, min, sec); in rtc_get()
112 if (!(wday & MCP7941X_BIT_VBATEN)) { in rtc_get()
114 wday | MCP7941X_BIT_VBATEN); in rtc_get()
132 tmp->tm_wday = bcd2bin ((wday - 1) & 0x07); in rtc_get()
Dds1337.c74 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
81 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
93 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
109 tmp->tm_wday = bcd2bin ((wday - 1) & 0x07); in rtc_get()
Drx8025.c83 uchar sec, min, hour, mday, wday, mon, year, ctl2; in rtc_get() local
92 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()
99 year, mon, mday, wday, hour, min, sec); in rtc_get()
128 tmp->tm_wday = bcd2bin (wday & 0x07); in rtc_get()
Dds164x.c57 uchar mday, wday, mon, year; in rtc_get() local
69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
79 year, mon, mday, wday, in rtc_get()
87 tmp->tm_wday = bcd2bin( wday & 0x07 ); in rtc_get()
Dds1556.c55 uchar mday, wday, mon, year; in rtc_get() local
69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
80 year, century, mon, mday, wday, in rtc_get()
88 tmp->tm_wday = bcd2bin( wday & 0x07 ); in rtc_get()
Dds174x.c52 uchar mday, wday, mon, year; in rtc_get() local
66 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
77 year, mon_cent, mday, wday, in rtc_get()
85 tmp->tm_wday = bcd2bin( wday & 0x07 ); in rtc_get()
Dmk48t59.c80 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
93 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
104 year, mon, mday, wday, in rtc_get()
113 tmp->tm_wday = bcd2bin (wday & 0x07); in rtc_get()
Dmc146818.c86 uchar sec, min, hour, mday, wday, mon, year; in mc146818_get() local
96 wday = mc146818_read8(RTC_DAY_OF_WEEK); in mc146818_get()
101 year, mon, mday, wday, hour, min, sec); in mc146818_get()
114 tmp->tm_wday = bcd2bin(wday & 0x07); in mc146818_get()
Dds1306.c287 unsigned char sec, min, hour, mday, wday, mon, year; in rtc_get() local
309 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
317 year, mon, mday, wday, hour, min, sec); in rtc_get()
341 tmp->tm_wday = bcd2bin (wday & 0x07) - 1; /* convert Day of the Week */ in rtc_get()
Dftrtc010.c27 unsigned int wday; /* 0x30 */ member
/external/toybox/toys/posix/
Dcal.c29 int wday, mday, start, len, line; in calstrings() local
53 for (wday=0; wday<7; wday++) { in calstrings()
55 if (!mday ? wday==start : mday<len) { in calstrings()
/external/python/dateutil/dateutil/
Drrule.py586 for wday in byweekday:
587 if isinstance(wday, integer_types):
588 self._byweekday.add(wday)
589 elif not wday.n or freq > MONTHLY:
590 self._byweekday.add(wday.weekday)
592 self._bynweekday.add((wday.weekday, wday.n))
721 for wday in original_rule['byweekday']:
722 if wday.n:
724 n=wday.n,
725 wday=repr(wday)[0:2]))
[all …]
/external/icu/icu4c/source/tools/tzcode/
Dzic.c2043 register int wday = rp->r_wday; in stringrule() local
2050 wday -= wdayoff; in stringrule()
2060 wday -= wdayoff; in stringrule()
2065 if (wday < 0) in stringrule()
2066 wday += DAYSPERWEEK; in stringrule()
2068 rp->r_month + 1, week, wday); in stringrule()
3021 register zic_t wday; in rpytime() local
3024 wday = EPOCH_WDAY; in rpytime()
3029 wday = (wday + dayoff) % LDAYSPERWEEK; in rpytime()
3031 wday -= ((-dayoff) % LDAYSPERWEEK); in rpytime()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java1128 int wday; local
1129 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1130 if (value.equals(ICAL_DOW_NAMES[wday])) {
1134 if (wday < ICAL_DOW_NAMES.length) {
1136 dayOfWeek = wday + 1;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1159 int wday; local
1160 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1161 if (value.equals(ICAL_DOW_NAMES[wday])) {
1165 if (wday < ICAL_DOW_NAMES.length) {
1167 dayOfWeek = wday + 1;
/external/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/external/icu/icu4c/source/i18n/
Dvtzone.cpp469 int32_t wday; in parseRRULE() local
470 for (wday = 0; wday < 7; wday++) { in parseRRULE()
471 if (value.compare(ICAL_DOW_NAMES[wday], 2) == 0) { in parseRRULE()
475 if (wday < 7) { in parseRRULE()
477 dow = wday + 1; in parseRRULE()
/external/python/cpython2/Lib/
Dcookielib.py115 year, mon, mday, hour, min, sec, wday = time.gmtime(t)[:7]
117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec)
/external/curl/tests/
Dftpserver.pl205 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
211 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =

12