| /arkcompiler/runtime_core/runtime/mem/refstorage/ |
| D | ref_block.cpp | 34 uint8_t index = GetFreeIndex(); in AddRef() local 48 auto index = (ref_ptr - block_ptr) / 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 | 235 auto index = ReferenceToIndex(ref); in Get() local 242 auto index = ReferenceToIndex(ref); in Remove() local 252 for (size_t index = 0; index < storage_.size(); index++) { in UpdateMovedRefs() local 316 uintptr_t index = ReferenceToIndex<false>(ref); in IsValidGlobalRef() local 364 bool IsFreeIndex(uintptr_t index) REQUIRES_SHARED(mutex_) in IsFreeIndex() 380 static uintptr_t EncodeObjectIndex(uintptr_t index) in EncodeObjectIndex() 386 static uintptr_t EncodeNextIndex(uintptr_t index) in EncodeNextIndex() 393 static uintptr_t DecodeIndex(uintptr_t index) in DecodeIndex() 423 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() 113 int index = cache->Get(cls, key); in FindElementWithCache() local
|
| D | tagged_tree.h | 82 int index = EntryToIndex(entry); in GetKey() local 88 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in GetValue() local 97 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_COLOR_INDEX); in GetColor() local 171 int index = EntryToIndex(entry); in SetKey() local 177 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in SetValue() local 213 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_PARENT_INDEX); in GetParent() local 223 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChild() local 232 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChild() local 241 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChildIndex() local 251 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChildIndex() local [all …]
|
| D | global_env.h | 188 uintptr_t ComputeObjectAddress(size_t index) const in ComputeObjectAddress() 193 JSHandle<JSTaggedValue> GetGlobalEnvObjectByIndex(size_t index) const in GetGlobalEnvObjectByIndex() 220 #define GLOBAL_ENV_SLOT(type, name, index) index, argument 227 #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()
|
| D | weak_vector.h | 58 inline JSTaggedValue Get(uint32_t index) const in Get() 64 inline void Set(const JSThread *thread, uint32_t index, JSTaggedValue value) in Set() 76 inline static constexpr uint32_t VectorToArrayIndex(uint32_t index) in VectorToArrayIndex()
|
| D | object_fast_operator-inl.h | 228 …ue ObjectFastOperator::GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) in GetPropertyByIndex() 281 …ue ObjectFastOperator::SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, in SetPropertyByIndex() 339 auto index = TryToElementsIndex(key); in GetPropertyByValue() local 366 auto index = TryToElementsIndex(key); in SetPropertyByValue() local 399 …bjectFastOperator::FastSetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, in FastSetPropertyByIndex() 441 …bjectFastOperator::FastGetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) in FastGetPropertyByIndex() 458 int index = 0; in FastParseDate() local 607 uint32_t index = 0; in FastGetTypeArrayProperty() local 638 uint32_t index = 0; in FastSetTypeArrayProperty() local 653 … ObjectFastOperator::GetContainerProperty(JSThread *thread, JSTaggedValue receiver, uint32_t index, in GetContainerProperty() [all …]
|
| D | linked_hash_table.h | 110 int index = static_cast<int>(EntryToIndex(entry)); in RemoveEntry() local 161 int index = static_cast<int>(EntryToIndex(entry)); in GetKey() local 167 int index = static_cast<int>(EntryToIndex(entry)) + HashObject::ENTRY_VALUE_INDEX; in GetValue() local 250 inline JSTaggedValue GetElement(int index) const in GetElement() 256 inline void SetElement(const JSThread *thread, int index, JSTaggedValue element) in SetElement() 264 int index = static_cast<int>(EntryToIndex(entry)); in SetKey() local 270 int index = static_cast<int>(EntryToIndex(entry)) + HashObject::ENTRY_VALUE_INDEX; in SetValue() local 276 int index = static_cast<int>(EntryToIndex(entry)) + HashObject::ENTRY_SIZE; in GetNextEntry() local 282 int index = static_cast<int>(EntryToIndex(entry)) + HashObject::ENTRY_SIZE; in SetNextEntry() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | frame_states.h | 34 void SetValuesAt(size_t index, GateRef gate) in SetValuesAt() 40 void SetBit(size_t index) in SetBit() 45 void ClearBit(size_t index) in ClearBit() 50 GateRef ValuesAt(size_t index) const in ValuesAt() 80 GateRef ValuesAt(size_t index) const in ValuesAt() 89 void UpdateVirtualRegister(size_t index, GateRef gate) in UpdateVirtualRegister()
|
| /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/ets_runtime/ecmascript/ts_types/ |
| D | ts_obj_layout_info.h | 61 inline JSTaggedValue GetKey(int index) const in GetKey() 67 inline JSTaggedValue GetTypeId(int index) const in GetTypeId() 86 inline void SetKey(const JSThread *thread, int index, const JSTaggedValue &key) in SetKey() 92 inline void SetTypeId(const JSThread *thread, int index, const JSTaggedValue &tsTypeId) in SetTypeId() 98 inline uint32_t GetKeyIndex(int index) const in GetKeyIndex() 103 inline uint32_t GetTypeIdIndex(int index) const in GetTypeIdIndex()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_stub_builder.h | 152 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet() 229 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue() 272 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey() 289 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode() 314 GateRef PlainArrayGetKey(GateRef obj, GateRef index) in PlainArrayGetKey() 320 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()
|
| D | containers_lightweightset_stub_builder.h | 36 GateRef GetKey(GateRef obj, GateRef index) in GetKey() 41 GateRef GetValue(GateRef obj, GateRef index) in GetValue()
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_plain_array.cpp | 34 int32_t index = obj->BinarySearch(*keyArray, 0, size, key.GetTaggedValue().GetNumber()); in Add() local 69 bool JSAPIPlainArray::AdjustForward(JSThread *thread, int32_t index, int32_t forwardSize) in AdjustForward() 130 for (int32_t index = 0; index < size; index++) { in Clear() local 137 JSTaggedValue JSAPIPlainArray::RemoveRangeFrom(JSThread *thread, int32_t index, int32_t batchSize) in RemoveRangeFrom() 159 const uint32_t index, JSTaggedValue value) in Set() 172 int32_t index = obj->BinarySearch(keyArray, 0, size, key.GetTaggedValue().GetInt()); in GetOwnProperty() local 190 int32_t index = obj->BinarySearch(keyArray, 0, size, key.GetTaggedValue().GetInt()); in GetProperty() local 210 int32_t index = obj->BinarySearch(keyArray, 0, size, key.GetTaggedValue().GetInt()); in SetProperty() local 243 int32_t index = BinarySearch(keyArray, 0, size, key); in Has() local 254 int32_t index = BinarySearch(keyArray, 0, size, key.GetNumber()); in Get() local [all …]
|
| D | js_api_lightweightmap.cpp | 32 int32_t index) in IncreaseCapacityTo() 51 … int32_t index, const JSHandle<JSTaggedValue> &value, AccossorsKind kind) in InsertValue() 62 … int32_t index, const JSHandle<JSTaggedValue> &value, AccossorsKind kind) in ReplaceValue() 70 uint32_t index, AccossorsKind kind) in RemoveValue() 83 int32_t index = keyState.index; in Set() local 98 int32_t index = GetIndexOfKey(thread, lightWeightMap, key); in Get() local 120 int32_t index = -1; in HasAll() local 174 int32_t index = BinarySearchHashes(hashArray, hash, length); in GetStateOfKey() local 212 int32_t index) in GetKeyAt() 227 int32_t index) in GetValueAt() [all …]
|
| /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/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/runtime_core/libpandabase/utils/ |
| D | bit_table.h | 105 uint32_t Get(size_t index) const in Get() 110 bool Has(size_t index) const in Has() 265 #define BIT_TABLE_COLUMN(index, name, upname) \ argument 380 size_t GetColumnWidth(size_t index) const in GetColumnWidth() 392 auto GetRow(size_t index) in GetRow() 398 auto GetRow(size_t index) const in GetRow() 444 int index = 0; variable 457 const char *GetColumnName(size_t index) const in GetColumnName() 503 void SetColumn(size_t index, uint32_t value) in SetColumn() 541 const Entry &GetEntry(size_t index) const in GetEntry() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
| D | deoptimizer.h | 114 size_t GetFrameIndex(kungfu::CommonArgIdx index) in GetFrameIndex() 124 JSTaggedValue GetFrameArgv(kungfu::CommonArgIdx index) in GetFrameArgv() 128 JSTaggedValue GetActualFrameArgs(int32_t index) in GetActualFrameArgs() 134 bool HasDeoptValue(int32_t index) const in HasDeoptValue() 138 JSTaggedValue GetDeoptValue(int32_t index) const in GetDeoptValue()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | program_object.h | 83 int32_t index = static_cast<int32_t>(indexAccessor.GetHeaderIndex()); in CreateConstPool() local 101 panda_file::File::EntityId GetEntityId(uint32_t index) const in GetEntityId() 153 inline void SetObjectToCache(JSThread *thread, uint32_t index, JSTaggedValue value) in SetObjectToCache() 158 inline JSTaggedValue GetObjectFromCache(uint32_t index) const in GetObjectFromCache() 163 … static JSTaggedValue GetMethodFromCache(JSThread *thread, JSTaggedValue constpool, uint32_t index) in GetMethodFromCache() 205 uint32_t index) in GetClassMethodFromCache() 282 …Value GetLiteralFromCache(JSThread *thread, JSTaggedValue constpool, uint32_t index, CString entry) in GetLiteralFromCache() 354 uint32_t index, JSTaggedValue module) in GetLiteralFromCache() 360 …aggedValue PUBLIC_API GetStringFromCache(JSThread *thread, JSTaggedValue constpool, uint32_t index) in GetStringFromCache()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | inst.h | 415 User(bool is_static, unsigned index, unsigned size) in User() 653 User *GetUser(unsigned index) in GetUser() 659 Input *GetInput(unsigned index) in GetInput() 665 void SetInput(unsigned index, Input input) in SetInput() 1069 Inst *GetDataFlowInput(int index) const in GetDataFlowInput() 1202 void SetInput(unsigned index, Inst *inst) in SetInput() 1223 unsigned index = 0; in ReplaceInput() local 1290 virtual void RemoveInput(unsigned index) in RemoveInput() 1338 Input GetInput(unsigned index) in GetInput() 1344 Input GetInput(unsigned index) const in GetInput() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | profile_type_info.cpp | 27 auto index = slotId_; in AddElementHandler() local 44 auto index = slotId_; in AddHandlerWithoutKey() local 101 auto index = slotId_; in AddHandlerWithKey() local 154 auto index = slotId_; in AddGlobalHandlerKey() local 186 uint32_t index = slotId_; in AddGlobalRecordHandler() local
|