Home
last modified time | relevance | path

Searched defs:OptionalStorage (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DOptional.h32 template <typename T, bool IsPodLike> struct OptionalStorage { struct
36 OptionalStorage() = default; argument
38 OptionalStorage(const T &y) : hasVal(true) { new (storage.buffer) T(y); } in OptionalStorage() argument
39 OptionalStorage(const OptionalStorage &O) : hasVal(O.hasVal) { in OptionalStorage() argument
43 OptionalStorage(T &&y) : hasVal(true) { in OptionalStorage() function
46 OptionalStorage(OptionalStorage &&O) : hasVal(O.hasVal) { in OptionalStorage() function
92 ~OptionalStorage() { reset(); } in ~OptionalStorage() argument
113 template <typename T> struct OptionalStorage<T, true> { argument
/external/v8/src/base/
Doptional.h40 struct OptionalStorage { struct
43 constexpr OptionalStorage() : empty_('\0') {} in OptionalStorage() argument
45 constexpr explicit OptionalStorage(const T& value) in OptionalStorage() argument
49 explicit OptionalStorage(T&& value) in OptionalStorage() function
54 explicit OptionalStorage(base::in_place_t, Args&&... args) in OptionalStorage() function
59 ~OptionalStorage() { in ~OptionalStorage() argument
74 struct OptionalStorage<T, true> { argument
/external/pdfium/third_party/base/
Doptional.h35 struct OptionalStorage { struct
38 constexpr OptionalStorage() : empty_('\0') {} in OptionalStorage() argument
40 constexpr explicit OptionalStorage(const T& value) in OptionalStorage() function
44 explicit OptionalStorage(T&& value) in OptionalStorage() function
49 explicit OptionalStorage(in_place_t, Args&&... args) in OptionalStorage() function
54 ~OptionalStorage() { in ~OptionalStorage() argument
70 struct OptionalStorage<T, true> { argument