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

/external/skia/include/private/
H A DSkTemplates.h49 template <typename R, typename T, R (*P)(T*)> struct SkFunctionWrapper { struct
62 : public std::unique_ptr<T, SkFunctionWrapper<void, T, P>> {
64 SkAutoTCallVProc(T* obj): std::unique_ptr<T, SkFunctionWrapper<void, T, P>>(obj) {}
78 : public std::unique_ptr<T, SkFunctionWrapper<int, T, P>> {
80 SkAutoTCallIProc(T* obj): std::unique_ptr<T, SkFunctionWrapper<int, T, P>>(obj) {}
479 using SkAutoFree = std::unique_ptr<void, SkFunctionWrapper<void, void, sk_free>>;
/external/skqp/include/private/
H A DSkTemplates.h49 template <typename R, typename T, R (*P)(T*)> struct SkFunctionWrapper { struct
62 : public std::unique_ptr<T, SkFunctionWrapper<void, T, P>> {
64 SkAutoTCallVProc(T* obj): std::unique_ptr<T, SkFunctionWrapper<void, T, P>>(obj) {}
78 : public std::unique_ptr<T, SkFunctionWrapper<int, T, P>> {
80 SkAutoTCallIProc(T* obj): std::unique_ptr<T, SkFunctionWrapper<int, T, P>>(obj) {}
479 using SkAutoFree = std::unique_ptr<void, SkFunctionWrapper<void, void, sk_free>>;

Completed in 136 milliseconds