Home
last modified time | relevance | path

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

/external/skqp/include/private/
DSkBitmaskEnum.h16 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator|(E l, E r) {
21 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator|=(E& l, E r) {
25 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator&(E l, E r) { in SK_WHEN() function
30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) { in SK_WHEN() function
DSkChecksum.h57 SK_WHEN(sizeof(K) == 4, uint32_t) operator()(const K& k) const { in operator()
62 SK_WHEN(sizeof(K) != 4, uint32_t) operator()(const K& k) const { in operator()
DSkTArray.h491 template <bool E = MEM_MOVE> SK_WHEN(E, void) move(int dst, int src) { in SK_WHEN() function
494 template <bool E = MEM_MOVE> SK_WHEN(E, void) move(void* dst) { in SK_WHEN() function
498 template <bool E = MEM_MOVE> SK_WHEN(!E, void) move(int dst, int src) { in move()
502 template <bool E = MEM_MOVE> SK_WHEN(!E, void) move(void* dst) { in move()
DSkTLogic.h124 #define SK_WHEN(condition, T) skstd::enable_if_t<!!(condition), T>
/external/skia/include/private/
DSkBitmaskEnum.h16 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator|(E l, E r) {
21 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator|=(E& l, E r) {
25 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E) operator&(E l, E r) { in SK_WHEN() function
30 template <typename E> SK_WHEN(skstd::is_bitmask_enum<E>::value, E&) operator&=(E& l, E r) { in SK_WHEN() function
DSkChecksum.h57 SK_WHEN(sizeof(K) == 4, uint32_t) operator()(const K& k) const { in operator()
62 SK_WHEN(sizeof(K) != 4, uint32_t) operator()(const K& k) const { in operator()
DSkTArray.h491 template <bool E = MEM_MOVE> SK_WHEN(E, void) move(int dst, int src) { in SK_WHEN() function
494 template <bool E = MEM_MOVE> SK_WHEN(E, void) move(void* dst) { in SK_WHEN() function
498 template <bool E = MEM_MOVE> SK_WHEN(!E, void) move(int dst, int src) { in move()
502 template <bool E = MEM_MOVE> SK_WHEN(!E, void) move(void* dst) { in move()
DSkTLogic.h102 #define SK_WHEN(condition, T) skstd::enable_if_t<!!(condition), T>
/external/skia/src/core/
DSkRecordPattern.h52 SK_WHEN((T::kTags & kDrawWithPaint_Tag) == kDrawWithPaint_Tag, bool) operator()(T* draw) { in operator()
58 SK_WHEN((T::kTags & kDrawWithPaint_Tag) == kDraw_Tag, bool) operator()(T* draw) { in operator()
64 SK_WHEN(!(T::kTags & kDraw_Tag), bool) operator()(T* draw) { in operator()
DSkPictureCommon.h77 SK_WHEN(T::kTags & SkRecords::kHasPaint_Tag, void) operator()(const T& op) { in SK_WHEN() function
82 SK_WHEN(!(T::kTags & SkRecords::kHasPaint_Tag), void)
DSkRecord.h132 SK_WHEN(std::is_empty<T>::value, T*) allocCommand() { in SK_WHEN() function
138 SK_WHEN(!std::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); } in allocCommand()
/external/skqp/src/core/
DSkRecordPattern.h52 SK_WHEN((T::kTags & kDrawWithPaint_Tag) == kDrawWithPaint_Tag, bool) operator()(T* draw) { in operator()
58 SK_WHEN((T::kTags & kDrawWithPaint_Tag) == kDraw_Tag, bool) operator()(T* draw) { in operator()
64 SK_WHEN(!(T::kTags & kDraw_Tag), bool) operator()(T* draw) { in operator()
DSkPictureCommon.h77 SK_WHEN(T::kTags & SkRecords::kHasPaint_Tag, void) operator()(const T& op) { in SK_WHEN() function
82 SK_WHEN(!(T::kTags & SkRecords::kHasPaint_Tag), void)
DSkRecord.h132 SK_WHEN(std::is_empty<T>::value, T*) allocCommand() { in SK_WHEN() function
138 SK_WHEN(!std::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); } in allocCommand()