| /arkcompiler/ets_frontend/es2panda/util/ |
| D | programCache.h | 24 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()
|
| D | moduleHelpers.cpp | 39 if (cacheProgramInfo != nullptr && cacheProgramInfo->hashCode == hash) { in CompileNpmModuleEntryList()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table.cpp | 34 auto [hashCode, isInteger] = EcmaStringAccessor(firstString).ComputeRawHashcode(); in GetString() 35 hashCode = EcmaStringAccessor(secondString).ComputeHashcode(hashCode, isInteger); in GetString() 37 auto range = table_.equal_range(hashCode); in GetString() 41 return std::make_pair(foundString, hashCode); in GetString() 44 return std::make_pair(nullptr, hashCode); in GetString() 50 uint32_t hashCode = EcmaStringAccessor::ComputeHashcodeUtf8(utf8Data, utf8Len, canBeCompress); in GetString() local 51 auto range = table_.equal_range(hashCode); in GetString() 55 return std::make_pair(foundString, hashCode); in GetString() 58 return std::make_pair(nullptr, hashCode); in GetString() 63 …uint32_t hashCode = EcmaStringAccessor::ComputeHashcodeUtf16(const_cast<uint16_t *>(utf16Data), ut… in GetString() local [all …]
|
| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | protobufSnapshotGenerator.cpp | 75 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/ |
| D | js_api_lightweightset.cpp | 33 uint32_t hashCode = obj->Hash(thread, value.GetTaggedValue()); in Add() local 55 hashArray->Set(thread, index, JSTaggedValue(hashCode)); in Add() 81 uint32_t hashCode = Hash(thread, value.GetTaggedValue()); in GetHashIndex() local 82 int32_t index = BinarySearchHashes(hashCode, size); in GetHashIndex() 92 while (right < size && (hashArray->Get(right).GetNumber() == hashCode)) { in GetHashIndex() 99 while (left >= 0 && ((hashArray->Get(left).GetNumber() == hashCode))) { in GetHashIndex() 213 uint32_t hashCode = hashes->Get(j).GetNumber(); in HasAll() local 214 if (destHashCode == hashCode) { in HasAll() 237 bool JSAPILightWeightSet::HasHash(const JSHandle<JSTaggedValue> &hashCode) in HasHash() argument 240 int32_t index = BinarySearchHashes(hashCode.GetTaggedValue().GetNumber(), size); in HasHash()
|
| D | js_api_lightweightset.h | 56 bool HasHash(const JSHandle<JSTaggedValue> &hashCode);
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | string_table.cpp | 95 …uint32_t hashCode = coretypes::String::ComputeHashcodeMutf8(utf8Data, utf16Length, canBeCompressed… in GetString() local 97 for (auto it = table_.find(hashCode); it != table_.end(); it++) { in GetString() 109 …uint32_t hashCode = coretypes::String::ComputeHashcodeUtf16(const_cast<uint16_t *>(utf16Data), utf… in GetString() local 111 for (auto it = table_.find(hashCode); it != table_.end(); it++) { in GetString() 144 uint32_t hashCode = string->GetHashcode(); in InternString() local 147 for (auto it = table_.find(hashCode); it != table_.end(); it++) { in InternString() 153 table_.insert(std::pair<uint32_t, coretypes::String *>(hashCode, string)); in InternString()
|
| /arkcompiler/ets_frontend/merge_abc/protos/ |
| D | compositeProgram.proto | 22 uint32 hashCode = 1; field
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | compileQueue.cpp | 89 if (cacheProgramInfo != nullptr && cacheProgramInfo->hashCode == src_->hash) { in Run()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_function.h | 821 return hashCode; in GetHashCode() 825 hashCode = newHashCode; in SetHashCode() 1563 uint16 hashCode = 0; // for methodmetadata order variable
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | mcr_circuit_builder.cpp | 1104 …GateRef hashCode = ZExtInt32ToInt64(Load(VariableType::INT32(), string, IntPtr(EcmaString::MIX_HAS… in TryGetHashcodeFromString() local 1105 Branch(Int64Equal(hashCode, Int64(0)), &noRawHashcode, &storeHash); in TryGetHashcodeFromString() 1113 result = hashCode; in TryGetHashcodeFromString()
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | cocos_worker_test.js | 63788 this.hashCode = t._hashCode++;
|