Searched refs:dateFunction (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_date_test.cpp | 58 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in JSDateCreate() local 60 …JSDate>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(dateFunction), dateFunction)); in JSDateCreate()
|
D | js_serializer_test.cpp | 1464 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in JSDateCreate() local 1466 …JSDate>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(dateFunction), dateFunction)); in JSDateCreate()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_lazy_test.cpp | 99 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in HWTEST_F_L0() local 100 ASSERT_TRUE(dateFunction->IsJSFunction()); in HWTEST_F_L0() 103 ASSERT_TRUE(JSTaggedValue::HasProperty(thread, dateFunction, key)); in HWTEST_F_L0() 113 …auto dateFunction = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key.GetTaggedValue()); in HWTEST_F_L0() local 114 ASSERT_TRUE(dateFunction.IsJSFunction()); in HWTEST_F_L0()
|
D | builtins_date_test.cpp | 65 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in JSDateCreateTest() local 67 …JSDate>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(dateFunction), dateFunction)); in JSDateCreateTest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 906 JSHandle<JSObject> dateFunction( in InitializeDate() local 909 …JSHandle<JSFunction>(dateFunction)->SetFunctionPrototype(thread_, dateFuncInstanceHClass.GetTagged… in InitializeDate() 964 SetFunction(env, dateFunction, "now", Date::Now, FunctionLength::ZERO); in InitializeDate() 965 SetFunction(env, dateFunction, "parse", Date::Parse, FunctionLength::ONE); in InitializeDate() 966 SetFunction(env, dateFunction, "UTC", Date::UTC, utcLength); in InitializeDate() 969 SetConstant(dateFunction, "length", JSTaggedValue(utcLength)); in InitializeDate() 971 env->SetDateFunction(thread_, dateFunction); in InitializeDate()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_serializer.cpp | 1414 JSHandle<JSFunction> dateFunction(env->GetDateFunction()); in ReadJSDate() local 1415 … JSHandle<JSDate> date = JSHandle<JSDate>::Cast(factory_->NewJSObjectByConstructor(dateFunction)); in ReadJSDate()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 2483 JSHandle<JSFunction> dateFunction(globalEnv->GetDateFunction()); in New() local 2484 JSHandle<JSDate> dateObject(factory->NewJSObjectByConstructor(dateFunction)); in New()
|