Lines Matching defs:bool
99 bool IsValid() const;
106 bool is_valid_;
118 bool is_valid() const;
131 bool HasRefs() const { return flag_ && !flag_->HasOneRef(); }
255 explicit operator bool() const { return get() != nullptr; }
270 bool operator!=(const WeakPtr<T>& weak_ptr, std::nullptr_t) {
274 bool operator!=(std::nullptr_t, const WeakPtr<T>& weak_ptr) {
278 bool operator==(const WeakPtr<T>& weak_ptr, std::nullptr_t) {
282 bool operator==(std::nullptr_t, const WeakPtr<T>& weak_ptr) {
300 // WeakPtrFactory<bool> that is used to pass around a weak reference to a bool.
321 bool HasWeakPtrs() const {