/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-rx8025.c | 145 dev_warn(dev, "power-on reset detected, date is invalid\n"); in rx8025_check_validity() 151 dev_warn(dev, "crystal stopped, date is invalid\n"); in rx8025_check_validity() 218 u8 date[7]; in rx8025_get_time() local 225 err = rx8025_read_regs(client, RX8025_REG_SEC, 7, date); in rx8025_get_time() 229 dev_dbg(dev, "%s: read %7ph\n", __func__, date); in rx8025_get_time() 231 dt->tm_sec = bcd2bin(date[RX8025_REG_SEC] & 0x7f); in rx8025_get_time() 232 dt->tm_min = bcd2bin(date[RX8025_REG_MIN] & 0x7f); in rx8025_get_time() 234 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x3f); in rx8025_get_time() 236 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x1f) % 12 in rx8025_get_time() 237 + (date[RX8025_REG_HOU in rx8025_get_time() 252 u8 date[7]; rx8025_set_time() local [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_WDA in rx8010_get_time() 140 u8 date[RX8010_YEAR - RX8010_SEC + 1]; rx8010_set_time() local [all...] |
H A D | rtc-rv3028.c | 124 u8 date[6]; in timestamp0_show() local 133 ret = regmap_bulk_read(rv3028->regmap, RV3028_TS_SEC, date, in timestamp0_show() 134 sizeof(date)); in timestamp0_show() 138 tm.tm_sec = bcd2bin(date[0]); in timestamp0_show() 139 tm.tm_min = bcd2bin(date[1]); in timestamp0_show() 140 tm.tm_hour = bcd2bin(date[2]); in timestamp0_show() 141 tm.tm_mday = bcd2bin(date[3]); in timestamp0_show() 142 tm.tm_mon = bcd2bin(date[4]) - 1; in timestamp0_show() 143 tm.tm_year = bcd2bin(date[5]) + 100; in timestamp0_show() 311 u8 date[ in rv3028_get_time() local 339 u8 date[7]; rv3028_set_time() local [all...] |
/kernel/linux/linux-6.6/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() 114 char *date; in nvfw_ls_desc_v2() local 123 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNE in nvfw_ls_desc_v2() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
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_WDA in rx8010_get_time() 140 u8 date[RX8010_YEAR - RX8010_SEC + 1]; rx8010_set_time() local [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[ in rv3028_get_time() local 337 u8 date[7]; rv3028_set_time() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CurrencyMetaInfo.java | 24 * inclusive. The date information used by CurrencyInfo and CurrencyFilter 95 * The from date to filter on (as milliseconds). Accepts any currency on or after this date. 101 * The to date to filter on (as milliseconds). Accepts any currency on or before this date. 136 * Returns a filter that accepts all currencies in use as of the current date. 168 * Returns a filter that accepts all currencies in use on the given date. 169 * @param date the date 174 public static CurrencyFilter onDate(Date date) { in onDate() argument 197 onDate(long date) onDate() argument 255 withDate(Date date) withDate() argument 279 withDate(long date) withDate() argument 581 dateString(long date) dateString() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CurrencyMetaInfo.java | 25 * inclusive. The date information used by CurrencyInfo and CurrencyFilter 92 * The from date to filter on (as milliseconds). Accepts any currency on or after this date. 97 * The to date to filter on (as milliseconds). Accepts any currency on or before this date. 130 * Returns a filter that accepts all currencies in use as of the current date. 159 * Returns a filter that accepts all currencies in use on the given date. 160 * @param date the date 164 public static CurrencyFilter onDate(Date date) { in onDate() argument 185 onDate(long date) onDate() argument 238 withDate(Date date) withDate() argument 260 withDate(long date) withDate() argument 539 dateString(long date) dateString() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | IndianCalendar.java | 30 * Month Length Start date (Gregorian) 231 * Constructs a <code>IndianCalendar</code> with the given date set 234 * @param date The date to which the new calendar is set. 238 public IndianCalendar(Date date) { in IndianCalendar() argument 240 this.setTime(date); in IndianCalendar() 244 * Constructs a <code>IndianCalendar</code> with the given date set 252 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 256 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument 260 this.set(Calendar.DATE, date); in IndianCalendar() 283 IndianCalendar(int year, int month, int date, int hour, int minute, int second) IndianCalendar() argument 468 IndianToJD(int year, int month, int date) IndianToJD() argument 507 gregorianToJD(int year, int month, int date) gregorianToJD() argument [all...] |
H A D | EthiopicCalendar.java | 126 // the date and time was July 18th -5493 BC 06:00 AM. 220 * Constructs a <code>EthiopicCalendar</code> with the given date set 226 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 229 public EthiopicCalendar(int year, int month, int date) { in EthiopicCalendar() argument 230 super(year, month, date); in EthiopicCalendar() 234 * Constructs a <code>EthiopicCalendar</code> with the given date set 237 * @param date The date to which the new calendar is set. 240 public EthiopicCalendar(Date date) { in EthiopicCalendar() argument 241 super(date); in EthiopicCalendar() 257 EthiopicCalendar(int year, int month, int date, int hour, int minute, int second) EthiopicCalendar() argument 398 EthiopicToJD(long year, int month, int date) EthiopicToJD() argument [all...] |
H A D | BuddhistCalendar.java | 129 * Constructs a <code>BuddhistCalendar</code> with the given date set 132 * @param date The date to which the new calendar is set. 135 public BuddhistCalendar(Date date) { in BuddhistCalendar() argument 137 setTime(date); in BuddhistCalendar() 141 * Constructs a <code>BuddhistCalendar</code> with the given date set 149 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 152 public BuddhistCalendar(int year, int month, int date) { in BuddhistCalendar() argument 153 super(year, month, date); in BuddhistCalendar() 157 * Constructs a BuddhistCalendar with the given date 174 BuddhistCalendar(int year, int month, int date, int hour, int minute, int second) BuddhistCalendar() argument [all...] |
H A D | TaiwanCalendar.java | 132 * Constructs a <code>TaiwanCalendar</code> with the given date set 135 * @param date The date to which the new calendar is set. 138 public TaiwanCalendar(Date date) { in TaiwanCalendar() argument 140 setTime(date); in TaiwanCalendar() 144 * Constructs a <code>TaiwanCalendar</code> with the given date set 152 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 155 public TaiwanCalendar(int year, int month, int date) { in TaiwanCalendar() argument 156 super(year, month, date); in TaiwanCalendar() 160 * Constructs a TaiwanCalendar with the given date 173 TaiwanCalendar(int year, int month, int date, int hour, int minute, int second) TaiwanCalendar() argument [all...] |
H A D | JapaneseCalendar.java | 30 * mode either form of date is acceptable as input. 40 * Since ICU4J 63, start date of each era is imported from CLDR. CLDR era data 49 * (Note: This configuration is used for specifying a new era's start date and 51 * this property is defined, but it does not use the start date and names specified 142 * Constructs a <code>JapaneseCalendar</code> with the given date set 145 * @param date The date to which the new calendar is set. 148 public JapaneseCalendar(Date date) { in JapaneseCalendar() argument 150 setTime(date); in JapaneseCalendar() 154 * Constructs a <code>JapaneseCalendar</code> with the given date se 175 JapaneseCalendar(int era, int year, int month, int date) JapaneseCalendar() argument 194 JapaneseCalendar(int year, int month, int date) JapaneseCalendar() argument 219 JapaneseCalendar(int year, int month, int date, int hour, int minute, int second) JapaneseCalendar() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | IndianCalendar.java | 31 * Month Length Start date (Gregorian) 211 * Constructs a <code>IndianCalendar</code> with the given date set 214 * @param date The date to which the new calendar is set. 217 public IndianCalendar(Date date) { in IndianCalendar() argument 219 this.setTime(date); in IndianCalendar() 223 * Constructs a <code>IndianCalendar</code> with the given date set 231 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 234 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument 238 this.set(Calendar.DATE, date); in IndianCalendar() 260 IndianCalendar(int year, int month, int date, int hour, int minute, int second) IndianCalendar() argument 439 IndianToJD(int year, int month, int date) IndianToJD() argument 478 gregorianToJD(int year, int month, int date) gregorianToJD() argument [all...] |
H A D | EthiopicCalendar.java | 113 // the date and time was July 18th -5493 BC 06:00 AM. 201 * Constructs a <code>EthiopicCalendar</code> with the given date set 207 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 209 public EthiopicCalendar(int year, int month, int date) { in EthiopicCalendar() argument 210 super(year, month, date); in EthiopicCalendar() 214 * Constructs a <code>EthiopicCalendar</code> with the given date set 217 * @param date The date to which the new calendar is set. 219 public EthiopicCalendar(Date date) { in EthiopicCalendar() argument 220 super(date); in EthiopicCalendar() 235 EthiopicCalendar(int year, int month, int date, int hour, int minute, int second) EthiopicCalendar() argument 368 EthiopicToJD(long year, int month, int date) EthiopicToJD() argument [all...] |
H A D | TaiwanCalendar.java | 123 * Constructs a <code>TaiwanCalendar</code> with the given date set 126 * @param date The date to which the new calendar is set. 128 public TaiwanCalendar(Date date) { in TaiwanCalendar() argument 130 setTime(date); in TaiwanCalendar() 134 * Constructs a <code>TaiwanCalendar</code> with the given date set 142 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 144 public TaiwanCalendar(int year, int month, int date) { in TaiwanCalendar() argument 145 super(year, month, date); in TaiwanCalendar() 149 * Constructs a TaiwanCalendar with the given date 161 TaiwanCalendar(int year, int month, int date, int hour, int minute, int second) TaiwanCalendar() argument [all...] |
H A D | BuddhistCalendar.java | 122 * Constructs a <code>BuddhistCalendar</code> with the given date set 125 * @param date The date to which the new calendar is set. 127 public BuddhistCalendar(Date date) { in BuddhistCalendar() argument 129 setTime(date); in BuddhistCalendar() 133 * Constructs a <code>BuddhistCalendar</code> with the given date set 141 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 143 public BuddhistCalendar(int year, int month, int date) { in BuddhistCalendar() argument 144 super(year, month, date); in BuddhistCalendar() 148 * Constructs a BuddhistCalendar with the given date 164 BuddhistCalendar(int year, int month, int date, int hour, int minute, int second) BuddhistCalendar() argument [all...] |
H A D | JapaneseCalendar.java | 31 * mode either form of date is acceptable as input. 41 * Since ICU4J 63, start date of each era is imported from CLDR. CLDR era data 50 * (Note: This configuration is used for specifying a new era's start date and 52 * this property is defined, but it does not use the start date and names specified 136 * Constructs a <code>JapaneseCalendar</code> with the given date set 139 * @param date The date to which the new calendar is set. 141 public JapaneseCalendar(Date date) { in JapaneseCalendar() argument 143 setTime(date); in JapaneseCalendar() 147 * Constructs a <code>JapaneseCalendar</code> with the given date se 167 JapaneseCalendar(int era, int year, int month, int date) JapaneseCalendar() argument 185 JapaneseCalendar(int year, int month, int date) JapaneseCalendar() argument 209 JapaneseCalendar(int year, int month, int date, int hour, int minute, int second) JapaneseCalendar() argument [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | date-tostring.js | 35 var date = new Date(0); 36 assert (/Thu Jan 01 1970 \d{2}:\d{2}:\d{2} GMT\+\d{2}\d{2}/.test (date.toString())); 37 assert (date.toUTCString() === "Thu, 01 Jan 1970 00:00:00 GMT"); 38 assert (date.toISOString() === "1970-01-01T00:00:00.000Z"); 40 date = new Date("2015-08-12T09:40:20.000Z") 41 assert (/Wed Aug 12 2015 \d{2}:\d{2}:\d{2} GMT\+\d{2}\d{2}/.test (date.toString())); 42 assert (date.toUTCString() === "Wed, 12 Aug 2015 09:40:20 GMT"); 43 assert (date.toISOString() === "2015-08-12T09:40:20.000Z");
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/ |
H A D | Mf2IcuTest.java | 94 private static void doTheRealDateTimeSkeletonTesting(Date date, String messagePattern, Locale locale, in doTheRealDateTimeSkeletonTesting() argument 100 assertEquals(messagePattern, expected, msgf.formatToString(Args.of("when", date))); in doTheRealDateTimeSkeletonTesting() 105 Date date = new GregorianCalendar(2021, Calendar.NOVEMBER, 23, 16, 42, 55).getTime(); in testMessageFormatDateTimeSkeleton() 107 doTheRealDateTimeSkeletonTesting(date, "{{$when :datetime skeleton=MMMMd}}", in testMessageFormatDateTimeSkeleton() 109 doTheRealDateTimeSkeletonTesting(date, "{{$when :datetime skeleton=yMMMMdjm}}", in testMessageFormatDateTimeSkeleton() 111 doTheRealDateTimeSkeletonTesting(date, "{{$when :datetime skeleton=( yMMMMd )}}", in testMessageFormatDateTimeSkeleton() 113 doTheRealDateTimeSkeletonTesting(date, "{{$when :datetime skeleton=yMMMMd}}", in testMessageFormatDateTimeSkeleton() 115 doTheRealDateTimeSkeletonTesting(date, "{Expiration: {$when :datetime skeleton=yMMM}!}", in testMessageFormatDateTimeSkeleton() 117 doTheRealDateTimeSkeletonTesting(date, "{{$when :datetime pattern=('::'yMMMMd)}}", in testMessageFormatDateTimeSkeleton() 127 MessageFormat mf1 = new MessageFormat("Hello {user}, today is {today,date,lon in checkMf1Behavior() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/test/xts/tools/lite/reliability/ |
H A D | JSPressTest.js | 54 let date = new Date(); 55 let start = date.getTime(); 63 date = new Date(); 64 start = date.getTime(); 70 date = new Date(); 71 start = date.getTime();
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/gerrit-stats/ |
H A D | main.go | 38 afterFlag = flag.String("after", "", "start date") 39 beforeFlag = flag.String("before", "", "end date") 62 return fmt.Errorf("Couldn't parse before date: %w", err) 70 return fmt.Errorf("Couldn't parse after date: %w", err) 84 "after:"+date(after), 85 "before:"+date(before), 94 "after:"+date(after), 95 "before:"+date(before), 122 fmt.Printf("Between %v and %v, %v:\n", date(after), date(befor [all...] |
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
H A D | DateTimePatternGeneratorSample.java | 35 System.out.println(" Use DateTimePatternGenerator to create customized date/time pattern:"); in getBestPatternExample() 52 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); in getBestPatternExample() 63 // Get the format of the given date in getBestPatternExample() 64 System.out.printf("%-35s",sdf.format(date)); in getBestPatternExample() 93 // Use DateFormat.getPatternInstance to get the date/time format for the locale, in getBestPatternExample() 94 // and apply the format to the given date in getBestPatternExample() 95 String df=DateFormat.getPatternInstance(skeleton,locale).format(date); in getBestPatternExample() 121 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); in addPatternExample() 132 System.out.println("Date Time in new Pattern: "+format.format(date)); in addPatternExample() 151 Date date in replaceFieldTypesExample() [all...] |