Home
last modified time | relevance | path

Searched refs:originalSource (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp96 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/
Djs_serializer.cpp715 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/
Dserializer_test.cpp569 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/
Djs_serializer_test.cpp612 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()