OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hasVal
(Results
1 - 5
of
5
) sorted by null
/external/llvm/include/llvm/ADT/
Optional.h
31
bool
hasVal
;
35
Optional(NoneType) :
hasVal
(false) {}
36
explicit Optional() :
hasVal
(false) {}
37
Optional(const T &y) :
hasVal
(true) {
40
Optional(const Optional &O) :
hasVal
(O.
hasVal
) {
41
if (
hasVal
)
45
Optional(T &&y) :
hasVal
(true) {
48
Optional(Optional<T> &&O) :
hasVal
(O) {
55
if (
hasVal
)
[
all
...]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
Optional.h
26
unsigned
hasVal
: 1;
28
explicit Optional() : x(),
hasVal
(false) {}
29
Optional(const T &y) : x(y),
hasVal
(true) {}
37
hasVal
= true;
41
const T* getPointer() const { assert(
hasVal
); return &x; }
42
const T& getValue() const { assert(
hasVal
); return x; }
44
operator bool() const { return
hasVal
; }
45
bool hasValue() const { return
hasVal
; }
47
const T& operator*() const { assert(
hasVal
); return x; }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Optional.h
34
bool
hasVal
= false;
38
OptionalStorage(const T &y) :
hasVal
(true) { new (storage.buffer) T(y); }
39
OptionalStorage(const OptionalStorage &O) :
hasVal
(O.
hasVal
) {
40
if (
hasVal
)
43
OptionalStorage(T &&y) :
hasVal
(true) {
46
OptionalStorage(OptionalStorage &&O) :
hasVal
(O.
hasVal
) {
47
if (O.
hasVal
) {
53
if (
hasVal
)
[
all
...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Optional.h
31
bool
hasVal
;
35
Optional(NoneType) :
hasVal
(false) {}
36
explicit Optional() :
hasVal
(false) {}
37
Optional(const T &y) :
hasVal
(true) {
40
Optional(const Optional &O) :
hasVal
(O.
hasVal
) {
41
if (
hasVal
)
45
Optional(T &&y) :
hasVal
(true) {
48
Optional(Optional<T> &&O) :
hasVal
(O) {
55
if (
hasVal
)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
lldbDataFormatters.py
99
hasVal
= storage.GetChildMemberWithName('
hasVal
').GetValueAsUnsigned(failure)
100
if
hasVal
== failure:
103
if
hasVal
== 0:
Completed in 631 milliseconds