Searched refs:originalSource (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_regexp_test.cpp | 96 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local 99 …ASSERT_EQ(EcmaStringAccessor::Compare(instance, JSHandle<EcmaString>(originalSource), pattern), 0); in HWTEST_F_L0() 131 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local 134 …ASSERT_EQ(EcmaStringAccessor::Compare(instance, JSHandle<EcmaString>(originalSource), pattern), 0); in HWTEST_F_L0() 166 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local 169 …ASSERT_EQ(EcmaStringAccessor::Compare(instance, JSHandle<EcmaString>(originalSource), pattern1), 0… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_serializer.cpp | 715 JSHandle<JSTaggedValue> originalSource(thread_, regExp->GetOriginalSource()); in WriteJSRegExp() local 716 if (!SerializeJSTaggedValue(originalSource)) { in WriteJSRegExp() 1633 JSHandle<JSTaggedValue> originalSource = DeserializeJSTaggedValue(); in ReadJSRegExp() local 1634 regExp->SetOriginalSource(thread_, originalSource); in ReadJSRegExp()
|
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
D | serializer_test.cpp | 569 JSHandle<JSTaggedValue> originalSource(thread, resJSRegexp->GetOriginalSource()); in JSRegexpTest() local 570 EXPECT_TRUE(originalSource->IsString()); in JSRegexpTest() 573 … EXPECT_TRUE(EcmaStringAccessor::StringsAreEqual(*JSHandle<EcmaString>(originalSource), *pattern)); in JSRegexpTest()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 612 JSHandle<JSTaggedValue> originalSource(thread, resJSRegexp->GetOriginalSource()); in JSRegexpTest() local 613 EXPECT_TRUE(originalSource->IsString()); in JSRegexpTest() 616 … EXPECT_TRUE(EcmaStringAccessor::StringsAreEqual(*JSHandle<EcmaString>(originalSource), *pattern)); in JSRegexpTest()
|