Home
last modified time | relevance | path

Searched refs:mday (Results 1 – 25 of 29) sorted by relevance

12

/external/toybox/toys/posix/
Dcal.c36 int wday, mday, start, len, line; local
59 for (mday=line=0;line<6;line++) {
62 if (!mday ? wday==start : mday<len) {
65 tm->tm_mon == TT.now->tm_mon && mday == TT.now->tm_mday-1) {
68 mday++;
70 buf += sprintf(buf, pat, mday);
/external/u-boot/drivers/rtc/
Ds3c24x0_rtc.c46 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
58 mday = readb(&rtc->bcddate); in rtc_get()
79 year, mon, mday, wday, hour, min, sec); in rtc_get()
88 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get()
110 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local
120 mday = bin2bcd(tmp->tm_mday); in rtc_set()
132 writeb(mday, &rtc->bcddate); in rtc_set()
Dds3231.c68 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
76 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
82 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
95 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
177 uchar sec, min, hour, mday, wday, mon_cent, year, status; in ds3231_rtc_get() local
184 mday = dm_i2c_reg_read(dev, RTC_DATE_REG_ADDR); in ds3231_rtc_get()
200 tmp->tm_mday = bcd2bin(mday & 0x3F); in ds3231_rtc_get()
Dmax6900.c39 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local
46 mday = rtc_read (0x86); in rtc_get()
61 year, mon, cent, mday, wday, in rtc_get()
67 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
Ddavinci.c15 unsigned long sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
29 mday = readl(&rtc->day); in rtc_get()
36 year, mon_cent, mday, wday, in rtc_get()
42 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get()
Dpcf8563.c26 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local
31 mday = rtc_read (0x05); in rtc_get()
38 year, mon_cent, mday, wday, in rtc_get()
54 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
Dpt7c4338.c65 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in rtc_get() local
72 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get()
77 year, mon, mday, wday, hour, min, sec, ctl_stat); in rtc_get()
91 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get()
Dds164x.c55 uchar mday, wday, mon, year; in rtc_get() local
66 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
77 year, mon, mday, wday, in rtc_get()
83 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
Dds1337.c72 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local
80 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
91 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get()
104 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
Dds1556.c55 uchar mday, wday, mon, year; in rtc_get() local
68 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
80 year, century, mon, mday, wday, in rtc_get()
86 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
Dds174x.c50 uchar mday, wday, mon, year; in rtc_get() local
63 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
75 year, mon_cent, mday, wday, in rtc_get()
81 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get()
Dmk48t59.c78 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
90 mday = rtc_read (RTC_DAY_OF_MONTH); in rtc_get()
102 year, mon, mday, wday, in rtc_get()
108 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
Dmc146818.c84 uchar sec, min, hour, mday, wday __attribute__((unused)),mon, year; in mc146818_get() local
93 mday = mc146818_read8(RTC_DATE_OF_MONTH); in mc146818_get()
99 year, mon, mday, wday, hour, min, sec); in mc146818_get()
109 tmp->tm_mday = bcd2bin(mday & 0x3f); in mc146818_get()
Drx8025.c102 uchar sec, min, hour, mday, wday, mon, year, ctl2; local
118 mday = rtc_read(RTC_DATE_REG_ADDR);
124 year, mon, mday, wday, hour, min, sec);
151 tmp->tm_mday = bcd2bin (mday & 0x3F);
Dds1307.c82 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local
91 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
97 year, mon, mday, wday, hour, min, sec); in rtc_get()
128 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get()
Dds1306.c285 unsigned char sec, min, hour, mday, wday, mon, year; in rtc_get() local
306 mday = rtc_read (RTC_DATE_OF_MONTH); in rtc_get()
315 year, mon, mday, wday, hour, min, sec); in rtc_get()
336 tmp->tm_mday = bcd2bin (mday & 0x3F); /* convert Day of the Month */ in rtc_get()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIndianCalendar.java334 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
356 mday = yday - leapMonth; in handleComputeFields()
357 if (mday < (31 * 5)) { in handleComputeFields()
358 IndianMonth = mday / 31 + 1; in handleComputeFields()
359 IndianDayOfMonth = (mday % 31) + 1; in handleComputeFields()
361 mday -= 31 * 5; in handleComputeFields()
362 IndianMonth = mday / 30 + 6; in handleComputeFields()
363 IndianDayOfMonth = (mday % 30) + 1; in handleComputeFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java361 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
383 mday = yday - leapMonth; in handleComputeFields()
384 if (mday < (31 * 5)) { in handleComputeFields()
385 IndianMonth = mday / 31 + 1; in handleComputeFields()
386 IndianDayOfMonth = (mday % 31) + 1; in handleComputeFields()
388 mday -= 31 * 5; in handleComputeFields()
389 IndianMonth = mday / 30 + 6; in handleComputeFields()
390 IndianDayOfMonth = (mday % 30) + 1; in handleComputeFields()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp294 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
317 mday = yday - leapMonth; in handleComputeFields()
318 if (mday < (31 * 5)) { in handleComputeFields()
319 IndianMonth = (int32_t)uprv_floor(mday / 31) + 1; in handleComputeFields()
320 IndianDayOfMonth = (mday % 31) + 1; in handleComputeFields()
322 mday -= 31 * 5; in handleComputeFields()
323 IndianMonth = (int32_t)uprv_floor(mday / 30) + 6; in handleComputeFields()
324 IndianDayOfMonth = (mday % 30) + 1; in handleComputeFields()
/external/python/cpython2/Lib/
Dcookielib.py73 year, month, mday, hour, min, sec = tt[:6]
74 if ((year >= EPOCH_YEAR) and (1 <= month <= 12) and (1 <= mday <= 31) and
99 year, mon, mday, hour, min, sec = time.gmtime(t)[:6]
101 year, mon, mday, hour, min, sec)
115 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) =
Druntests.pl605 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/external/python/cpython3/Lib/http/
Dcookiejar.py74 year, month, mday, hour, min, sec = tt[:6]
75 if ((year >= EPOCH_YEAR) and (1 <= month <= 12) and (1 <= mday <= 31) and
/external/strace/
DCREDITS144 Matt Day <mday@artisoft.com>
/external/libpcap/
DCHANGES894 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).

12