Searched refs:jsRegexp (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_regexp_test.cpp | 95 JSHandle<JSRegExp> jsRegexp(thread, JSRegExp::Cast(regexpObject->GetTaggedObject())); in HWTEST_F_L0() local 96 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() 97 uint8_t flagsBits = static_cast<uint8_t>(jsRegexp->GetOriginalFlags().GetInt()); in HWTEST_F_L0() 130 JSHandle<JSRegExp> jsRegexp(thread, JSRegExp::Cast(regexpObject->GetTaggedObject())); in HWTEST_F_L0() local 131 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() 132 uint8_t flagsBits = static_cast<uint8_t>(jsRegexp->GetOriginalFlags().GetInt()); in HWTEST_F_L0() 165 JSHandle<JSRegExp> jsRegexp(thread, JSRegExp::Cast(regexpObject->GetTaggedObject())); in HWTEST_F_L0() local 166 JSHandle<JSTaggedValue> originalSource(thread, jsRegexp->GetOriginalSource()); in HWTEST_F_L0() 167 uint8_t flagsBits = static_cast<uint8_t>(jsRegexp->GetOriginalFlags().GetInt()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 1640 JSHandle<JSRegExp> jsRegexp = in HWTEST_F_L0() local 1646 factory->NewJSRegExpByteCodeData(jsRegexp, static_cast<void *>(buffer), bufferSize); in HWTEST_F_L0() 1647 jsRegexp->SetOriginalSource(thread, JSHandle<JSTaggedValue>(pattern)); in HWTEST_F_L0() 1648 jsRegexp->SetOriginalFlags(thread, JSHandle<JSTaggedValue>(flags)); in HWTEST_F_L0() 1651 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(jsRegexp)); in HWTEST_F_L0()
|