![]() |
Flutter Engine
The Flutter Engine
|
#include <growable_array.h>
Public Member Functions | |
ZoneGrowableArray (Zone *zone, intptr_t initial_capacity) | |
ZoneGrowableArray (intptr_t initial_capacity) | |
ZoneGrowableArray () | |
ZoneGrowableArray (ZoneGrowableArray &&other)=default | |
ZoneGrowableArray & | operator= (ZoneGrowableArray &&other)=default |
~ZoneGrowableArray ()=default | |
DISALLOW_COPY_AND_ASSIGN (ZoneGrowableArray) | |
![]() | |
BaseGrowableArray (Zone *allocator) | |
BaseGrowableArray (intptr_t initial_capacity, Zone *allocator) | |
BaseGrowableArray (BaseGrowableArray &&other) | |
~BaseGrowableArray () | |
BaseGrowableArray & | operator= (BaseGrowableArray &&other) |
intptr_t | length () const |
T * | data () const |
bool | is_empty () const |
void | TruncateTo (intptr_t length) |
bool | Contains (const T &other, bool isEqual(const T &, const T &)=nullptr) const |
void | Add (const T &value) |
T & | RemoveLast () |
T & | operator[] (intptr_t index) const |
void | FillWith (const T &value, intptr_t start, intptr_t length) |
void | EnsureLength (intptr_t new_length, const T &default_value) |
const T & | At (intptr_t index) const |
T & | Last () const |
void | AddArray (const BaseGrowableArray< T, ZoneAllocated, Zone > &src) |
void | Clear () |
void | InsertAt (intptr_t idx, const T &value) |
void | Reverse () |
void | Swap (intptr_t i, intptr_t j) |
void | RemoveAt (intptr_t i) |
void | EraseAt (intptr_t idx) |
void | SetLength (intptr_t new_length) |
void | Resize (intptr_t new_length) |
void | Sort (int compare(const T *, const T *)) |
void | StealBuffer (T **buffer, intptr_t *length) |
T * | begin () |
const T * | begin () const |
T * | end () |
const T * | end () const |
![]() | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Definition at line 51 of file growable_array.h.
|
inline |
Definition at line 53 of file growable_array.h.
|
inlineexplicit |
Definition at line 56 of file growable_array.h.
|
inline |
Definition at line 60 of file growable_array.h.
|
default |
|
default |
dart::ZoneGrowableArray< T >::DISALLOW_COPY_AND_ASSIGN | ( | ZoneGrowableArray< T > | ) |
|
default |