/third_party/musl/libc-test/src/functional/ |
D | strptime.c | 27 tm.tm_mday != expected->tm_mday || in checkStrptime() 57 .tm_mday = 0, 66 .tm_mday = 25, 75 .tm_mday = 21, 84 .tm_mday = 10,
|
D | strftime.c | 24 .tm_mday = 3, 36 .tm_mday = 5, 48 .tm_mday = 23, 60 .tm_mday = 1, 72 .tm_mday = 1,
|
D | time.c | 18 tm1.tm_mday != tm2.tm_mday || in tm_cmp() 34 tm.tm_mday, tm.tm_mon, tm.tm_year, in tm_str() 41 .tm_mday = md, .tm_mon = mo, .tm_year = yr, \
|
/third_party/uboot/u-boot-2020.01/drivers/rtc/ |
D | rv8803.c | 43 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in rv8803_rtc_set() 52 buf[RTC_DATE_REG_ADDR] = bin2bcd(tm->tm_mday); in rv8803_rtc_set() 90 tm->tm_mday = bcd2bin(buf[RTC_DATE_REG_ADDR] & 0x3F); in rv8803_rtc_get() 98 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in rv8803_rtc_get() 110 .tm_mday = 1, in rv8803_rtc_reset() 136 tmp.tm_year, tmp.tm_mon, tmp.tm_mday, in rv8803_rtc_reset()
|
D | ds3231.c | 95 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 103 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 118 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 127 rtc_write (RTC_DATE_REG_ADDR, bin2bcd (tmp->tm_mday)); in rtc_set() 200 tmp->tm_mday = bcd2bin(mday & 0x3F); in ds3231_rtc_get() 208 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in ds3231_rtc_get() 219 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in ds3231_rtc_set() 228 dm_i2c_reg_write(dev, RTC_DATE_REG_ADDR, bin2bcd(tmp->tm_mday)); in ds3231_rtc_set()
|
D | max6900.c | 67 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 75 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 85 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 94 rtc_write (0x86, bin2bcd(tmp->tm_mday)); in rtc_set()
|
D | ds1307.c | 128 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 136 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 149 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 163 rtc_write (RTC_DATE_REG_ADDR, bin2bcd (tmp->tm_mday)); in rtc_set() 216 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in ds1307_rtc_set() 225 buf[RTC_DATE_REG_ADDR] = bin2bcd(tm->tm_mday); in ds1307_rtc_set() 296 tm->tm_mday = bcd2bin(buf[RTC_DATE_REG_ADDR] & 0x3F); in ds1307_rtc_get() 306 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in ds1307_rtc_get()
|
D | ds1306.c | 100 tmp->tm_mday = bcd2bin (soft_spi_read ()); /* Read Day of the Month */ in rtc_get() 113 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 153 soft_spi_send (bin2bcd (tmp->tm_mday)); /* Send Day of Month */ in rtc_set() 187 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 336 tmp->tm_mday = bcd2bin (mday & 0x3F); /* convert Day of the Month */ in rtc_get() 344 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 367 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 374 rtc_write (RTC_DATE_OF_MONTH, bin2bcd (tmp->tm_mday)); in rtc_set()
|
D | pcf8563.c | 54 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 62 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 73 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 82 rtc_write (0x05, bin2bcd(tmp->tm_mday)); in rtc_set()
|
D | sandbox_rtc.c | 26 time->tm_mday = dm_i2c_reg_read(dev, REG_MDAY); in sandbox_rtc_get() 27 if (time->tm_mday < 0) in sandbox_rtc_get() 28 return time->tm_mday; in sandbox_rtc_get() 56 ret = dm_i2c_reg_write(dev, REG_MDAY, time->tm_mday); in sandbox_rtc_set()
|
D | davinci.c | 42 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get() 50 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 61 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 67 writel(bin2bcd(tmp->tm_mday), &rtc->day); in rtc_set()
|
D | pt7c4338.c | 91 tmp->tm_mday = bcd2bin(mday & 0x3F); in rtc_get() 98 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 108 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 114 rtc_write(RTC_DATE_REG_ADDR, bin2bcd(tmp->tm_mday)); in rtc_set()
|
D | m48t35ax.c | 55 tmp->tm_mday = bcd2bin (date & 0x3F); in rtc_get() 63 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 75 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 85 rtc_write (0x05, bin2bcd(tmp->tm_mday)); in rtc_set()
|
D | x1205.c | 102 tm->tm_mday = bcd2bin(buf[CCR_MDAY]); in rtc_get() 112 tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); in rtc_get() 123 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in rtc_set() 132 buf[CCR_MDAY] = bin2bcd(tm->tm_mday); in rtc_set()
|
D | s35392a.c | 139 if ((tm->tm_mday < 1) || (tm->tm_mday > 31)) in validate_time() 217 tm->tm_mday = bcd2bin(date[S35390A_BYTE_DAY]); in s35392a_rtc_get() 222 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in s35392a_rtc_get() 236 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, in s35392a_rtc_set() 256 date[S35390A_BYTE_DAY] = bin2bcd(tm->tm_mday); in s35392a_rtc_set()
|
D | m41t11.c | 86 tmp->tm_mday = bcd2bin (data[RTC_DATE_ADDR] & 0x3F); in rtc_get() 113 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 124 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 130 data[RTC_DATE_ADDR] = bin2bcd(tmp->tm_mday) & 0x3F; in rtc_set()
|
D | ds1337.c | 104 tmp->tm_mday = bcd2bin (mday & 0x3F); in rtc_get() 112 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 127 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 136 rtc_write (RTC_DATE_REG_ADDR, bin2bcd (tmp->tm_mday)); in rtc_set()
|
D | ds164x.c | 83 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get() 94 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 107 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 117 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
|
D | ds1556.c | 86 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get() 98 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 109 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 119 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
|
D | rs5c372.c | 130 dt->tm_mday = bcd2bin(buf[5]); in rs5c372_convert_to_time() 145 printf("rs5c372_convert_to_time: mday = %d\n", dt->tm_mday); in rs5c372_convert_to_time() 198 printf("rtc_set: tm_mday = %d\n", tmp->tm_mday); in rtc_set() 230 buf[5] = bin2bcd(tmp->tm_mday); in rtc_set()
|
D | isl1208.c | 100 tmp->tm_mday = bcd2bin(buf[RTC_DATE_REG_ADDR] & 0x3F); in isl1208_rtc_get() 108 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in isl1208_rtc_get() 123 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in isl1208_rtc_set() 143 buf[RTC_DATE_REG_ADDR] = bin2bcd(tmp->tm_mday); in isl1208_rtc_set()
|
D | ds174x.c | 81 tmp->tm_mday = bcd2bin( mday & 0x3F ); in rtc_get() 93 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_get() 104 tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday, in rtc_set() 114 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
D | 1-1.c | 53 if ((tm_ptr->tm_mday >= 1) && (tm_ptr->tm_mday <= 31)) { in main() 54 printf("mday %02d\n", tm_ptr->tm_mday); in main()
|
/third_party/boost/libs/locale/src/util/ |
D | gregorian.cpp | 88 int day = t->tm_mday; in internal_timegm() 181 tm_updated_.tm_mday = value; in set_value() 200 tm_updated_.tm_mday += (value - (tm_updated_.tm_yday + 1)); in set_value() 210 … tm_updated_.tm_mday += (value - 1) - (tm_updated_.tm_wday - first_day_of_week_ + 7) % 7; in set_value() 219 tm_updated_.tm_mday += diff; in set_value() 361 return tm_.tm_mday; in get_value() 519 … int dow_of_end_of_month = (end_of_month_days - tm_.tm_mday + tm_.tm_wday) % 7; in get_value() 524 int val = get_week_number(tm_.tm_mday,tm_.tm_wday); in get_value() 549 return (tm_.tm_mday - 1) / 7 + 1; in get_value() 624 tm_updated_.tm_mday +=difference; in adjust_value() [all …]
|
/third_party/uboot/u-boot-2020.01/lib/ |
D | date.c | 59 tm->tm_mday; in rtc_calc_weekday() 94 367 * mon / 12 + tm->tm_mday) + in rtc_mktime() 112 time.tm_mday = day; in mktime64()
|