/third_party/curl/lib/ |
H A D | parsedate.c | 25 A brief summary of the date string formats this parser groks: 46 1994 Nov 6 08:49:37 (GNU date fails) 48 94 6 Nov 08:49:37 (GNU date fails) 71 compact numerical date strings: 98 static int parsedate(const char *date, time_t *output); 266 static void skip(const char **date) in skip() argument 269 while(**date && !ISALNUM(**date)) in skip() 270 (*date)++; in skip() 297 then pointer to after the number. The 'date' pointe 299 oneortwodigit(const char *date, const char **endp) oneortwodigit() argument 312 match_time(const char *date, int *h, int *m, int *s, char **endp) match_time() argument 357 parsedate(const char *date, time_t *output) parsedate() argument 574 parsedate(const char *date, time_t *output) parsedate() argument [all...] |
/third_party/rust/crates/version_check/src/ |
H A D | date.rs | 3 /// Release date including year, month, and day. 9 /// Reads the release date of the running compiler. If it cannot be 18 /// Some(d) => format!("The release date is: {}", d), 19 /// None => format!("Failed to read the release date.") 24 .and_then(|(_, date)| date) in read() 25 .and_then(|date| Date::parse(&date)) in read() 28 /// Parse a release date of the form `%Y-%m-%d`. Returns `None` if `date` i [all...] |
H A D | lib.rs | 36 //! released _prior to_ or _exactly on_ a certain date. 72 //! To interact with the version, release date, and release channel as structs, 87 mod date; modules 94 #[doc(inline)] pub use date::*; 96 /// Parses (version, date) as available from rustc version string. 101 let date = components.filter(|c| c.ends_with(')')).next() in version_and_date_from_rustc_version() 103 (version.map(|s| s.to_string()), date.map(|s| s.to_string())) in version_and_date_from_rustc_version() 106 /// Parses (version, date) as available from rustc verbose version output. 108 let (mut version, mut date) = (None, None); in version_and_date_from_rustc_verbose_version() 115 date in version_and_date_from_rustc_verbose_version() [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-date.cc | 8 #include "src/date/date.h" 9 #include "src/date/dateparser-inl.h" 15 #include "src/objects/js-date-time-format.h" 45 double date = MakeDate(day, time); in ParseDateTimeString() local 47 if (date >= -DateCache::kMaxTimeBeforeUTCInMs && in ParseDateTimeString() 48 date <= DateCache::kMaxTimeBeforeUTCInMs) { in ParseDateTimeString() 49 date = isolate->date_cache()->ToUTC(static_cast<int64_t>(date)); in ParseDateTimeString() 54 date in ParseDateTimeString() 59 SetLocalDateValue(Isolate* isolate, Handle<JSDate> date, double time_val) SetLocalDateValue() argument 113 double date = 1.0, hours = 0.0, minutes = 0.0, seconds = 0.0, ms = 0.0; BUILTIN() local 182 double month = 0.0, date = 1.0, hours = 0.0, minutes = 0.0, seconds = 0.0, BUILTIN() local 411 Handle<Object> date = args.at(2); BUILTIN() local 627 Handle<Object> date = args.at(2); BUILTIN() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/ |
H A D | build-docker.sh | 98 echo $(date): Starting build... 101 echo $(date): Build everything... 103 echo $(date): Build completed. 106 echo $(date): Check coverage... 108 echo $(date): Check coverage completed. 111 echo $(date): Starting ctest... 115 echo $(date): ctest completed. 145 echo $(date): Starting build... 148 echo $(date): Build glslang... 151 echo $(date) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/linux/ |
H A D | build-docker.sh | 98 echo $(date): Starting build... 101 echo $(date): Build everything... 103 echo $(date): Build completed. 106 echo $(date): Check coverage... 108 echo $(date): Check coverage completed. 111 echo $(date): Starting ctest... 115 echo $(date): ctest completed. 145 echo $(date): Starting build... 148 echo $(date): Build glslang... 151 echo $(date) [all...] |
/third_party/spirv-tools/kokoro/scripts/linux/ |
H A D | build-docker.sh | 93 echo $(date): Starting build... 96 echo $(date): Build everything... 98 echo $(date): Build completed. 101 echo $(date): Check coverage... 103 echo $(date): Check coverage completed. 106 echo $(date): Starting ctest... 110 echo $(date): ctest completed. 141 echo $(date): Starting build... 144 echo $(date): Build glslang... 147 echo $(date) [all...] |
/third_party/mesa3d/bin/ |
H A D | gen_calendar_entries.py | 80 def _calculate_release_start(major: str, minor: str) -> datetime.date: 85 quarter = datetime.date.fromisoformat(f'20{major}-0{[1, 4, 7, 10][int(minor)]}-01') 104 date = _calculate_release_start(major, minor) 112 writer.writerow([f'{major}.{minor}', date.isoformat(), f'{major}.{minor}.0-rc1', args.manager]) 114 date = date + datetime.timedelta(days=7) 115 writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc{row}', args.manager]) 116 date = date + datetime.timedelta(days=7) 117 writer.writerow([None, date [all...] |
H A D | gen_calendar_entries_test.py | 84 def _patch_date(date: datetime.date) -> typing.Iterator[None]: 86 mdate.today = mock.Mock(return_value=date) 87 with mock.patch('bin.gen_calendar_entries.datetime.date', mdate): 94 date = datetime.date(2021, 1, 6) 95 with TestNextReleaseDate._patch_date(date): 106 date = gen_calendar_entries._calculate_next_release_date(is_zero) 107 assert date.day == expected 113 date [all...] |
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
H A D | DateIntervalFormatSample.java | 41 final Date date[] = { in dtitvfmtPreDefined() 48 new DateInterval(date[0].getTime(),date[1].getTime()), in dtitvfmtPreDefined() 49 new DateInterval(date[1].getTime(),date[2].getTime()), in dtitvfmtPreDefined() 50 new DateInterval(date[2].getTime(),date[3].getTime()), in dtitvfmtPreDefined() 60 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 81 System.out.println(" Use DateIntervalFormat to create customized date interva in dtitvfmtCustomized() [all...] |
/third_party/node/deps/npm/node_modules/tiny-relative-date/lib/ |
H A D | factory.js | 7 var calculateDelta = function calculateDelta(now, date) { 8 return Math.round(Math.abs(now - date) / 1000); 12 return function relativeDate(date) { 15 if (!(date instanceof Date)) { 16 date = new Date(date); 28 delta = calculateDelta(now, date); 31 date = new Date(date.getFullYear(), date [all...] |
/third_party/rust/crates/bindgen/bindgen-integration/src/ |
H A D | lib.rs | 110 let mut date: bindings::bitfields::Date2 = unsafe { mem::zeroed() }; in test_bitfields_date2() variables 111 assert!(unsafe { date.assert(0, 0, 0, 0, 0) }); in test_bitfields_date2() 113 date.set_nWeekDay(6); // saturdays are the best in test_bitfields_date2() 114 date.set_nMonthDay(20); in test_bitfields_date2() 115 date.set_nMonth(11); in test_bitfields_date2() 116 date.set_nYear(95); in test_bitfields_date2() 117 date.set_byte(255); in test_bitfields_date2() 118 assert!(unsafe { date.assert(6, 20, 11, 95, 255) }); in test_bitfields_date2() 123 let mut date: bindings::bitfields::Fifth = unsafe { mem::zeroed() }; in test_bitfields_fifth() variables 125 assert!(unsafe { date in test_bitfields_fifth() 139 let mut date: bindings::bitfields::Sixth = unsafe { mem::zeroed() }; test_bitfields_sixth() variables [all...] |
/third_party/node/test/js-native-api/test_date/ |
H A D | test_date.c | 21 napi_value date; in createDate() local 22 NODE_API_CALL(env, napi_create_date(env, time, &date)); in createDate() 24 return date; in createDate() 28 napi_value date, result; in isDate() local 32 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, &date, NULL, NULL)); in isDate() 33 NODE_API_CALL(env, napi_is_date(env, date, &is_date)); in isDate() 40 napi_value date, result; in getDateValue() local 44 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, &date, NULL, NULL)); in getDateValue() 45 NODE_API_CALL(env, napi_get_date_value(env, date, &value)); in getDateValue()
|
/third_party/libsnd/programs/ |
H A D | sndfile-metadata-set.c | 60 char date [128], time [128] ; in main() local 101 HANDLE_BEXT_ARG ("--bext-orig-date", origination_date) ; in main() 123 HANDLE_STR_ARG ("--str-date", date) ; in main() 128 if (strcmp (argv [k], "--bext-auto-time-date") == 0) in main() 132 snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, timedata.tm_mday) ; in main() 133 info.origination_date = date ; in main() 143 if (strcmp (argv [k], "--bext-auto-date") == 0) in main() 144 { snprintf (date, sizeo in main() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | externModule.js | 13 constructor(year: number, month: number, date: number); 14 constructor(year: number, month: number, date: number, hours: number); 15 constructor(year: number, month: number, date: number, hours: number, minutes: number); 16 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number); 17 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, ms: number); 23 static UTC(year: number, month: number, date: number): number; 24 static UTC(year: number, month: number, date: number, hours: number): number; 25 static UTC(year: number, month: number, date: number, hours: number, minutes: number): number; 26 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number): number; 27 static UTC(year: number, month: number, date [all...] |
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | util.js | 118 * @param {number|Date} date 157 function toIMFDate (date) { 158 if (typeof date === 'number') { 159 date = new Date(date) 172 const dayName = days[date.getUTCDay()] 173 const day = date.getUTCDate().toString().padStart(2, '0') 174 const month = months[date.getUTCMonth()] 175 const year = date.getUTCFullYear() 176 const hour = date [all...] |
/third_party/libwebsockets/lib/roles/http/ |
H A D | cookie.c | 65 struct tm date; in lws_cookie_parse_date() local 68 memset(&date, 0, sizeof(date)); in lws_cookie_parse_date() 78 date.tm_hour = atoi(d - 2); in lws_cookie_parse_date() 79 if (date.tm_hour < 0 || date.tm_hour > 23) in lws_cookie_parse_date() 81 date.tm_min = atoi(d + 1); in lws_cookie_parse_date() 82 if (date.tm_min < 0 || date.tm_min > 60) in lws_cookie_parse_date() 84 date in lws_cookie_parse_date() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CopticCalendar.java | 194 * Constructs a <code>CopticCalendar</code> with the given date set 200 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 203 public CopticCalendar(int year, int month, int date) { in CopticCalendar() argument 204 super(year, month, date); in CopticCalendar() 208 * Constructs a <code>CopticCalendar</code> with the given date set 211 * @param date The date to which the new calendar is set. 214 public CopticCalendar(Date date) { in CopticCalendar() argument 215 super(date); in CopticCalendar() 219 * Constructs a <code>CopticCalendar</code> with the given date 231 CopticCalendar(int year, int month, int date, int hour, int minute, int second) CopticCalendar() argument 323 copticToJD(long year, int month, int date) copticToJD() argument [all...] |
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...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CopticCalendar.java | 175 * Constructs a <code>CopticCalendar</code> with the given date set 181 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 183 public CopticCalendar(int year, int month, int date) { in CopticCalendar() argument 184 super(year, month, date); in CopticCalendar() 188 * Constructs a <code>CopticCalendar</code> with the given date set 191 * @param date The date to which the new calendar is set. 193 public CopticCalendar(Date date) { in CopticCalendar() argument 194 super(date); in CopticCalendar() 198 * Constructs a <code>CopticCalendar</code> with the given date 209 CopticCalendar(int year, int month, int date, int hour, int minute, int second) CopticCalendar() argument 299 copticToJD(long year, int month, int date) copticToJD() argument [all...] |
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...] |
/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...] |