Lines Matching refs:SkTArray

15 template <typename T, bool MEM_COPY = false> class SkTArray;  variable
20 inline void copy(SkTArray<T, true>* self, int dst, int src) { in copy()
24 inline void copy(SkTArray<T, true>* self, const T* array) { in copy()
28 inline void copyAndDelete(SkTArray<T, true>* self, char* newMemArray) { in copyAndDelete()
33 inline void copy(SkTArray<T, false>* self, int dst, int src) { in copy()
37 inline void copy(SkTArray<T, false>* self, const T* array) { in copy()
43 inline void copyAndDelete(SkTArray<T, false>* self, char* newMemArray) { in copyAndDelete()
52 template <typename T, bool MEM_COPY> void* operator new(size_t, SkTArray<T, MEM_COPY>*, int);
59 template <typename T, bool MEM_COPY> class SkTArray {
64 SkTArray() { in SkTArray() function
76 explicit SkTArray(int reserveCount) { in SkTArray() function
83 explicit SkTArray(const SkTArray& array) { in SkTArray() function
92 SkTArray(const T* array, int count) { in SkTArray() function
99 SkTArray& operator =(const SkTArray& array) {
110 virtual ~SkTArray() { in ~SkTArray()
275 void swap(SkTArray* that) { in swap()
287 SkTArray copy(*that); in swap()
350 bool operator==(const SkTArray<T, MEM_COPY>& right) const {
363 bool operator!=(const SkTArray<T, MEM_COPY>& right) const {
373 SkTArray(SkAlignedSTStorage<N,T>* storage) { in SkTArray() function
383 SkTArray(const SkTArray& array, SkAlignedSTStorage<N,T>* storage) { in SkTArray() function
393 SkTArray(const T* array, int count, SkAlignedSTStorage<N,T>* storage) { in SkTArray() function
465 friend void* operator new<T>(size_t, SkTArray*, int);
467 template<typename X> friend void SkTArrayExt::copy(SkTArray<X, true>* that, int dst, int src);
468 template<typename X> friend void SkTArrayExt::copy(SkTArray<X, true>* that, const X*);
469 template<typename X> friend void SkTArrayExt::copyAndDelete(SkTArray<X, true>* that, char*);
471 template<typename X> friend void SkTArrayExt::copy(SkTArray<X, false>* that, int dst, int src);
472 template<typename X> friend void SkTArrayExt::copy(SkTArray<X, false>* that, const X*);
473 template<typename X> friend void SkTArrayExt::copyAndDelete(SkTArray<X, false>* that, char*);
487 void* operator new(size_t, SkTArray<T, MEM_COPY>* array, int SkDEBUGCODE(atIndex)) { in new()
499 void operator delete(void*, SkTArray<T, MEM_COPY>* /*array*/, int /*atIndex*/) { in delete()
512 class SkSTArray : public SkTArray<T, MEM_COPY> {
514 typedef SkTArray<T, MEM_COPY> INHERITED;