Searched defs:SkTRefArray (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkTRefArray.h2 // SkTRefArray.h
19 template <typename T> class SkTRefArray : public SkRefCnt { class in inherits:SkRefCnt
25 static SkTRefArray<T>* Alloc(int count) {
27 size_t size = sizeof(SkTRefArray<T>) + count * sizeof(T);
28 SkTRefArray<T>* obj = (SkTRefArray<T>*)sk_malloc_throw(size);
30 SkNEW_PLACEMENT(obj, SkTRefArray<T>);
41 static SkTRefArray<T>* Create(int count) {
42 SkTRefArray<T>* obj = Alloc(count);
55 static SkTRefArray<
[all...]
/external/skia/src/core/
H A DSkTRefArray.h2 // SkTRefArray.h
19 template <typename T> class SkTRefArray : public SkRefCnt { class in inherits:SkRefCnt
25 static SkTRefArray<T>* Alloc(int count) {
27 size_t size = sizeof(SkTRefArray<T>) + count * sizeof(T);
28 SkTRefArray<T>* obj = (SkTRefArray<T>*)sk_malloc_throw(size);
30 SkNEW_PLACEMENT(obj, SkTRefArray<T>);
41 static SkTRefArray<T>* Create(int count) {
42 SkTRefArray<T>* obj = Alloc(count);
55 static SkTRefArray<
[all...]

Completed in 201 milliseconds