Home
last modified time | relevance | path

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

12345678910>>...22

/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
Demplace.pass.cpp61 optional<int> opt; in main() local
67 optional<int> opt; in main() local
73 optional<int> opt(2); in main() local
79 optional<int> opt(2); in main() local
85 optional<const int> opt(2); in main() local
91 optional<X> opt; in main() local
97 optional<X> opt; in main() local
103 optional<X> opt; in main() local
109 optional<X> opt(X{3}); in main() local
115 optional<X> opt(X{3}); in main() local
[all …]
Dassign_value.pass.cpp44 optional<int> opt; in main() local
50 optional<int> opt; in main() local
57 optional<int> opt(3); in main() local
64 optional<const AllowConstAssign> opt; in main() local
69 optional<std::unique_ptr<int>> opt; in main() local
Dcopy.pass.cpp47 optional<int> opt; in main() local
54 optional<const AllowConstAssign> opt; in main() local
59 optional<int> opt; in main() local
68 optional<int> opt(3); in main() local
75 optional<int> opt(3); in main() local
85 optional<X> opt; in main() local
Dmove.pass.cpp56 optional<int> opt; in main() local
63 optional<int> opt; in main() local
72 optional<int> opt(3); in main() local
79 optional<int> opt(3); in main() local
88 optional<const AllowConstAssign> opt; in main() local
95 optional<X> opt; in main() local
Dnullopt_t.pass.cpp34 optional<int> opt; in main() local
40 optional<int> opt(3); in main() local
45 optional<X> opt; in main() local
55 optional<X> opt(x); in main() local
/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
59 Opt opt; in test_one_arg() local
65 Opt opt(2); in test_one_arg() local
71 Opt opt(2); in test_one_arg() local
85 Opt opt; in test_multi_arg() local
91 Opt opt; in test_multi_arg() local
97 Opt opt; in test_multi_arg() local
108 optional<T> opt; in test_on_test_type() local
212 optional<const int> opt; in main() local
222 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
/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
Dhas_value.pass.cpp25 const optional<int> opt; ((void)opt); in main() local
30 constexpr optional<int> opt; in main() local
34 constexpr optional<int> opt(0); in main() local
Dbool.pass.cpp25 const optional<int> opt; ((void)opt); in main() local
30 constexpr optional<int> opt; in main() local
34 constexpr optional<int> opt(0); in main() local
Dvalue_const.pass.cpp39 const optional<X> opt; ((void)opt); in main() local
44 constexpr optional<X> opt(in_place); in main() local
48 const optional<X> opt(in_place); in main() local
53 const optional<X> opt; in main() local
Dvalue_const_rvalue.pass.cpp39 const optional<X> opt; ((void)opt); in main() local
44 constexpr optional<X> opt(in_place); in main() local
48 const optional<X> opt(in_place); in main() local
53 const optional<X> opt; in main() local
/external/libcxx/test/std/experimental/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
/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.cpp32 constexpr auto opt = make_optional(2); in main() local
37 optional<int> opt = make_optional(2); in main() local
42 optional<std::string> opt = make_optional(s); in main() local
47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main() local
Dmake_optional_explicit_initializer_list.pass.cpp35 constexpr auto opt = make_optional<TestT>({42, 2, 3}); in main() local
41 constexpr auto opt = make_optional<TestT>({42, 2, 3}, nullptr); in main() local
46 auto opt = make_optional<std::string>({'1', '2', '3'}); in main() local
50 auto opt = make_optional<std::string>({'a', 'b', 'c'}, std::allocator<char>{}); in main() local
/external/libcxx/test/std/experimental/optional/optional.specalg/
Dmake_optional.pass.cpp31 optional<int> opt = make_optional(2); in main() local
36 optional<std::string> opt = make_optional(s); in main() local
41 optional<std::string> opt = make_optional(std::move(s)); in main() local
47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main() local
/external/elfutils/libdwfl/
Dargp-std.c127 struct parse_opt *opt = calloc (1, sizeof (*opt)); in parse_opt() local
140 struct parse_opt *opt = state->hook; in parse_opt() local
166 struct parse_opt *opt = state->hook; in parse_opt() local
186 struct parse_opt *opt = state->hook; in parse_opt() local
211 struct parse_opt *opt = state->hook; in parse_opt() local
224 struct parse_opt *opt = state->hook; in parse_opt() local
244 struct parse_opt *opt = state->hook; in parse_opt() local
261 struct parse_opt *opt = state->hook; in parse_opt() local
350 struct parse_opt *opt = state->hook; in parse_opt() local
362 struct parse_opt *opt = state->hook; in parse_opt() 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.cpp39 constexpr optional<T> opt(T(5)); in main() local
51 constexpr optional<T> opt(T(3)); in main() local
79 optional<T> opt(T{3}); in main() local
88 optional<T> opt = {3}; in main() local
98 constexpr optional<T> opt = {T(3)}; in main() local
110 constexpr optional<T> opt = {3}; in main() local
123 constexpr optional<T> opt(T{3}); in main() local
144 optional<T> opt(std::move(t)); in main() local
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/
Dreset.pass.cpp33 optional<int> opt; in main() local
39 optional<int> opt(3); in main() local
44 optional<X> opt; in main() local
53 optional<X> opt(X{}); in main() local
/external/libchrome/base/
Doptional_unittest.cc784 Optional<int> opt; in TEST() local
788 Optional<int> opt(1); in TEST() local
795 Optional<int> opt; in TEST() local
799 Optional<int> opt(1); in TEST() local
806 Optional<int> opt; in TEST() local
810 Optional<int> opt(1); in TEST() local
817 Optional<int> opt; in TEST() local
821 Optional<int> opt(1); in TEST() local
828 Optional<int> opt; in TEST() local
832 Optional<int> opt(1); in TEST() local
[all …]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp65 constexpr optional<int> opt(in_place, 5); in main() local
78 const optional<X> opt(in_place); in main() local
83 const optional<X> opt(in_place, 5); in main() local
88 const optional<X> opt(in_place, 5, 4); in main() local
93 constexpr optional<Y> opt(in_place); in main() local
106 constexpr optional<Y> opt(in_place, 5); in main() local
119 constexpr optional<Y> opt(in_place, 5, 4); in main() local
135 const optional<Z> opt(in_place, 1); in main() local

12345678910>>...22