Searched refs:SK_WHEN (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkPicture.cpp | 84 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 ()()
|
D | SkRecord.h | 137 SK_WHEN(SkTIsEmpty<T>, T*) allocCommand() { in SK_WHEN() function 143 SK_WHEN(!SkTIsEmpty<T>, T*) allocCommand() { return this->alloc<T>(); } in allocCommand()
|
D | SkRecordPattern.h | 45 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/ |
D | SkTLogic.h | 84 #define SK_WHEN(cond_prefix, T) typename SkTEnableIf_c<cond_prefix::value, T>::type
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 746 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 ()()
|