/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
memtoy.h | 37 typedef enum {false=0, true} bool; typedef in typeref:enum:__anon28522 50 bool sigjmp; /* sigsetjmp is "armed" */ 105 extern void touch_memory(bool, unsigned long*, size_t);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
2-3.c | 94 int bool; member in struct:__anon28599 192 } while ((ret == 0) && (data.bool == 0)); 358 data.bool = 0; 383 data.bool = 1;
|
/external/nanopb-c/extra/ |
pb_syshdr.h | 49 typedef int bool; typedef
|
/external/pdfium/core/fxcrt/ |
observable.h | 45 bool operator==(const ObservedPtr& that) const { 48 bool operator!=(const ObservedPtr& that) const { return !(*this == that); } 49 explicit operator bool() const { return !!m_pObservable; }
|
retain_ptr.h | 71 bool operator==(const RetainPtr& that) const { return Get() == that.Get(); } 72 bool operator!=(const RetainPtr& that) const { return !(*this == that); } 74 bool operator<(const RetainPtr& that) const { 78 explicit operator bool() const { return !!m_pObj; } 89 bool HasOneRef() const { return m_nRefCount == 1; }
|
weak_ptr.h | 32 explicit operator bool() const { return m_pHandle && !!m_pHandle->Get(); } 33 bool HasOneRef() const { return m_pHandle && m_pHandle->HasOneRef(); } 40 bool operator==(const WeakPtr& that) const { 43 bool operator!=(const WeakPtr& that) const { return !(*this == that); } 76 bool HasOneRef() const { return m_nCount == 1; }
|
/external/skia/experimental/svg/model/ |
SkPEG.h | 29 operator bool() const { 106 template <size_t idx, typename std::enable_if<idx == 0, bool>::type = 0> 111 template <size_t idx, typename std::enable_if<idx != 0, bool>::type = 0>
|
/external/skia/src/core/ |
SkSafeMath.h | 20 bool ok() const { return fOK; } 21 explicit operator bool() const { return fOK; } 103 bool fOK = true;
|
/external/skia/src/gpu/ |
GrGpuResourceRef.h | 42 bool ownsPendingIO() const { return fPendingIO; } 83 mutable bool fOwnRef; 84 mutable bool fPendingIO; 149 explicit operator bool() const { return SkToBool(fResource); } 151 bool operator==(const GrPendingIOResource& other) const {
|
/external/skia/src/utils/win/ |
SkTScopedComPtr.h | 58 explicit operator bool() const { return fPtr != nullptr; }
|
/external/skqp/experimental/svg/model/ |
SkPEG.h | 29 operator bool() const { 106 template <size_t idx, typename std::enable_if<idx == 0, bool>::type = 0> 111 template <size_t idx, typename std::enable_if<idx != 0, bool>::type = 0>
|
/external/skqp/src/core/ |
SkSafeMath.h | 18 bool ok() const { return fOK; } 19 explicit operator bool() const { return fOK; } 94 bool fOK = true;
|
/external/skqp/src/gpu/ |
GrGpuResourceRef.h | 42 bool ownsPendingIO() const { return fPendingIO; } 83 mutable bool fOwnRef; 84 mutable bool fPendingIO; 149 explicit operator bool() const { return SkToBool(fResource); } 151 bool operator==(const GrPendingIOResource& other) const {
|
/external/skqp/src/utils/win/ |
SkTScopedComPtr.h | 58 explicit operator bool() const { return fPtr != nullptr; }
|
/external/swiftshader/src/Main/ |
libX11.hpp | 18 #define Bool int 38 int (*XSync)(Display *display, Bool discard); 44 Bool (*XShmQueryExtension)(Display *display); 46 Bool (*XShmAttach)(Display *display, XShmSegmentInfo *shminfo); 47 Bool (*XShmDetach)(Display *display, XShmSegmentInfo *shminfo); 48 int (*XShmPutImage)(Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height, bool send_event); 51 #undef Bool 56 operator bool()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
StringPool.h | 18 // To use the value of an interned string, use operator bool and operator*: 71 inline bool empty() const { return InternTable.empty(); } 74 /// PooledStringPtr - A pointer to an interned string. Use operator bool to 131 inline operator bool() const { return S != 0; } 133 inline bool operator==(const PooledStringPtr &That) { return S == That.S; } 134 inline bool operator!=(const PooledStringPtr &That) { return S != That.S; }
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
Optional.h | 31 bool hasVal; 124 explicit operator bool() const { return hasVal; } 125 bool hasValue() const { return hasVal; } 150 static const bool value = isPodLike<T>::value; 154 bool operator==(const Optional<T> &X, const Optional<U> &Y) { 161 bool operator!=(const Optional<T> &X, const Optional<U> &Y) { 166 bool operator<(const Optional<T> &X, const Optional<U> &Y) { 173 bool operator<=(const Optional<T> &X, const Optional<U> &Y) { 178 bool operator>(const Optional<T> &X, const Optional<U> &Y) { 183 bool operator>=(const Optional<T> &X, const Optional<U> &Y) [all...] |
/external/tensorflow/tensorflow/core/platform/default/ |
mutex.h | 47 bool try_lock() EXCLUSIVE_TRYLOCK_FUNCTION(true) { 53 bool try_lock_shared() SHARED_TRYLOCK_FUNCTION(true) { 91 operator bool() const { return mu_ != nullptr; } 129 operator bool() const { return mu_ != nullptr; }
|
/external/valgrind/helgrind/tests/ |
tc17_sembar.c | 42 typedef long bool; typedef
|
/frameworks/base/libs/androidfw/include/androidfw/ |
Util.h | 91 inline explicit operator bool() const { return ptr_ != nullptr; } 97 inline bool operator==(const unique_cptr& o) const { return ptr_ == o.ptr_; } 99 inline bool operator!=(const unique_cptr& o) const { return ptr_ != o.ptr_; } 101 inline bool operator==(std::nullptr_t) const { return ptr_ == nullptr; } 103 inline bool operator!=(std::nullptr_t) const { return ptr_ != nullptr; }
|
/frameworks/base/services/core/jni/ |
com_android_server_storage_AppFuseBridge.cpp | 77 operator bool() { 85 bool mLocked;
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
file_handle.h | 106 bool IsValid() const { return fd_ >= 0; } 107 explicit operator bool() const { return IsValid(); }
|
status.h | 74 bool PropagateError(const Status<U>& other) { 84 bool ok() const { return error_ == 0; } 87 bool empty() const { return error_ < 0; } 89 // Explicit bool conversion, equivalent to invoking ok(). 90 explicit operator bool() const { return ok(); } 144 bool PropagateError(const Status<U>& other) { 152 bool ok() const { return error_ == 0; } 153 bool empty() const { return false; } 154 explicit operator bool() const { return ok(); }
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
profiler.h | 54 operator bool() const { return false; }
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
Optional.h | 31 bool hasVal; 124 explicit operator bool() const { return hasVal; } 125 bool hasValue() const { return hasVal; } 150 static const bool value = isPodLike<T>::value; 154 bool operator==(const Optional<T> &X, const Optional<U> &Y) { 161 bool operator!=(const Optional<T> &X, const Optional<U> &Y) { 166 bool operator<(const Optional<T> &X, const Optional<U> &Y) { 173 bool operator<=(const Optional<T> &X, const Optional<U> &Y) { 178 bool operator>(const Optional<T> &X, const Optional<U> &Y) { 183 bool operator>=(const Optional<T> &X, const Optional<U> &Y) [all...] |