Home
last modified time | relevance | path

Searched refs:SkFunctionWrapper (Results 1 – 20 of 20) sorted by relevance

/external/skqp/include/private/
DSkTemplates.h49 template <typename R, typename T, R (*P)(T*)> struct SkFunctionWrapper { struct
62 : public std::unique_ptr<T, SkFunctionWrapper<void, T, P>> { argument
64 SkAutoTCallVProc(T* obj): std::unique_ptr<T, SkFunctionWrapper<void, T, P>>(obj) {} in SkAutoTCallVProc()
261 std::unique_ptr<T, SkFunctionWrapper<void, void, sk_free>> fPtr;
436 using SkAutoFree = std::unique_ptr<void, SkFunctionWrapper<void, void, sk_free>>;
/external/skia/include/private/
DSkTemplates.h52 template <typename T, T* P> struct SkFunctionWrapper { struct
68 : public std::unique_ptr<T, SkFunctionWrapper<std::remove_pointer_t<decltype(P)>, P>> {
69 using inherited = std::unique_ptr<T, SkFunctionWrapper<std::remove_pointer_t<decltype(P)>, P>>;
286 std::unique_ptr<T, SkFunctionWrapper<void(void*), sk_free>> fPtr;
440 using SkAutoFree = std::unique_ptr<void, SkFunctionWrapper<void(void*), sk_free>>;
/external/skia/src/utils/mac/
DSkUniqueCFRef.h22 SkFunctionWrapper<decltype(CFRelease), CFRelease>>;
/external/skqp/src/utils/mac/
DSkUniqueCFRef.h22 SkFunctionWrapper<void, skstd::remove_pointer_t<CFTypeRef>, CFRelease>>;
/external/skia/src/gpu/gl/iOS/
DGrGLMakeNativeInterface_iOS.cpp21 std::unique_ptr<void, SkFunctionWrapper<int(void*), dlclose>> lib(dlopen(kPath, RTLD_LAZY)); in GrGLMakeNativeInterface()
/external/skia/src/gpu/gl/mac/
DGrGLMakeNativeInterface_mac.cpp21 std::unique_ptr<void, SkFunctionWrapper<int(void*), dlclose>> lib(dlopen(kPath, RTLD_LAZY)); in GrGLMakeNativeInterface()
/external/skia/modules/skplaintexteditor/src/
Dword_boundaries.cpp15 template <typename T,typename P,P* p> using resource = std::unique_ptr<T, SkFunctionWrapper<P, p>>;
/external/skqp/src/utils/
DSkBitSet.h54 std::unique_ptr<uint32_t, SkFunctionWrapper<void, void, sk_free>> fBitData;
/external/skia/modules/skshaper/src/
DSkUnicode_icu.cpp43 using SkUnicodeBidi = std::unique_ptr<UBiDi, SkFunctionWrapper<decltype(ubidi_close), ubidi_close>>;
44 using ICUUText = std::unique_ptr<UText, SkFunctionWrapper<decltype(utext_close), utext_close>>;
45 using ICUBreakIterator = std::unique_ptr<UBreakIterator, SkFunctionWrapper<decltype(ubrk_close), ub…
DSkShaper_harfbuzz.cpp58 template <typename T,typename P,P* p> using resource = std::unique_ptr<T, SkFunctionWrapper<P, p>>;
/external/skia/src/pdf/
DSkPDFSubsetFont.cpp20 std::unique_ptr<T, SkFunctionWrapper<std::remove_pointer_t<decltype(P)>, P>>;
/external/skia/src/core/
DSkMask.h241 std::unique_ptr<uint8_t, SkFunctionWrapper<decltype(SkMask::FreeImage), SkMask::FreeImage>>;
/external/skia/src/utils/
DSkBitSet.h163 std::unique_ptr<Chunk, SkFunctionWrapper<void(void*), sk_free>> fChunks;
/external/skqp/src/core/
DSkMask.h238 using SkAutoMaskFreeImage = std::unique_ptr<uint8_t,SkFunctionWrapper<void,void,SkMask::FreeImage>>;
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp45 template <class T, void(*P)(T*)> using resource = std::unique_ptr<T, SkFunctionWrapper<void, T, P>>;
585 std::unique_ptr<UText, SkFunctionWrapper<UText*, UText, utext_close>> autoClose(&utf8UText); in shape()
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp60 using UniqueFCConfig = std::unique_ptr<FcConfig, SkFunctionWrapper<decltype(FcConfigDestroy), FcCon…
DSkFontHost_FreeType.cpp108 std::unique_ptr<FT_FaceRec, SkFunctionWrapper<decltype(FT_Done_Face), FT_Done_Face>>;
545 using UnrefFTFace = SkFunctionWrapper<decltype(unref_ft_face), unref_ft_face>;
1042 using DoneFTSize = SkFunctionWrapper<decltype(FT_Done_Size), FT_Done_Size>; in SkScalerContext_FreeType()
DSkFontHost_FreeType_common.cpp1344 using DoneFTSize = SkFunctionWrapper<decltype(FT_Done_Size), FT_Done_Size>; in generateFacePathCOLRv1()
DSkFontHost_win.cpp1632 std::unique_ptr<HFONT_T, SkFunctionWrapper<decltype(DeleteObject), DeleteObject>> designFont; in onGetAdvancedMetrics()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp276 std::unique_ptr<FT_FaceRec, SkFunctionWrapper<FT_Error, FT_FaceRec, FT_Done_Face>> fFace;
509 using UnrefFTFace = SkFunctionWrapper<void, SkFaceRec, unref_ft_face>;
909 using DoneFTSize = SkFunctionWrapper<FT_Error, skstd::remove_pointer_t<FT_Size>, FT_Done_Size>; in SkScalerContext_FreeType()