Searched defs:bool (Results 51 - 75 of 203) sorted by relevance

123456789

/external/clang/test/SemaCXX/
H A Dcxx0x-nontrivial-union.cpp70 bool has;
112 explicit operator bool() const { return has; }
/external/eigen/Eigen/src/SparseCore/
H A DSparseTriangularView.h82 else if(HasUnitDiag && ((!Base::operator bool()) || Base::index()>=Base::outer()))
84 if((!SkipFirst) && Base::operator bool())
97 if(HasUnitDiag && (!SkipFirst) && ((!Base::operator bool()) || Base::index()>=Base::outer()))
99 if((!SkipFirst) && Base::operator bool())
120 EIGEN_STRONG_INLINE operator bool() const
124 if(SkipFirst) return Base::operator bool();
127 if (SkipDiag) return (Base::operator bool() && this->index() < this->outer());
128 else return (Base::operator bool() && this->index() <= this->outer());
132 bool m_returnOne;
158 EIGEN_STRONG_INLINE operator bool() cons
[all...]
/external/libcxx/test/support/
H A Dmin_allocator.h33 explicit operator bool() const {return ptr_ != nullptr;}
35 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
36 friend bool operator!=(min_pointer x, min_pointer y) {return !(x == y);}
55 explicit operator bool() const {return ptr_ != nullptr;}
57 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
58 friend bool operator!=(min_pointer x, min_pointer y) {return !(x == y);}
73 explicit operator bool() const {return ptr_ != nullptr;}
119 friend bool operator< (min_pointer x, min_pointer y) {return x.ptr_ < y.ptr_;}
120 friend bool operator> (min_pointer x, min_pointer y) {return y < x;}
121 friend bool operato
[all...]
/external/libsepol/include/sepol/policydb/
H A Dconditional.h44 #define COND_BOOL 1 /* plain bool */
45 #define COND_NOT 2 /* !bool */
46 #define COND_OR 3 /* bool || bool */
47 #define COND_AND 4 /* bool && bool */
48 #define COND_XOR 5 /* bool ^ bool */
49 #define COND_EQ 6 /* bool == bool */
53 uint32_t bool; member in struct:cond_expr
[all...]
/external/lldb/test/lang/cpp/class_types/
H A Dmain.cpp17 operator bool()
/external/llvm/lib/Support/Windows/
H A DWindowsSupport.h42 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) {
91 LLVM_EXPLICIT operator bool() const {
111 static bool IsValid(handle_type h) {
133 static bool IsValid(handle_type h) {
/external/valgrind/main/helgrind/tests/
H A Dtc17_sembar.c42 typedef long bool; typedef
/external/clang/include/clang/StaticAnalyzer/Core/
H A DChecker.h40 static bool _handlesDecl(const Decl *D) {
92 static bool _handlesStmt(const Stmt *S) {
111 static bool _handlesStmt(const Stmt *S) {
186 const SVal &location, bool isLoad, const Stmt *S,
304 static bool _wantsRegionChangeUpdate(void *checker,
427 bool assumption) {
441 static bool _evalCall(void *checker, const CallExpr *CE, CheckerContext &C) {
545 bool IsLoad;
552 /// This class should behave exactly like 'bool' except that it doesn't need to
555 bool va
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/
H A DExpression.java183 public boolean bool(XPathContext xctxt) method in class:Expression
186 return execute(xctxt).bool();
H A DXPath.java401 public boolean bool( method in class:XPath
412 return m_mainExp.bool(xctxt);
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXNodeSet.java187 public boolean bool() method in class:XNodeSet
551 double num1 = bool() ? 1.0 : 0.0;
H A DXString.java147 public boolean bool() method in class:XString
306 return obj2.bool() == bool();
/external/checkpolicy/test/
H A Ddispol.c204 p->p_bool_val_to_name[cur->bool - 1]);
290 cond_bool_datum_t *bool; local
292 bool = hashtab_search(p->p_bools.table, name);
293 if (bool == NULL) {
294 fprintf(fp, "Could not find bool %s\n", name);
297 bool->state = state;
/external/chromium_org/cc/base/
H A Dtiling_data.h27 bool has_border_texels);
39 void SetHasBorderTexels(bool has_border_texels);
42 bool has_empty_bounds() const { return !num_tiles_x_ || !num_tiles_y_; }
70 operator bool() const { return index_x_ != -1 && index_y_ != -1; }
96 bool include_borders);
115 bool in_ignore_rect() const {
143 bool in_consider_rect() const {
147 bool in_ignore_rect() const {
151 bool valid_column() const {
154 bool valid_ro
[all...]
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling_set.cc15 bool operator() (PictureLayerTiling* left, PictureLayerTiling* right) {
44 bool PictureLayerTilingSet::SyncTilings(const PictureLayerTilingSet& other,
67 bool have_high_res_tiling = false;
247 bool first_time = current_tiling_ < 0;
305 PictureLayerTilingSet::CoverageIterator::operator bool() const {
H A Dtask_graph_runner.cc62 operator bool() const { return current_index_ < graph_->edges.size(); }
76 bool operator()(const TaskGraph::Node& node) const {
89 bool operator()(const TaskGraph::Edge& edge) const {
121 bool Task::HasFinishedRunning() const { return did_run_; }
438 bool ready_to_run_namespaces_has_heap_properties = true;
446 bool was_empty = task_namespace->ready_to_run_tasks.empty();
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dbase.hpp72 bool release() {
120 operator bool() const {
245 bool
248 if (__iter_helper<bool, __empty, sizeof...(Its)>::step(
262 std::function<bool (const std::pair<T, S> &)>
276 std::function<bool (const T &)>
/external/clang/include/clang/AST/
H A DNestedNameSpecifier.h131 bool Template, const Type *T);
186 bool isDependent() const;
190 bool isInstantiationDependent() const;
194 bool containsUnexpandedParameterPack() const;
235 LLVM_EXPLICIT operator bool() const { return Qualifier; }
239 bool hasQualifier() const { return Qualifier; }
311 friend bool operator==(NestedNameSpecifierLoc X,
316 friend bool operator!=(NestedNameSpecifierLoc X,
H A DStmtIterator.h40 bool inDeclGroup() const {
44 bool inSizeOfTypeVA() const {
48 bool inStmt() const {
61 void NextDecl(bool ImmediateAdvance = true);
62 bool HandleDecl(Decl* D);
104 bool operator==(const DERIVED& RHS) const {
108 bool operator!=(const DERIVED& RHS) const {
150 bool empty() const { return first == second; }
151 LLVM_EXPLICIT operator bool() const { return !empty(); }
193 bool empt
[all...]
H A DStmtOpenMP.h124 bool operator!() { return Current == End; }
125 operator bool() { return Current != End; }
158 static bool classof(const Stmt *S) {
225 static bool classof(const Stmt *T) {
294 static bool classof(const Stmt *T) {
363 static bool classof(const Stmt *T) {
421 static bool classof(const Stmt *T) {
468 static bool classof(const Stmt *T) {
525 static bool classof(const Stmt *T) {
597 static bool classo
[all...]
/external/clang/include/clang/Lex/
H A DModuleMap.h99 bool isAvailable() const {
105 LLVM_EXPLICIT operator bool() const {
151 llvm::DenseMap<const FileEntry *, bool> ParsedModuleMap;
169 bool Complain) const;
182 Module *resolveModuleId(const ModuleId &Id, Module *Mod, bool Complain) const;
202 bool isHeaderInUmbrellaDirs(const FileEntry *File) {
204 return static_cast<bool>(findHeaderInUmbrellaDirs(File, IntermediateDirs));
265 bool isHeaderInUnavailableModule(const FileEntry *Header) const;
269 bool isHeaderUnavailableInModule(const FileEntry *Header,
318 std::pair<Module *, bool> findOrCreateModul
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h125 bool IsVirtual);
135 SVal evalDynamicCast(SVal Base, QualType DerivedPtrType, bool &Failed);
147 virtual bool includedInBindings(Store store,
203 virtual bool scanReachableSymbols(Store S, const MemRegion *R,
212 virtual bool HandleBinding(StoreManager& SMgr, Store store,
220 bool First;
226 bool HandleBinding(StoreManager& SMgr, Store store, const MemRegion* R,
228 LLVM_EXPLICIT operator bool() { return First && Binding; }
243 QualType castTy, bool performTestOnly = true);
/external/clang/test/Analysis/
H A Dstack-addr-ps.cpp1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s -Wno-undefined-bool-conversion
106 operator bool() const { return this; }
124 bool returnAsBool() {
134 bool returnAsBoolViaPointer() {
H A Dtemp-obj-dtors-cfg-output.cpp12 operator bool() { return false; }
21 operator bool() { return true; }
27 void foo(bool);
37 bool a = A() && B();
43 bool a = A() || B();
58 operator bool() { return b_; }
59 bool b_;
65 operator bool() { return b_; }
66 bool b_;
159 extern bool chec
[all...]
/external/clang/test/CodeGenCXX/
H A Dtemp-order.cpp23 bool Truth;
25 A(TempTracker &_TT, unsigned _P, bool _Truth = true)
41 operator bool () { return Truth; }
45 static unsigned f0(bool val = false) {
57 static unsigned f1(bool val = true) {

Completed in 543 milliseconds

123456789