/external/v8/src/builtins/ |
D | builtins-date-gen.cc | 36 if (field_index == JSDate::kDateValue) { in Generate_DatePrototype_GetField() 37 Return(LoadObjectField(receiver, JSDate::kValueOffset)); in Generate_DatePrototype_GetField() 39 if (field_index < JSDate::kFirstUncachedField) { in Generate_DatePrototype_GetField() 45 Node* cache_stamp = LoadObjectField(receiver, JSDate::kCacheStampOffset); in Generate_DatePrototype_GetField() 48 receiver, JSDate::kValueOffset + field_index * kPointerSize)); in Generate_DatePrototype_GetField() 70 Generate_DatePrototype_GetField(context, receiver, JSDate::kDay); in TF_BUILTIN() 76 Generate_DatePrototype_GetField(context, receiver, JSDate::kWeekday); in TF_BUILTIN() 82 Generate_DatePrototype_GetField(context, receiver, JSDate::kYear); in TF_BUILTIN() 88 Generate_DatePrototype_GetField(context, receiver, JSDate::kHour); in TF_BUILTIN() 94 Generate_DatePrototype_GetField(context, receiver, JSDate::kMillisecond); in TF_BUILTIN() [all …]
|
D | builtins-date.cc | 176 Object* SetLocalDateValue(Isolate* isolate, Handle<JSDate> date, in SetLocalDateValue() 184 return *JSDate::SetValue(date, DateCache::TimeClip(time_val)); in SetLocalDateValue() 193 double const time_val = JSDate::CurrentTimeValue(isolate); in BUILTIN() 205 time_val = JSDate::CurrentTimeValue(isolate); in BUILTIN() 209 time_val = Handle<JSDate>::cast(value)->value()->Number(); in BUILTIN() 275 RETURN_RESULT_OR_FAILURE(isolate, JSDate::New(target, new_target, time_val)); in BUILTIN() 281 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in BUILTIN() 357 CHECK_RECEIVER(JSDate, date, "Date.prototype.setDate"); in BUILTIN() 377 CHECK_RECEIVER(JSDate, date, "Date.prototype.setFullYear"); in BUILTIN() 413 CHECK_RECEIVER(JSDate, date, "Date.prototype.setHours"); in BUILTIN() [all …]
|
D | builtins-intl.cc | 487 x = factory->NewNumber(JSDate::CurrentTimeValue(isolate)); in BUILTIN()
|
/external/v8/src/ |
D | value-serializer.h | 28 class JSDate; variable 128 void WriteJSDate(JSDate* date); 272 MaybeHandle<JSDate> ReadJSDate() V8_WARN_UNUSED_RESULT;
|
D | value-serializer.cc | 504 WriteJSDate(JSDate::cast(*receiver)); in WriteJSReceiver() 716 void ValueSerializer::WriteJSDate(JSDate* date) { in WriteJSDate() 1494 MaybeHandle<JSDate> ValueDeserializer::ReadJSDate() { in ReadJSDate() 1496 if (!ReadDouble().To(&value)) return MaybeHandle<JSDate>(); in ReadJSDate() 1498 Handle<JSDate> date; in ReadJSDate() 1499 if (!JSDate::New(isolate_->date_function(), isolate_->date_function(), value) in ReadJSDate() 1501 return MaybeHandle<JSDate>(); in ReadJSDate()
|
D | objects-inl.h | 493 CAST_ACCESSOR(JSDate) in CAST_ACCESSOR() 2500 ACCESSORS(JSDate, value, Object, kValueOffset) in ACCESSORS() 2501 ACCESSORS(JSDate, cache_stamp, Object, kCacheStampOffset) in ACCESSORS() 2502 ACCESSORS(JSDate, year, Object, kYearOffset) in ACCESSORS() 2503 ACCESSORS(JSDate, month, Object, kMonthOffset) in ACCESSORS() 2504 ACCESSORS(JSDate, day, Object, kDayOffset) in ACCESSORS() 2505 ACCESSORS(JSDate, weekday, Object, kWeekdayOffset) in ACCESSORS() 2506 ACCESSORS(JSDate, hour, Object, kHourOffset) in ACCESSORS() 2507 ACCESSORS(JSDate, min, Object, kMinOffset) in ACCESSORS() 2508 ACCESSORS(JSDate, sec, Object, kSecOffset) in ACCESSORS()
|
D | objects.h | 823 V(JSDate) \ 977 V(JSDate, JS_DATE_TYPE) \ 3476 class JSDate: public JSObject { 3478 static V8_WARN_UNUSED_RESULT MaybeHandle<JSDate> New( 3502 DECL_CAST(JSDate) 3511 static Handle<Object> SetValue(Handle<JSDate> date, double v); 3516 DECL_PRINTER(JSDate) 3517 DECL_VERIFIER(JSDate) 3569 DISALLOW_IMPLICIT_CONSTRUCTORS(JSDate);
|
D | external-reference.cc | 192 return ExternalReference(Redirect(FUNCTION_ADDR(JSDate::GetField))); in get_date_field_function()
|
D | objects-debug.cc | 249 JSDate::cast(this)->JSDateVerify(isolate); in HeapObjectVerify() 832 void JSDate::JSDateVerify(Isolate* isolate) { in JSDateVerify()
|
D | objects-printer.cc | 235 JSDate::cast(this)->JSDatePrint(os); in HeapObjectPrint() 1206 void JSDate::JSDatePrint(std::ostream& os) { // NOLINT in JSDatePrint()
|
D | objects.cc | 1402 return JSDate::kSize; in GetHeaderSize() 18389 MaybeHandle<JSDate> JSDate::New(Handle<JSFunction> constructor, in New() 18394 JSObject::New(constructor, new_target), JSDate); in New() 18401 Handle<JSDate>::cast(result)->SetValue(*value, std::isnan(tv)); in New() 18402 return Handle<JSDate>::cast(result); in New() 18407 double JSDate::CurrentTimeValue(Isolate* isolate) { in CurrentTimeValue() 18419 Object* JSDate::GetField(Object* object, Smi* index) { in GetField() 18420 return JSDate::cast(object)->DoGetField( in GetField() 18425 Object* JSDate::DoGetField(FieldIndex index) { in DoGetField() 18469 Object* JSDate::GetUTCField(FieldIndex index, in GetUTCField() [all …]
|
D | api.cc | 3451 VALUE_IS_SPECIFIC_TYPE(Date, JSDate) in VALUE_IS_SPECIFIC_TYPE() 6931 i::JSDate::New(isolate->date_function(), isolate->date_function(), time), in New() 6946 i::Handle<i::JSDate> jsdate = i::Handle<i::JSDate>::cast(obj); in ValueOf()
|
D | bootstrapper.cc | 2214 isolate_, global, "Date", JS_DATE_TYPE, JSDate::kSize, 0, in InitializeGlobal()
|
/external/v8/src/runtime/ |
D | runtime-date.cc | 27 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in RUNTIME_FUNCTION()
|
/external/v8/src/compiler/ |
D | access-builder.h | 140 static FieldAccess ForJSDateField(JSDate::FieldIndex index); in NON_EXPORTED_BASE()
|
D | access-builder.cc | 393 JSDate::kValueOffset, in ForJSDateValue() 403 FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { in ForJSDateField() 405 kTaggedBase, JSDate::kValueOffset + index * kPointerSize, in ForJSDateField()
|
/external/v8/src/objects/ |
D | intl-objects.cc | 695 x = JSDate::CurrentTimeValue(isolate); in DateTimeFormat() 721 double const x = Handle<JSDate>::cast(date)->value()->Number(); in ToLocaleDateTime()
|