Searched defs:bool (Results 1 - 25 of 107) sorted by relevance

12345

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/
H A Dp6.cpp11 operator bool();
15 explicit A::operator bool() { return false; } // expected-warning {{explicit conversion functions are a C++11 extension}}\
/external/webkit/Source/JavaScriptCore/os-win32/
H A Dstdbool.h30 typedef unsigned char bool; typedef
39 CASSERT(sizeof(bool) == 1, bool_is_one_byte)
/external/bison/lib/
H A Dstdbool_.h30 - <stdbool.h> must be #included before 'bool', 'false', 'true'
33 - You cannot assume that sizeof (bool) == 1.
35 - Programs should not undefine the macros bool, true, and false,
44 - In C99, casts and automatic conversions to '_Bool' or 'bool' are
48 give the expected result when converted to _Bool' or 'bool'.
50 Also, it is suggested that programs use 'bool' rather than '_Bool';
51 this isn't required, but 'bool' is more common. */
59 # include <OS.h> /* defines bool but not _Bool */
68 so that gdb prints values of type 'bool' symbolically. But if we do
74 /* A compiler known to have 'bool'
108 #define bool macro
[all...]
/external/bluetooth/bluez/tools/
H A Dparser.y62 %type <number> bool
103 rfcomm_option : K_BIND bool
129 bool : K_YES { $$ = 1; } label
/external/clang/lib/Headers/
H A Dstdbool.h29 /* Don't define bool, true, and false in C++, except as a GNU extension. */
31 #define bool _Bool macro
35 /* Define _Bool, bool, false, true as a GNU extension. */
36 #define _Bool bool
37 #define bool bool macro
/external/mesa3d/include/c99/
H A Dstdbool.h35 #define bool _Bool macro
/external/apache-xml/src/main/java/org/apache/xpath/operations/
H A DAnd.java50 if (expr1.bool())
54 return expr2.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
69 public boolean bool(XPathContext xctxt) method in class:And
72 return (m_left.bool(xctxt) && m_right.bool(xctxt));
H A DBool.java50 return right.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
62 public boolean bool(XPathContext xctxt) method in class:Bool
65 return m_right.bool(xctxt);
H A DOr.java50 if (!expr1.bool())
54 return expr2.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
69 public boolean bool(XPathContext xctxt) method in class:Or
72 return (m_left.bool(xctxt) || m_right.bool(xctxt));
H A DEquals.java62 public boolean bool(XPathContext xctxt) method in class:Equals
/external/webkit/Source/WebCore/bridge/
H A Dnptypes.h43 * Header file for ensuring that C99 types ([u]int32_t, [u]int64_t and bool) and
49 * Win32 and OS/2 don't know C99, so define [u]int_16/32/64 here. The bool
61 * but not bool for C.
66 typedef int bool; typedef
78 * BSD/OS ships no header that defines uint32_t, nor bool (for C)
85 typedef int bool; typedef
91 * FreeBSD and OpenBSD define uint32_t and bool.
111 * GCC 2.91 can't deal with a typedef for bool, but a #define
114 #define bool int macro
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
H A DPhantomReferenceTest.java24 static Boolean bool; field in class:PhantomReferenceTest
27 bool = null;
35 bool = new Boolean(false);
36 PhantomReference pr = new PhantomReference(bool, rq);
46 bool = new Boolean(true);
47 PhantomReference pr = new PhantomReference(bool, rq);
52 // need a reference to bool so the jit does not optimize it away
53 assertTrue("should always pass", bool.booleanValue());
57 new PhantomReference(bool, null);
H A DSoftReferenceTest.java23 static Boolean bool; field in class:SoftReferenceTest
26 bool = null;
35 bool = new Boolean(true);
36 SoftReference sr = new SoftReference(bool, rq);
42 new SoftReference(bool, null);
53 bool = new Boolean(true);
54 SoftReference sr = new SoftReference(bool);
63 bool = new Boolean(false);
64 SoftReference sr = new SoftReference(bool);
65 assertTrue("Same object not returned.", bool
[all...]
H A DWeakReferenceTest.java24 static Boolean bool; field in class:WeakReferenceTest
27 bool = null;
36 bool = new Boolean(true);
38 WeakReference wr = new WeakReference(bool, rq);
42 // need a reference to bool so the jit does not optimize it away
43 assertTrue("should always pass", bool.booleanValue());
47 new WeakReference(bool, null);
58 bool = new Boolean(true);
59 WeakReference wr = new WeakReference(bool);
65 // need a reference to bool s
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXNull.java80 public boolean bool() method in class:XNull
H A DXBoolean.java112 public boolean bool() method in class:XBoolean
160 return m_val == obj2.bool();
H A DXNumber.java116 public boolean bool() method in class:XNumber
405 return obj2.bool() == bool();
/external/chromium/app/sql/
H A Dstatement.h59 bool is_valid() const { return ref_->is_valid(); }
63 operator bool() const { return is_valid(); }
64 bool operator!() const { return !is_valid(); }
70 bool Run();
85 bool Step();
94 bool Succeeded() const;
102 bool BindNull(int col);
103 bool BindBool(int col, bool val);
104 bool BindIn
[all...]
/external/llvm/include/llvm/ADT/
H A DInMemoryStruct.h72 operator bool() const { return Target != 0; }
H A DOptional.h44 operator bool() const { return hasVal; }
45 bool hasValue() const { return hasVal; }
H A DOwningPtr.h63 operator bool() const { return Ptr != 0; }
64 bool operator!() const { return Ptr == 0; }
116 operator bool() const { return Ptr != 0; }
117 bool operator!() const { return Ptr == 0; }
/external/webkit/Source/JavaScriptCore/wtf/
H A DPageBlock.h32 inline bool isPageAligned(void* address) { return !(reinterpret_cast<intptr_t>(address) & (pageSize() - 1)); }
33 inline bool isPageAligned(size_t size) { return !(size & (pageSize() - 1)); }
34 inline bool isPowerOfTwo(size_t size) { return !(size & (size - 1)); }
45 operator bool() const { return !!m_base; }
47 bool contains(void* containedBase, size_t containedSize)
/external/clang/test/Analysis/
H A Dtemp-obj-dtors-cfg-output.cpp11 operator bool() { return false; }
20 operator bool() { return true; }
26 void foo(bool);
36 bool a = A() && B();
42 bool a = A() || B();
195 // CHECK: 2: bool a = A().operator _Bool() && B().operator _Bool();
259 // CHECK: 2: bool a = A().operator _Bool() || B().operator _Bool();
/external/clang/test/Parser/
H A Dcxx-decl.cpp11 typedef char bool; // expected-error {{redeclaration of C++ built-in type 'bool'}} typedef
/external/llvm/include/llvm/Support/
H A DStringPool.h18 // 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; }

Completed in 541 milliseconds

12345