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

#include <runtime_api.h>

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

Public Member Functions

 FINAL_CLASS ()
 

Static Public Member Functions

static word hash_offset ()
 
static word length_offset ()
 
static word InstanceSize ()
 
static word InstanceSize (word payload_size)
 

Static Public Attributes

static const word kHashBits = dart::String::kHashBits
 
static const word kMaxElements
 

Detailed Description

Definition at line 780 of file runtime_api.h.

Member Function Documentation

◆ FINAL_CLASS()

dart::compiler::target::String::FINAL_CLASS ( )

◆ hash_offset()

static word dart::compiler::target::String::hash_offset ( )
static

◆ InstanceSize() [1/2]

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

◆ InstanceSize() [2/2]

word dart::compiler::target::String::InstanceSize ( word  payload_size)
static

Definition at line 1060 of file runtime_api.cc.

1060 {
1061 return RoundedAllocationSize(String::InstanceSize() + payload_size);
1062}
intptr_t RoundedAllocationSize(intptr_t size)
Definition: runtime_api.h:333

◆ length_offset()

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

Member Data Documentation

◆ kHashBits

const word dart::compiler::target::String::kHashBits = dart::String::kHashBits
static

Definition at line 782 of file runtime_api.h.

◆ kMaxElements

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

Definition at line 783 of file runtime_api.h.


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