Home
last modified time | relevance | path

Searched refs:OptionalStorage (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h36 class OptionalStorage {
44 ~OptionalStorage() { reset(); } in ~OptionalStorage()
46 OptionalStorage() noexcept : empty(), hasVal(false) {} in OptionalStorage() function
48 OptionalStorage(OptionalStorage const &other) : OptionalStorage() { in OptionalStorage() function
53 OptionalStorage(OptionalStorage &&other) : OptionalStorage() { in OptionalStorage() function
60 explicit OptionalStorage(in_place_t, Args &&... args) in OptionalStorage() function
93 OptionalStorage &operator=(T const &y) {
102 OptionalStorage &operator=(T &&y) {
112 OptionalStorage &operator=(OptionalStorage const &other) {
126 OptionalStorage &operator=(OptionalStorage &&other) {
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DOptional.h37 class OptionalStorage {
45 ~OptionalStorage() { reset(); } in ~OptionalStorage()
47 constexpr OptionalStorage() noexcept : empty(), hasVal(false) {} in OptionalStorage() function
49 constexpr OptionalStorage(OptionalStorage const &other) : OptionalStorage() { in OptionalStorage() function
54 constexpr OptionalStorage(OptionalStorage &&other) : OptionalStorage() { in OptionalStorage() function
61 constexpr explicit OptionalStorage(in_place_t, Args &&... args) in OptionalStorage() function
94 OptionalStorage &operator=(T const &y) {
103 OptionalStorage &operator=(T &&y) {
113 OptionalStorage &operator=(OptionalStorage const &other) {
127 OptionalStorage &operator=(OptionalStorage &&other) {
[all …]
/external/pdfium/third_party/base/
Doptional.h37 struct OptionalStorage { struct
40 constexpr OptionalStorage() : empty_('\0') {} in OptionalStorage() argument
42 constexpr explicit OptionalStorage(const T& value) in OptionalStorage() function
46 explicit OptionalStorage(T&& value) in OptionalStorage() argument
51 explicit OptionalStorage(in_place_t, Args&&... args) in OptionalStorage() function
56 ~OptionalStorage() { in ~OptionalStorage() argument
72 struct OptionalStorage<T, true> { argument
75 constexpr OptionalStorage() : empty_('\0') {}
77 constexpr explicit OptionalStorage(const T& value)
81 explicit OptionalStorage(T&& value)
[all …]
/external/libchrome/base/
Doptional.h134 struct OptionalStorage : OptionalStorageBase<T> {
149 OptionalStorage() = default;
151 OptionalStorage(const OptionalStorage& other) {
156 OptionalStorage(OptionalStorage&& other) noexcept(
164 struct OptionalStorage<T,
173 OptionalStorage() = default;
174 OptionalStorage(const OptionalStorage& other) = default;
176 OptionalStorage(OptionalStorage&& other) noexcept(
184 struct OptionalStorage<T,
193 OptionalStorage() = default;
[all …]
/external/llvm-project/clang/include/clang/Basic/
DDirectoryEntry.h165 class OptionalStorage<clang::DirectoryEntryRef>
171 OptionalStorage() = default;
174 explicit OptionalStorage(in_place_t, ArgTypes &&...Args)
177 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) {
DFileEntry.h46 class OptionalStorage<clang::FileEntryRef, /*is_trivially_copyable*/ true>; variable
196 class OptionalStorage<clang::FileEntryRef>
202 OptionalStorage() = default;
205 explicit OptionalStorage(in_place_t, ArgTypes &&...Args)
208 OptionalStorage &operator=(clang::FileEntryRef Ref) {
/external/llvm-project/clang/test/Modules/Inputs/lsv-debuginfo/A/
DADT.h34 struct OptionalStorage { struct
39 OptionalStorage<T> Storage; argument
/external/perfetto/include/perfetto/ext/base/
Doptional.h145 struct OptionalStorage : OptionalStorageBase<T> {
160 OptionalStorage() = default;
162 OptionalStorage(const OptionalStorage& other) : OptionalStorageBase<T>() {
167 OptionalStorage(OptionalStorage&& other) noexcept(
175 struct OptionalStorage<T, true /* trivially copy constructible */>
182 OptionalStorage() = default;
183 OptionalStorage(const OptionalStorage& other) = default;
185 OptionalStorage(OptionalStorage&& other) noexcept(
271 OptionalStorage<T> storage_;
/external/llvm-project/lldb/include/lldb/Utility/
DReproducerInstrumentation.h700 friend llvm::optional_detail::OptionalStorage<InstrumentationData, true>;