Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 11010 of file object.h.

Member Function Documentation

◆ ContainsCompressedPointers()

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

Definition at line 11012 of file object.h.

11012 {
11014 }
static constexpr bool ContainsCompressedPointers()
Definition object.h:329

◆ InstanceSize() [1/2]

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

Definition at line 11020 of file object.h.

11020{ return Array::InstanceSize(); }
static intptr_t InstanceSize()
Definition object.h:10910

◆ InstanceSize() [2/2]

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

Definition at line 11022 of file object.h.

11022 {
11023 return Array::InstanceSize(len);
11024 }

◆ New()

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

Definition at line 25064 of file object.cc.

25064 {
25065 ASSERT(IsolateGroup::Current()->object_store()->immutable_array_class() !=
25066 Class::null());
25067 return static_cast<ImmutableArrayPtr>(Array::New(kClassId, len, space));
25068}
static ArrayPtr New(intptr_t len, Heap::Space space=Heap::kNew)
Definition object.h:10933
static const ClassId kClassId
Definition object.h:11018
static IsolateGroup * Current()
Definition isolate.h:534
static ObjectPtr null()
Definition object.h:433
#define ASSERT(E)

Friends And Related Symbol Documentation

◆ Class

friend class Class
friend

Definition at line 11036 of file object.h.

Member Data Documentation

◆ kClassId

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

Definition at line 11018 of file object.h.


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