Flutter Engine
The Flutter Engine
|
#include <growable_array.h>
Public Member Functions | |
MallocGrowableArray (intptr_t initial_capacity) | |
MallocGrowableArray () | |
Public Member Functions inherited from dart::BaseGrowableArray< T, MallocAllocated, Malloc > | |
BaseGrowableArray (Malloc *allocator) | |
BaseGrowableArray (intptr_t initial_capacity, Malloc *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, MallocAllocated, Malloc > &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 |
Public Member Functions inherited from dart::MallocAllocated | |
MallocAllocated () | |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
void | operator delete (void *pointer) |
void | operator delete[] (void *pointer) |
Definition at line 274 of file growable_array.h.
|
inlineexplicit |
Definition at line 277 of file growable_array.h.
|
inline |
Definition at line 280 of file growable_array.h.