Lines Matching refs:SkTDArray
16 template <typename T> class SkTDArray {
18 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() function
19 SkTDArray(const T src[], int count) { in SkTDArray() function
30 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
31 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray()
34 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() function
37 ~SkTDArray() { in ~SkTDArray()
41 SkTDArray<T>& operator=(const SkTDArray<T>& src) {
44 SkTDArray<T> tmp(src.fArray, src.fCount);
53 SkTDArray<T>& operator=(SkTDArray<T>&& src) {
61 friend bool operator==(const SkTDArray<T>& a, const SkTDArray<T>& b) {
66 friend bool operator!=(const SkTDArray<T>& a, const SkTDArray<T>& b) {
70 void swap(SkTDArray<T>& other) { in swap()