Home
last modified time | relevance | path

Searched refs:CACHE_SIZE (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_parser_cache.h30 static constexpr size_t CACHE_SIZE = 128; member in panda::ecmascript::RegExpParserCache
50 std::array<ParserKey, CACHE_SIZE> info_ {};
H A Dregexp_parser_cache.cpp42 return (hashcode ^ flags) % CACHE_SIZE; in GetHash()
H A Dregexp_parser.cpp23 static constexpr uint32_t CACHE_SIZE = 128; member
920 char buffer[CACHE_SIZE] = {0}; in ParseGroupSpecifier()
938 } else if (c > CACHE_SIZE && c != KEY_EOF) { in ParseGroupSpecifier()
1614 if (c < CACHE_SIZE) { in IsIdentFirst()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.h321 static constexpr int CACHE_SIZE = 256; member in panda::ecmascript::CompareStringsOption::StringSplitResultCache
341 static constexpr int CACHE_SIZE = 128; member in panda::ecmascript::CompareStringsOption::StringToListResultCache
H A Dbuiltins_string.cpp2396 int length = CACHE_SIZE * ENTRY_SIZE; in CreateCacheTable()
2407 uint32_t entry = hash & (CACHE_SIZE - 1); in FindCachedResult()
2445 uint32_t entry = hash & (CACHE_SIZE - 1); in SetCachedResult()
2455 int length = CACHE_SIZE * ENTRY_SIZE; in CreateCacheTable()
2468 uint32_t entry = hash & (CACHE_SIZE - 1); in FindCachedResult()
2504 uint32_t entry = hash & (CACHE_SIZE - 1); in SetCachedResult()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
H A Dregexp_parser.cpp98 static constexpr uint32_t CACHE_SIZE = 128; member
856 std::array<char, CACHE_SIZE> buffer {}; in ParseGroupSpecifier()
875 } else if (c > CACHE_SIZE && c != KEY_EOF) { in ParseGroupSpecifier()
1513 if (c < CACHE_SIZE) { in IsIdentFirst()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_regexp_test.cpp593 RegExpParserCache::CACHE_SIZE, vec).first.IsHole()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_array_stub_builder.cpp2702 GateRef entry = Int32And(hash, Int32Sub(Int32(builtins::StringToListResultCache::CACHE_SIZE), Int32(1))); in From()

Completed in 21 milliseconds