Home
last modified time | relevance | path

Searched defs:optional (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/llvm-project/clang/test/SemaCXX/
Dcxx0x-nontrivial-union.cpp68 namespace optional { namespace
69 template<typename T> struct optional { struct
70 bool has;
71 union { T value; };
73 optional() : has(false) {} in optional() function
75 optional(U &&...u) : has(true), value(forward<U>(u)...) {} in optional() argument
77 optional(const optional &o) : has(o.has) { in optional() function
80 optional(optional &&o) : has(o.has) { in optional() argument
84 optional &operator=(const optional &o) { in operator =()
95 optional &operator=(optional &&o) { in operator =()
[all …]
/external/clang/test/SemaCXX/
Dcxx0x-nontrivial-union.cpp68 namespace optional { namespace
69 template<typename T> struct optional { struct
70 bool has;
71 union { T value; };
73 optional() : has(false) {} in optional() argument
75 optional(U &&...u) : has(true), value(forward<U>(u)...) {} in optional() argument
77 optional(const optional &o) : has(o.has) { in optional() argument
80 optional(optional &&o) : has(o.has) { in optional() function
84 optional &operator=(const optional &o) { in operator =()
95 optional &operator=(optional &&o) { in operator =()
[all …]
/external/rust/crates/instant/
DCargo.toml34 optional = true qkey
38 optional = true qkey
42 optional = true qkey
48 optional = true qkey
51 optional = true qkey
54 optional = true qkey
58 optional = true qkey
62 optional = true qkey
68 optional = true qkey
71 optional = true qkey
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Doptional.h133 constexpr optional() noexcept {} in optional() function
136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) in optional() function
152 constexpr explicit optional(InPlaceT, Args&&... args) in optional() function
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() function
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional() function
191 explicit constexpr optional(U&& v) in optional() function
205 optional(const optional<U>& rhs) { in optional() function
222 explicit optional(const optional<U>& rhs) { in optional() function
239 optional(optional<U>&& rhs) { in optional() function
256 explicit optional(optional<U>&& rhs) { in optional() function
/external/webrtc/third_party/abseil-cpp/absl/types/
Doptional.h133 constexpr optional() noexcept {} in optional() function
136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) in optional() function
152 constexpr explicit optional(InPlaceT, Args&&... args) in optional() function
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() function
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional() function
191 explicit constexpr optional(U&& v) in optional() function
205 optional(const optional<U>& rhs) { in optional() function
222 explicit optional(const optional<U>& rhs) { in optional() function
239 optional(optional<U>&& rhs) { in optional() function
256 explicit optional(optional<U>&& rhs) { in optional() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Doptional.h133 constexpr optional() noexcept {} in optional() function
136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) in optional() function
152 constexpr explicit optional(InPlaceT, Args&&... args) in optional() function
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() function
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional() function
191 explicit constexpr optional(U&& v) in optional() function
205 optional(const optional<U>& rhs) { in optional() function
222 explicit optional(const optional<U>& rhs) { in optional() function
239 optional(optional<U>&& rhs) { in optional() function
256 explicit optional(optional<U>&& rhs) { in optional() function
/external/abseil-cpp/absl/types/
Doptional.h133 constexpr optional() noexcept {} in optional() function
136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) in optional() function
152 constexpr explicit optional(InPlaceT, Args&&... args) in optional() function
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() function
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional() function
191 explicit constexpr optional(U&& v) in optional() function
205 optional(const optional<U>& rhs) { in optional() function
222 explicit optional(const optional<U>& rhs) { in optional() function
239 optional(optional<U>&& rhs) { in optional() function
256 explicit optional(optional<U>&& rhs) { in optional() function
/external/libtextclassifier/abseil-cpp/absl/types/
Doptional.h133 constexpr optional() noexcept {} in optional() function
136 constexpr optional(nullopt_t) noexcept {} // NOLINT(runtime/explicit) in optional() function
152 constexpr explicit optional(InPlaceT, Args&&... args) in optional() function
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() function
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional() function
191 explicit constexpr optional(U&& v) in optional() function
205 optional(const optional<U>& rhs) { in optional() function
222 explicit optional(const optional<U>& rhs) { in optional() function
239 optional(optional<U>&& rhs) { in optional() function
256 explicit optional(optional<U>&& rhs) { in optional() function
/external/rust/crates/futures-util/
DCargo.toml29 optional = true qkey
39 optional = true qkey
44 optional = true qkey
49 optional = true qkey
58 optional = true qkey
63 optional = true qkey
73 optional = true qkey
77 optional = true qkey
81 optional = true qkey
85 optional = true qkey
/external/rust/crates/grpcio-compiler/
DCargo.toml31 optional = true qkey
35 optional = true qkey
39 optional = true qkey
43 optional = true qkey
47 optional = true qkey
51 optional = true qkey
/external/rust/crates/tokio/
DCargo.toml34 optional = true qkey
38 optional = true qkey
42 optional = true qkey
46 optional = true qkey
50 optional = true qkey
54 optional = true qkey
61 optional = true qkey
107 optional = true qkey
111 optional = true qkey
115 optional = true qkey
[all …]
/external/rust/crates/hashbrown/
DCargo.toml29 optional = true qkey
34 optional = true qkey
39 optional = true qkey
43 optional = true qkey
47 optional = true qkey
52 optional = true qkey
56 optional = true qkey
/external/rust/crates/linked-hash-map/
DCargo.toml27 optional = true qkey
31 optional = true qkey
35 optional = true qkey
39 optional = true qkey
/external/rust/crates/chrono/
DCargo.toml46 optional = true qkey
58 optional = true qkey
62 optional = true qkey
66 optional = true qkey
71 optional = true qkey
104 optional = true qkey
108 optional = true qkey
114 optional = true qkey
/external/rust/crates/rand/
DCargo.toml36 optional = true qkey
41 optional = true qkey
50 optional = true qkey
72 optional = true qkey
76 optional = true qkey
79 optional = true qkey
/external/rust/crates/uuid/
DCargo.toml35 optional = true qkey
39 optional = true qkey
43 optional = true qkey
48 optional = true qkey
52 optional = true qkey
77 optional = true qkey
/external/rust/crates/flate2/
DCargo.toml31 optional = true qkey
38 optional = true qkey
45 optional = true qkey
50 optional = true qkey
54 optional = true qkey
59 optional = true qkey
/external/rust/crates/plotters/
DCargo.toml33 optional = true qkey
43 optional = true qkey
48 optional = true qkey
92 optional = true qkey
97 optional = true qkey
102 optional = true qkey
106 optional = true qkey
/external/crosvm/power_monitor/
DCargo.toml12 dbus = { version = "0.6.1", optional = true } qkey
13 protobuf = { version = "2.8.1", optional = true } qkey
16 protoc-rust = { version = "2.8.1", optional = true } qkey
/external/rust/crates/clap/
DCargo.toml61 optional = true qkey
68 optional = true qkey
72 optional = true qkey
76 optional = true qkey
85 optional = true qkey
89 optional = true qkey
93 optional = true qkey
118 optional = true qkey
/external/guava/guava/src/com/google/common/collect/
DStreams.java92 public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { in stream()
103 public static <T> Stream<T> stream(java.util.Optional<T> optional) { in stream()
114 public static IntStream stream(OptionalInt optional) { in stream()
125 public static LongStream stream(OptionalLong optional) { in stream()
136 public static DoubleStream stream(OptionalDouble optional) { in stream()
/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java161 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testOptionalIsAbsentByDefault() local
202 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testUsesUserBoundValue() local
244 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testUsesUserBoundValueNullProvidersMakeAbsent() local
354 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testSetDefault() local
395 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testSetBinding() local
439 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testSetBindingOverridesDefault() local
496 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testSpreadAcrossModules() local
549 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testExactSameBindingCollapses_defaults() local
595 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); in testExactSameBindingCollapses_actual() local
738 Optional<String> optional = injector.getInstance(Key.get(optionalOfString, Names.named("foo"))); in testQualifiedAggregatesTogether() local
[all …]
/external/rust/crates/textwrap/
DCargo.toml36 optional = true qkey
40 optional = true qkey
44 optional = true qkey
48 optional = true qkey
/external/rust/crates/env_logger/
DCargo.toml44 optional = true qkey
48 optional = true qkey
57 optional = true qkey
62 optional = true qkey
/external/rust/crates/libsqlite3-sys/
DCargo.toml28 optional = true qkey
33 optional = true qkey
37 optional = true qkey
59 optional = true qkey

12345678910