Home
last modified time | relevance | path

Searched refs:execResult (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_regexp_test.cpp233 void ExecCommon(JSThread* thread, EcmaVM* instance, JSHandle<JSTaggedValue>& execResult, in ExecCommon() argument
237 JSHandle<JSTaggedValue> inputHandle(JSObject::GetProperty(thread, execResult, input).GetValue()); in ExecCommon()
242 JSHandle<JSTaggedValue> zeroHandle(JSObject::GetProperty(thread, execResult, zero).GetValue()); in ExecCommon()
247 JSHandle<JSTaggedValue> oneHandle(JSObject::GetProperty(thread, execResult, first).GetValue()); in ExecCommon()
252 JSHandle<JSTaggedValue> twoHandle(JSObject::GetProperty(thread, execResult, second).GetValue()); in ExecCommon()
277 JSHandle<JSTaggedValue> execResult(thread, results); in HWTEST_F_L0()
284 JSHandle<JSTaggedValue> indexHandle(JSObject::GetProperty(thread, execResult, index).GetValue()); in HWTEST_F_L0()
289 ExecCommon(thread, instance, execResult, inputString, result); in HWTEST_F_L0()
316 JSHandle<JSTaggedValue> execResult(thread, results); in HWTEST_F_L0()
324 JSHandle<JSTaggedValue> indexHandle(JSObject::GetProperty(thread, execResult, inde in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Descompat_RegExp.cpp430 auto execResult = Execute(regexp.GetPtr(), strHandle.GetPtr(), stringLength, lastIndex, hasIndices); in EscompatRegExpExec() local
431 if (!execResult.isSuccess) { in EscompatRegExpExec()
438 SetLastIndexField(regexp.GetPtr(), lastIndexField, global, sticky, static_cast<EtsDouble>(execResult.endIndex)); in EscompatRegExpExec()
440 SetIndexField(regexpExecArrayObject.GetPtr(), execResult.index); in EscompatRegExpExec()
442 SetResultField(regexpExecArrayObject.GetPtr(), execResult.captures, execResult.isWide); in EscompatRegExpExec()
444 execResult.index); in EscompatRegExpExec()
445 SetIndicesField(regexpExecArrayObject.GetPtr(), execResult.indices, hasIndices); in EscompatRegExpExec()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_regexp.cpp1085 JSMutableHandle<JSTaggedValue> execResult(thread, JSTaggedValue(0)); in ReplaceInternal()
1102 execResult.Update(RegExpExec(thread, thisObj, inputStr, useCache, true)); in ReplaceInternal()
1106 if (execResult->IsNull()) { in ReplaceInternal()
1115 elements->Set(thread, resultsIndex, execResult); in ReplaceInternal()
1125 thread, execResult.GetTaggedValue(), matchedStr.GetTaggedValue()); in ReplaceInternal()
1524 JSHandle<JSTaggedValue> execResult(thread, RegExpExec(thread, splitter, jsString, useCache)); in RegExpSplit()
1528 if (!execResult->IsNull()) { in RegExpSplit()
1548 JSHandle<JSTaggedValue> execResult(thread, RegExpExec(thread, splitter, jsString, useCache)); in RegExpSplit()
1552 if (execResult->IsNull()) { in RegExpSplit()
1589 JSObject::GetProperty(thread, execResult, lengthStrin in RegExpSplit()
[all...]

Completed in 8 milliseconds