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

1234567891011>>

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/
H A Dp6.cpp16 operator bool();
20 explicit A::operator bool() { return false; }
/external/clang/test/SemaTemplate/
H A Denum-bool.cpp3 enum E : bool { A }; enum
/external/fio/lib/
H A Dtypes.h5 typedef int bool; typedef
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
H A Dhas_value.pass.cpp13 // constexpr bool optional<T>::has_value() const noexcept;
27 ASSERT_SAME_TYPE(decltype(opt.has_value()), bool); local
/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:__anon2734
/external/clang/test/Sema/
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}}
/external/libcxx/include/
H A Dstdbool.h32 #undef bool macro
/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/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/syslinux/com32/include/
H A Dstdbool.h17 #define bool _Bool macro
24 #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/clang/test/SemaCXX/
H A Dwarn-unused-value-cxx11.cpp8 auto foo(T) -> decltype(f(), bool()) { // Should not warn. function in namespace:PR18571
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_contentmark.h31 bool HasMark(const CFX_ByteStringC& mark) const;
32 bool LookupMark(const CFX_ByteStringC& mark, CPDF_Dictionary*& pDict) const;
35 bool bDirect);
38 explicit operator bool() const { return !!m_Ref; }
54 bool bDictNeedClone);
H A Dcpdf_path.h25 explicit operator bool() const { return !!m_Ref; }
34 bool IsRect() const;
40 void AppendPoint(const CFX_PointF& point, FXPT_TYPE type, bool close);
/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_data.h22 operator bool() const { return !!m_pNode; }
27 bool TryMeasure(XFA_ATTRIBUTE eAttr,
29 bool bUseDefault = false) const;
30 bool SetMeasure(XFA_ATTRIBUTE eAttr, FX_FLOAT fValue);
/external/skia/src/pdf/
H A DSkKeyedImage.h30 explicit operator bool() const { return fImage; }
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXNull.java80 public boolean bool() method in class:XNull
/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;

Completed in 584 milliseconds

1234567891011>>