Home
last modified time | relevance | path

Searched refs:SK_WHEN (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkPicture.cpp84 static SK_WHEN(HasMember_bitmap<T>, bool) CheckBitmap(const T&) { return true; } in SK_WHEN() function
88 static SK_WHEN(!HasMember_bitmap<T>, bool) CheckBitmap(const T& r) { return CheckPaint(r); } in CheckBitmap()
92 static SK_WHEN(HasMember_paint<T>, bool) CheckPaint(const T& r) { in SK_WHEN() function
106 static SK_WHEN(!HasMember_paint<T>, bool) CheckPaint(const T&) { return false; } in CheckPaint()
124 template <typename T> SK_WHEN(HasMember_text<T>, bool) operator()(const T&) { return true; } in SK_WHEN() function
125 template <typename T> SK_WHEN(!HasMember_text<T>, bool) operator()(const T&) { return false; } in operator ()()
182 SK_WHEN(HasMember_paint<T>, void) operator()(const T& op) { in SK_WHEN() function
187 SK_WHEN(!HasMember_paint<T>, void) operator()(const T& op) { /* do nothing */ } in operator ()()
DSkRecord.h137 SK_WHEN(SkTIsEmpty<T>, T*) allocCommand() { in SK_WHEN() function
143 SK_WHEN(!SkTIsEmpty<T>, T*) allocCommand() { return this->alloc<T>(); } in allocCommand()
DSkRecordPattern.h45 SK_WHEN(HasMember_paint<T>, bool) operator()(T* draw) { in SK_WHEN() function
51 SK_WHEN(!HasMember_paint<T>, bool) operator()(T*) { in operator()
/external/skia/src/utils/
DSkTLogic.h84 #define SK_WHEN(cond_prefix, T) typename SkTEnableIf_c<cond_prefix::value, T>::type
/external/skia/dm/
DDMSrcSink.cpp746 SK_WHEN(HasMember_paint<T>, void) operator()(const T& op) { in SK_WHEN() function
756 SK_WHEN(!HasMember_paint<T>, void) operator()(const T& op) { this->draw(op, fCanvas); } in operator ()()