Home
last modified time | relevance | path

Searched defs:opt (Results 1 – 25 of 1597) sorted by relevance

12345678910>>...64

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp90 optional<T> opt; in test_with_test_type() local
101 optional<T> opt(42); in test_with_test_type() local
113 optional<T> opt; in test_with_test_type() local
126 optional<T> opt(42); in test_with_test_type() local
139 optional<T> opt; in test_with_test_type() local
152 optional<T> opt(42); in test_with_test_type() local
166 optional<T> opt; in test_with_type() local
172 optional<T> opt(Value(42)); in test_with_type() local
178 optional<T> opt(Value(42)); in test_with_type() local
185 optional<T> opt; in test_with_type() local
[all …]
Demplace.pass.cpp53 Opt opt; in test_one_arg() local
61 Opt opt; in test_one_arg() local
69 Opt opt(2); in test_one_arg() local
77 Opt opt(2); in test_one_arg() local
93 Opt opt; in test_multi_arg() local
101 Opt opt; in test_multi_arg() local
109 Opt opt; in test_multi_arg() local
122 optional<T> opt; in test_on_test_type() local
240 optional<const int> opt; in main() local
252 optional<Y> opt(y); in main() local
Dnullopt_t.pass.cpp29 optional<int> opt; in main() local
35 optional<int> opt(3); in main() local
42 optional<TT> opt; in main() local
55 optional<TT> opt(42); in main() local
Doptional_U.pass.cpp93 optional<T> opt; in test_with_test_type() local
108 optional<T> opt(101); in test_with_test_type() local
124 optional<T> opt(101); in test_with_test_type() local
137 optional<T> opt; in test_with_test_type() local
210 optional<int> opt; in main() local
217 optional<int> opt; in main() local
226 optional<int> opt(3); in main() local
233 optional<int> opt(3); in main() local
242 optional<std::unique_ptr<B>> opt; in main() local
252 optional<X> opt; in main() local
Dconst_optional_U.pass.cpp89 optional<T> opt; in test_with_test_type() local
104 optional<T> opt(101); in test_with_test_type() local
120 optional<T> opt(101); in test_with_test_type() local
133 optional<T> opt; in test_with_test_type() local
205 optional<int> opt; in main() local
212 optional<int> opt; in main() local
221 optional<int> opt(3); in main() local
228 optional<int> opt(3); in main() local
238 optional<X> opt; in main() local
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp89 optional<T> opt; in test_with_test_type() local
100 optional<T> opt(42); in test_with_test_type() local
112 optional<T> opt; in test_with_test_type() local
125 optional<T> opt(42); in test_with_test_type() local
138 optional<T> opt; in test_with_test_type() local
151 optional<T> opt(42); in test_with_test_type() local
165 optional<T> opt; in test_with_type() local
171 optional<T> opt(Value(42)); in test_with_type() local
177 optional<T> opt(Value(42)); in test_with_type() local
184 optional<T> opt; in test_with_type() local
[all …]
Demplace.pass.cpp54 Opt opt; in test_one_arg() local
62 Opt opt; in test_one_arg() local
70 Opt opt(2); in test_one_arg() local
78 Opt opt(2); in test_one_arg() local
95 Opt opt; in test_multi_arg() local
103 Opt opt; in test_multi_arg() local
111 Opt opt; in test_multi_arg() local
125 optional<T> opt; in test_on_test_type() local
215 optional<const int> opt; in test_empty_emplace() local
278 optional<Y> opt(y); in main() local
Dnullopt_t.pass.cpp41 optional<int> opt; in test() local
47 optional<int> opt(3); in test() local
52 optional<StateTracker> opt; in test() local
58 optional<StateTracker> opt(state); in test() local
77 optional<TT> opt; in main() local
90 optional<TT> opt(42); in main() local
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_or_const.pass.cpp42 constexpr optional<X> opt(2); in main() local
47 constexpr optional<X> opt(2); in main() local
51 constexpr optional<X> opt; in main() local
56 constexpr optional<X> opt; in main() local
60 const optional<X> opt(2); in main() local
65 const optional<X> opt(2); in main() local
69 const optional<X> opt; in main() local
74 const optional<X> opt; in main() local
Dop_arrow_const.pass.cpp46 const std::optional<X> opt; ((void)opt); in main() local
58 constexpr optional<X> opt(X{}); in main() local
62 constexpr optional<Y> opt(Y{}); in main() local
66 constexpr optional<Z> opt(Z{}); in main() local
71 const optional<X> opt; in main() local
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/
Ddeduct.pass.cpp27 std::optional opt(5); in main() local
35 std::optional opt(A{}); in main() local
43 std::optional opt(source); in main() local
52 std::optional opt(source); in main() local
61 std::optional opt(source); in main() local
71 std::optional opt(source); in main() local
Drvalue_T.pass.cpp40 constexpr optional<T> opt(T(5)); in main() local
52 constexpr optional<T> opt(T(3)); in main() local
80 optional<T> opt(T{3}); in main() local
89 optional<T> opt = {3}; in main() local
99 constexpr optional<T> opt = {T(3)}; in main() local
111 constexpr optional<T> opt = {3}; in main() local
124 constexpr optional<T> opt(T{3}); in main() local
140 optional<Z> opt(std::move(z)); in main() local
Din_place_t.pass.cpp64 constexpr optional<int> opt(in_place, 5); in main() local
77 optional<const int> opt(in_place, 5); in main() local
81 const optional<X> opt(in_place); in main() local
86 const optional<X> opt(in_place, 5); in main() local
91 const optional<X> opt(in_place, 5, 4); in main() local
96 constexpr optional<Y> opt(in_place); in main() local
109 constexpr optional<Y> opt(in_place, 5); in main() local
122 constexpr optional<Y> opt(in_place, 5, 4); in main() local
138 const optional<Z> opt(in_place, 1); in main() local
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_or_const.pass.cpp43 constexpr optional<X> opt(2); in main() local
48 constexpr optional<X> opt(2); in main() local
52 constexpr optional<X> opt; in main() local
57 constexpr optional<X> opt; in main() local
61 const optional<X> opt(2); in main() local
66 const optional<X> opt(2); in main() local
70 const optional<X> opt; in main() local
75 const optional<X> opt; in main() local
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/optional/optional.specalg/
Dmake_optional.pass.cpp29 auto opt = std::make_optional(arr); in main() local
34 constexpr auto opt = std::make_optional(2); in main() local
39 auto opt = std::make_optional(2); in main() local
45 auto opt = std::make_optional(s); in main() local
51 auto opt = std::make_optional(std::move(s)); in main() local
Dmake_optional_explicit.pass.cpp25 constexpr auto opt = std::make_optional<int>('a'); in main() local
30 auto opt = std::make_optional<std::string>(s); in main() local
35 auto opt = std::make_optional<std::unique_ptr<int>>(std::move(s)); in main() local
40 auto opt = std::make_optional<std::string>(4u, 'X'); in main() local
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp65 constexpr optional<int> opt(in_place, 5); in main() local
78 optional<const int> opt(in_place, 5); in main() local
82 const optional<X> opt(in_place); in main() local
87 const optional<X> opt(in_place, 5); in main() local
92 const optional<X> opt(in_place, 5, 4); in main() local
97 constexpr optional<Y> opt(in_place); in main() local
110 constexpr optional<Y> opt(in_place, 5); in main() local
123 constexpr optional<Y> opt(in_place, 5, 4); in main() local
139 const optional<Z> opt(in_place, 1); in main() local
Drvalue_T.pass.cpp47 constexpr optional<T> opt(T(5)); in main() local
59 constexpr optional<T> opt(T(3)); in main() local
87 optional<T> opt(T{3}); in main() local
96 optional<T> opt = {3}; in main() local
106 constexpr optional<T> opt = {T(3)}; in main() local
118 constexpr optional<T> opt = {3}; in main() local
131 constexpr optional<T> opt(T{3}); in main() local
152 optional<T> opt(std::move(t)); in main() local
Dconst_T.pass.cpp38 constexpr optional<T> opt(t); in main() local
52 constexpr optional<T> opt(t); in main() local
72 optional<T> opt = t; in main() local
83 optional<T> opt(t); in main() local
92 constexpr optional<T> opt = {t}; in main() local
106 constexpr optional<T> opt(t); in main() local
127 optional<T> opt(t); in main() local
/external/elfutils/libdwfl/
Dargp-std.c129 struct parse_opt *opt = calloc (1, sizeof (*opt)); in parse_opt() local
142 struct parse_opt *opt = state->hook; in parse_opt() local
168 struct parse_opt *opt = state->hook; in parse_opt() local
188 struct parse_opt *opt = state->hook; in parse_opt() local
213 struct parse_opt *opt = state->hook; in parse_opt() local
226 struct parse_opt *opt = state->hook; in parse_opt() local
246 struct parse_opt *opt = state->hook; in parse_opt() local
263 struct parse_opt *opt = state->hook; in parse_opt() local
353 struct parse_opt *opt = state->hook; in parse_opt() local
365 struct parse_opt *opt = state->hook; in parse_opt() local
/external/libcxx/test/std/utilities/optional/optional.specalg/
Dmake_optional_explicit.pass.cpp27 constexpr auto opt = make_optional<int>('a'); in main() local
32 auto opt = make_optional<std::string>(s); in main() local
37 auto opt = make_optional<std::unique_ptr<int>>(std::move(s)); in main() local
42 auto opt = make_optional<std::string>(4, 'X'); in main() local
Dmake_optional.pass.cpp40 constexpr auto opt = make_optional(2); in main() local
45 optional<int> opt = make_optional(2); in main() local
50 optional<std::string> opt = make_optional(s); in main() local
55 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main() local
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/utilities/optional/optional.object/optional.object.observe/
Dassert.dereference.pass.cpp28 std::optional<int> opt; in main() local
34 std::optional<int> opt; in main() local
40 const std::optional<int> opt; in main() local
46 const std::optional<int> opt; in main() local
/external/libchrome/base/
Doptional_unittest.cc458 Optional<std::vector<int>> opt(in_place, {3, 1}); in TEST() local
1437 Optional<int> opt; in TEST() local
1441 Optional<int> opt(1); in TEST() local
1448 Optional<int> opt; in TEST() local
1452 Optional<int> opt(1); in TEST() local
1459 Optional<int> opt; in TEST() local
1463 Optional<int> opt(1); in TEST() local
1470 Optional<int> opt; in TEST() local
1474 Optional<int> opt(1); in TEST() local
1481 Optional<int> opt; in TEST() local
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Doptimizer_test.cpp24 namespace opt { namespace
44 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
61 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
76 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
90 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
112 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
122 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
132 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
256 Optimizer opt(SPV_ENV_VULKAN_1_1); in TEST() local
317 Optimizer opt(SPV_ENV_VULKAN_1_1); in TEST() local
[all …]

12345678910>>...64