Flutter Engine
The Flutter Engine
Static Public Member Functions | Static Public Attributes | Friends | List of all members
dart::ImmutableArray Class Reference

#include <object.h>

Inheritance diagram for dart::ImmutableArray:
dart::AllStatic

Static Public Member Functions

static constexpr bool ContainsCompressedPointers ()
 
static ImmutableArrayPtr New (intptr_t len, Heap::Space space=Heap::kNew)
 
static intptr_t InstanceSize ()
 
static intptr_t InstanceSize (intptr_t len)
 

Static Public Attributes

static const ClassId kClassId = kImmutableArrayCid
 

Friends

class Class
 

Detailed Description

Definition at line 11036 of file object.h.

Member Function Documentation

◆ ContainsCompressedPointers()

static constexpr bool dart::ImmutableArray::ContainsCompressedPointers ( )
inlinestaticconstexpr

Definition at line 11038 of file object.h.

11038 {
11040 }
static constexpr bool ContainsCompressedPointers()
Definition: object.h:329

◆ InstanceSize() [1/2]

static intptr_t dart::ImmutableArray::InstanceSize ( )
inlinestatic

Definition at line 11046 of file object.h.

11046{ return Array::InstanceSize(); }
static intptr_t InstanceSize()
Definition: object.h:10936

◆ InstanceSize() [2/2]

static intptr_t dart::ImmutableArray::InstanceSize ( intptr_t  len)
inlinestatic

Definition at line 11048 of file object.h.

11048 {
11049 return Array::InstanceSize(len);
11050 }

◆ New()

ImmutableArrayPtr dart::ImmutableArray::New ( intptr_t  len,
Heap::Space  space = Heap::kNew 
)
static

Definition at line 24985 of file object.cc.

24985 {
24986 ASSERT(IsolateGroup::Current()->object_store()->immutable_array_class() !=
24987 Class::null());
24988 return static_cast<ImmutableArrayPtr>(Array::New(kClassId, len, space));
24989}
static ArrayPtr New(intptr_t len, Heap::Space space=Heap::kNew)
Definition: object.h:10959
static const ClassId kClassId
Definition: object.h:11044
static IsolateGroup * Current()
Definition: isolate.h:539
static ObjectPtr null()
Definition: object.h:433
#define ASSERT(E)

Friends And Related Function Documentation

◆ Class

friend class Class
friend

Definition at line 11062 of file object.h.

Member Data Documentation

◆ kClassId

const ClassId dart::ImmutableArray::kClassId = kImmutableArrayCid
static

Definition at line 11044 of file object.h.


The documentation for this class was generated from the following files: