Home
last modified time | relevance | path

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

/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp97 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local
100 ASSERT_EQ(static_cast<EcmaString *>(originalSource->GetTaggedObject())->Compare(*pattern), 0); in HWTEST_F_L0()
131 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local
134 ASSERT_EQ(static_cast<EcmaString *>(originalSource->GetTaggedObject())->Compare(*pattern), 0); in HWTEST_F_L0()
166 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() local
169 ASSERT_EQ(static_cast<EcmaString *>(originalSource->GetTaggedObject())->Compare(*pattern1), 0); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/
Djs_serializer.cpp490 JSHandle<JSTaggedValue> originalSource(thread_, regExp->GetOriginalSource()); in WriteJSRegExp() local
491 if (!SerializeJSTaggedValue(originalSource)) { in WriteJSRegExp()
1065 JSHandle<JSTaggedValue> originalSource = DeserializeJSTaggedValue(); in ReadJSRegExp() local
1066 regExp->SetOriginalSource(thread_, originalSource); in ReadJSRegExp()
/ark/js_runtime/ecmascript/tests/
Djs_serializer_test.cpp424 JSHandle<JSTaggedValue> originalSource(thread, resJSRegexp->GetOriginalSource()); in JSRegexpTest() local
425 EXPECT_TRUE(originalSource->IsString()); in JSRegexpTest()
428 EXPECT_TRUE(EcmaString::StringsAreEqual(*JSHandle<EcmaString>(originalSource), *pattern)); in JSRegexpTest()