17 TypeArguments::CheckedHandle(zone, arguments->NativeArgAt(0));
19 if (
data.Length() < 0) {
28 return new_array.
ptr();
33 GrowableObjectArray::CheckedHandle(zone, arguments->NativeArgAt(0));
35 if ((index.Value() < 0) || (index.Value() >= array.
Length())) {
45 GrowableObjectArray::CheckedHandle(zone, arguments->NativeArgAt(0));
51 GrowableObjectArray::CheckedHandle(zone, arguments->NativeArgAt(0));
57 GrowableObjectArray::CheckedHandle(zone, arguments->NativeArgAt(0));
66 GrowableObjectArray::CheckedHandle(zone, arguments->NativeArgAt(0));
75 arguments->NativeArgAt(0));
81 array.MakeImmutable();
static constexpr intptr_t kMaxElements
static ArrayPtr MakeFixedLength(const GrowableObjectArray &growable_array, bool unique=false)
static DART_NORETURN void ThrowRangeError(const char *argument_name, const Integer &argument_value, intptr_t expected_from, intptr_t expected_to)
void SetData(const Array &value) const
void SetLength(intptr_t value) const
virtual void SetTypeArguments(const TypeArguments &value) const
static GrowableObjectArrayPtr New(Heap::Space space=Heap::kNew)
void SetAt(intptr_t index, const Object &value) const
intptr_t Capacity() const
static IntegerPtr New(const String &str, Heap::Space space=Heap::kNew)
static SmiPtr New(intptr_t value)
DEFINE_NATIVE_ENTRY(List_allocate, 0, 2)
static int8_t data[kExtLength]
#define GET_NON_NULL_NATIVE_ARGUMENT(type, name, value)