/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/ |
D | containersplainarray_fuzzer.cpp | 121 std::string inputStr(data, data + size); in ContainersPlainArray_Add_Has_FuzzTest() local 133 JSHandle<EcmaString> inputEcmaStr = factory->NewFromStdString(inputStr); in ContainersPlainArray_Add_Has_FuzzTest() 165 std::string inputStr(data, data + size); in ContainersPlainArray_Clone_FuzzTest() local 175 JSHandle<EcmaString> inputEcmaStr = factory->NewFromStdString(inputStr); in ContainersPlainArray_Clone_FuzzTest() 203 std::string inputStr(data, data + size); in ContainersPlainArray_Clear_FuzzTest() local 213 JSHandle<EcmaString> inputEcmaStr = factory->NewFromStdString(inputStr); in ContainersPlainArray_Clear_FuzzTest() 241 std::string inputStr(data, data + size); in ContainersPlainArray_Get_FuzzTest() local 251 JSHandle<EcmaString> inputEcmaStr = factory->NewFromStdString(inputStr); in ContainersPlainArray_Get_FuzzTest() 280 std::string inputStr(data, data + size); in ContainersPlainArray_GetIteratorObj_FuzzTest() local 290 JSHandle<EcmaString> inputEcmaStr = factory->NewFromStdString(inputStr); in ContainersPlainArray_GetIteratorObj_FuzzTest() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_regexp_iterator.cpp | 56 JSHandle<JSTaggedValue> inputStr(thread, jsIterator->GetIteratedString()); in Next() local 61 JSTaggedValue match = BuiltinsRegExp::RegExpExec(thread, regexHandle, inputStr, false); in Next() 91 … uint32_t nextIndex = BuiltinsRegExp::AdvanceStringIndex(inputStr, thisIndex.ToUint32(), in Next() 111 … const JSHandle<EcmaString> &inputStr, in CreateRegExpStringIterator() argument 119 …JSHandle<JSTaggedValue> iter(factory->NewJSRegExpIterator(matcher, inputStr, global, fullUnicode)); in CreateRegExpStringIterator()
|
D | js_regexp_iterator.h | 29 … const JSHandle<EcmaString> &inputStr, bool global,
|
D | object_factory.h | 401 … const JSHandle<EcmaString> &inputStr, bool global,
|
D | object_factory.cpp | 2717 … const JSHandle<EcmaString> &inputStr, bool global, in NewJSRegExpIterator() argument 2728 iter->SetIteratedString(thread_, inputStr.GetTaggedValue()); in NewJSRegExpIterator()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_regexp_iterator_test.cpp | 81 JSHandle<EcmaString> inputStr = factory->NewFromASCII("g"); in HWTEST_F_L0() local 83 JSRegExpIterator::CreateRegExpStringIterator(thread, matchHandle, inputStr, true, false); in HWTEST_F_L0() 86 JSRegExpIterator::CreateRegExpStringIterator(thread, matchHandle, inputStr, false, false); in HWTEST_F_L0() 95 JSHandle<EcmaString> inputStr = factory->NewFromASCII("2016-01-02|2019-03-04"); in HWTEST_F_L0() local 105 ecmaRuntimeCallInfo1->SetCallArg(0, inputStr.GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_regexp.cpp | 151 JSHandle<JSTaggedValue> inputStr = GetCallArg(argv, 0); in Exec() local 152 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputStr); in Exec() 187 JSHandle<JSTaggedValue> inputStr = GetCallArg(argv, 0); in Test() local 190 JSHandle<EcmaString> stringHandle = JSTaggedValue::ToString(thread, inputStr); in Test() 728 JSHandle<JSTaggedValue> inputStr = JSHandle<JSTaggedValue>::Cast(srcString); in Replace() local 817 execResult.Update(RegExpExec(thread, thisObj, inputStr, useCache)); in Replace() 853 uint32_t nextIndex = AdvanceStringIndex(inputStr, thisIndex, fullUnicode); in Replace() 959 … replacerArgs->Set(thread, index + 2, inputStr.GetTaggedValue()); // 2: position of string in Replace() 998 … JSHandle<EcmaString>::Cast(inputStr), nextSourcePosition, position - nextSourcePosition); in Replace() 1019 JSHandle<EcmaString>::Cast(inputStr), nextSourcePosition, length - nextSourcePosition); in Replace() [all …]
|
D | builtins_regexp.h | 87 static uint32_t AdvanceStringIndex(const JSHandle<JSTaggedValue> &inputStr, uint32_t index, 102 const JSHandle<JSTaggedValue> &inputStr, bool useCache); 151 … bool Match(int entry, JSTaggedValue &pattenStr, JSTaggedValue &flagsStr, JSTaggedValue &inputStr,
|