Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
DprogramCache.h24 uint32_t hashCode; member
28 …ProgramCache(uint32_t hashCode, panda::pandasm::Program program) : hashCode(hashCode), program(std… in ProgramCache()
32 ProgramCache(uint32_t hashCode, panda::pandasm::Program program, bool needUpdateCache) in ProgramCache()
33 : hashCode(hashCode), program(std::move(program)), needUpdateCache(needUpdateCache) in ProgramCache()
DmoduleHelpers.cpp39 if (cacheProgramInfo != nullptr && cacheProgramInfo->hashCode == hash) { in CompileNpmModuleEntryList()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp32 uint32_t hashCode = EcmaStringAccessor(firstString).GetHashcode(); in GetString() local
33 hashCode = EcmaStringAccessor(secondString).ComputeHashcode(hashCode); in GetString()
34 auto range = table_.equal_range(hashCode); in GetString()
46 uint32_t hashCode = EcmaStringAccessor::ComputeHashcodeUtf8(utf8Data, utf8Len, canBeCompress); in GetString() local
47 auto range = table_.equal_range(hashCode); in GetString()
59 …uint32_t hashCode = EcmaStringAccessor::ComputeHashcodeUtf16(const_cast<uint16_t *>(utf16Data), ut… in GetString() local
60 auto range = table_.equal_range(hashCode); in GetString()
/arkcompiler/ets_frontend/merge_abc/src/
DprotobufSnapshotGenerator.cpp75 uint32_t hashCode = protoCache.hashcode(); in GetCacheContext() local
76 …auto *programCache = allocator->New<panda::es2panda::util::ProgramCache>(hashCode, std::move(*prog… in GetCacheContext()
85 protoCache.set_hashcode(programCache->hashCode); in UpdateCacheFile()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp32 uint32_t hashCode = obj->Hash(value.GetTaggedValue()); in Add() local
54 hashArray->Set(thread, index, JSTaggedValue(hashCode)); in Add()
80 uint32_t hashCode = Hash(value.GetTaggedValue()); in GetHashIndex() local
81 int32_t index = BinarySearchHashes(hashCode, size); in GetHashIndex()
91 while (right < size && (hashArray->Get(right).GetNumber() == hashCode)) { in GetHashIndex()
98 while (left >= 0 && ((hashArray->Get(left).GetNumber() == hashCode))) { in GetHashIndex()
212 uint32_t hashCode = hashes->Get(j).GetNumber(); in HasAll() local
213 if (destHashCode == hashCode) { in HasAll()
236 bool JSAPILightWeightSet::HasHash(const JSHandle<JSTaggedValue> &hashCode) in HasHash() argument
239 int32_t index = BinarySearchHashes(hashCode.GetTaggedValue().GetNumber(), size); in HasHash()
Djs_api_lightweightset.h56 bool HasHash(const JSHandle<JSTaggedValue> &hashCode);
/arkcompiler/ets_frontend/merge_abc/protos/
DcompositeProgram.proto22 uint32 hashCode = 1; field
/arkcompiler/ets_frontend/es2panda/compiler/core/
DcompileQueue.cpp89 if (cacheProgramInfo != nullptr && cacheProgramInfo->hashCode == src_->hash) { in Run()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_builder.cpp1613 …GateRef hashCode = ZExtInt32ToInt64(Load(VariableType::INT32(), string, IntPtr(EcmaString::HASHCOD… in TryGetHashcodeFromString() local
1614 Branch(Int64Equal(hashCode, Int64(0)), &noRawHashcode, &storeHash); in TryGetHashcodeFromString()
1622 result = hashCode; in TryGetHashcodeFromString()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js63788 this.hashCode = t._hashCode++;