/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 94 using Date = builtins::BuiltinsDate; 225 reinterpret_cast<uintptr_t>(Date::DateConstructor), 226 reinterpret_cast<uintptr_t>(Date::GetDate), 227 reinterpret_cast<uintptr_t>(Date::GetDay), 228 reinterpret_cast<uintptr_t>(Date::GetFullYear), 229 reinterpret_cast<uintptr_t>(Date::GetHours), 230 reinterpret_cast<uintptr_t>(Date::GetMilliseconds), 231 reinterpret_cast<uintptr_t>(Date::GetMinutes), 232 reinterpret_cast<uintptr_t>(Date::GetMonth), 233 reinterpret_cast<uintptr_t>(Date [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_date.cpp | 36 BUILTINS_API_TRACE(argv->GetThread(), Date, Constructor); in DateConstructor() 87 BUILTINS_API_TRACE(argv->GetThread(), Date, Now); in Now() 94 BUILTINS_API_TRACE(argv->GetThread(), Date, Parse); in Parse() 102 BUILTINS_API_TRACE(argv->GetThread(), Date, UTC); in UTC() 111 BUILTINS_API_TRACE(argv->GetThread(), Date, GetTime); in GetTime() 116 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a Date Object", JSTaggedValue::Exception()); in GetTime() 124 BUILTINS_API_TRACE(argv->GetThread(), Date, SetTime); in SetTime() 130 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a Date Object", JSTaggedValue::Exception()); in SetTime() 145 BUILTINS_API_TRACE(argv->GetThread(), Date, ToJSON); in ToJSON() 176 BUILTINS_API_TRACE(argv->GetThread(), Date, ValueO in ValueOf() [all...] |
H A D | builtins_lazy_callback.h | 55 static JSTaggedValue Date(JSThread *thread, const JSHandle<JSObject> &obj);
|
H A D | builtins_lazy_callback.cpp | 22 JSTaggedValue BuiltinsLazyCallback::Date(JSThread *thread, const JSHandle<JSObject> &obj) in Date() function in panda::ecmascript::builtins::BuiltinsLazyCallback 29 ResetLazyInternalAttr(thread, obj, "Date"); in Date()
|
H A D | builtins.cpp | 114 using Date = builtins::BuiltinsDate; 945 // Date.prototype in InitializeDate() 947 JSObject::SIZE, Date::GetNumPrototypeInlinedProperties(), JSType::JS_OBJECT, objFuncPrototypeVal); in InitializeDate() 951 // Date.prototype_or_hclass in InitializeDate() 955 // Date = new Function() in InitializeDate() 957 NewBuiltinConstructor(env, dateFuncPrototype, Date::DateConstructor, "Date", FunctionLength::ONE, in InitializeDate() 963 // Date.prototype method in InitializeDate() 964 for (const base::BuiltinFunctionEntry &entry: Date::GetDatePrototypeFunctions()) { in InitializeDate() 968 SetFunctionAtSymbol(env, dateFuncPrototype, env->GetToPrimitiveSymbol(), "[Symbol.toPrimitive]", Date in InitializeDate() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 418 V(Date, Constructor) \ 419 V(Date, Now) \ 420 V(Date, UTC) \ 421 V(Date, Parse) \ 422 V(Date, GetDateField) \ 423 V(Date, GetTime) \ 424 V(Date, SetTime) \ 425 V(Date, ToJSON) \ 426 V(Date, ValueOf) \ 427 V(Date, ToPrimitiv [all...] |
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.h | 423 static const std::string Date; // NOLINT (readability-identifier-naming) member 455 static const std::string Date; // NOLINT (readability-identifier-naming) member 475 return type == Object || type == Array || type == Regexp || type == Date || type == Map || type == Set || in Valid()
|
H A D | pt_types.cpp | 40 const std::string ObjectSubType::Date = "date"; // NOLINT (readability-identifier-naming) member in panda::ecmascript::tooling::ObjectSubType 64 const std::string ObjectClassName::Date = "Date"; // NOLINT (readability-identifier-naming) member in panda::ecmascript::tooling::ObjectClassName 146 return std::make_unique<ObjectRemoteObject>(ecmaVm, tagged, ObjectClassName::Date, ObjectSubType::Date); in FromTagged()
|