Home
last modified time | relevance | path

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

12345

/external/angle/src/common/
DOptional.h16 struct Optional struct
18 Optional() : mValid(false), mValue(T()) {} in Optional() function
20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument
22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument
52 static Optional Invalid() { return Optional(); } in Invalid() argument
59 bool operator==(const Optional &other) const argument
72 T mValue;
/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/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/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/armnn/include/armnn/
DOptional.hpp270 class Optional final : public OptionalReferenceSwitch<std::is_reference<T>::value, T> class
275 Optional() noexcept : BaseSwitch{} {} in Optional() function in armnn::Optional
276 Optional(const T& value) : BaseSwitch{value} {} in Optional() function in armnn::Optional
278 Optional(EmptyOptional empty) : BaseSwitch{empty} {} in Optional() function in armnn::Optional
279 Optional(const Optional& other) : BaseSwitch{other} {} in Optional() function in armnn::Optional
280 Optional(const BaseSwitch& other) : BaseSwitch{other} {} in Optional() function in armnn::Optional
283 explicit Optional(ConstructInPlace, Args&&... args) : in Optional() function in armnn::Optional
/external/armnn/profiling/common/include/
DOptional.hpp273 class Optional final : public OptionalReferenceSwitch<std::is_reference<T>::value, T> class
278 Optional() noexcept : BaseSwitch{} {} in Optional() function in arm::pipe::Optional
279 Optional(const T& value) : BaseSwitch{value} {} in Optional() function in arm::pipe::Optional
281 Optional(EmptyOptional empty) : BaseSwitch{empty} {} in Optional() function in arm::pipe::Optional
282 Optional(const Optional& other) : BaseSwitch{other} {} in Optional() function in arm::pipe::Optional
283 Optional(const BaseSwitch& other) : BaseSwitch{other} {} in Optional() function in arm::pipe::Optional
286 explicit Optional(ConstructInPlace, Args&&... args) : in Optional() function in arm::pipe::Optional
/external/skia/src/core/
DSkRecords.h105 Optional() : fPtr(nullptr) {} in Optional() function
106 Optional(T* ptr) : fPtr(ptr) {} in Optional() function
107 Optional(Optional&& o) : fPtr(o.fPtr) { 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/ot-br-posix/src/common/
Dcode_utils.hpp179 template <typename T> class Optional class
184 Optional(T aValue) { SetValue(aValue); } in Optional() function in Optional
188 Optional(const Optional &aOther) { AssignFrom(aOther); } in Optional() function in Optional
/external/guava/android/guava/src/com/google/common/base/
DOptional.java86 public abstract class Optional<T> implements Serializable { class
120 Optional() {} in Optional() method in Optional
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h137 using Optional = std::optional<T>; variable
183 FLATBUFFERS_CONSTEXPR_CPP11 Optional() FLATBUFFERS_NOEXCEPT in Optional() function
186 FLATBUFFERS_CONSTEXPR_CPP11 Optional(nullopt_t) FLATBUFFERS_NOEXCEPT in Optional() function
189 FLATBUFFERS_CONSTEXPR_CPP11 Optional(T val) FLATBUFFERS_NOEXCEPT in Optional() function
192 FLATBUFFERS_CONSTEXPR_CPP11 Optional(const Optional &other) FLATBUFFERS_NOEXCEPT in Optional() function
/external/guava/guava/src/com/google/common/base/
DOptional.java86 public abstract class Optional<T> implements Serializable { class
162 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/include/llvm/IR/
DFunction.h32 template <typename T> class Optional; variable
DModule.h32 template <typename T> class Optional; variable
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
DOptional.kt21 internal data class Optional<out T : Any>(val nullableValue: T?) class
/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/libchrome/base/
Doptional.h36 class Optional; variable
/external/webrtc/third_party/abseil-cpp/
Dabsl_hardening_test.cc23 TEST(AbslHardeningTest, Optional) { in TEST() argument
/external/cronet/third_party/abseil-cpp/
Dabsl_hardening_test.cc23 TEST(AbslHardeningTest, Optional) { in TEST() argument
/external/angle/third_party/abseil-cpp/
Dabsl_hardening_test.cc23 TEST(AbslHardeningTest, Optional) { in TEST() argument
/external/libtextclassifier/abseil-cpp/absl/base/
Doptimization_test.cc81 TEST(PredictTest, Optional) { in TEST() argument

12345