Home
last modified time | relevance | path

Searched refs:ArraySizeT (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Darray.h45 using ArraySizeT = ark::ArraySizeT; variable
50 static constexpr ArraySizeT MAX_ARRAY_INDEX = std::numeric_limits<ArraySizeT>::max();
58 …PANDA_PUBLIC_API static Array *Create(ark::Class *arrayClass, const uint8_t *data, ArraySizeT leng…
62 PANDA_PUBLIC_API static Array *Create(ark::Class *arrayClass, ArraySizeT length,
66 PANDA_PUBLIC_API static Array *Create(DynClass *dynarrayclass, ArraySizeT length,
70 static Array *CreateTagged(const PandaVM *vm, ark::BaseClass *arrayClass, ArraySizeT length,
74 static size_t ComputeSize(size_t elemSize, ArraySizeT length) in ComputeSize()
88 ArraySizeT GetLength() const in GetLength()
162 void Set(ArraySizeT idx, T elem);
165 T Get(ArraySizeT idx) const;
[all …]
Darray-inl.h161 inline void Array::Set(ArraySizeT idx, T elem) in Set()
182 inline T Array::Get(ArraySizeT idx) const in Get()
213 inline void Array::Set([[maybe_unused]] const ManagedThread *thread, ArraySizeT idx, T elem) in Set()
232 inline T Array::Get([[maybe_unused]] const ManagedThread *thread, ArraySizeT idx) const in Get()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Darray.cpp27 static Array *AllocateArray(ark::BaseClass *arrayClass, size_t elemSize, ArraySizeT length, ark::Sp… in AllocateArray()
49 Array *Array::Create(ark::Class *arrayClass, const uint8_t *data, ArraySizeT length, ark::SpaceType… in Create()
71 Array *Array::Create(ark::Class *arrayClass, ArraySizeT length, ark::SpaceType spaceType, bool pinn… in Create()
89 Array *Array::Create(DynClass *dynarrayclass, ArraySizeT length, ark::SpaceType spaceType, bool pin… in Create()
108 Array *Array::CreateTagged(const PandaVM *vm, ark::BaseClass *arrayClass, ArraySizeT length, ark::S… in CreateTagged()
118 for (ArraySizeT i = 0; i < length; i++) { in CreateTagged()
/arkcompiler/runtime_core/static_core/runtime/include/
Dexceptions.h38 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length);
39 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length,
46 void ThrowStringIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length);
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/
Dtest_runtime_interface.h132 coretypes::ArraySizeT length {};
261 static coretypes::Array *CreateArray(Class *klass, coretypes::ArraySizeT length) in CreateArray()
273 static void SetupArrayLength(coretypes::ArraySizeT length) in SetupArrayLength()
316 … void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length) in ThrowArrayIndexOutOfBoundsException()
476 static coretypes::ArraySizeT arrayLength_;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core.cpp67 for (ark::ArraySizeT i = 0; i < (ark::ArraySizeT)lines.size(); i++) { in StdCoreStackTraceLines()
/arkcompiler/runtime_core/static_core/runtime/
Dobject_header_config.h25 using ArraySizeT = uint32_t; variable
Dexceptions.cpp69 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length) in ThrowArrayIndexOutOfBoundsException()
76 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length, in ThrowArrayIndexOutOfBoundsException()
100 void ThrowStringIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length) in ThrowStringIndexOutOfBoundsException()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/dynamic/
Dgc_marker_dynamic-inl.h89 ArraySizeT arrayLength = arrayObject->GetLength(); in HandleArrayClass()
91 for (coretypes::ArraySizeT i = 0; i < arrayLength; i++) { in HandleArrayClass()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/static/
Dgc_marker_static-inl.h82 ArraySizeT arrayLength = arrayObject->GetLength(); in HandleArrayClass()
87 for (coretypes::ArraySizeT i = 0; i < arrayLength; i++) { in HandleArrayClass()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject_helpers-inl.h124 for (ArraySizeT i = p - arrayStart; p < end; ++p, ++i, offset += elementSize) { in TraverseArray()
238 for (ArraySizeT i = p - arrayStart; p < end; ++p, ++i, offset += elementSize) { in TraverseArray()
Dobject_helpers.h186 …static void UpdateDynArray(PandaVM *vm, coretypes::Array *array, ArraySizeT index, ObjectHeader *o…
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Druntime_interface.h148 static coretypes::Array *CreateArray(Class *klass, coretypes::ArraySizeT length) in CreateArray()
171 … void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length) in ThrowArrayIndexOutOfBoundsException()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddefault_inspector_extension.cpp202 ArraySizeT arrayLength = array.GetLength(); in EnumerateProperties()
203 for (coretypes::ArraySizeT i = 0; i < arrayLength; i++) { in EnumerateProperties()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/
Dcodegen_intrinsics_ets.cpp253 static_assert(TypeInfo::GetScalarTypeBySize(sizeof(ark::ArraySizeT) * CHAR_BIT) == INT32_TYPE); in CreateStringBuilderAppendString()