| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/parsedate/ |
| H A D | parsedate.cpp | 240 static int parsedate(const char *date, time_t *output); 388 static void skip(const char **date) in skip() argument 391 while(**date && !ISALNUM(**date)) in skip() 392 (*date)++; in skip() 459 static int parsedate(const char *date, time_t *output) in parsedate() argument 472 const char *indate = date; /* save the original pointer */ in parsedate() 475 while(*date && (part < 6)) { in parsedate() 478 skip(&date); in parsedate() 480 if(ISALPHA(*date)) { in parsedate() 484 if(sscanf(date, "%31[ABCDEFGHIJKLMNOPQRSTUVWXYZ" in parsedate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-rx4581.c | 97 unsigned char date[7]; in rx4581_get_datetime() local 125 date[0] = 0x80; in rx4581_get_datetime() 126 err = spi_write_then_read(spi, date, 1, date, 7); in rx4581_get_datetime() 148 date[0], date[1], date[2], date[3], date[4], date[5], date[6]); in rx4581_get_datetime() 150 tm->tm_sec = bcd2bin(date[RX4581_REG_SC] & 0x7F); in rx4581_get_datetime() 151 tm->tm_min = bcd2bin(date[RX4581_REG_MN] & 0x7F); in rx4581_get_datetime() 152 tm->tm_hour = bcd2bin(date[RX4581_REG_HR] & 0x3F); /* rtc hr 0-23 */ in rx4581_get_datetime() 153 tm->tm_wday = ilog2(date[RX4581_REG_DW] & 0x7F); in rx4581_get_datetime() 154 tm->tm_mday = bcd2bin(date[RX4581_REG_DM] & 0x3F); in rx4581_get_datetime() 155 tm->tm_mon = bcd2bin(date[RX4581_REG_MO] & 0x1F) - 1; /* rtc mn 1-12 */ in rx4581_get_datetime() [all …]
|
| H A D | rtc-rx8581.c | 73 unsigned char date[7]; in rx8581_rtc_read_time() local 103 err = regmap_bulk_read(rx8581->regmap, RX8581_REG_SC, date, in rx8581_rtc_read_time() 104 sizeof(date)); in rx8581_rtc_read_time() 117 date[0], date[1], date[2], date[3], date[4], date[5], date[6]); in rx8581_rtc_read_time() 119 tm->tm_sec = bcd2bin(date[RX8581_REG_SC] & 0x7F); in rx8581_rtc_read_time() 120 tm->tm_min = bcd2bin(date[RX8581_REG_MN] & 0x7F); in rx8581_rtc_read_time() 121 tm->tm_hour = bcd2bin(date[RX8581_REG_HR] & 0x3F); /* rtc hr 0-23 */ in rx8581_rtc_read_time() 122 tm->tm_wday = ilog2(date[RX8581_REG_DW] & 0x7F); in rx8581_rtc_read_time() 123 tm->tm_mday = bcd2bin(date[RX8581_REG_DM] & 0x3F); in rx8581_rtc_read_time() 124 tm->tm_mon = bcd2bin(date[RX8581_REG_MO] & 0x1F) - 1; /* rtc mn 1-12 */ in rx8581_rtc_read_time() [all …]
|
| H A D | rtc-rx8010.c | 110 u8 date[RX8010_YEAR - RX8010_SEC + 1]; in rx8010_get_time() local 122 err = regmap_bulk_read(rx8010->regs, RX8010_SEC, date, sizeof(date)); in rx8010_get_time() 126 dt->tm_sec = bcd2bin(date[RX8010_SEC - RX8010_SEC] & 0x7f); in rx8010_get_time() 127 dt->tm_min = bcd2bin(date[RX8010_MIN - RX8010_SEC] & 0x7f); in rx8010_get_time() 128 dt->tm_hour = bcd2bin(date[RX8010_HOUR - RX8010_SEC] & 0x3f); in rx8010_get_time() 129 dt->tm_mday = bcd2bin(date[RX8010_MDAY - RX8010_SEC] & 0x3f); in rx8010_get_time() 130 dt->tm_mon = bcd2bin(date[RX8010_MONTH - RX8010_SEC] & 0x1f) - 1; in rx8010_get_time() 131 dt->tm_year = bcd2bin(date[RX8010_YEAR - RX8010_SEC]) + 100; in rx8010_get_time() 132 dt->tm_wday = ffs(date[RX8010_WDAY - RX8010_SEC] & 0x7f); in rx8010_get_time() 140 u8 date[RX8010_YEAR - RX8010_SEC + 1]; in rx8010_set_time() local [all …]
|
| H A D | rtc-rx8025.c | 182 u8 date[7]; in rx8025_get_time() local 189 err = rx8025_read_regs(client, RX8025_REG_SEC, 7, date); in rx8025_get_time() 193 dev_dbg(dev, "%s: read %7ph\n", __func__, date); in rx8025_get_time() 195 dt->tm_sec = bcd2bin(date[RX8025_REG_SEC] & 0x7f); in rx8025_get_time() 196 dt->tm_min = bcd2bin(date[RX8025_REG_MIN] & 0x7f); in rx8025_get_time() 198 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x3f); in rx8025_get_time() 200 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x1f) % 12 in rx8025_get_time() 201 + (date[RX8025_REG_HOUR] & 0x20 ? 12 : 0); in rx8025_get_time() 203 dt->tm_mday = bcd2bin(date[RX8025_REG_MDAY] & 0x3f); in rx8025_get_time() 204 dt->tm_mon = bcd2bin(date[RX8025_REG_MONTH] & 0x1f) - 1; in rx8025_get_time() [all …]
|
| H A D | rtc-rv3028.c | 119 u8 date[6]; in timestamp0_show() local 128 ret = regmap_bulk_read(rv3028->regmap, RV3028_TS_SEC, date, in timestamp0_show() 129 sizeof(date)); in timestamp0_show() 133 tm.tm_sec = bcd2bin(date[0]); in timestamp0_show() 134 tm.tm_min = bcd2bin(date[1]); in timestamp0_show() 135 tm.tm_hour = bcd2bin(date[2]); in timestamp0_show() 136 tm.tm_mday = bcd2bin(date[3]); in timestamp0_show() 137 tm.tm_mon = bcd2bin(date[4]) - 1; in timestamp0_show() 138 tm.tm_year = bcd2bin(date[5]) + 100; in timestamp0_show() 307 u8 date[7]; in rv3028_get_time() local [all …]
|
| H A D | rtc-spear.c | 205 unsigned int time, date; in spear_rtc_read_time() local 211 date = readl(config->ioaddr + DATE_REG); in spear_rtc_read_time() 215 tm->tm_mday = (date >> MDAY_SHIFT) & DAY_MASK; in spear_rtc_read_time() 216 tm->tm_mon = (date >> MONTH_SHIFT) & MONTH_MASK; in spear_rtc_read_time() 217 tm->tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; in spear_rtc_read_time() 234 unsigned int time, date; in spear_rtc_set_time() local 241 date = (tm->tm_mday << MDAY_SHIFT) | (tm->tm_mon << MONTH_SHIFT) | in spear_rtc_set_time() 244 writel(date, config->ioaddr + DATE_REG); in spear_rtc_set_time() 260 unsigned int time, date; in spear_rtc_read_alarm() local 265 date = readl(config->ioaddr + ALARM_DATE_REG); in spear_rtc_read_alarm() [all …]
|
| H A D | rtc-sunxi.c | 191 u32 date; in sunxi_rtc_getalarm() local 194 date = readl(chip->base + SUNXI_RTC_YMD); in sunxi_rtc_getalarm() 200 alrm_tm->tm_mday = SUNXI_DATE_GET_DAY_VALUE(date); in sunxi_rtc_getalarm() 201 alrm_tm->tm_mon = SUNXI_DATE_GET_MON_VALUE(date); in sunxi_rtc_getalarm() 202 alrm_tm->tm_year = SUNXI_DATE_GET_YEAR_VALUE(date, in sunxi_rtc_getalarm() 223 u32 date, time; in sunxi_rtc_gettime() local 229 date = readl(chip->base + SUNXI_RTC_YMD); in sunxi_rtc_gettime() 231 } while ((date != readl(chip->base + SUNXI_RTC_YMD)) || in sunxi_rtc_gettime() 238 rtc_tm->tm_mday = SUNXI_DATE_GET_DAY_VALUE(date); in sunxi_rtc_gettime() 239 rtc_tm->tm_mon = SUNXI_DATE_GET_MON_VALUE(date); in sunxi_rtc_gettime() [all …]
|
| H A D | rtc-rv8803.c | 193 u8 *date = date1; in rv8803_get_time() local 205 ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date); in rv8803_get_time() 215 date = date2; in rv8803_get_time() 218 tm->tm_sec = bcd2bin(date[RV8803_SEC] & 0x7f); in rv8803_get_time() 219 tm->tm_min = bcd2bin(date[RV8803_MIN] & 0x7f); in rv8803_get_time() 220 tm->tm_hour = bcd2bin(date[RV8803_HOUR] & 0x3f); in rv8803_get_time() 221 tm->tm_wday = ilog2(date[RV8803_WEEK] & 0x7f); in rv8803_get_time() 222 tm->tm_mday = bcd2bin(date[RV8803_DAY] & 0x3f); in rv8803_get_time() 223 tm->tm_mon = bcd2bin(date[RV8803_MONTH] & 0x1f) - 1; in rv8803_get_time() 224 tm->tm_year = bcd2bin(date[RV8803_YEAR]) + 100; in rv8803_get_time() [all …]
|
| H A D | rtc-rv3032.c | 226 u8 date[7]; in rv3032_get_time() local 236 ret = regmap_bulk_read(rv3032->regmap, RV3032_SEC, date, sizeof(date)); in rv3032_get_time() 240 tm->tm_sec = bcd2bin(date[0] & 0x7f); in rv3032_get_time() 241 tm->tm_min = bcd2bin(date[1] & 0x7f); in rv3032_get_time() 242 tm->tm_hour = bcd2bin(date[2] & 0x3f); in rv3032_get_time() 243 tm->tm_wday = date[3] & 0x7; in rv3032_get_time() 244 tm->tm_mday = bcd2bin(date[4] & 0x3f); in rv3032_get_time() 245 tm->tm_mon = bcd2bin(date[5] & 0x1f) - 1; in rv3032_get_time() 246 tm->tm_year = bcd2bin(date[6]) + 100; in rv3032_get_time() 254 u8 date[7]; in rv3032_set_time() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | mvrtc.c | 24 u32 date; in rtc_get() local 33 date = readl(&mvrtc_regs->date); in rtc_get() 49 t->tm_mday = bcd2bin((date >> MVRTC_DATE_SFT) & MVRTC_DATE_MSK); in rtc_get() 50 t->tm_mon = bcd2bin((date >> MVRTC_MON_SFT) & MVRTC_MON_MSK); in rtc_get() 51 t->tm_year = bcd2bin((date >> MVRTC_YEAR_SFT) & MVRTC_YEAR_MSK); in rtc_get() 64 u32 date = 0; in rtc_set() local 80 date |= (bin2bcd(t->tm_mday) & MVRTC_DATE_MSK) << MVRTC_DATE_SFT; in rtc_set() 81 date |= (bin2bcd(t->tm_mon) & MVRTC_MON_MSK) << MVRTC_MON_SFT; in rtc_set() 82 date |= (bin2bcd(t->tm_year % 100) & MVRTC_YEAR_MSK) << MVRTC_YEAR_SFT; in rtc_set() 88 writel(date, &mvrtc_regs->date); in rtc_set()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/ruby/ruby/ |
| H A D | 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch | 6 Without an explicit date, they will get the current date and make the 20 "invalid date format in specification: #{date.inspect}") 24 + Time.utc(date.utc.year, date.utc.month, date.utc.day) 26 Time.utc(date.year, date.month, date.day)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/mc/files/ |
| H A D | nomandate.patch | 4 Subject: [PATCH] mc: Fix manpage date indeterminism 9 The man page date can vary depending upon the host perl, e.g. in Russian 11 Rather than depend upon perl-native to fix this, just remove the date from 20 doc/man/date-of-man-include.am | 2 +- 23 diff --git a/doc/man/date-of-man-include.am b/doc/man/date-of-man-include.am 25 --- a/doc/man/date-of-man-include.am 26 +++ b/doc/man/date-of-man-include.am
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | microcode-tool | 55 date = '' 72 date = m_date.group(1) 77 return date, license_text, microcodes 91 date = '' 119 return date, license_text, microcodes 122 def List(date, microcodes, model): argument 130 print 'Date: %s' % date 175 def CreateFile(date, license_text, mcodes, outfile): argument 229 args = [text, date] 284 date, license_text, microcodes = ParseHeaderFiles(options.headerfile) [all …]
|
| H A D | microcode-tool.py | 55 date = '' 72 date = m_date.group(1) 77 return date, license_text, microcodes 91 date = '' 119 return date, license_text, microcodes 122 def List(date, microcodes, model): argument 130 print 'Date: %s' % date 175 def CreateFile(date, license_text, mcodes, outfile): argument 229 args = [text, date] 284 date, license_text, microcodes = ParseHeaderFiles(options.headerfile) [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | cvs.py | 40 ud.date = ud.parm['date'] 42 ud.date = "" 52 …_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpat… 59 if (ud.date == "now"): 94 if ud.date: 96 if len(ud.date) == 12: 97 … options.append("-D \"%s %s:%s UTC\"" % (ud.date[0:8], ud.date[8:10], ud.date[10:12])) 99 options.append("-D \"%s UTC\"" % ud.date)
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-sdk7786/ |
| H A D | fpga.c | 54 u16 version, date; in sdk7786_fpga_init() local 63 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init() 67 ((date >> 12) & 0xf) + 2000, in sdk7786_fpga_init() 68 (date >> 8) & 0xf, bcd2bin(date & 0xff)); in sdk7786_fpga_init()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qnmeapositioninfosource.cpp | 108 …if (!dst.timestamp().date().isValid() && src.timestamp().isValid()) { // time was supposed to be s… in propagateDate() 159 if (!from.date().isValid() || !to.date().isValid()) // use only time in msecsTo() 192 …const QDate infoDate = m_update.timestamp().date(); // this one might not be valid, as some senten… in readAvailableData() 219 && pos.timestamp().date().isValid() in readAvailableData() 220 && infoDate < pos.timestamp().date()); in readAvailableData() 224 const QDate updateDate = m_update.timestamp().date(); in readAvailableData() 225 const QDate lastPushedDate = m_lastPushedTS.date(); in readAvailableData() 276 const bool newerDate = (m_update.timestamp().date().isValid() in notifyNewUpdate() 277 && m_lastPushedTS.date().isValid() in notifyNewUpdate() 278 && m_update.timestamp().date() > m_lastPushedTS.date()); in notifyNewUpdate() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplaceperiod/ |
| H A D | tst_qplaceperiod.cpp | 70 QDate date = QDate::currentDate(); in startDateTest() local 71 testObj.setStartDate(date); in startDateTest() 72 QVERIFY2(testObj.startDate() == date, "Wrong value returned"); in startDateTest() 88 QDate date = QDate::currentDate(); in endDateTest() local 89 testObj.setEndDate(date); in endDateTest() 90 QVERIFY2(testObj.endDate() == date, "Wrong value returned"); in endDateTest()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
| H A D | ls.c | 29 char *date; in nvfw_ls_desc_head() local 39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head() 40 nvkm_debug(subdev, "\tdate : %s\n", date); in nvfw_ls_desc_head() 41 kfree(date); in nvfw_ls_desc_head()
|
| /OK3568_Linux_fs/buildroot/package/fakedate/ |
| H A D | fakedate | 24 for date in $(which -a date |tac); do 25 if [ "${date}" -ef "$0" ]; then 28 DATE_BIN="${date}"
|
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | sys_eeprom.c | 41 u8 date[6]; /* 0x12 - 0x17 Build Date */ member 52 u8 date[6]; /* 0x15 - 0x1a Build Date */ member 112 e.date[0], e.date[1], e.date[2], in show_eeprom() 113 e.date[3] & 0x7F, e.date[4], e.date[5], in show_eeprom() 114 e.date[3] & 0x80 ? "PM" : ""); in show_eeprom() 293 e.date[i] = h2i(string[2 * i]) << 4 | h2i(string[2 * i + 1]); in set_date()
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/ |
| H A D | timesetting.cpp | 25 QDate datesetting=ui->dateEdit->date(); in setDatesTimes() 42 QString date=ui->dateEdit->text(); in on_setButton_clicked() local 44 qDebug()<<date<<time; in on_setButton_clicked() 45 QString temp=QString(tr("当前时间为:"))+date+" "+time; in on_setButton_clicked() 52 dt.setDate(ui->dateEdit->date()); in setDateAndTime()
|
| /OK3568_Linux_fs/buildroot/package/mtp/ |
| H A D | 0009-MtpServer-Support-creation-time.patch | 115 - mData.putEmptyString(); // date created 116 + formatDateTime(info.mDateCreated, date, sizeof(date)); 117 + mData.putString(date); // date created 118 formatDateTime(info.mDateModified, date, sizeof(date)); 119 mData.putString(date); // date modified
|
| /OK3568_Linux_fs/buildroot/support/download/ |
| H A D | helpers | 5 # $3 : ISO8601 date: YYYY-MM-DDThh:mm:ssZZ 37 local date="${3}" 48 date="$(date -d "${date}" -u +%Y-%m-%dT%H:%M:%S+00:00)" 51 pax_options+=",exthdr.name=%d/PaxHeaders/%f,exthdr.mtime={${date}}" 63 --numeric-owner --owner=0 --group=0 --mtime="${date}" \
|