Searched refs:date_cache (Results 1 - 8 of 8) sorted by relevance
/external/v8/test/cctest/ |
H A D | test-date.cc | 101 static int64_t TimeFromYearMonthDay(DateCache* date_cache, argument 105 int64_t result = date_cache->DaysFromYearMonth(year, month); 112 DateCache* date_cache = isolate->date_cache(); local 113 int64_t actual = date_cache->ToLocal(time); 114 int64_t expected = time + date_cache->GetLocalOffsetFromOS() + 115 date_cache->GetDaylightSavingsOffsetFromOS(time / 1000); 133 DateCacheMock* date_cache = local 136 reinterpret_cast<Isolate*>(isolate)->set_date_cache(date_cache); 138 int64_t start_of_2010 = TimeFromYearMonthDay(date_cache, 201 [all...] |
/external/v8/src/ |
H A D | builtins.cc | 3412 date = isolate->date_cache()->ToUTC(static_cast<int64_t>(date)); 3425 void ToDateString(double time_val, Vector<char> str, DateCache* date_cache, argument 3432 int64_t local_time_ms = date_cache->ToLocal(time_ms); 3434 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, 3436 int timezone_offset = -date_cache->TimezoneOffset(time_ms); 3439 const char* local_timezone = date_cache->LocalTimezone(time_ms); 3465 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); 3480 ToDateString(time_val, ArrayVector(buffer), isolate->date_cache()); 3559 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); 3655 int64_t local_time_ms = isolate->date_cache() [all...] |
H A D | isolate.h | 969 DateCache* date_cache() { 973 void set_date_cache(DateCache* date_cache) { 974 if (date_cache != date_cache_) { 977 date_cache_ = date_cache;
|
H A D | objects-debug.cc | 495 Smi::cast(isolate->date_cache()->stamp())->value());
|
H A D | objects.cc | 18528 DateCache* date_cache = GetIsolate()->date_cache(); local 18532 if (stamp != date_cache->stamp() && stamp->IsSmi()) { 18535 date_cache->ToLocal(static_cast<int64_t>(value()->Number())); 18536 SetCachedFields(local_time_ms, date_cache); 18551 return GetUTCField(index, value()->Number(), date_cache); 18557 int64_t local_time_ms = date_cache->ToLocal(static_cast<int64_t>(time)); 18571 DateCache* date_cache) { 18579 return Smi::FromInt(date_cache->TimezoneOffset(time_ms)); 18584 if (index == kWeekdayUTC) return Smi::FromInt(date_cache 18569 GetUTCField(FieldIndex index, double value, DateCache* date_cache) argument 18660 SetCachedFields(int64_t local_time_ms, DateCache* date_cache) argument [all...] |
H A D | assembler.cc | 1105 return ExternalReference(isolate->date_cache()->stamp_address());
|
H A D | objects.h | 7946 Object* GetUTCField(FieldIndex index, double value, DateCache* date_cache); 7949 inline void SetCachedFields(int64_t local_time_ms, DateCache* date_cache);
|
H A D | api.cc | 6244 i_isolate->date_cache()->ResetDateCache();
|
Completed in 211 milliseconds