/external/llvm/lib/Target/SystemZ/ |
SystemZElimCompare.cpp | 47 explicit operator bool() const { return Def || Use; } 51 bool Def; 52 bool Use; 65 bool processBlock(MachineBasicBlock &MBB); 66 bool runOnMachineFunction(MachineFunction &F) override; 74 bool convertToBRCT(MachineInstr &MI, MachineInstr &Compare, 76 bool convertToLoadAndTest(MachineInstr &MI); 77 bool adjustCCMasksForInstr(MachineInstr &MI, MachineInstr &Compare, 79 bool optimizeCompareZero(MachineInstr &Compare, 81 bool fuseCompareOperations(MachineInstr &Compare [all...] |
/external/llvm/unittests/Support/ |
Casting.cpp | 37 /* static bool classof(const bar *X) { 44 static inline bool doit(const bar &Val) { 216 static bool classof(const UseInferredUpcast *) { 240 bool IsDerived; 241 Base(bool IsDerived = false) : IsDerived(IsDerived) {} 246 static bool classof(const Base *B) { return B->IsDerived; } 253 explicit operator bool() const { return get(); }
|
/external/llvm/utils/KillTheDoctor/ |
KillTheDoctor.cpp | 69 cl::opt<bool> TraceExecution("x", 73 cl::opt<bool> NoUser32("no-user32", 103 operator bool() const { 124 static bool isValid(handle_type Handle) { 140 static bool isValid(handle_type Handle) { 156 static bool isValid(handle_type Handle) { 179 bool Success = false; 351 BOOL success = ::CreateProcessA(ProgramToRun.c_str(),
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-4.c | 75 int bool; /* Boolean predicate for the condition */ member in struct:__anon28589 192 } while ((ret == 0) && (td->bool == 0)); 475 td->bool = 0; 559 td->bool = 1;
|
2-7.c | 77 int bool; /* Boolean predicate for the condition */ member in struct:__anon28593 199 } while ((ret == 0) && (td->bool == 0)); 480 td->bool = 0;
|
/external/selinux/checkpolicy/test/ |
dispol.c | 200 p->p_bool_val_to_name[cur->bool - 1]); 265 cond_bool_datum_t *bool; local 267 bool = hashtab_search(p->p_bools.table, name); 268 if (bool == NULL) { 269 fprintf(fp, "Could not find bool %s\n", name); 272 bool->state = state;
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
IntervalMap.h | 50 // bool empty() const; 70 // bool operator==(const const_iterator &) const; 71 // bool operator!=(const const_iterator &) const; 72 // bool valid() const; 136 static inline bool startLess(const T &x, const T &a) { 142 static inline bool stopLess(const T &b, const T &x) { 148 static inline bool adjacent(const T &a, const T &b) { 386 unsigned Position, bool Grow); 478 /// operator bool - Detect a null ref. 479 operator bool() const { return pip.getOpaqueValue(); [all...] |
SmallBitVector.h | 65 *this = bool(t); 69 reference& operator=(bool t) { 77 operator bool() const { 83 bool isSmall() const { 140 explicit SmallBitVector(unsigned s, bool t = false) { 161 bool empty() const { 184 bool any() const { 191 bool all() const { 198 bool none() const { 246 void resize(unsigned N, bool t = false) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
CallSite.h | 49 PointerIntPair<InstrTy*, 1, bool> I; 74 bool isCall() const { return I.getInt(); } 78 bool isInvoke() const { return getInstruction() && !I.getInt(); } 82 operator bool() const { return I.getPointer(); } 108 bool isCallee(value_use_iterator<UserTy> UI) const { 145 bool arg_empty() const { return arg_end() == arg_begin(); } 188 bool paramHasAttr(uint16_t i, Attributes attr) const { 198 bool isNoInline() const { 201 void setIsNoInline(bool Value = true) { 206 bool doesNotAccessMemory() const [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
BitVector.h | 59 *this = bool(t); 63 reference& operator=(bool t) { 71 operator bool() const { 84 explicit BitVector(unsigned s, bool t = false) : Size(s) { 116 bool empty() const { return Size == 0; } 130 bool any() const { 138 bool all() const { 151 bool none() const { 193 void resize(unsigned N, bool t = false) { 317 bool operator[](unsigned Idx) const [all...] |
PointerUnion.h | 89 typedef PointerIntPair<void *, 1, bool, PointerUnionUIntTraits<PT1, PT2>> 115 bool isNull() const { 120 explicit operator bool() const { return !isNull(); } 193 static bool operator==(PointerUnion<PT1, PT2> lhs, PointerUnion<PT1, PT2> rhs) { 198 static bool operator!=(PointerUnion<PT1, PT2> lhs, PointerUnion<PT1, PT2> rhs) { 203 static bool operator<(PointerUnion<PT1, PT2> lhs, PointerUnion<PT1, PT2> rhs) { 265 bool isNull() const { return Val.isNull(); } 266 explicit operator bool() const { return !isNull(); } 370 bool isNull() const { return Val.isNull(); } 371 explicit operator bool() const { return !isNull(); [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
WindowsSupport.h | 54 inline bool RunningWindows8OrGreater() { 72 inline bool MakeErrMsg(std::string *ErrMsg, const std::string &prefix) { 124 explicit operator bool() const { 144 static bool IsValid(handle_type h) { 166 static bool IsValid(handle_type h) { 182 static bool IsValid(handle_type h) {
|
/external/tensorflow/tensorflow/compiler/xla/ |
status_macros.h | 112 MakeErrorStream* error_stream, bool is_logged_by_default = true); 130 bool is_done_; // true after Status object has been returned 132 bool should_log_; 134 bool should_log_stack_trace_; 159 // Provides a conversion to bool so that it can be used inside an if statement 168 explicit operator bool() const { return TF_PREDICT_TRUE(status_.ok()); }
|
/external/tensorflow/tensorflow/core/lib/db/ |
sqlite.h | 130 bool is_in_transaction_ = false; 157 explicit operator bool() const { return stmt_ != nullptr; } 177 Status Step(bool* is_done); 178 bool StepOrDie() TF_MUST_USE_RESULT; 398 explicit operator bool() const { return is_locked_; } 402 bool is_locked_ = true;
|
/external/tensorflow/tensorflow/core/platform/default/ |
logging.h | 144 // A container for a string pointer which can be evaluated to a bool - 150 operator bool() const { return TF_PREDICT_FALSE(str_ != NULL); }
|
/external/xmlrpcpp/src/ |
XmlRpcValue.h | 47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } 85 bool operator==(XmlRpcValue const& other) const; 86 bool operator!=(XmlRpcValue const& other) const; 88 operator bool&() { assertTypeOrInvalid(TypeBoolean); return _value.asBool; } 103 bool valid() const { return _type != TypeInvalid; } 115 bool hasMember(const std::string& name) const; 118 bool fromXml(std::string const& valueXml, int* offset); 147 bool nilFromXml(std::string const& valueXml, int* offset); 148 bool boolFromXml(std::string const& valueXml, int* offset); 149 bool intFromXml(std::string const& valueXml, int* offset) [all...] |
/frameworks/base/tools/aapt2/util/ |
Util.h | 57 bool StartsWith(const android::StringPiece& str, const android::StringPiece& prefix); 60 bool EndsWith(const android::StringPiece& str, const android::StringPiece& suffix); 75 bool IsJavaClassName(const android::StringPiece& str); 78 bool IsJavaPackageName(const android::StringPiece& str); 84 bool IsAndroidPackageName(const android::StringPiece& str); 89 bool IsAndroidSplitName(const android::StringPiece& str); 150 bool VerifyJavaStringFormat(const android::StringPiece& str); 152 bool AppendStyledString(const android::StringPiece& input, bool preserve_spaces, 162 bool IsEmpty() const [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/ |
service.h | 160 bool GetFileHandle(FileReference ref, LocalHandle* handle) override; 161 bool GetChannelHandle(ChannelReference ref, 283 bool IsImpulse() const { return GetMessageId() == IMPULSE_MESSAGE_ID; } 326 bool replied() const { return replied_; } 327 bool IsChannelExpired() const { return channel_.expired(); } 328 bool IsServiceExpired() const { return service_.expired(); } 334 explicit operator bool() const { return !replied_; } 350 bool replied_; 370 virtual bool IsInitialized() const; 594 bool HasChannelId(int channel_id) const [all...] |
/frameworks/native/libs/vr/libpdx/ |
variant_tests.cpp | 122 Variant<int, bool, float> v; 125 ASSERT_FALSE(v.is<bool>()); 130 Variant<int, bool, float> v; 134 ASSERT_FALSE(v.is<bool>()); 140 Variant<int, bool, float> v; 144 ASSERT_TRUE(v.is<bool>()); 146 EXPECT_EQ(false, std::get<bool>(v)); 150 Variant<int, bool, float> v; 154 ASSERT_FALSE(v.is<bool>()); 160 Variant<int, bool, float> v [all...] |
/frameworks/native/opengl/libs/EGL/ |
egl_display.h | 45 bool findExtension(const char* exts, const char* name, size_t nameLen = 0); 72 bool getObject(egl_object_t* object) const; 82 inline bool isReady() const { return (refs > 0); } 83 inline bool isValid() const { return magic == '_dpy'; } 84 inline bool isAlive() const { return isValid(); } 91 bool haveExtension(const char* name, size_t nameLen = 0) const; 114 bool finishOnSwap; // property: debug.egl.finish 115 bool traceGpuCompletion; // property: debug.egl.traceGpuCompletion 116 bool hasColorSpaceSupport; 122 bool eglIsInitialized [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
typedefs.h | 169 typedef /* @abstract@ */ unsigned char bool; typedef
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
cbor.h | 224 operator bool() const { return error_ == Error::OK; } 232 bool checkUTF8Copy(const char* begin, const char* const end, uint8_t* out);
|
msg_formatting.h | 134 bool good_; 157 operator bool() const { return good_; } 377 inline std::tuple<ReadStream, bool> read(ReadStream in, Command cmd) { 385 std::tuple<ReadStream, bool> read(Message<Cmd<cmd>>, ReadStream in) { 406 std::tuple<ReadStream, bool, HEAD, Tail...> read(Message<Cmd<cmd>, HEAD, Tail...>, ReadStream in) { 407 bool command_matches;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
PhantomReferenceTest.java | 29 static Boolean bool; field in class:PhantomReferenceTest 32 bool = null; 40 bool = new Boolean(false); 41 PhantomReference pr = new PhantomReference(bool, rq); 132 bool = new Boolean(true); 134 PhantomReference pr = new PhantomReference(bool, rq); 141 // need a reference to bool so the jit does not optimize it away 142 assertTrue("should always pass", bool.booleanValue()); 146 new PhantomReference(bool, null);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
CanonicalType.h | 82 /// \brief Implicit conversion to bool. 83 explicit operator bool() const { return !isNull(); } 85 bool isNull() const { 123 bool hasQualifiers() const { return Stored.hasLocalQualifiers(); } 125 bool isConstQualified() const { 128 bool isVolatileQualified() const { 131 bool isRestrictQualified() const { 138 bool isCanonicalAsParam() const { 153 bool isMoreQualifiedThan(CanQual<T> Other) const { 159 bool isAtLeastAsQualifiedAs(CanQual<T> Other) const [all...] |