/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ |
default.pass.cpp | 21 std::error_code ec; local 22 assert(ec.value() == 0); 23 assert(ec.category() == std::system_category());
|
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ |
assign.pass.cpp | 22 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());
|
clear.pass.cpp | 22 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());
|
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/ |
make_error_code.pass.cpp | 22 std::error_code ec = make_error_code(std::errc::operation_canceled); local 23 assert(ec.value() == static_cast<int>(std::errc::operation_canceled)); 24 assert(ec.category() == std::generic_category());
|
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ |
default.pass.cpp | 21 std::error_condition ec; local 22 assert(ec.value() == 0); 23 assert(ec.category() == std::generic_category());
|
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ |
ErrorConditionEnum.pass.cpp | 22 std::error_condition ec; local 23 ec = std::errc::not_enough_memory; 24 assert(ec.value() == static_cast<int>(std::errc::not_enough_memory)); 25 assert(ec.category() == std::generic_category());
|
assign.pass.cpp | 22 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());
|
clear.pass.cpp | 22 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());
|
/external/libcxx/test/std/experimental/utilities/syserror/header.system_error.synop/ |
includes.pass.cpp | 19 std::error_code ec; local 20 ((void)ec);
|
/external/libcxx/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/ |
make_error_code.pass.cpp | 20 std::error_code ec = make_error_code(std::io_errc::stream); local 21 assert(ec.value() == static_cast<int>(std::io_errc::stream)); 22 assert(ec.category() == std::iostream_category());
|
/external/libcxx/test/std/thread/futures/futures.errors/ |
future_category.pass.cpp | 22 const std::error_category& ec = std::future_category(); local 23 assert(std::strcmp(ec.name(), "future") == 0);
|
make_error_code.pass.cpp | 24 std::error_code ec = make_error_code(std::future_errc::broken_promise); local 25 assert(ec.value() == static_cast<int>(std::future_errc::broken_promise)); 26 assert(ec.category() == std::future_category());
|
/external/libcxx/test/std/thread/futures/futures.future_error/ |
code.pass.cpp | 24 std::error_code ec = std::make_error_code(std::future_errc::broken_promise); local 25 std::future_error f(ec); 26 assert(f.code() == ec); 29 std::error_code ec = std::make_error_code(std::future_errc::future_already_retrieved); local 30 std::future_error f(ec); 31 assert(f.code() == ec); 34 std::error_code ec = std::make_error_code(std::future_errc::promise_already_satisfied); local 35 std::future_error f(ec); 36 assert(f.code() == ec); 39 std::error_code ec = std::make_error_code(std::future_errc::no_state) local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ |
default.pass.cpp | 21 std::error_code ec; local 22 assert(ec.value() == 0); 23 assert(ec.category() == std::system_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ |
assign.pass.cpp | 22 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());
|
clear.pass.cpp | 22 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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/ |
make_error_code.pass.cpp | 22 std::error_code ec = make_error_code(std::errc::operation_canceled); local 23 assert(ec.value() == static_cast<int>(std::errc::operation_canceled)); 24 assert(ec.category() == std::generic_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ |
default.pass.cpp | 21 std::error_condition ec; local 22 assert(ec.value() == 0); 23 assert(ec.category() == std::generic_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/ |
ErrorConditionEnum.pass.cpp | 22 std::error_condition ec; local 23 ec = std::errc::not_enough_memory; 24 assert(ec.value() == static_cast<int>(std::errc::not_enough_memory)); 25 assert(ec.category() == std::generic_category());
|
assign.pass.cpp | 22 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());
|
clear.pass.cpp | 22 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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/ |
make_error_code.pass.cpp | 20 std::error_code ec = make_error_code(std::io_errc::stream); local 21 assert(ec.value() == static_cast<int>(std::io_errc::stream)); 22 assert(ec.category() == std::iostream_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/ |
future_category.pass.cpp | 20 const std::error_category& ec = std::future_category(); local 21 assert(std::strcmp(ec.name(), "future") == 0);
|
make_error_code.pass.cpp | 22 std::error_code ec = make_error_code(std::future_errc::broken_promise); local 23 assert(ec.value() == static_cast<int>(std::future_errc::broken_promise)); 24 assert(ec.category() == std::future_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.future_error/ |
code.pass.cpp | 22 std::error_code ec = std::make_error_code(std::future_errc::broken_promise); local 23 std::future_error f(ec); 24 assert(f.code() == ec); 27 std::error_code ec = std::make_error_code(std::future_errc::future_already_retrieved); local 28 std::future_error f(ec); 29 assert(f.code() == ec); 32 std::error_code ec = std::make_error_code(std::future_errc::promise_already_satisfied); local 33 std::future_error f(ec); 34 assert(f.code() == ec); 37 std::error_code ec = std::make_error_code(std::future_errc::no_state) local [all...] |