Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp63 optional<int> opt; in main() local
69 optional<int> opt; in main() local
75 optional<int> opt(2); in main() local
81 optional<int> opt(2); in main() local
87 optional<X> opt; in main() local
93 optional<X> opt; in main() local
99 optional<X> opt; in main() local
105 optional<X> opt(X{3}); in main() local
111 optional<X> opt(X{3}); in main() local
117 optional<X> opt(X{3}); in main() local
[all …]
Dassign_value.pass.cpp40 optional<int> opt; in main() local
46 optional<int> opt; in main() local
53 optional<int> opt(3); in main() local
60 optional<std::unique_ptr<int>> opt; in main() local
Dnullopt_t.pass.cpp38 optional<int> opt; in main() local
44 optional<int> opt(3); in main() local
49 optional<X> opt; in main() local
59 optional<X> opt(x); in main() local
Dcopy.pass.cpp42 optional<int> opt; in main() local
49 optional<int> opt; in main() local
58 optional<int> opt(3); in main() local
65 optional<int> opt(3); in main() local
74 optional<X> opt; in main() local
Dmove.pass.cpp51 optional<int> opt; in main() local
58 optional<int> opt; in main() local
67 optional<int> opt(3); in main() local
74 optional<int> opt(3); in main() local
84 optional<X> opt; in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.specalg/
Dmake_optional.pass.cpp29 optional<int> opt = make_optional(2); in main() local
34 optional<std::string> opt = make_optional(s); in main() local
39 optional<std::string> opt = make_optional(std::move(s)); in main() local
45 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/
Dvalue_or_const.pass.cpp46 constexpr optional<X> opt(2); in main() local
51 constexpr optional<X> opt(2); in main() local
55 constexpr optional<X> opt; in main() local
60 constexpr optional<X> opt; in main() local
64 const optional<X> opt(2); in main() local
69 const optional<X> opt(2); in main() local
73 const optional<X> opt; in main() local
78 const optional<X> opt; in main() local
Dvalue_const.pass.cpp39 constexpr optional<X> opt(in_place); in main() local
43 const optional<X> opt(in_place); in main() local
47 const optional<X> opt; in main() local
Dbool.pass.cpp24 constexpr optional<int> opt; in main() local
28 constexpr optional<int> opt(0); in main() local
Dop_arrow_const.pass.cpp48 constexpr optional<X> opt(X{}); in main() local
52 constexpr optional<Y> opt(Y{}); in main() local
56 constexpr optional<Z> opt(Z{}); in main() local
61 const optional<X> opt; in main() local
Ddereference_const.pass.cpp42 constexpr optional<X> opt(X{}); in main() local
46 constexpr optional<Y> opt(Y{}); in main() local
51 const optional<X> opt; in main() local
Dvalue.pass.cpp37 optional<X> opt; in main() local
42 optional<X> opt; in main() local
Dvalue_or.pass.cpp49 optional<X> opt(in_place, 2); in main() local
55 optional<X> opt(in_place, 2); in main() local
60 optional<X> opt; in main() local
66 optional<X> opt; in main() local
Ddereference.pass.cpp38 optional<X> opt(X{}); in main() local
43 optional<X> opt; in main() local
Dop_arrow.pass.cpp38 optional<X> opt(X{}); in main() local
43 optional<X> opt; in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/
Dhash.pass.cpp27 optional<T> opt; in main() local
34 optional<T> opt; in main() local
41 optional<T> opt; in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp67 constexpr optional<int> opt(in_place, 5); in main() local
80 const optional<X> opt(in_place); in main() local
85 const optional<X> opt(in_place, 5); in main() local
90 const optional<X> opt(in_place, 5, 4); in main() local
95 constexpr optional<Y> opt(in_place); in main() local
108 constexpr optional<Y> opt(in_place, 5); in main() local
121 constexpr optional<Y> opt(in_place, 5, 4); in main() local
136 const optional<Z> opt(in_place, 1); in main() local
Drvalue_T.pass.cpp57 constexpr optional<T> opt(T(5)); in main() local
69 constexpr optional<T> opt(T(3)); in main() local
81 optional<T> opt(T(3)); in main() local
87 constexpr optional<T> opt(T(3)); in main() local
101 optional<T> opt(T(3)); in main() local
Ddefault.pass.cpp27 constexpr Opt opt; in test_constexpr() local
43 Opt opt; in test() local
Dnullopt_t.pass.cpp29 constexpr Opt opt(nullopt); in test_constexpr() local
44 Opt opt(nullopt); in test() local
Dconst_T.pass.cpp57 constexpr optional<T> opt(t); in main() local
71 constexpr optional<T> opt(t); in main() local
85 optional<T> opt(t); in main() local
92 constexpr optional<T> opt(t); in main() local
108 optional<T> opt(t); in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/
Doptional_const_void.fail.cpp21 optional<const void> opt; in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.syn/
Doptional_const_lvalue_ref.fail.cpp22 optional<const int&> opt; in main() local
Doptional_rvalue_ref.fail.cpp22 optional<int&&> opt; in main() local
Doptional_const_nullopt_t.fail.cpp24 optional<const nullopt_t> opt; in main() local

12