Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPictureCommon.h23 SK_WHEN(T::kTags & SkRecords::kHasText_Tag, bool) operator()(const T&) { return true; } in SK_WHEN() function
25 SK_WHEN(!(T::kTags & SkRecords::kHasText_Tag), bool) operator()(const T&) { return false; } in operator()
48 static SK_WHEN(T::kTags & SkRecords::kHasImage_Tag, bool) CheckBitmap(const T&) { in SK_WHEN() function
54 static SK_WHEN(!(T::kTags & SkRecords::kHasImage_Tag), bool) CheckBitmap(const T& op) { in CheckBitmap()
60 static SK_WHEN(T::kTags & SkRecords::kDraw_Tag, bool) CheckPaint(const T& op) { in SK_WHEN() function
71 static SK_WHEN(!(T::kTags & SkRecords::kDraw_Tag), bool) CheckPaint(const T&) { in CheckPaint()
143 SK_WHEN(T::kTags & SkRecords::kDraw_Tag, void) operator()(const T& op) { in SK_WHEN() function
148 SK_WHEN(!(T::kTags & SkRecords::kDraw_Tag), void) operator()(const T& op) { /* do nothing */ } in operator()
DSkRecord.h141 SK_WHEN(std::is_empty<T>::value, T*) allocCommand() { in SK_WHEN() function
147 SK_WHEN(!std::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); } in allocCommand()
DSkRecordPattern.h51 SK_WHEN(T::kTags & kDraw_Tag, bool) operator()(T* draw) { in SK_WHEN() function
63 SK_WHEN(!(T::kTags & kDraw_Tag), bool) operator()(T* draw) { in operator()
/external/skia/include/private/
DSkChecksum.h61 SK_WHEN(sizeof(K) == 4, uint32_t) operator()(const K& k) const { in operator()
66 SK_WHEN(sizeof(K) != 4, uint32_t) operator()(const K& k) const { in operator()
DSkTArray.h393 template <bool E = MEM_COPY> SK_WHEN(E, void) copy(const T* src) { in SK_WHEN() function
396 template <bool E = MEM_COPY> SK_WHEN(E, void) move(int dst, int src) { in SK_WHEN() function
399 template <bool E = MEM_COPY> SK_WHEN(E, void) move(char* dst) { in SK_WHEN() function
403 template <bool E = MEM_COPY> SK_WHEN(!E, void) copy(const T* src) { in copy()
408 template <bool E = MEM_COPY> SK_WHEN(!E, void) move(int dst, int src) { in move()
412 template <bool E = MEM_COPY> SK_WHEN(!E, void) move(char* dst) { in move()
DSkTLogic.h125 #define SK_WHEN(condition, T) skstd::enable_if_t<!!(condition), T>
/external/skia/dm/
DDMSrcSink.cpp1378 SK_WHEN(T::kTags & SkRecords::kDraw_Tag, void) operator()(const T& op) { in SK_WHEN() function