Lines Matching refs:resultArray

1156     JSHandle<TaggedArray> resultArray = factory->NewTaggedArray(resultArrayLength);
1288 // store undefined in resultArray
1289 resultArray->Set(thread, REPLACE_RESULT_VAL * i, JSTaggedValue::Undefined());
1299 // store replacement string in resultArray
1300 resultArray->Set(thread, REPLACE_RESULT_VAL * i + 1, replacementString.GetTaggedValue());
1313 // store undefined in resultArray
1314 resultArray->Set(thread, REPLACE_RESULT_VAL * resultsIndex, JSTaggedValue::Undefined());
1327 CreateStringFromResultArray(thread, resultArray, resultLengthArray, srcString, resultStrLength, isUtf8);
2560 const JSHandle<JSTaggedValue> resultArray, CacheType type,
2572 if (!isIntermediateResult && resultArray->IsJSArray()) {
2574 ->CloneArrayLiteral(JSHandle<JSArray>(resultArray));
2577 resultArrayCopy = JSHandle<JSTaggedValue>(resultArray);
2666 void RegExpExecResultCache::UpdateResultArray(JSThread *thread, int entry, JSTaggedValue resultArray, CacheType type)
2673 Set(thread, index + RESULT_REPLACE_INDEX, resultArray);
2676 Set(thread, index + RESULT_SPLIT_INDEX, resultArray);
2679 Set(thread, index + RESULT_MATCH_INDEX, resultArray);
2682 Set(thread, index + RESULT_EXEC_INDEX, resultArray);
2685 Set(thread, index + RESULT_INTERMEDIATE_REPLACE_INDEX, resultArray);
2688 Set(thread, index + RESULT_TEST_INDEX, resultArray);
2691 Set(thread, index + RESULT_SEARCH_INDEX, resultArray);
2888 const JSHandle<TaggedArray> resultArray, const std::vector<uint64_t> &resultLengthArray,
2899 uint32_t resultArrayLength = resultArray->GetLength();
2901 JSTaggedValue substrValue = resultArray->Get(thread, i);