Home
last modified time | relevance | path

Searched refs:inputStr (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/
Dcontainersplainarray_fuzzer.cpp121 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/
Djs_regexp_iterator.cpp56 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()
Djs_regexp_iterator.h29 … const JSHandle<EcmaString> &inputStr, bool global,
Dobject_factory.h401 … const JSHandle<EcmaString> &inputStr, bool global,
Dobject_factory.cpp2717 … const JSHandle<EcmaString> &inputStr, bool global, in NewJSRegExpIterator() argument
2728 iter->SetIteratedString(thread_, inputStr.GetTaggedValue()); in NewJSRegExpIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_regexp_iterator_test.cpp81 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/
Dbuiltins_regexp.cpp151 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 …]
Dbuiltins_regexp.h87 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,