Searched refs:date_cache (Results 1 – 12 of 12) sorted by relevance
/third_party/node/deps/v8/src/builtins/ |
D | builtins-date.cc | 49 date = isolate->date_cache()->ToUTC(static_cast<int64_t>(date)); in ParseDateTimeString() 63 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in SetLocalDateValue() 77 DateBuffer buffer = ToDateString(time_val, isolate->date_cache(), in BUILTIN() 153 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in BUILTIN() 247 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN() 248 int const days = isolate->date_cache()->DaysFromTime(local_time_ms); in BUILTIN() 249 int time_within_day = isolate->date_cache()->TimeInDay(local_time_ms, days); in BUILTIN() 251 isolate->date_cache()->YearMonthDayFromDays(days, &year, &month, &day); in BUILTIN() 269 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN() 270 int const days = isolate->date_cache()->DaysFromTime(local_time_ms); in BUILTIN() [all …]
|
/third_party/node/deps/v8/src/date/ |
D | date.cc | 556 DateBuffer ToDateString(double time_val, DateCache* date_cache, in ToDateString() argument 563 ? date_cache->ToLocal(time_ms) in ToDateString() 566 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, in ToDateString() 568 int timezone_offset = -date_cache->TimezoneOffset(time_ms); in ToDateString() 571 const char* local_timezone = date_cache->LocalTimezone(time_ms); in ToDateString()
|
D | date.h | 261 DateBuffer ToDateString(double time_val, DateCache* date_cache,
|
/third_party/node/deps/v8/src/objects/ |
D | js-objects.cc | 5447 DateCache* date_cache = isolate->date_cache(); in DoGetField() local 5451 if (stamp != date_cache->stamp() && stamp.IsSmi()) { in DoGetField() 5454 date_cache->ToLocal(static_cast<int64_t>(value().Number())); in DoGetField() 5455 SetCachedFields(local_time_ms, date_cache); in DoGetField() 5478 return GetUTCField(index, value().Number(), date_cache); in DoGetField() 5484 int64_t local_time_ms = date_cache->ToLocal(static_cast<int64_t>(time)); in DoGetField() 5496 DateCache* date_cache) { in GetUTCField() argument 5504 return Smi::FromInt(date_cache->TimezoneOffset(time_ms)); in GetUTCField() 5509 if (index == kWeekdayUTC) return Smi::FromInt(date_cache->Weekday(days)); in GetUTCField() 5513 date_cache->YearMonthDayFromDays(days, &year, &month, &day); in GetUTCField() [all …]
|
D | js-objects.h | 1156 Object GetUTCField(FieldIndex index, double value, DateCache* date_cache); 1159 inline void SetCachedFields(int64_t local_time_ms, DateCache* date_cache);
|
D | js-temporal-objects.cc | 1034 isolate->date_cache()->BreakDownTime(epoch_milliseconds, &year, &month, &day, in GetISOPartsFromEpoch() 4423 return isolate->date_cache()->IsLeap(year); in IsISOLeapYear() 4935 return day + isolate->date_cache()->DaysFromYearMonth(year, month - 1) - in ToISODayOfYear() 4936 isolate->date_cache()->DaysFromYearMonth(year, 0); in ToISODayOfYear() 4962 int32_t weekday = isolate->date_cache()->Weekday( in ToISODayOfWeek() 4963 isolate->date_cache()->DaysFromYearMonth(year, month - 1) + day - 1); in ToISODayOfWeek()
|
/third_party/node/deps/v8/src/execution/ |
D | isolate.h | 1417 DateCache* date_cache() const { return date_cache_; } in date_cache() function 1419 void set_date_cache(DateCache* date_cache);
|
D | isolate.cc | 4436 void Isolate::set_date_cache(DateCache* date_cache) { in ThrowInternal() argument 4437 if (date_cache != date_cache_) { in ThrowInternal() 4440 date_cache_ = date_cache; in ThrowInternal()
|
/third_party/node/deps/v8/src/codegen/ |
D | external-reference.cc | 347 return ExternalReference(isolate->date_cache()->stamp_address()); in FUNCTION_REFERENCE()
|
/third_party/node/deps/v8/src/debug/ |
D | debug-interface.cc | 91 auto buffer = i::ToDateString(jsdate->value().Number(), isolate->date_cache(), in GetDateDescription()
|
/third_party/node/deps/v8/src/diagnostics/ |
D | objects-debug.cc | 826 Smi::ToInt(isolate->date_cache()->stamp())); in JSDateVerify()
|
/third_party/node/deps/v8/src/api/ |
D | api.cc | 9537 i_isolate->date_cache()->ResetDateCache( in DateTimeConfigurationChangeNotification()
|