Searched refs:dateFunction (Results 1 – 8 of 8) 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 | 1564 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in JSDateCreate() local 1566 …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/ |
D | js_serializer.cpp | 1433 JSHandle<JSFunction> dateFunction(env->GetDateFunction()); in ReadJSDate() local 1434 … JSHandle<JSDate> date = JSHandle<JSDate>::Cast(factory_->NewJSObjectByConstructor(dateFunction)); in ReadJSDate()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 967 JSHandle<JSObject> dateFunction( in InitializeDate() local 971 JSHandle<JSFunction>(dateFunction), in InitializeDate() 984 SetFunction(env, dateFunction, entry.GetName(), entry.GetEntrypoint(), in InitializeDate() 988 SetConstant(dateFunction, "length", JSTaggedValue(Date::UTC_LENGTH)); in InitializeDate() 990 env->SetDateFunction(thread_, dateFunction); in InitializeDate() 993 dateFunction->GetJSHClass(), in InitializeDate()
|
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
D | serializer_test.cpp | 1347 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in JSDateCreate() local 1349 …JSDate>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(dateFunction), dateFunction)); in JSDateCreate()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi_expo.cpp | 2004 JSHandle<JSFunction> dateFunction(globalEnv->GetDateFunction()); in New() local 2005 JSHandle<JSDate> dateObject(factory->NewJSObjectByConstructor(dateFunction)); in New()
|