Home
last modified time | relevance | path

Searched refs:hasVal (Results 1 – 25 of 72) sorted by relevance

123

/dports/devel/llbuild/swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2017-12-10-a/include/llvm/ADT/
H A DOptional.h31 bool hasVal; variable
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional()
41 if (hasVal) in Optional()
45 Optional(T &&y) : hasVal(true) { in Optional()
55 if (hasVal)
59 hasVal = true;
77 hasVal = true; in emplace()
91 if (hasVal)
95 hasVal = true;
109 if (hasVal) { in reset()
[all …]
/dports/devel/py-keystone-engine/keystone-engine-0.9.1-3/src/llvm/include/llvm/ADT/
H A DOptional.h31 bool hasVal; variable
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional()
41 if (hasVal) in Optional()
45 Optional(T &&y) : hasVal(true) { in Optional()
55 if (hasVal)
59 hasVal = true;
77 hasVal = true; in emplace()
91 if (hasVal)
95 hasVal = true;
109 if (hasVal) { in reset()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/include/llvm/ADT/
H A DOptional.h39 OptionalStorage(const OptionalStorage &O) : hasVal(O.hasVal) { in main()
40 if (hasVal) in main()
46 OptionalStorage(OptionalStorage &&O) : hasVal(O.hasVal) { in main()
47 if (O.hasVal) { in main()
53 if (hasVal) in main()
57 hasVal = true; in main()
62 if (!O.hasVal) in main()
76 if (hasVal) in main()
85 if (!O.hasVal) in main()
95 if (hasVal) { in main()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DOptional.h31 bool hasVal; variable
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional()
41 if (hasVal) in Optional()
45 Optional(T &&y) : hasVal(true) { in Optional()
55 if (hasVal)
59 hasVal = true;
77 hasVal = true; in emplace()
91 if (hasVal)
95 hasVal = true;
109 if (hasVal) { in reset()
[all …]
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/include/llvm/ADT/
H A DOptional.h26 unsigned hasVal : 1; variable
28 explicit Optional() : x(), hasVal(false) {} in Optional()
29 Optional(const T &y) : x(y), hasVal(true) {} in Optional()
37 hasVal = true;
41 const T* getPointer() const { assert(hasVal); return &x; } in getPointer()
42 const T& getValue() const { assert(hasVal); return x; } in getValue()
44 operator bool() const { return hasVal; }
45 bool hasValue() const { return hasVal; } in hasValue()
47 const T& operator*() const { assert(hasVal); return x; }
/dports/devel/llvm80/llvm-8.0.1.src/include/llvm/ADT/
H A DOptional.h39 OptionalStorage(const OptionalStorage &O) : hasVal(O.hasVal) { in OptionalStorage()
40 if (hasVal) in OptionalStorage()
46 OptionalStorage(OptionalStorage &&O) : hasVal(O.hasVal) { in OptionalStorage()
47 if (O.hasVal) { in OptionalStorage()
53 if (hasVal)
57 hasVal = true;
62 if (!O.hasVal)
76 if (hasVal)
85 if (!O.hasVal)
95 if (hasVal) { in reset()
[all …]
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/Demos/boost/any_container/
H A Ddict.cpp67 bool hasVal(const std::string &what) const { return hasVal(what.c_str()); }; in hasVal() function in Dict
168 TEST_ASSERT(!dict.hasVal("foo")); in test3()
172 TEST_ASSERT(dict.hasVal("foo")); in test3()
178 TEST_ASSERT(d2.hasVal("foo")); in test3()
184 TEST_ASSERT(d3.hasVal("foo")); in test3()
203 TEST_ASSERT(dict.hasVal("foo")); in test4()
210 TEST_ASSERT(d2.hasVal("foo")); in test4()
216 TEST_ASSERT(d3.hasVal("foo")); in test4()
236 TEST_ASSERT(dict.hasVal("foo")); in test5()
243 TEST_ASSERT(d2.hasVal("foo")); in test5()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/grcov/grcov-0.8.2/cargo-crates/symbolic-demangle-8.3.0/vendor/swift/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/symbolic-demangle-7.4.0/vendor/swift/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/binaryen/binaryen-version_98/third_party/llvm-project/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/include/llvm/ADT/
H A DOptional.h41 bool hasVal; variable
64 if (hasVal) { in reset()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
98 hasVal = true;
164 if (hasVal) { in reset()
173 assert(hasVal); in getValue()
177 assert(hasVal); in getValue()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/include/llvm/ADT/
H A DOptional.h65 bool hasVal; variable
88 if (hasVal) { in reset()
97 assert(hasVal); in getValue()
101 assert(hasVal); in getValue()
106 assert(hasVal); in getValue()
114 hasVal = true; in emplace()
188 if (hasVal) { in reset()
197 assert(hasVal); in getValue()
201 assert(hasVal); in getValue()
206 assert(hasVal); in getValue()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/include/llvm/ADT/
H A DOptional.h65 bool hasVal; variable
88 if (hasVal) { in reset()
97 assert(hasVal); in getValue()
101 assert(hasVal); in getValue()
106 assert(hasVal); in getValue()
114 hasVal = true; in emplace()
188 if (hasVal) { in reset()
197 assert(hasVal); in getValue()
201 assert(hasVal); in getValue()
206 assert(hasVal); in getValue()
[all …]
/dports/sysutils/incron/incron-81421d3a8bde0989d7e167d8a814d5232896c930/
H A Dappargs.cpp72 bool hasVal; in Parse() local
78 pOpt->hasVal = hasVal; in Parse()
86 bool hasVal; in Parse() local
87 ParseShort(argv[i], name, val, hasVal); in Parse()
92 if (hasVal) { in Parse()
93 pOpt->hasVal = true; in Parse()
98 pOpt->hasVal = true; in Parse()
103 pOpt->hasVal = false; in Parse()
147 if (!(pOpt->found) || !(pOpt->hasVal)) in GetOption()
161 pOpt->hasVal = false; in AddOption()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/include/llvm/ADT/
H A DOptional.h64 bool hasVal; variable
87 if (hasVal) { in reset()
96 assert(hasVal); in getValue()
100 assert(hasVal); in getValue()
105 assert(hasVal); in getValue()
113 hasVal = true; in emplace()
187 if (hasVal) { in reset()
196 assert(hasVal); in getValue()
200 assert(hasVal); in getValue()
205 assert(hasVal); in getValue()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/include/llvm/ADT/
H A DOptional.h64 bool hasVal; variable
87 if (hasVal) { in reset()
96 assert(hasVal); in getValue()
100 assert(hasVal); in getValue()
105 assert(hasVal); in getValue()
113 hasVal = true; in emplace()
187 if (hasVal) { in reset()
196 assert(hasVal); in getValue()
200 assert(hasVal); in getValue()
205 assert(hasVal); in getValue()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/include/llvm/ADT/
H A DOptional.h64 bool hasVal; variable
87 if (hasVal) { in reset()
96 assert(hasVal); in getValue()
100 assert(hasVal); in getValue()
105 assert(hasVal); in getValue()
113 hasVal = true; in emplace()
187 if (hasVal) { in reset()
196 assert(hasVal); in getValue()
200 assert(hasVal); in getValue()
205 assert(hasVal); in getValue()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/include/llvm/ADT/
H A DOptional.h64 bool hasVal; variable
87 if (hasVal) { in reset()
96 assert(hasVal); in getValue()
100 assert(hasVal); in getValue()
105 assert(hasVal); in getValue()
113 hasVal = true; in emplace()
187 if (hasVal) { in reset()
196 assert(hasVal); in getValue()
200 assert(hasVal); in getValue()
205 assert(hasVal); in getValue()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/include/llvm/ADT/
H A DOptional.h64 bool hasVal; variable
87 if (hasVal) { in reset()
96 assert(hasVal); in getValue()
100 assert(hasVal); in getValue()
105 assert(hasVal); in getValue()
113 hasVal = true; in emplace()
187 if (hasVal) { in reset()
196 assert(hasVal); in getValue()
200 assert(hasVal); in getValue()
205 assert(hasVal); in getValue()
[all …]

123