/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/ |
D | emplace.pass.cpp | 61 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 …]
|
D | assign_value.pass.cpp | 44 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
|
D | copy.pass.cpp | 47 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
|
D | move.pass.cpp | 56 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
|
D | nullopt_t.pass.cpp | 34 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/ |
D | assign_value.pass.cpp | 90 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 …]
|
D | emplace.pass.cpp | 53 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
|
D | nullopt_t.pass.cpp | 29 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/ |
D | value_or_const.pass.cpp | 42 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
|
D | op_arrow_const.pass.cpp | 46 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
|
D | has_value.pass.cpp | 25 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
|
D | bool.pass.cpp | 25 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
|
D | value_const.pass.cpp | 39 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
|
D | value_const_rvalue.pass.cpp | 39 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/ |
D | value_or_const.pass.cpp | 42 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/ |
D | make_optional_explicit.pass.cpp | 27 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
|
D | make_optional.pass.cpp | 32 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
|
D | make_optional_explicit_initializer_list.pass.cpp | 35 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/ |
D | make_optional.pass.cpp | 31 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/ |
D | argp-std.c | 127 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/ |
D | in_place_t.pass.cpp | 65 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
|
D | rvalue_T.pass.cpp | 39 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/ |
D | reset.pass.cpp | 33 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/ |
D | optional_unittest.cc | 784 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/ |
D | in_place_t.pass.cpp | 65 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
|