Home
last modified time | relevance | path

Searched defs:index (Results 1 – 25 of 686) sorted by relevance

12345678910>>...28

/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dref_block.cpp34 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()
Dglobal_object_storage.h259 auto index = ReferenceToIndex(ref); in Get() local
267 auto index = ReferenceToIndex(ref); in GetAddressForRef() local
274 auto index = ReferenceToIndex(ref); in Remove() local
284 for (size_t index = 0; index < storage_.size(); index++) { in UpdateMovedRefs() local
348 uintptr_t index = ReferenceToIndex<false>(ref); in IsValidGlobalRef() local
400 bool IsFreeIndex(uintptr_t index) REQUIRES_SHARED(mutex_) in IsFreeIndex()
416 static uintptr_t EncodeObjectIndex(uintptr_t index) in EncodeObjectIndex()
422 static uintptr_t EncodeNextIndex(uintptr_t index) in EncodeNextIndex()
429 static uintptr_t DecodeIndex(uintptr_t index) in DecodeIndex()
459 void AssertIndex([[maybe_unused]] uintptr_t index) const REQUIRES_SHARED(mutex_) in AssertIndex()
/arkcompiler/ets_runtime/ecmascript/
Dlayout_info-inl.h40 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
[all …]
Dsubtyping_operator-inl.h42 int index = obj->GetElementIndexByKey(key); in IsLegalElement() local
47 int index = obj->GetTupleIndexByName(key); in IsLegalElement() local
58 int index = objLayout->FindElementWithCache(thread, obj, key, obj->NumberOfProps()); in IsLegalElement() local
83 JSTaggedValue SubtypingOperator::GetKey(T *obj, uint32_t index) in GetKey()
93 JSTaggedValue SubtypingOperator::GetType(const JSThread *thread, T *obj, uint32_t index, ConditionT… in GetType()
112 for (uint32_t index = 0; index < len; ++index) { in SubtypingCondition() local
Dtagged_tree.h82 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
182 int index = EntryToIndex(entry); in SetKey() local
188 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in SetValue() local
224 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_PARENT_INDEX); in GetParent() local
234 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChild() local
243 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChild() local
252 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_LEFT_CHILD_INDEX); in GetLeftChildIndex() local
262 int index = static_cast<int>(EntryToIndex(parent) + Derived::ENTRY_RIGHT_CHILD_INDEX); in GetRightChildIndex() local
[all …]
Dweak_vector.h71 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()
Dglobal_env.h32 #define GLOBAL_ENV_SLOT(type, name, index) \ argument
48 uintptr_t ComputeObjectAddress(size_t index) const in ComputeObjectAddress()
53 JSHandle<JSTaggedValue> GetGlobalEnvObjectByIndex(size_t index) const in GetGlobalEnvObjectByIndex()
61 JSHandle<JSTaggedValue> GetNoLazyEnvObjectByIndex(size_t index) const in GetNoLazyEnvObjectByIndex()
116 #define GLOBAL_ENV_FIELD_ACCESSORS(type, name, index) … argument
Dglobal_env_constants-inl.h35 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/
Dbase_mem_stats.cpp32 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/
Dbase_mem_stats.cpp33 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/
Dtest_frame.h53 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/
Dframe_states.h36 void SetBit(size_t index) in SetBit()
41 void ClearBit(size_t index) in ClearBit()
46 bool TestBit(size_t index) const in TestBit()
79 GateRef ValuesAt(size_t index) const in ValuesAt()
85 void SetValuesAt(size_t index, GateRef gate) in SetValuesAt()
181 GateRef ValuesAt(size_t index) const in ValuesAt()
191 void UpdateVirtualRegister(size_t index, GateRef gate) in UpdateVirtualRegister()
Drt_call_signature.h49 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()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.h155 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet()
234 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue()
278 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey()
296 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode()
322 GateRef PlainArrayGetKey(GateRef obj, GateRef index) in PlainArrayGetKey()
328 GateRef QueueGetNextPosition(GateRef obj, GateRef index) in QueueGetNextPosition()
Dcontainers_plainarray_stub_builder.h35 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/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_Atomics.cpp40 extern "C" int8_t SharedMemoryAt(EtsSharedMemory *mem, int32_t index) in SharedMemoryAt()
45 extern "C" EtsVoid *SharedMemorySet(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemorySet()
56 extern "C" int8_t SharedMemoryAddI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemoryAddI8()
63 extern "C" int8_t SharedMemoryAndI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemoryAndI8()
72 extern "C" int8_t SharedMemoryCompareExchangeI8(EtsSharedMemory *mem, int32_t index, int8_t expecte… in SharedMemoryCompareExchangeI8()
82 extern "C" int8_t SharedMemoryExchangeI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemoryExchangeI8()
89 extern "C" int8_t SharedMemoryLoadI8(EtsSharedMemory *mem, int32_t index) in SharedMemoryLoadI8()
96 extern "C" int8_t SharedMemoryOrI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemoryOrI8()
105 extern "C" int8_t SharedMemoryStoreI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemoryStoreI8()
112 extern "C" int8_t SharedMemorySubI8(EtsSharedMemory *mem, int32_t index, int8_t value) in SharedMemorySubI8()
[all …]
/arkcompiler/runtime_core/libpandabase/tests/genmc/
Dmutex_test_4.cpp33 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/
DswitchBuilder.cpp41 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/static_core/libpandabase/tests/genmc/
Dmutex_test_4.cpp32 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread1() local
47 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread2() local
60 intptr_t index = reinterpret_cast<intptr_t>(arg); in Thread3() local
Dcondvar_test_3.cpp33 int index = static_cast<int>(reinterpret_cast<intptr_t>(arg)); in Thread1() local
49 int index = static_cast<int>(reinterpret_cast<intptr_t>(arg)); in Thread2() local
Dcondvar_test_1.cpp33 int index = static_cast<int>(reinterpret_cast<intptr_t>(arg)); in Thread1() local
45 int index = static_cast<int>(reinterpret_cast<intptr_t>(arg)); in Thread2() local
/arkcompiler/runtime_core/libpandafile/
Dpanda_cache.h82 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/static_core/libpandafile/
Dpanda_cache.h85 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/ets_runtime/ecmascript/js_api/
Djs_api_plain_array.cpp34 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 (uint32_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 …]
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_table.h105 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 …]

12345678910>>...28