Flutter Engine
The Flutter Engine
|
#include <growable_array.h>
Public Member Functions | |
BaseGrowableArray (Allocator *allocator) | |
BaseGrowableArray (intptr_t initial_capacity, Allocator *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, B, Allocator > &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 B | |
B () | |
void | setValues (int v) override |
bool | checkValues (int v) override |
Public Member Functions inherited from A | |
A () | |
virtual void | setValues (int v) |
virtual bool | checkValues (int v) |
virtual | ~A () |
void * | operator new (size_t size) |
void | operator delete (void *p) |
Additional Inherited Members | |
Static Public Member Functions inherited from A | |
static A * | Create (SkRandom *r) |
static void | SetAllocator (size_t preallocSize, size_t minAllocSize) |
static void | ResetAllocator () |
static void | ValidatePool () |
Definition at line 19 of file growable_array.h.
|
inlineexplicit |
Definition at line 21 of file growable_array.h.
|
inline |
Definition at line 24 of file growable_array.h.
|
inline |
Definition at line 32 of file growable_array.h.
|
inline |
Definition at line 42 of file growable_array.h.
|
inline |
Definition at line 84 of file growable_array.h.
|
inline |
Definition at line 131 of file growable_array.h.
|
inline |
Definition at line 124 of file growable_array.h.
|
inline |
Definition at line 206 of file growable_array.h.
|
inline |
Definition at line 207 of file growable_array.h.
|
inline |
Definition at line 137 of file growable_array.h.
|
inline |
Definition at line 69 of file growable_array.h.
|
inline |
Definition at line 61 of file growable_array.h.
|
inline |
Definition at line 209 of file growable_array.h.
|
inline |
Definition at line 210 of file growable_array.h.
|
inline |
|
inline |
Definition at line 179 of file growable_array.h.
|
inline |
Definition at line 103 of file growable_array.h.
|
inline |
|
inline |
Definition at line 62 of file growable_array.h.
|
inline |
Definition at line 126 of file growable_array.h.
|
inline |
Definition at line 60 of file growable_array.h.
|
inline |
Definition at line 44 of file growable_array.h.
|
inline |
Definition at line 96 of file growable_array.h.
|
inline |
Definition at line 168 of file growable_array.h.
|
inline |
Definition at line 89 of file growable_array.h.
void dart::BaseGrowableArray< T, B, Allocator >::Resize | ( | intptr_t | new_length | ) |
Definition at line 232 of file growable_array.h.
|
inline |
void dart::BaseGrowableArray< T, B, Allocator >::SetLength | ( | intptr_t | new_length | ) |
Definition at line 245 of file growable_array.h.
|
inline |
Definition at line 222 of file growable_array.h.
|
inline |
Definition at line 198 of file growable_array.h.
|
inline |
|
inline |
Definition at line 64 of file growable_array.h.