Home
last modified time | relevance | path

Searched refs:date_cache (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-date.cc128 date = isolate->date_cache()->ToUTC(static_cast<int64_t>(date)); in ParseDateTimeString()
139 void ToDateString(double time_val, Vector<char> str, DateCache* date_cache, in ToDateString() argument
146 int64_t local_time_ms = date_cache->ToLocal(time_ms); in ToDateString()
148 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, in ToDateString()
150 int timezone_offset = -date_cache->TimezoneOffset(time_ms); in ToDateString()
153 const char* local_timezone = date_cache->LocalTimezone(time_ms); in ToDateString()
180 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in SetLocalDateValue()
195 ToDateString(time_val, ArrayVector(buffer), isolate->date_cache()); in BUILTIN()
270 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in BUILTIN()
364 int64_t local_time_ms = isolate->date_cache()->ToLocal(time_ms); in BUILTIN()
[all …]
/external/v8/src/
Disolate.h1183 DateCache* date_cache() { in date_cache() function
1187 void set_date_cache(DateCache* date_cache) { in set_date_cache() argument
1188 if (date_cache != date_cache_) { in set_date_cache()
1191 date_cache_ = date_cache; in set_date_cache()
Dexternal-reference.cc196 return ExternalReference(isolate->date_cache()->stamp_address()); in date_cache_stamp()
Dobjects.cc18428 DateCache* date_cache = GetIsolate()->date_cache(); in DoGetField() local
18432 if (stamp != date_cache->stamp() && stamp->IsSmi()) { in DoGetField()
18435 date_cache->ToLocal(static_cast<int64_t>(value()->Number())); in DoGetField()
18436 SetCachedFields(local_time_ms, date_cache); in DoGetField()
18451 return GetUTCField(index, value()->Number(), date_cache); in DoGetField()
18457 int64_t local_time_ms = date_cache->ToLocal(static_cast<int64_t>(time)); in DoGetField()
18471 DateCache* date_cache) { in GetUTCField() argument
18479 return Smi::FromInt(date_cache->TimezoneOffset(time_ms)); in GetUTCField()
18484 if (index == kWeekdayUTC) return Smi::FromInt(date_cache->Weekday(days)); in GetUTCField()
18488 date_cache->YearMonthDayFromDays(days, &year, &month, &day); in GetUTCField()
[all …]
Dobjects.h3563 Object* GetUTCField(FieldIndex index, double value, DateCache* date_cache);
3566 inline void SetCachedFields(int64_t local_time_ms, DateCache* date_cache);
Dobjects-debug.cc875 Smi::ToInt(isolate->date_cache()->stamp())); in JSDateVerify()
Dapi.cc6957 i_isolate->date_cache()->ResetDateCache(); in DateTimeConfigurationChangeNotification()