Searched defs:opt2 (Results 1 - 7 of 7) sorted by relevance

/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
H A Dcopy.pass.cpp43 constexpr optional<int> opt2; local
44 opt = opt2;
45 static_assert(static_cast<bool>(opt2) == false, "");
46 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
50 constexpr optional<int> opt2(2);
51 opt = opt2;
52 static_assert(static_cast<bool>(opt2) == true, "");
53 static_assert(*opt2 == 2, "");
54 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
55 assert(*opt == *opt2);
59 constexpr optional<int> opt2; local
[all...]
H A Dmove.pass.cpp52 constexpr optional<int> opt2; local
53 opt = std::move(opt2);
54 static_assert(static_cast<bool>(opt2) == false, "");
55 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
59 constexpr optional<int> opt2(2);
60 opt = std::move(opt2);
61 static_assert(static_cast<bool>(opt2) == true, "");
62 static_assert(*opt2 == 2, "");
63 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
64 assert(*opt == *opt2);
68 constexpr optional<int> opt2; local
[all...]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/
H A Dswap.pass.cpp73 optional<int> opt2; local
74 static_assert(noexcept(opt1.swap(opt2)) == true, "");
76 assert(static_cast<bool>(opt2) == false);
77 opt1.swap(opt2);
79 assert(static_cast<bool>(opt2) == false);
83 optional<int> opt2; local
84 static_assert(noexcept(opt1.swap(opt2)) == true, "");
87 assert(static_cast<bool>(opt2) == false);
88 opt1.swap(opt2);
90 assert(static_cast<bool>(opt2)
121 optional<X> opt2; local
132 optional<X> opt2; local
176 optional<Y> opt2; local
187 optional<Y> opt2; local
231 optional<Z> opt2; local
242 optional<Z> opt2; local
262 optional<Z> opt2; local
284 optional<Z> opt2; local
[all...]
/external/libcxx/test/std/experimental/optional/optional.specalg/
H A Dswap.pass.cpp72 optional<int> opt2; local
73 static_assert(noexcept(swap(opt1, opt2)) == true, "");
75 assert(static_cast<bool>(opt2) == false);
76 swap(opt1, opt2);
78 assert(static_cast<bool>(opt2) == false);
82 optional<int> opt2; local
83 static_assert(noexcept(swap(opt1, opt2)) == true, "");
86 assert(static_cast<bool>(opt2) == false);
87 swap(opt1, opt2);
89 assert(static_cast<bool>(opt2)
120 optional<X> opt2; local
131 optional<X> opt2; local
175 optional<Y> opt2; local
186 optional<Y> opt2; local
230 optional<Z> opt2; local
241 optional<Z> opt2; local
261 optional<Z> opt2; local
283 optional<Z> opt2; local
[all...]
/external/dhcpcd-6.8.2/
H A Dipv6nd.c745 char *opt, *opt2, *tmp; local
889 opt = opt2 = NULL;
1003 opt2 = strdup(ap->saddr);
1140 free(opt2);
1162 if (rao && rao->type == ND_OPT_PREFIX_INFORMATION && opt2) {
1164 opt = opt2;
1165 opt2 = NULL;
H A Ddhcp.c129 const struct dhcp_opt *opt, *opt2; local
136 for (j = 0, opt2 = opts; j < opts_len; j++, opt2++)
137 if (opt->option == opt2->option)
H A Ddhcp6.c136 const struct dhcp_opt *opt, *opt2; local
142 for (j = 0, opt2 = opts; j < opts_len; j++, opt2++)
143 if (opt2->option == opt->option)
518 const struct dhcp_opt *opt, *opt2; local
562 for (n = 0, opt2 = ifo->dhcp6_override;
564 n++, opt2++)
566 if (opt->option == opt2->option)
897 for (n = 0, opt2 = ifo->dhcp6_override;
899 n++, opt2
[all...]

Completed in 101 milliseconds