Searched refs:DateCache (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/v8/src/date/ |
D | date.cc | 28 DateCache::DateCache() in DateCache() function in v8::internal::DateCache 40 void DateCache::ResetDateCache( in ResetDateCache() 68 double DateCache::TimeClip(double time) { in TimeClip() 75 void DateCache::ClearSegment(DST* segment) { in ClearSegment() 82 void DateCache::YearMonthDayFromDays(int days, int* year, int* month, in YearMonthDayFromDays() 161 int DateCache::DaysFromYearMonth(int year, int month) { in DaysFromYearMonth() 200 void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day, in BreakDownTime() 215 int DateCache::GetLocalOffsetFromOS(int64_t time_ms, bool is_utc) { in GetLocalOffsetFromOS() 278 void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { in ExtendTheAfterSegment() 297 int DateCache::DaylightSavingsOffsetInMs(int64_t time_ms) { in DaylightSavingsOffsetInMs() [all …]
|
D | date.h | 16 class V8_EXPORT_PRIVATE DateCache { 41 DateCache(); 43 virtual ~DateCache() { in ~DateCache() 261 DateBuffer ToDateString(double time_val, DateCache* date_cache,
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-date.cc | 47 if (date >= -DateCache::kMaxTimeBeforeUTCInMs && in ParseDateTimeString() 48 date <= DateCache::kMaxTimeBeforeUTCInMs) { in ParseDateTimeString() 56 return DateCache::TimeClip(date); in ParseDateTimeString() 61 if (time_val >= -DateCache::kMaxTimeBeforeUTCInMs && in SetLocalDateValue() 62 time_val <= DateCache::kMaxTimeBeforeUTCInMs) { in SetLocalDateValue() 67 return *JSDate::SetValue(date, DateCache::TimeClip(time_val)); in SetLocalDateValue() 151 if (time_val >= -DateCache::kMaxTimeBeforeUTCInMs && in BUILTIN() 152 time_val <= DateCache::kMaxTimeBeforeUTCInMs) { in BUILTIN() 234 DateCache::TimeClip(MakeDate(day, time))); in BUILTIN() 457 return *JSDate::SetValue(date, DateCache::TimeClip(value->Number())); in BUILTIN() [all …]
|
D | builtins-intl.cc | 155 double date_value = DateCache::TimeClip(x->Number()); in BUILTIN()
|
/third_party/node/deps/v8/src/compiler/ |
D | type-cache.h | 136 CreateRange(-DateCache::kMaxTimeInMs, DateCache::kMaxTimeInMs);
|
/third_party/node/deps/v8/src/objects/ |
D | js-objects.h | 1096 class DateCache; variable 1156 Object GetUTCField(FieldIndex index, double value, DateCache* date_cache); 1159 inline void SetCachedFields(int64_t local_time_ms, DateCache* date_cache);
|
D | js-objects.cc | 5407 if (-DateCache::kMaxTimeInMs <= tv && tv <= DateCache::kMaxTimeInMs) { in New() 5447 DateCache* date_cache = isolate->date_cache(); in DoGetField() 5485 int days = DateCache::DaysFromTime(local_time_ms); in DoGetField() 5489 int time_in_day_ms = DateCache::TimeInDay(local_time_ms, days); in DoGetField() 5496 DateCache* date_cache) { in GetUTCField() 5507 int days = DateCache::DaysFromTime(time_ms); in GetUTCField() 5520 int time_in_day_ms = DateCache::TimeInDay(time_ms, days); in GetUTCField() 5563 set_cache_stamp(Smi::FromInt(DateCache::kInvalidStamp), SKIP_WRITE_BARRIER); in SetValue() 5567 void JSDate::SetCachedFields(int64_t local_time_ms, DateCache* date_cache) { in SetCachedFields() 5568 int days = DateCache::DaysFromTime(local_time_ms); in SetCachedFields() [all …]
|
D | js-date-time-format.cc | 747 double date_value = DateCache::TimeClip(x); in FormatDateTime() 2215 x = DateCache::TimeClip(x); in FormatRangeCommon() 2222 y = DateCache::TimeClip(y); in FormatRangeCommon()
|
/third_party/node/deps/v8/src/execution/ |
D | isolate.h | 1417 DateCache* date_cache() const { return date_cache_; } in date_cache() 1419 void set_date_cache(DateCache* date_cache); 2135 DateCache* date_cache_ = nullptr;
|
D | isolate.cc | 3923 date_cache_ = new DateCache(); in ThrowInternal() 4436 void Isolate::set_date_cache(DateCache* date_cache) { in ThrowInternal()
|