Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
dart::compiler::target::Array Class Reference

#include <runtime_api.h>

Inheritance diagram for dart::compiler::target::Array:
dart::AllStatic

Public Member Functions

 FINAL_CLASS ()
 

Static Public Member Functions

static word header_size ()
 
static word tags_offset ()
 
static word data_offset ()
 
static word type_arguments_offset ()
 
static word length_offset ()
 
static word element_offset (intptr_t index)
 
static intptr_t index_at_offset (intptr_t offset_in_bytes)
 
static word InstanceSize (intptr_t length)
 
static word InstanceSize ()
 

Static Public Attributes

static const word kMaxElements
 
static const word kMaxNewSpaceElements
 

Detailed Description

Definition at line 581 of file runtime_api.h.

Member Function Documentation

◆ data_offset()

static word dart::compiler::target::Array::data_offset ( )
static

◆ element_offset()

static word dart::compiler::target::Array::element_offset ( intptr_t  index)
static

◆ FINAL_CLASS()

dart::compiler::target::Array::FINAL_CLASS ( )

◆ header_size()

static word dart::compiler::target::Array::header_size ( )
static

◆ index_at_offset()

intptr_t dart::compiler::target::Array::index_at_offset ( intptr_t  offset_in_bytes)
static

Definition at line 1050 of file runtime_api.cc.

1050 {
1052 TranslateOffsetInWordsToHost(offset_in_bytes));
1053}
static intptr_t index_at_offset(intptr_t offset_in_bytes)
Definition: object.h:10842
static word TranslateOffsetInWordsToHost(word offset)
Definition: runtime_api.cc:350

◆ InstanceSize() [1/2]

static word dart::compiler::target::Array::InstanceSize ( )
static

◆ InstanceSize() [2/2]

static word dart::compiler::target::Array::InstanceSize ( intptr_t  length)
static

◆ length_offset()

static word dart::compiler::target::Array::length_offset ( )
static

◆ tags_offset()

static word dart::compiler::target::Array::tags_offset ( )
static

◆ type_arguments_offset()

static word dart::compiler::target::Array::type_arguments_offset ( )
static

Member Data Documentation

◆ kMaxElements

const word dart::compiler::target::Array::kMaxElements
static

Definition at line 594 of file runtime_api.h.

◆ kMaxNewSpaceElements

const word dart::compiler::target::Array::kMaxNewSpaceElements
static

Definition at line 595 of file runtime_api.h.


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