Searched refs:ec (Results 1 - 25 of 332) sorted by relevance

1234567891011>>

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/syserror/header.system_error.synop/
H A Dincludes.pass.cpp19 std::error_code ec; local
20 ((void)ec);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/syserror/header.system_error.synop/
H A Dincludes.pass.cpp19 std::error_code ec; local
20 ((void)ec);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
H A Dclear.pass.cpp22 std::error_code ec; local
23 ec.assign(6, std::generic_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::generic_category());
26 ec.clear();
27 assert(ec.value() == 0);
28 assert(ec.category() == std::system_category());
H A Dassign.pass.cpp22 std::error_code ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
28 std::error_code ec; local
29 ec.assign(8, std::generic_category());
30 assert(ec.value() == 8);
31 assert(ec.category() == std::generic_category());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
H A Dclear.pass.cpp22 std::error_condition ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
26 ec.clear();
27 assert(ec.value() == 0);
28 assert(ec.category() == std::generic_category());
H A Dassign.pass.cpp22 std::error_condition ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
28 std::error_condition ec; local
29 ec.assign(8, std::generic_category());
30 assert(ec.value() == 8);
31 assert(ec.category() == std::generic_category());
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
H A Dclear.pass.cpp22 std::error_code ec; local
23 ec.assign(6, std::generic_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::generic_category());
26 ec.clear();
27 assert(ec.value() == 0);
28 assert(ec.category() == std::system_category());
H A Dassign.pass.cpp22 std::error_code ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
28 std::error_code ec; local
29 ec.assign(8, std::generic_category());
30 assert(ec.value() == 8);
31 assert(ec.category() == std::generic_category());
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
H A Dclear.pass.cpp22 std::error_condition ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
26 ec.clear();
27 assert(ec.value() == 0);
28 assert(ec.category() == std::generic_category());
H A Dassign.pass.cpp22 std::error_condition ec; local
23 ec.assign(6, std::system_category());
24 assert(ec.value() == 6);
25 assert(ec.category() == std::system_category());
28 std::error_condition ec; local
29 ec.assign(8, std::generic_category());
30 assert(ec.value() == 8);
31 assert(ec.category() == std::generic_category());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
H A Ddefault.pass.cpp21 std::error_code ec; local
22 assert(ec.value() == 0);
23 assert(ec.category() == std::system_category());
H A Dint_error_category.pass.cpp22 std::error_code ec(6, std::system_category());
23 assert(ec.value() == 6);
24 assert(ec.category() == std::system_category());
27 std::error_code ec(8, std::generic_category());
28 assert(ec.value() == 8);
29 assert(ec.category() == std::generic_category());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/
H A Ddefault.pass.cpp21 std::error_condition ec; local
22 assert(ec.value() == 0);
23 assert(ec.category() == std::generic_category());
H A Dint_error_category.pass.cpp22 std::error_condition ec(6, std::system_category());
23 assert(ec.value() == 6);
24 assert(ec.category() == std::system_category());
27 std::error_condition ec(8, std::generic_category());
28 assert(ec.value() == 8);
29 assert(ec.category() == std::generic_category());
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
H A Ddefault.pass.cpp21 std::error_code ec; local
22 assert(ec.value() == 0);
23 assert(ec.category() == std::system_category());
H A Dint_error_category.pass.cpp22 std::error_code ec(6, std::system_category());
23 assert(ec.value() == 6);
24 assert(ec.category() == std::system_category());
27 std::error_code ec(8, std::generic_category());
28 assert(ec.value() == 8);
29 assert(ec.category() == std::generic_category());
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/
H A Ddefault.pass.cpp21 std::error_condition ec; local
22 assert(ec.value() == 0);
23 assert(ec.category() == std::generic_category());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/
H A Dbool.pass.cpp23 const std::error_code ec(6, std::generic_category());
24 assert(static_cast<bool>(ec));
27 const std::error_code ec(0, std::generic_category());
28 assert(!static_cast<bool>(ec));
H A Dbool.fail.cpp22 const std::error_code ec(0, std::generic_category());
23 return ec; // conversion to bool is explicit; should fail.
H A Ddefault_error_condition.pass.cpp22 const std::error_code ec(6, std::generic_category());
23 std::error_condition e_cond = ec.default_error_condition();
24 assert(e_cond == ec);
27 const std::error_code ec(6, std::system_category());
28 std::error_condition e_cond = ec.default_error_condition();
29 assert(e_cond == ec);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
H A Dbool.pass.cpp23 const std::error_condition ec(6, std::generic_category());
24 assert(static_cast<bool>(ec));
27 const std::error_condition ec(0, std::generic_category());
28 assert(!static_cast<bool>(ec));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/
H A Dbool.pass.cpp23 const std::error_code ec(6, std::generic_category());
24 assert(static_cast<bool>(ec));
27 const std::error_code ec(0, std::generic_category());
28 assert(!static_cast<bool>(ec));
H A Dbool.fail.cpp22 const std::error_code ec(0, std::generic_category());
23 return ec; // conversion to bool is explicit; should fail.
H A Ddefault_error_condition.pass.cpp22 const std::error_code ec(6, std::generic_category());
23 std::error_condition e_cond = ec.default_error_condition();
24 assert(e_cond == ec);
27 const std::error_code ec(6, std::system_category());
28 std::error_condition e_cond = ec.default_error_condition();
29 assert(e_cond == ec);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
H A Dbool.pass.cpp23 const std::error_condition ec(6, std::generic_category());
24 assert(static_cast<bool>(ec));
27 const std::error_condition ec(0, std::generic_category());
28 assert(!static_cast<bool>(ec));

Completed in 194 milliseconds

1234567891011>>