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

123456789

/external/chromium_org/ppapi/c/dev/
H A Ddeprecated_bool.h17 // deprecated interfaces to the new ones. Add a usable definition of bool for
23 // and thus have no bool or stdbool.h. Make a simple definition of bool,
27 typedef char bool; typedef
31 // In C99-compliant compilers, we can include stdbool.h to get a bool
/external/chromium_org/third_party/npapi/npspy/extern/plugin/
H A Dnptypes.h40 * Header file for ensuring that C99 types ([u]int32_t and bool) are
46 * Win32 and OS/2 don't know C99, so define [u]int_32 here. The bool
54 * but not bool for C.
59 typedef int bool; typedef
69 * BSD/OS ships no header that defines uint32_t, nor bool (for C)
75 typedef int bool; typedef
79 * FreeBSD and OpenBSD define uint32_t and bool.
99 * GCC 2.91 can't deal with a typedef for bool, but a #define
102 #define bool int macro
/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/clang/test/Parser/
H A Daltivec-csk-bool.c4 // PR16456: Verify that bool, true, false are treated as context-sensitive
11 } bool; typedef in typeref:enum:__anon19009
/external/clang/test/SemaCXX/
H A Dpr9812.c3 #define bool _Bool macro
6 bool signed; // expected-error {{'bool' cannot be signed or unsigned}} expected-warning {{declaration does not declare anything}}
10 #undef bool macro
12 typedef int bool; typedef
16 bool signed; // expected-error {{'type-name' cannot be signed or unsigned}} expected-warning {{declaration does not declare anything}}
H A Dcondition.cpp13 if (s) ++x; // expected-error {{value of type 'struct S' is not contextually convertible to 'bool'}}
14 while (struct S x=s) ; // expected-error {{value of type 'struct S' is not contextually convertible to 'bool'}}
15 do ; while (s); // expected-error {{value of type 'struct S' is not contextually convertible to 'bool'}}
16 for (;s;) ; // expected-error {{value of type 'struct S' is not contextually convertible to 'bool'}}
56 void test4(bool (&x)(void)) { function
/external/bison/lib/
H A Dstdbool.in.h29 - <stdbool.h> must be #included before 'bool', 'false', 'true'
32 - You cannot assume that sizeof (bool) == 1.
34 - Programs should not undefine the macros bool, true, and false,
43 - Bit-fields of type 'bool' are not supported. Portable code
44 should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'.
46 - In C99, casts and automatic conversions to '_Bool' or 'bool' are
50 give the expected result when converted to _Bool' or 'bool'.
55 Also, it is suggested that programs use 'bool' rather than '_Bool';
56 this isn't required, but 'bool' is more common. */
64 # include <OS.h> /* defines bool bu
71 # define bool macro
118 # define bool macro
[all...]
/external/chromium_org/third_party/mesa/src/include/c99/
H A Dstdbool.h35 #define bool _Bool macro
/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/clang/test/FixIt/
H A Dfixit-uninit.c10 #define bool _Bool macro
11 #define false (bool)0
12 #define true (bool)1
13 bool test_bool_with_false() {
14 bool var; // expected-note {{initialize}}
19 bool test_bool_with_false_undefined() {
20 bool
/external/jemalloc/include/msvc_compat/C99/
H A Dstdbool.h6 /* MSVC doesn't define _Bool or bool in C, but does have BOOL */
7 /* Note this doesn't pass autoconf's test because (bool) 0.5 != true */
14 #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/chromium_org/third_party/npapi/bindings/
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-xml/src/main/java/org/apache/xpath/objects/
H A DXNull.java80 public boolean bool() method in class:XNull
/external/chromium_org/cc/resources/
H A Dprioritized_tile_set.h23 bool IsEmpty();
27 Iterator(PrioritizedTileSet* set, bool use_priority_ordering);
36 operator bool() const {
46 bool use_priority_ordering_;
55 bool bin_sorted_[NUM_BINS];
/external/chromium_org/third_party/qcms/src/
H A Dqcmstypes.h73 typedef qcms_bool bool; typedef
/external/clang/test/Analysis/
H A Dmember-expr.cpp3 void clang_analyzer_checkInlined(bool);
29 bool h() const;
34 void g(bool (A::*mp_f)() const) { function in struct:PR19531::B
/external/clang/test/CXX/conv/conv.prom/
H A Dp4.cpp14 enum B : bool { false_, true_ }; enum
15 template<bool> struct T {};
19 T<+true_> q; // desired-error {{conversion from 'int' to 'bool'}}
21 enum B2 : bool { enum
27 e = +false_ // desired-error {{conversion from 'int' to 'bool'}}
/external/clang/test/CXX/dcl.dcl/
H A Dp4-0x.cpp4 constexpr S(bool b) : b(b) {}
5 constexpr explicit operator bool() const { return b; }
6 bool b;
/external/deqp/framework/egl/
H A DegluUnique.hpp39 operator bool (void) const { return m_surface != EGL_NO_SURFACE; }
57 operator bool (void) const { return m_context != EGL_NO_CONTEXT; }
/external/lldb/include/lldb/Symbol/
H A DClangNamespaceDecl.h48 /// Convert to bool operator.
63 operator bool() const

Completed in 616 milliseconds

123456789