/external/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());
|
/external/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());
|
/external/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());
|
/external/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());
|
/external/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());
|
/external/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());
|
/external/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());
|
/external/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...] |
/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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.device/ |
ctor.pass.cpp | 34 int ec; local 35 ec = close(STDIN_FILENO); 36 assert(!ec); 37 ec = close(STDOUT_FILENO); 38 assert(!ec); 39 ec = close(STDERR_FILENO); 40 assert(!ec);
|