Home
last modified time | relevance | path

Searched defs:Optional (Results 1 – 25 of 93) sorted by relevance

1234

/external/angle/src/common/
DOptional.h16 struct Optional struct
18 Optional() : mValid(false), mValue(T()) {} in Optional() argument
20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function
22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument
52 static Optional Invalid() { return Optional(); } in Invalid() argument
58 bool operator==(const Optional &other) const argument
71 T mValue;
/external/llvm/include/llvm/ADT/
DOptional.h35 Optional(NoneType) : hasVal(false) {} in Optional() function
36 explicit Optional() : hasVal(false) {} in Optional() function
37 Optional(const T &y) : hasVal(true) { in Optional() function
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional() function
45 Optional(T &&y) : hasVal(true) { in Optional() function
48 Optional(Optional<T> &&O) : hasVal(O) { in Optional() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DOptional.h35 Optional(NoneType) : hasVal(false) {} in Optional() function
36 explicit Optional() : hasVal(false) {} in Optional() function
37 Optional(const T &y) : hasVal(true) { in Optional() function
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional() function
45 Optional(T &&y) : hasVal(true) { in Optional() function
48 Optional(Optional<T> &&O) : hasVal(O) { in Optional() function
/external/libtextclassifier/native/utils/
Doptional.h28 Optional() : init_(false) {} in Optional() function
30 Optional(const Optional& other) { in Optional() function
37 explicit Optional(T value) : init_(true), value_(value) {} in Optional() function
/external/skqp/src/core/
DSkRecords.h91 Optional() : fPtr(nullptr) {} in Optional() function
92 Optional(T* ptr) : fPtr(ptr) {} in Optional() function
93 Optional(Optional&& o) : fPtr(o.fPtr) { in Optional() function
/external/skia/src/core/
DSkRecords.h98 Optional() : fPtr(nullptr) {} in Optional() function
99 Optional(T* ptr) : fPtr(ptr) {} in Optional() function
100 Optional(Optional&& o) : fPtr(o.fPtr) { in Optional() function
/external/llvm-project/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/
Dp2.cpp70 template <typename T> struct Optional { struct
71 template <typename U> Optional(U&&) { } in Optional() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h221 constexpr Optional() {} in Optional() function
222 constexpr Optional(NoneType) {} in Optional() function
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {} in Optional() function
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {} in Optional() function
/external/llvm-project/llvm/include/llvm/ADT/
DOptional.h222 constexpr Optional() {} in Optional() function
223 constexpr Optional(NoneType) {} in Optional() function
225 constexpr Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {} in Optional() function
228 constexpr Optional(T &&y) in Optional() function
DAPInt.h33 template <typename T> class Optional; variable
/external/guava/android/guava/src/com/google/common/base/
DOptional.java85 public abstract class Optional<T> implements Serializable { class
119 Optional() {} in Optional() method in Optional
/external/guava/guava/src/com/google/common/base/
DOptional.java85 public abstract class Optional<T> implements Serializable { class
161 Optional() {} in Optional() method in Optional
/external/tensorflow/tensorflow/tools/tensorflow_builder/compat_checker/
Dsample_config.ini13 [Optional] section
14 isa = [avx, avx2, avx512f, sse4, sse4_2]
Dtest_config.ini16 [Optional] section
17 mango = [range(1.0, 3.0) include(6.0)]
/external/testng/src/main/java/org/testng/annotations/
DOptional.java17 public @interface Optional { annotation
/external/llvm-project/llvm/unittests/Support/
DMatchersTest.cpp20 TEST(MatchersTest, Optional) { in TEST() argument
/external/llvm/include/llvm/IR/
DFunction.h32 template <typename T> class Optional; variable
DModule.h32 template <typename T> class Optional; variable
/external/clang/include/clang/Basic/
DLLVM.h36 template<typename T> class Optional; variable
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcontextlib_ext.py23 def Optional(manager, condition): function
/external/llvm-project/clang/include/clang/Basic/
DLLVM.h37 template<typename T> class Optional; variable
/external/perfetto/include/perfetto/ext/base/
Doptional.h49 class Optional; variable
/external/libchrome/base/
Doptional.h36 class Optional; variable
/external/rust/crates/uuid/src/parser/
Derror.rs76 Optional, enumerator
/external/angle/third_party/abseil-cpp/
Dabsl_hardening_test.cc23 TEST(AbslHardeningTest, Optional) { in TEST() argument

1234