Home
last modified time | relevance | path

Searched refs:isFastPath (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_regexp_iterator.cpp59 bool isFastPath = BuiltinsRegExp::IsFastRegExp(thread, regexp); in Next() local
60 if (isFastPath) { in Next()
61 match.Update(BuiltinsRegExp::RegExpBuiltinExec(thread, regexp, inputStr, isFastPath, true)); in Next()
94 uint32_t lastIndex = static_cast<uint32_t>(BuiltinsRegExp::GetLastIndex(thread, regexp, isFastPath)); in Next()
98 BuiltinsRegExp::SetLastIndex(thread, regexp, JSTaggedValue(nextIndex), isFastPath); in Next()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_regexp.h95 static bool GetFlag(JSThread *thread, const JSHandle<JSTaggedValue> regexp, uint32_t flag, bool isFastPath);
98 JSTaggedValue lastIndex, bool isFastPath);
99 static int64_t GetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, bool isFastPath);
102 bool isFastPath, uint32_t lastIndex, bool useCache);
106 bool isFastPath, bool useCache, bool isIntermediateResult = false);
114 bool isFastPath);
116 bool isFastPath);
118 bool isFastPath);
120 const JSHandle<JSTaggedValue> string, bool isFastPath);
122 const JSHandle<EcmaString> string, bool isFastPath);
[all...]
H A Dbuiltins_regexp.cpp162 bool isFastPath = IsFastRegExp(thread, thisObj); in Exec() local
164 if (!isFastPath || cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) { in Exec()
169 return RegExpBuiltinExec(thread, thisObj, string, isFastPath, useCache); in Exec()
605 bool isFastPath = IsFastRegExp(thread, thisObj); in Match() local
606 return RegExpMatch(thread, thisObj, string, isFastPath); in Match()
610 const JSHandle<JSTaggedValue> string, bool isFastPath) in RegExpMatch()
615 if (!isFastPath || cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) { in RegExpMatch()
618 bool isGlobal = GetFlag(thread, regexp, RegExpParser::FLAG_GLOBAL, isFastPath); in RegExpMatch()
623 if (isFastPath) { in RegExpMatch()
624 return RegExpBuiltinExec(thread, regexp, string, isFastPath, useCach in RegExpMatch()
609 RegExpMatch(JSThread *thread, const JSHandle<JSTaggedValue> regexp, const JSHandle<JSTaggedValue> string, bool isFastPath) RegExpMatch() argument
753 bool isFastPath = IsFastRegExp(thread, thisObj); MatchAll() local
757 RegExpMatchAll(JSThread *thread, const JSHandle<JSTaggedValue> regexp, const JSHandle<EcmaString> string, bool isFastPath) RegExpMatchAll() argument
1024 bool isFastPath = IsFastRegExp(thread, thisObj); ReplaceInternal() local
1365 bool isFastPath = IsFastRegExp(thread, regexp); RegExpSearch() local
1432 RegExpSplit(JSThread *thread, const JSHandle<JSTaggedValue> regexp, JSHandle<JSTaggedValue> jsString, JSHandle<JSTaggedValue> limit, bool isFastPath) RegExpSplit() argument
1655 bool isFastPath = IsFastRegExp(thread, thisObj); Split() local
1975 RegExpBuiltinExec(JSThread *thread, const JSHandle<JSTaggedValue> regexp, const JSHandle<JSTaggedValue> inputStr, bool isFastPath, bool useCache, bool isIntermediateResult) RegExpBuiltinExec() argument
2125 RegExpBuiltinExecWithoutResult(JSThread *thread, const JSHandle<JSTaggedValue> regexp, const JSHandle<JSTaggedValue> inputStr, bool isFastPath, uint32_t lastIndex, bool useCache) RegExpBuiltinExecWithoutResult() argument
2794 GetFlag(JSThread *thread, const JSHandle<JSTaggedValue> regexp, uint32_t flag, bool isFastPath) GetFlag() argument
2837 SetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, JSTaggedValue lastIndex, bool isFastPath) SetLastIndex() argument
2848 GetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, bool isFastPath) GetLastIndex() argument
2861 GetExecResultIndex(JSThread *thread, const JSHandle<JSTaggedValue> &execResults, bool isFastPath) GetExecResultIndex() argument
2874 GetExecResultGroups(JSThread *thread, const JSHandle<JSTaggedValue> &execResults, bool isFastPath) GetExecResultGroups() argument
[all...]
H A Dbuiltins_string.cpp1033 bool isFastPath = BuiltinsRegExp::IsFastRegExp(thread, searchTag); in Replace() local
1034 if (isFastPath) { in Replace()

Completed in 10 milliseconds