/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/ |
H A D | p6.cpp | 16 operator bool(); 20 explicit A::operator bool() { return false; }
|
/external/clang/test/SemaTemplate/ |
H A D | enum-bool.cpp | 3 enum E : bool { A }; enum
|
/external/fio/lib/ |
H A D | types.h | 5 typedef int bool; typedef
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/ |
H A D | has_value.pass.cpp | 13 // constexpr bool optional<T>::has_value() const noexcept; 27 ASSERT_SAME_TYPE(decltype(opt.has_value()), bool); local
|
/external/clang/test/Parser/ |
H A D | altivec-csk-bool.c | 4 // PR16456: Verify that bool, true, false are treated as context-sensitive 11 } bool; typedef in typeref:enum:__anon2734
|
/external/clang/test/Sema/ |
H A D | pr9812.c | 3 #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 D | stdbool.h | 32 #undef bool macro
|
/external/bison/lib/ |
H A D | stdbool.in.h | 29 - <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 D | stdbool.h | 29 /* 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 D | fixit-uninit.c | 10 #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 D | stdbool.h | 6 /* 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 D | stdbool.h | 17 #define bool _Bool macro 24 #define bool bool macro
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
H A D | And.java | 50 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 D | Bool.java | 50 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 D | Or.java | 50 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 D | Equals.java | 62 public boolean bool(XPathContext xctxt) method in class:Equals
|
/external/clang/test/SemaCXX/ |
H A D | warn-unused-value-cxx11.cpp | 8 auto foo(T) -> decltype(f(), bool()) { // Should not warn. function in namespace:PR18571
|
/external/pdfium/core/fpdfapi/page/ |
H A D | cpdf_contentmark.h | 31 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 D | cpdf_path.h | 25 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 D | cxfa_data.h | 22 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 D | SkKeyedImage.h | 30 explicit operator bool() const { return fImage; }
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
H A D | XNull.java | 80 public boolean bool() method in class:XNull
|
/external/clang/test/Analysis/ |
H A D | member-expr.cpp | 3 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 D | p4.cpp | 14 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 D | p4-0x.cpp | 4 constexpr S(bool b) : b(b) {} 5 constexpr explicit operator bool() const { return b; } 6 bool b;
|