Lines Matching defs:bool
49 bool unique() const {
174 bool unique() const { return 1 == fRefCnt.load(std::memory_order_acquire); }
190 bool refCntGreaterThan(int32_t threadIsolatedTestCnt) const {
296 explicit operator bool() const { return this->get() != nullptr; }
338 template <typename T, typename U> inline bool operator==(const sk_sp<T>& a, const sk_sp<U>& b) {
341 template <typename T> inline bool operator==(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ {
344 template <typename T> inline bool operator==(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ {
348 template <typename T, typename U> inline bool operator!=(const sk_sp<T>& a, const sk_sp<U>& b) {
351 template <typename T> inline bool operator!=(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ {
352 return static_cast<bool>(a);
354 template <typename T> inline bool operator!=(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ {
355 return static_cast<bool>(b);