Lines Matching refs:SkAutoFree
303 class SkAutoFree : SkNoncopyable {
305 SkAutoFree() : fPtr(NULL) {}
306 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
307 ~SkAutoFree() { sk_free(fPtr); }
340 SkAutoFree(const SkAutoFree&);
341 SkAutoFree& operator=(const SkAutoFree&);
344 class SkAutoMalloc : public SkAutoFree {
347 : SkAutoFree(sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP)) {}
350 : SkAutoFree(sk_malloc_flags(size, flags)) {}