/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-rv8803.c | 239 u8 *date = date1; in rv8803_get_time() local 256 ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date); in rv8803_get_time() 266 date = date2; in rv8803_get_time() 269 tm->tm_sec = bcd2bin(date[RV8803_SEC] & 0x7f); in rv8803_get_time() 270 tm->tm_min = bcd2bin(date[RV8803_MIN] & 0x7f); in rv8803_get_time() 271 tm->tm_hour = bcd2bin(date[RV8803_HOUR] & 0x3f); in rv8803_get_time() 272 tm->tm_wday = ilog2(date[RV8803_WEEK] & 0x7f); in rv8803_get_time() 273 tm->tm_mday = bcd2bin(date[RV8803_DAY] & 0x3f); in rv8803_get_time() 274 tm->tm_mon = bcd2bin(date[RV8803_MONTH] & 0x1f) - 1; in rv8803_get_time() 275 tm->tm_year = bcd2bin(date[RV8803_YEA in rv8803_get_time() 283 u8 date[7]; rv8803_set_time() local [all...] |
H A D | rtc-sunxi.c | 53 * Get date values 74 * Set date values 189 u32 date; in sunxi_rtc_getalarm() local 192 date = readl(chip->base + SUNXI_RTC_YMD); in sunxi_rtc_getalarm() 198 alrm_tm->tm_mday = SUNXI_DATE_GET_DAY_VALUE(date); in sunxi_rtc_getalarm() 199 alrm_tm->tm_mon = SUNXI_DATE_GET_MON_VALUE(date); in sunxi_rtc_getalarm() 200 alrm_tm->tm_year = SUNXI_DATE_GET_YEAR_VALUE(date, in sunxi_rtc_getalarm() 221 u32 date, time; in sunxi_rtc_gettime() local 227 date = readl(chip->base + SUNXI_RTC_YMD); in sunxi_rtc_gettime() 229 } while ((date ! in sunxi_rtc_gettime() 329 u32 date = 0; sunxi_rtc_settime() local [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/test/unittest/pasteboardperf/ |
H A D | PasteBoardDelayPerfJsunit.test.js | 22 var date = new Date();
36 let endTime = date.getTime();
66 let startTime = date.getTime();
89 let beginGetTime = date.getTime();
91 let endGetTime = date.getTime();
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
H A D | TimeZoneNameProviderICU.java | 26 long date = System.currentTimeMillis(); in getDisplayName() 32 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName() 33 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName() 34 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName() 35 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName() 53 // tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getDisplayName() 54 // tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName() 58 // tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getDisplayName() 59 // tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
|
/third_party/icu/icu4c/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 23 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n"); in getBestPatternExample() 49 UDate date = cal->getTime(status); in getBestPatternExample() local 61 // Get the format of the given date in getBestPatternExample() 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 89 UDate date = cal->getTime(status); in addPatternExample() local 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 130 UDate date = cal->getTime(status); in replaceFieldTypesExample() local 139 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample() 147 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample()
|
/third_party/skia/third_party/externals/icu/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 23 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n"); in getBestPatternExample() 49 UDate date = cal->getTime(status); in getBestPatternExample() local 61 // Get the format of the given date in getBestPatternExample() 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 89 UDate date = cal->getTime(status); in addPatternExample() local 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 130 UDate date = cal->getTime(status); in replaceFieldTypesExample() local 139 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample() 147 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-sunxi.c | 55 * Get date values 76 * Set date values 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 ! in sunxi_rtc_gettime() 331 u32 date = 0; sunxi_rtc_settime() local [all...] |
/kernel/linux/linux-5.10/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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CECalendar.java | 119 * Constructs a <code>CECalendar</code> with the given date set 127 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 129 protected CECalendar(int year, int month, int date) { in CECalendar() argument 131 this.set(year, month, date); in CECalendar() 135 * Constructs a <code>CECalendar</code> with the given date set 138 * @param date The date to which the new calendar is set. 140 protected CECalendar(Date date) { in CECalendar() argument 142 this.setTime(date); in CECalendar() 146 * Constructs a <code>CECalendar</code> with the given date 157 CECalendar(int year, int month, int date, int hour, int minute, int second) CECalendar() argument [all...] |
H A D | PersianCalendar.java | 194 * Constructs a <code>PersianCalendar</code> with the given date set 197 * @param date The date to which the new calendar is set. 204 public PersianCalendar(Date date) { in PersianCalendar() argument 206 this.setTime(date); in PersianCalendar() 210 * Constructs a <code>PersianCalendar</code> with the given date set 216 * @param date the value used to set the {@link #DATE DATE} time field in the calendar. 223 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument 228 this.set(Calendar.DATE, date); in PersianCalendar() 232 * Constructs a <code>PersianCalendar</code> with the given date 251 PersianCalendar(int year, int month, int date, int hour, int minute, int second) PersianCalendar() argument [all...] |
H A D | GregorianCalendar.java | 25 * default to the date the Gregorian calendar was instituted (October 15, 1582 26 * in some countries, later in others). The cutover date may be changed by the 43 * AD onward, when modern Julian calendar rules were adopted. Before this date, 109 * // and the current date and time 199 * onwards, with no leap years in-between. Thus date computations and 399 * Constructs a GregorianCalendar with the given date set 404 * @param date the value used to set the DATE time field in the calendar. 408 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() argument 413 set(DATE, date); in GregorianCalendar() 417 * Constructs a GregorianCalendar with the given date 430 GregorianCalendar(int year, int month, int date, int hour, int minute) GregorianCalendar() argument 457 GregorianCalendar(int year, int month, int date, int hour, int minute, int second) GregorianCalendar() argument 485 setGregorianChange(Date date) setGregorianChange() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | PersianTest.java | 93 Date date = grego.getTime(); in TestMapping() 94 cal.setTime(date); in TestMapping() 102 buf.append(date + " -> "); in TestMapping() 122 Date date = cal.getTime(); in TestMapping() 125 buf.append(" -> " + date); in TestMapping() 126 if (date.equals(dexp)) { in TestMapping()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | PersianTest.java | 90 Date date = grego.getTime(); in TestMapping() 91 cal.setTime(date); in TestMapping() 99 buf.append(date + " -> "); in TestMapping() 119 Date date = cal.getTime(); in TestMapping() 122 buf.append(" -> " + date); in TestMapping() 123 if (date.equals(dexp)) { in TestMapping()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CECalendar.java | 120 * Constructs a <code>CECalendar</code> with the given date set 128 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 130 protected CECalendar(int year, int month, int date) { in CECalendar() argument 132 this.set(year, month, date); in CECalendar() 136 * Constructs a <code>CECalendar</code> with the given date set 139 * @param date The date to which the new calendar is set. 141 protected CECalendar(Date date) { in CECalendar() argument 143 this.setTime(date); in CECalendar() 147 * Constructs a <code>CECalendar</code> with the given date 158 CECalendar(int year, int month, int date, int hour, int minute, int second) CECalendar() argument [all...] |
H A D | PersianCalendar.java | 196 * Constructs a <code>PersianCalendar</code> with the given date set 199 * @param date The date to which the new calendar is set. 206 public PersianCalendar(Date date) { in PersianCalendar() argument 208 this.setTime(date); in PersianCalendar() 212 * Constructs a <code>PersianCalendar</code> with the given date set 218 * @param date the value used to set the {@link #DATE DATE} time field in the calendar. 225 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument 230 this.set(Calendar.DATE, date); in PersianCalendar() 234 * Constructs a <code>PersianCalendar</code> with the given date 253 PersianCalendar(int year, int month, int date, int hour, int minute, int second) PersianCalendar() argument [all...] |
H A D | GregorianCalendar.java | 26 * default to the date the Gregorian calendar was instituted (October 15, 1582 27 * in some countries, later in others). The cutover date may be changed by the 44 * AD onward, when modern Julian calendar rules were adopted. Before this date, 110 * // and the current date and time 199 * onwards, with no leap years in-between. Thus date computations and 388 * Constructs a GregorianCalendar with the given date set 393 * @param date the value used to set the DATE time field in the calendar. 396 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() argument 401 set(DATE, date); in GregorianCalendar() 405 * Constructs a GregorianCalendar with the given date 417 GregorianCalendar(int year, int month, int date, int hour, int minute) GregorianCalendar() argument 443 GregorianCalendar(int year, int month, int date, int hour, int minute, int second) GregorianCalendar() argument 470 setGregorianChange(Date date) setGregorianChange() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DataDrivenFormatTest.java | 98 String date = currentCase.getString("date"); in testConvertDate() 130 // parse 'date' - either 'MILLIS=12345' or a CalendarFieldsSet in testConvertDate() 131 if(date.startsWith(kMILLIS)) { in testConvertDate() 133 fromDate = new Date(Long.parseLong(date.substring(kMILLIS.length()))); in testConvertDate() 134 } else if(date.startsWith(kRELATIVE_MILLIS)) { in testConvertDate() 136 fromDate = new Date(now+Long.parseLong(date.substring(kRELATIVE_MILLIS.length()))); in testConvertDate() 137 } else if(date.startsWith(kRELATIVE_ADD)) { in testConvertDate() 138 String add = date.substring(kRELATIVE_ADD.length()); // "add" is a string indicating which fields to add in testConvertDate() 159 fromSet.parseFrom(date); in testConvertDate() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DataDrivenFormatTest.java | 101 String date = currentCase.getString("date"); in testConvertDate() 133 // parse 'date' - either 'MILLIS=12345' or a CalendarFieldsSet in testConvertDate() 134 if(date.startsWith(kMILLIS)) { in testConvertDate() 136 fromDate = new Date(Long.parseLong(date.substring(kMILLIS.length()))); in testConvertDate() 137 } else if(date.startsWith(kRELATIVE_MILLIS)) { in testConvertDate() 139 fromDate = new Date(now+Long.parseLong(date.substring(kRELATIVE_MILLIS.length()))); in testConvertDate() 140 } else if(date.startsWith(kRELATIVE_ADD)) { in testConvertDate() 141 String add = date.substring(kRELATIVE_ADD.length()); // "add" is a string indicating which fields to add in testConvertDate() 162 fromSet.parseFrom(date); in testConvertDate() [all...] |
/third_party/rust/crates/clap/clap_mangen/src/ |
H A D | lib.rs | 20 date: String, 32 let date = "".to_owned(); in new() 43 date, in new() 72 /// Override the default date for the last non-trivial change to this man page 75 pub fn date(mut self, date: impl Into<String>) -> Self { in date() functions 76 self.date = date.into(); in date() 147 &self.date, in title_args()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/fs-metadata/ |
H A D | k-thread.sh | 32 echo [$(date "+%m-%d %H:%M:%S")] $* | tee -a $K_LOG 37 echo [$(date "+%m-%d %H:%M:%S")] $* | tee -a $K_LOG 41 echo [$(date "+%m-%d %H:%M:%S")] $* >> $K_RESULT 45 echo [$(date "+%m-%d %H:%M:%S")] $* >> $K_RESULT
|
H A D | fs-metadata.sh | 34 local end_ts=$(date +%s) 105 echo [$(date "+%m-%d %H:%M:%S")] $* | tee -a $K_LOG 109 echo [$(date "+%m-%d %H:%M:%S")] $* >> $K_RESULT 113 echo [$(date "+%m-%d %H:%M:%S")] $* >> $K_RESULT 142 echo [$(date "+%m-%d %H:%M:%S")] $* | tee -a $K_LOG 241 K_START_TS=$(date +%s)
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | calendar_element.cpp | 124 auto date = Localization::GetInstance()->FormatDateTime(dateTime, "yyyyMMM"); in RegisterChangeEndListener() 125 auto textComponent = AceType::MakeRefPtr<TextComponent>(date); in RegisterChangeEndListener() 195 [date = dateEvent_, weakController = WeakPtr<CalendarController>(calendarController_)]() { in BuildCardCalendar() 201 if (!date) { in BuildCardCalendar() 210 date(json->ToString()); in BuildCardCalendar() 222 auto date = calendar->GetDate(); in UpdateAttr() local 223 if (today.day != date.day || today.month != date.month) { in UpdateAttr() 224 calendarController_->SetToday(date); in UpdateAttr() 225 calendarController_->GoTo(date in UpdateAttr() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | nft_zones_many.sh | 73 local outerstart=$(date +%s%3N) 77 local start=$(date +%s%3N) 87 stop=$(date +%s%3N) 115 local outerstart=$(date +%s%3N) 116 local start=$(date +%s%3N) 132 stop=$(date +%s%3N)
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 380 unsigned int sig, pf, rev, total_size, data_size, date; in show_saved_mc() local 407 date = mc_saved_header->date; in show_saved_mc() 412 pr_debug("mc_saved[%d]: sig=0x%x, pf=0x%x, rev=0x%x, total size=0x%x, date = %04x-%02x-%02x\n", in show_saved_mc() 414 date & 0xffff, in show_saved_mc() 415 date >> 24, in show_saved_mc() 416 (date >> 16) & 0xff); in show_saved_mc() 476 print_ucode_info(struct ucode_cpu_info *uci, unsigned int date) in print_ucode_info() argument 478 pr_info_once("microcode updated early to revision 0x%x, date = %04x-%02x-%02x\n", in print_ucode_info() 480 date in print_ucode_info() [all...] |
/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/panel/pages/index/ |
H A D | index.js | 124 module.exports = function (vm) { var _vm = vm || this; return _c('div', {'staticClass' : ["container"]} , [_c('div', {'staticClass' : ["header"]} , [_c('text', {'attrs' : {'value' : function () {return (_vm.time) + ' ' + (_vm.date) + ' ' + (_vm.week)}}} )] ),_c('div', {'staticClass' : ["body"]} , [_c('swiper', {'attrs' : {'index' : function () {return _vm.index}},'staticClass' : ["swiper"]} , [_c('div', {'staticClass' : ["swiper-item"]} , [_c('div', {'staticClass' : ["grid"]} , [_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene0Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image0}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "日常"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene1Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image1}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "周末"}} )] )] ),_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene2Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image2}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "聚会"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene3Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image3}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "烛光"}} )] )] )] )] ),_c('div', {'staticClass' : ["swiper-item"]} , [_c('div', {'staticClass' : ["grid"]} , [_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev0Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image4}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "空调"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev1Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image5}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "冰箱"}} )] )] ),_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev2Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image6}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "窗帘"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev3Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image7}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "灯光"}} )] )] )] )] )] )] ),_c('div', {'staticClass' : ["footer"]} , [_c('text', {'attrs' : {'value' : "。。"}} )] )] ) } 158 date: "", 170 var date = new Date(); 171 this.time = date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds(); 172 this.date = date.toDateString(); 173 this.week = weeks[date.getDay()];
|