| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | ref_block.cpp | 34 uint8_t index = GetFreeIndex(); in AddRef() local 48 auto index = (refPtr - blockPtr) / sizeof(ObjectPointer<ObjectHeader>); in Remove() local 60 for (size_t index = 0; index < REFS_IN_BLOCK; index++) { in VisitObjects() local 78 for (size_t index = 0; index < REFS_IN_BLOCK; index++) { in UpdateMovedRefs() local 106 for (size_t index = 0; index < REFS_IN_BLOCK; index++) { in GetAllReferencesInFrame() local 121 uint8_t index = 0; in GetFreeIndex() local 130 void RefBlock::Set(uint8_t index, const ObjectHeader *object) in Set() 138 bool RefBlock::IsFreeIndex(uint8_t index) in IsFreeIndex() 143 bool RefBlock::IsBusyIndex(uint8_t index) in IsBusyIndex()
|
| D | global_object_storage.h | 261 auto index = ReferenceToIndex(ref); in Get() local 269 auto index = ReferenceToIndex(ref); in GetAddressForRef() local 276 auto index = ReferenceToIndex(ref); in Remove() local 286 for (size_t index = 0; index < storage_.size(); index++) { in UpdateMovedRefs() local 349 uintptr_t index = ReferenceToIndex<false>(ref); in IsValidGlobalRef() local 401 bool IsFreeIndex(uintptr_t index) REQUIRES_SHARED(mutex_) in IsFreeIndex() 417 static uintptr_t EncodeObjectIndex(uintptr_t index) in EncodeObjectIndex() 423 static uintptr_t EncodeNextIndex(uintptr_t index) in EncodeNextIndex() 430 static uintptr_t DecodeIndex(uintptr_t index) in DecodeIndex() 460 void AssertIndex([[maybe_unused]] uintptr_t index) const REQUIRES_SHARED(mutex_) in AssertIndex()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | layout_info-inl.h | 40 inline uint32_t LayoutInfo::GetKeyIndex(int index) const in GetKeyIndex() 45 inline uint32_t LayoutInfo::GetAttrIndex(int index) const in GetAttrIndex() 50 inline void LayoutInfo::SetPropertyInit(const JSThread *thread, int index, const JSTaggedValue &key, in SetPropertyInit() 58 inline void LayoutInfo::SetNormalAttr(const JSThread *thread, int index, const PropertyAttributes &… in SetNormalAttr() 66 inline JSTaggedValue LayoutInfo::GetKey(int index) const in GetKey() 72 inline PropertyAttributes LayoutInfo::GetAttr(int index) const in GetAttr() 78 inline JSTaggedValue LayoutInfo::GetSortedKey(int index) const in GetSortedKey() 84 inline uint32_t LayoutInfo::GetSortedIndex(int index) const in GetSortedIndex() 89 inline void LayoutInfo::SetSortedIndex(const JSThread *thread, int index, int sortedIndex) in SetSortedIndex() 118 int index = cache->Get(cls, key); in FindElementWithCache() local [all …]
|
| D | tagged_tree.h | 81 int index = EntryToIndex(entry); in GetKey() local 87 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in GetValue() local 96 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_COLOR_INDEX); in GetColor() local 138 int index = EntryToIndex(entry); in SetKey() local 144 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in SetValue() local 180 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_PARENT_INDEX); in GetParent() local 190 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChild() local 199 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChild() local 208 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChildIndex() local 218 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChildIndex() local [all …]
|
| D | js_thread_hclass_entries.h | 64 size_t index = GetEntryIndex(type); in EntryIsValid() local 70 size_t index = GetEntryIndex(type); in GetBuiltinHClassOffset() local 76 size_t index = GetEntryIndex(type); in GetInstanceHClassOffset() local 82 size_t index = GetEntryIndex(type); in GetExtraHClassOffset() local 88 size_t index = GetEntryIndex(type); in GetPrototypeHClassOffset() local 94 size_t index = GetEntryIndex(type); in GetPrototypeOfPrototypeHClassOffset() local
|
| D | weak_vector.h | 71 inline JSTaggedValue Get(uint32_t index) const in Get() 77 inline void Set(const JSThread *thread, uint32_t index, JSTaggedValue value) in Set() 87 for (uint32_t index = 0; index < end; ++index) { in Iterate() local 96 inline static constexpr uint32_t VectorToArrayIndex(uint32_t index) in VectorToArrayIndex()
|
| D | global_env.h | 33 #define GLOBAL_ENV_SLOT(type, name, index) \ argument 49 uintptr_t ComputeObjectAddress(size_t index) const in ComputeObjectAddress() 54 JSHandle<JSTaggedValue> GetGlobalEnvObjectByIndex(size_t index) const in GetGlobalEnvObjectByIndex() 62 JSHandle<JSTaggedValue> GetNoLazyEnvObjectByIndex(size_t index) const in GetNoLazyEnvObjectByIndex() 99 …void AddValueToSnapshotEnv(const JSThread *thread, JSTaggedValue value, uint16_t index, uint32_t o… in AddValueToSnapshotEnv() 144 #define GLOBAL_ENV_FIELD_ACCESSORS(type, name, index) … argument
|
| D | global_env_constants-inl.h | 35 inline void GlobalEnvConstants::SetConstant(ConstantIndex index, JSTaggedValue value) in SetConstant() 43 inline void GlobalEnvConstants::SetConstant(ConstantIndex index, JSHandle<T> value) in SetConstant() 50 inline uintptr_t GlobalEnvConstants::GetGlobalConstantAddr(ConstantIndex index) const in GetGlobalConstantAddr()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 32 auto index = helpers::ToUnderlying(typeMem); in RecordAllocate() local 40 auto index = helpers::ToUnderlying(typeMem); in RecordMoved() local 56 auto index = helpers::ToUnderlying(typeMem); in RecordFree() local 79 for (size_t index = 0; index < SPACE_TYPE_SIZE; index++) { in GetAllocatedHeap() local 93 for (size_t index = 0; index < SPACE_TYPE_SIZE; index++) { in GetFreedHeap() local 111 auto index = helpers::ToUnderlying(typeMem); in GetFootprint() local
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 33 auto index = helpers::ToUnderlying(type_mem); in RecordAllocate() local 41 auto index = helpers::ToUnderlying(type_mem); in RecordMoved() local 57 auto index = helpers::ToUnderlying(type_mem); in RecordFree() local 80 for (size_t index = 0; index < SPACE_TYPE_SIZE; index++) { in GetAllocatedHeap() local 94 for (size_t index = 0; index < SPACE_TYPE_SIZE; index++) { in GetFreedHeap() local 112 auto index = helpers::ToUnderlying(type_mem); in GetFootprint() local
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
| D | test_frame.h | 53 void SetVReg(size_t index, uint64_t value) in SetVReg() 61 uint64_t GetVReg(size_t index) const override in GetVReg() 66 void SetVRegKind(size_t index, RegisterKind value) in SetVRegKind() 84 void SetArgument(size_t index, uint64_t value) in SetArgument() 92 uint64_t GetArgument(size_t index) const override in GetArgument() 97 void SetArgumentKind(size_t index, RegisterKind value) in SetArgumentKind()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | frame_states.h | 35 void SetBit(size_t index) in SetBit() 40 void ClearBit(size_t index) in ClearBit() 45 bool TestBit(size_t index) const in TestBit() 78 GateRef ValuesAt(size_t index) const in ValuesAt() 84 void SetValuesAt(size_t index, GateRef gate) in SetValuesAt() 116 size_t index; member 209 GateRef ValuesAt(size_t index) const in ValuesAt() 219 void UpdateVirtualRegister(size_t index, GateRef gate) in UpdateVirtualRegister()
|
| D | rt_call_signature.h | 49 static bool IsAsmStub(uint32_t index) in IsAsmStub() 56 static const CallSignature *Get(size_t index) in Get() 62 static std::string GetRTName(int index) in GetRTName() 75 static bool IsCold(int index) in IsCold()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_shared_memory-inl.h | 25 T EtsSharedMemory::GetElement(uint32_t index) in GetElement() 52 void EtsSharedMemory::SetElement(uint32_t index, T element) in SetElement() 79 std::pair<T, T> EtsSharedMemory::ReadModifyWrite(int32_t index, const F &f) in ReadModifyWrite()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/genmc/ |
| D | mutex_test_4.cpp | 32 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread1() local 46 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread2() local 58 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread3() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_stub_builder.h | 175 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet() 254 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue() 298 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey() 316 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode() 342 GateRef PlainArrayGetKey(GateRef obj, GateRef index) in PlainArrayGetKey() 348 GateRef QueueGetNextPosition(GateRef obj, GateRef index) in QueueGetNextPosition()
|
| D | containers_plainarray_stub_builder.h | 35 GateRef Get(GateRef obj, GateRef index) in Get() 42 GateRef GetKey(GateRef obj, GateRef index) in GetKey() 48 void Set(GateRef glue, GateRef obj, GateRef index, GateRef value) in Set()
|
| /arkcompiler/ets_runtime/test/moduletest/arrayfindlast/ |
| D | arrayfindlast.js | 66 function testFunction(element, index, array) { argument 93 function func2(element, index, arr) { argument 100 function func3(element, index, arr) { argument
|
| /arkcompiler/runtime_core/libpandabase/tests/genmc/ |
| D | mutex_test_4.cpp | 33 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread1() local 48 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread2() local 61 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread3() local
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | switchBuilder.cpp | 41 void SwitchBuilder::SetCaseTarget(uint32_t index) in SetCaseTarget() 52 void SwitchBuilder::CompileCaseStatements(uint32_t index) in CompileCaseStatements() 59 void SwitchBuilder::JumpIfCase(VReg tag, uint32_t index) in JumpIfCase()
|
| /arkcompiler/ets_runtime/test/moduletest/arrayfindlastindex/ |
| D | arrayfindlastindex.js | 33 function testFunction(element, index, array) { argument 60 function func2(element, index, arr) { argument 67 function func3(element, index, arr) { argument
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | panda_cache.h | 85 uint32_t index = GetMethodIndex(id); in GetMethodFromCache() local 106 uint32_t index = GetMethodIndex(id); in SetMethodCache() local 120 uint32_t index = GetFieldIndex(id); in GetFieldFromCache() local 138 uint32_t index = GetFieldIndex(id); in SetFieldCache() local 155 uint32_t index = GetClassIndex(id); in GetClassFromCache() local 176 uint32_t index = GetClassIndex(id); in SetClassCache() local
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | panda_cache.h | 82 uint32_t index = GetMethodIndex(id); in GetMethodFromCache() local 99 uint32_t index = GetMethodIndex(id); in SetMethodCache() local 109 uint32_t index = GetFieldIndex(id); in GetFieldFromCache() local 123 uint32_t index = GetFieldIndex(id); in SetFieldCache() local 136 uint32_t index = GetClassIndex(id); in GetClassFromCache() local 153 uint32_t index = GetClassIndex(id); in SetClassCache() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_stub_csigns.h | 40 static const CallSignature *Get(size_t index) in Get() 46 static const std::string &GetName(size_t index) in GetName()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | profile_type_info.cpp | 24 auto index = slotId_; in AddElementHandler() local 40 uint32_t index, JSTaggedValue profileData) const in AddWithoutKeyPoly() 65 auto index = slotId_; in AddHandlerWithoutKey() local 103 auto index = slotId_; in AddHandlerWithKey() local 155 auto index = slotId_; in AddGlobalHandlerKey() local 187 uint32_t index = slotId_; in AddGlobalRecordHandler() local
|