Home
last modified time | relevance | path

Searched refs:opt2 (Results 1 – 25 of 26) sorted by relevance

12

/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/
Dswap.pass.cpp74 optional<int> opt2; in main() local
75 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
77 assert(static_cast<bool>(opt2) == false); in main()
78 opt1.swap(opt2); in main()
80 assert(static_cast<bool>(opt2) == false); in main()
84 optional<int> opt2; in main() local
85 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
88 assert(static_cast<bool>(opt2) == false); in main()
89 opt1.swap(opt2); in main()
91 assert(static_cast<bool>(opt2) == true); in main()
[all …]
/external/libcxx/test/std/experimental/optional/optional.specalg/
Dswap.pass.cpp69 optional<int> opt2; in main() local
70 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
72 assert(static_cast<bool>(opt2) == false); in main()
73 swap(opt1, opt2); in main()
75 assert(static_cast<bool>(opt2) == false); in main()
79 optional<int> opt2; in main() local
80 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
83 assert(static_cast<bool>(opt2) == false); in main()
84 swap(opt1, opt2); in main()
86 assert(static_cast<bool>(opt2) == true); in main()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/
Dswap.pass.cpp72 optional<int> opt2; in main() local
73 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
75 assert(static_cast<bool>(opt2) == false); in main()
76 opt1.swap(opt2); in main()
78 assert(static_cast<bool>(opt2) == false); in main()
82 optional<int> opt2; in main() local
83 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
86 assert(static_cast<bool>(opt2) == false); in main()
87 opt1.swap(opt2); in main()
89 assert(static_cast<bool>(opt2) == true); in main()
[all …]
/external/libcxx/test/std/utilities/optional/optional.specalg/
Dswap.pass.cpp118 optional<int> opt2; in main() local
119 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
121 assert(static_cast<bool>(opt2) == false); in main()
122 swap(opt1, opt2); in main()
124 assert(static_cast<bool>(opt2) == false); in main()
128 optional<int> opt2; in main() local
129 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
132 assert(static_cast<bool>(opt2) == false); in main()
133 swap(opt1, opt2); in main()
135 assert(static_cast<bool>(opt2) == true); in main()
[all …]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
Dcopy.pass.cpp48 constexpr optional<int> opt2; in main() local
49 opt = opt2; in main()
50 static_assert(static_cast<bool>(opt2) == false, ""); in main()
51 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
55 optional<const AllowConstAssign> opt2; in main() local
56 opt = opt2; in main()
60 constexpr optional<int> opt2(2); in main() local
61 opt = opt2; in main()
62 static_assert(static_cast<bool>(opt2) == true, ""); in main()
63 static_assert(*opt2 == 2, ""); in main()
[all …]
Dmove.pass.cpp57 constexpr optional<int> opt2; in main() local
58 opt = std::move(opt2); in main()
59 static_assert(static_cast<bool>(opt2) == false, ""); in main()
60 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
64 constexpr optional<int> opt2(2); in main() local
65 opt = std::move(opt2); in main()
66 static_assert(static_cast<bool>(opt2) == true, ""); in main()
67 static_assert(*opt2 == 2, ""); in main()
68 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
69 assert(*opt == *opt2); in main()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp59 constexpr optional<int> opt2; in main() local
60 opt = std::move(opt2); in main()
61 static_assert(static_cast<bool>(opt2) == false, ""); in main()
62 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
66 constexpr optional<int> opt2(2); in main() local
67 opt = std::move(opt2); in main()
68 static_assert(static_cast<bool>(opt2) == true, ""); in main()
69 static_assert(*opt2 == 2, ""); in main()
70 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
71 assert(*opt == *opt2); in main()
[all …]
Dconst_optional_U.pass.cpp206 constexpr optional<short> opt2; in main() local
207 opt = opt2; in main()
208 static_assert(static_cast<bool>(opt2) == false, ""); in main()
209 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
213 constexpr optional<short> opt2(short{2}); in main()
214 opt = opt2; in main()
215 static_assert(static_cast<bool>(opt2) == true, ""); in main()
216 static_assert(*opt2 == 2, ""); in main()
217 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
218 assert(*opt == *opt2); in main()
[all …]
Doptional_U.pass.cpp211 optional<short> opt2; in main() local
212 opt = std::move(opt2); in main()
213 assert(static_cast<bool>(opt2) == false); in main()
214 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
218 optional<short> opt2(short{2}); in main()
219 opt = std::move(opt2); in main()
220 assert(static_cast<bool>(opt2) == true); in main()
221 assert(*opt2 == 2); in main()
222 assert(static_cast<bool>(opt) == static_cast<bool>(opt2)); in main()
223 assert(*opt == *opt2); in main()
[all …]
Dcopy.pass.cpp77 const optional<T> opt2; in main() local
79 opt = opt2; in main()
81 assert(!opt2.has_value()); in main()
87 optional<X> opt2(X{}); in main() local
88 assert(static_cast<bool>(opt2) == true); in main()
92 opt = opt2; in main()
/external/libcxx/test/libcxx/utilities/optional/optional.object/optional.object.ctor/
Dcopy.pass.cpp45 constexpr optional<T> opt2 = opt; in main() local
46 (void)opt2; in main()
52 constexpr optional<T> opt2 = opt; in main() local
53 (void)opt2; in main()
Dmove.pass.cpp46 constexpr optional<T> opt2 = std::move(opt); in main() local
47 (void)opt2; in main()
53 constexpr optional<T> opt2 = std::move(opt); in main() local
54 (void)opt2; in main()
/external/swiftshader/third_party/LLVM/utils/
Dfindoptdiff63 opt2="${bc2}.opt"
71 opt2="$llvm2/Debug/bin/opt"
79 $opt2 $switches_to_use "$bc2" -o - | $dis2 | $filt2 > "$opt2ll"
/external/llvm/utils/
Dfindoptdiff63 opt2="${bc2}.opt"
71 opt2="$llvm2/Debug/bin/opt"
79 $opt2 $switches_to_use "$bc2" -o - | $dis2 | $filt2 > "$opt2ll"
/external/libcxx/test/libcxx/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp49 optional<T> opt2; in test() local
50 opt = std::move(opt2); in test()
Dcopy.pass.cpp52 optional<T> opt2; in test() local
53 opt = opt2; in test()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcommon.h12 #define OPT_COLLIDING(prog, opt1, opt2) do { \ argument
15 prog, opt1, opt2); \
/external/libcxx/test/std/utilities/optional/optional.object/
Doptional_requires_destructible_object.fail.cpp31 optional<int&&> opt2; in main() local
/external/libcxx/test/std/utilities/optional/optional.syn/
Doptional_nullopt_t.fail.cpp26 optional<nullopt_t &> opt2; // expected-note 1 {{requested here}} in main() local
/external/ppp/pppd/
Dccp.c1360 method_name(opt, opt2) in method_name() argument
1361 ccp_options *opt, *opt2; in method_name()
1394 if (opt2 != NULL && opt2->deflate_size != opt->deflate_size)
1397 opt->deflate_size, opt2->deflate_size);
1404 if (opt2 != NULL && opt2->bsd_bits != opt->bsd_bits)
1406 opt->bsd_bits, opt2->bsd_bits);
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_sse2.c317 #define DECLS(opt1, opt2) \ argument
359 #define FNS(opt1, opt2) \ argument
387 #define DECLS(opt1, opt2) \ argument
430 #define FNS(opt1, opt2) \ argument
/external/dhcpcd-6.8.2/
Dipv6nd.c745 char *opt, *opt2, *tmp; in ipv6nd_handlera() local
889 opt = opt2 = NULL; in ipv6nd_handlera()
1003 opt2 = strdup(ap->saddr); in ipv6nd_handlera()
1140 free(opt2); in ipv6nd_handlera()
1162 if (rao && rao->type == ND_OPT_PREFIX_INFORMATION && opt2) { in ipv6nd_handlera()
1164 opt = opt2; in ipv6nd_handlera()
1165 opt2 = NULL; in ipv6nd_handlera()
Ddhcp6.c136 const struct dhcp_opt *opt, *opt2; in dhcp6_printoptions() local
142 for (j = 0, opt2 = opts; j < opts_len; j++, opt2++) in dhcp6_printoptions()
143 if (opt2->option == opt->option) in dhcp6_printoptions()
518 const struct dhcp_opt *opt, *opt2; in dhcp6_makemessage() local
562 for (n = 0, opt2 = ifo->dhcp6_override; in dhcp6_makemessage()
564 n++, opt2++) in dhcp6_makemessage()
566 if (opt->option == opt2->option) in dhcp6_makemessage()
897 for (n = 0, opt2 = ifo->dhcp6_override; in dhcp6_makemessage()
899 n++, opt2++) in dhcp6_makemessage()
901 if (opt->option == opt2->option) in dhcp6_makemessage()
/external/boringssl/src/crypto/sha/asm/
Dsha1-armv4-large.pl103 my ($a,$b,$c,$d,$e,$opt1,$opt2)=@_;
118 $opt2 @ F_xx_xx
/external/libvpx/libvpx/build/make/
Dconfigure.sh58 opt2=`echo $opt | sed -e 's;_;-;g'`
60 eval "toggle_${opt}=\"--disable-${opt2}\""
62 eval "toggle_${opt}=\"--enable-${opt2} \""

12