| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | array.h | 45 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 …]
|
| D | array-inl.h | 161 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/ |
| D | array.cpp | 27 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/ |
| D | exceptions.h | 38 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/ |
| D | test_runtime_interface.h | 132 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/ |
| D | std_core.cpp | 67 for (ark::ArraySizeT i = 0; i < (ark::ArraySizeT)lines.size(); i++) { in StdCoreStackTraceLines()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | object_header_config.h | 25 using ArraySizeT = uint32_t; variable
|
| D | exceptions.cpp | 69 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/ |
| D | gc_marker_dynamic-inl.h | 89 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/ |
| D | gc_marker_static-inl.h | 82 ArraySizeT arrayLength = arrayObject->GetLength(); in HandleArrayClass() 87 for (coretypes::ArraySizeT i = 0; i < arrayLength; i++) { in HandleArrayClass()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | object_helpers-inl.h | 124 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()
|
| D | object_helpers.h | 186 …static void UpdateDynArray(PandaVM *vm, coretypes::Array *array, ArraySizeT index, ObjectHeader *o…
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | runtime_interface.h | 148 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/ |
| D | default_inspector_extension.cpp | 202 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/ |
| D | codegen_intrinsics_ets.cpp | 253 static_assert(TypeInfo::GetScalarTypeBySize(sizeof(ark::ArraySizeT) * CHAR_BIT) == INT32_TYPE); in CreateStringBuilderAppendString()
|