Lines Matching defs:isFastPath

162     bool isFastPath = IsFastRegExp(thread, thisObj);
164 if (!isFastPath || cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) {
169 return RegExpBuiltinExec(thread, thisObj, string, isFastPath, useCache);
605 bool isFastPath = IsFastRegExp(thread, thisObj);
606 return RegExpMatch(thread, thisObj, string, isFastPath);
610 const JSHandle<JSTaggedValue> string, bool isFastPath)
615 if (!isFastPath || cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) {
618 bool isGlobal = GetFlag(thread, regexp, RegExpParser::FLAG_GLOBAL, isFastPath);
623 if (isFastPath) {
624 return RegExpBuiltinExec(thread, regexp, string, isFastPath, useCache);
631 uint32_t lastIndex = static_cast<uint32_t>(GetLastIndex(thread, regexp, isFastPath));
639 bool fullUnicode = GetFlag(thread, regexp, RegExpParser::FLAG_UTF16, isFastPath);
642 SetLastIndex(thread, regexp, JSTaggedValue(0), isFastPath);
657 if (isFastPath) {
658 uint32_t lastIndex = static_cast<uint32_t>(GetLastIndex(thread, regexp, isFastPath));
660 result.Update(RegExpBuiltinExecWithoutResult(thread, regexp, string, isFastPath, lastIndex, false));
665 lastIndex = static_cast<uint32_t>(GetLastIndex(thread, regexp, isFastPath));
721 int64_t lastIndex = GetLastIndex(thread, regexp, isFastPath);
726 SetLastIndex(thread, regexp, nextIndex, isFastPath);
753 bool isFastPath = IsFastRegExp(thread, thisObj);
754 return RegExpMatchAll(thread, thisObj, stringHandle, isFastPath);
758 const JSHandle<EcmaString> string, bool isFastPath)
763 if (isFastPath) {
770 JSHandle<JSObject>::Cast(jsRegExp)->GetPropertyInlinedProps(LAST_INDEX_OFFSET), isFastPath);
1024 bool isFastPath = IsFastRegExp(thread, thisObj);
1025 if (isFastPath) {
1029 SetLastIndex(thread, thisObj, JSTaggedValue(0), isFastPath);
1034 isGlobal = GetFlag(thread, thisObj, RegExpParser::FLAG_GLOBAL, isFastPath);
1039 fullUnicode = GetFlag(thread, thisObj, RegExpParser::FLAG_UTF16, isFastPath);
1042 SetLastIndex(thread, thisObj, JSTaggedValue(0), isFastPath);
1052 if (isFastPath) {
1069 uint32_t lastIndexInput = static_cast<uint32_t>(GetLastIndex(thread, thisObj, isFastPath));
1089 uint32_t lastIndexInput = static_cast<uint32_t>(GetLastIndex(thread, thisObj, isFastPath));
1134 uint32_t thisIndex = static_cast<uint32_t>(GetLastIndex(thread, thisObj, isFastPath));
1140 SetLastIndex(thread, thisObj, nextIndexHandle.GetTaggedValue(), isFastPath);
1169 if (isFastPath) {
1192 JSTaggedValue positionTag = GetExecResultIndex(thread, resultValues, isFastPath);
1232 JSTaggedValue named = GetExecResultGroups(thread, resultValues, isFastPath);
1365 bool isFastPath = IsFastRegExp(thread, regexp);
1366 if (isFastPath) {
1434 bool isFastPath)
1437 if (isFastPath) {
1655 bool isFastPath = IsFastRegExp(thread, thisObj);
1656 return RegExpSplit(thread, thisObj, jsString, limit, isFastPath);
1977 bool isFastPath, bool useCache, bool isIntermediateResult)
1982 uint32_t lastIndex = static_cast<uint32_t>(GetLastIndex(thread, regexp, isFastPath));
1994 JSTaggedValue result = RegExpBuiltinExecWithoutResult(thread, regexp, inputStr, isFastPath, lastIndex, useCache);
2127 bool isFastPath, uint32_t lastIndex, bool useCache)
2136 SetLastIndex(thread, regexp, JSTaggedValue(0), isFastPath);
2150 SetLastIndex(thread, regexp, JSTaggedValue(0), isFastPath);
2165 SetLastIndex(thread, regexp, endIndex, isFastPath);
2794 bool BuiltinsRegExp::GetFlag(JSThread *thread, const JSHandle<JSTaggedValue> regexp, uint32_t flag, bool isFastPath)
2796 if (isFastPath) {
2838 JSTaggedValue lastIndex, bool isFastPath)
2840 if (isFastPath) {
2848 int64_t BuiltinsRegExp::GetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, bool isFastPath)
2850 if (isFastPath) {
2862 bool isFastPath)
2864 if (isFastPath) {
2875 bool isFastPath)
2877 if (isFastPath) {