/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_date_test.cpp | 84 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); in HWTEST_F_L0() local 87 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 6, jsDate.GetTaggedValue()); in HWTEST_F_L0() 98 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); in HWTEST_F_L0() local 101 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 6, jsDate.GetTaggedValue()); in HWTEST_F_L0() 112 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); in HWTEST_F_L0() local 115 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 6, jsDate.GetTaggedValue()); in HWTEST_F_L0() 126 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); in HWTEST_F_L0() local 130 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 10, jsDate.GetTaggedValue()); in HWTEST_F_L0() 150 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); in HWTEST_F_L0() local 154 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 10, jsDate in HWTEST_F_L0() 174 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 194 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 214 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 237 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 260 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 283 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 305 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 320 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 335 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 355 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 375 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 391 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 406 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 421 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 437 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 469 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 512 SetAllYearAndHours(JSThread *thread, const JSHandle<JSDate> &jsDate) SetAllYearAndHours() argument 531 SetAll1(JSThread *thread, const JSHandle<JSDate> &jsDate) SetAll1() argument 550 SetAll2(JSThread *thread, const JSHandle<JSDate> &jsDate) SetAll2() argument 643 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 663 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 676 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 691 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 721 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 734 GetLocalTime(JSHandle<JSDate>& jsDate) GetLocalTime() argument 752 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); ToStringCommon() local 803 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 820 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 835 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 861 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local 875 JSHandle<JSDate> jsDate = JSDateCreateTest(thread); HWTEST_F_L0() local [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_date_test.cpp | 43 JSHandle<JSDate> jsDate(thread, JSDateCreate(thread)); in HWTEST_F_L0() 44 EXPECT_EQ(jsDate->GetTimeValue(), JSTaggedValue(tm)); in HWTEST_F_L0() 45 EXPECT_EQ(jsDate->GetLocalOffset(), JSTaggedValue(JSDate::MAX_DOUBLE)); in HWTEST_F_L0() 47 jsDate->SetTimeValue(thread, JSTaggedValue(tm)); in HWTEST_F_L0() 49 [[maybe_unused]] double temp = jsDate->GetTimeValue().GetDouble(); in HWTEST_F_L0() 50 EXPECT_EQ(jsDate->GetTimeValue(), JSTaggedValue(tm)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_macros.h | 303 JSHandle<JSDate> jsDate(msg); \ 304 JSTaggedValue result = jsDate->SetDateValue(argv, code, isLocal); \ 306 jsDate->SetTimeValue(thread, result); \ 355 JSHandle<JSDate> jsDate(msg); \ 356 double result = jsDate->GetDateValue(jsDate->GetTimeValue().GetDouble(), code, isLocal); \
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_date.cpp | 53 JSHandle<JSDate> jsDate(thread, JSDate::Cast(value->GetTaggedObject())); in DateConstructor() 54 timeValue = jsDate->GetTimeValue(); in DateConstructor() 132 JSHandle<JSDate> jsDate(thread, JSDate::Cast(msg->GetTaggedObject())); in SetTime() 137 jsDate->SetTimeValue(thread, JSTaggedValue(value)); in SetTime()
|
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
H A D | serializer_test.cpp | 1558 JSHandle<JSDate> jsDate(thread, JSDateCreate(ecmaVm)); in HWTEST_F_L0() 1559 jsDate->SetTimeValue(thread, JSTaggedValue(tm)); in HWTEST_F_L0() 1562 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsDate), in HWTEST_F_L0()
|