Home
last modified time | relevance | path

Searched refs:cacheTable (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp168 JSHandle<RegExpExecResultCache> cacheTable(thread->GetCurrentEcmaContext()->GetRegExpCache()); in Exec() local
169 if (cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) { in Exec()
385 JSHandle<RegExpExecResultCache> cacheTable(thread->GetCurrentEcmaContext()->GetRegExpCache()); in Match() local
386 if (cacheTable->GetLargeStrCount() == 0 || cacheTable->GetConflictCount() == 0) { in Match()
416 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match()
427 … JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, inputString, in Match()
469 … RegExpExecResultCache::AddResultInCache(thread, cacheTable, pattern, flags, inputString, in Match()
623 JSHandle<RegExpExecResultCache> cacheTable(thread->GetCurrentEcmaContext()->GetRegExpCache()); in RegExpReplaceFast() local
625 uint32_t largeStrCount = cacheTable->GetLargeStrCount(); in RegExpReplaceFast()
628 cacheTable->SetLargeStrCount(thread, --largeStrCount); in RegExpReplaceFast()
[all …]
Dbuiltins_string.cpp603 … JSHandle<RegExpExecResultCache> cacheTable(thread->GetCurrentEcmaContext()->GetRegExpCache()); in Match() local
607 JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, thisTag, in Match()
840 … JSHandle<RegExpExecResultCache> cacheTable(thread->GetCurrentEcmaContext()->GetRegExpCache()); in Replace() local
844 JSTaggedValue cacheResult = cacheTable->FindCachedResult(thread, pattern, flags, thisTag, in Replace()