Home
last modified time | relevance | path

Searched refs:error_condition (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/include/
Dsystem_error30 virtual error_condition default_error_condition(int ev) const noexcept;
31 virtual bool equivalent(int code, const error_condition& condition) const noexcept;
67 error_condition default_error_condition() const noexcept;
78 class error_condition
82 error_condition() noexcept;
83 error_condition(int val, const error_category& cat) noexcept;
85 error_condition(ErrorConditionEnum e) noexcept;
90 error_condition& operator=(ErrorConditionEnum e) noexcept;
100 bool operator<(const error_condition& lhs, const error_condition& rhs) noexcept;
203 error_condition make_error_condition(errc e) noexcept;
[all …]
Dios207 error_condition make_error_condition(io_errc e) noexcept;
409 error_condition
412 return error_condition(static_cast<int>(__e), iostream_category());
/external/libcxx/src/
Dsystem_error.cpp31 error_condition
34 return error_condition(ev, *this); in default_error_condition()
38 error_category::equivalent(int code, const error_condition& condition) const _NOEXCEPT in equivalent()
92 virtual error_condition default_error_condition(int ev) const _NOEXCEPT;
111 error_condition
116 return error_condition(ev, system_category()); in default_error_condition()
118 return error_condition(ev, generic_category()); in default_error_condition()
131 error_condition::message() const in message()
/external/libcxx/test/std/diagnostics/syserr/syserr.compare/
Deq_error_code_error_code.pass.cpp30 std::error_condition e_condition1(5, std::generic_category()); in main()
31 std::error_condition e_condition2(5, std::system_category()); in main()
32 std::error_condition e_condition3(6, std::generic_category()); in main()
33 std::error_condition e_condition4(6, std::system_category()); in main()
/external/clang/test/SemaCXX/
Dtypo-correction.cpp13 class error_condition class
17 error_condition() : _val_(0) {} in error_condition() function in error_condition
19 error_condition(int _val) in error_condition() function in error_condition
23 error_condition(E _e) { in error_condition() function in error_condition
34 inline error_condition make_error_condition(errc _e) { in make_error_condition()
35 return error_condition(static_cast<int>(_e)); in make_error_condition()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/
Dlt.pass.cpp23 const std::error_condition ec1(6, std::generic_category()); in main()
24 const std::error_condition ec2(7, std::generic_category()); in main()
Dmake_error_condition.pass.cpp22 const std::error_condition ec1 = std::make_error_condition(std::errc::message_size); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
Dbool.pass.cpp23 const std::error_condition ec(6, std::generic_category()); in main()
27 const std::error_condition ec(0, std::generic_category()); in main()
Dvalue.pass.cpp21 const std::error_condition ec(6, std::system_category()); in main()
Dcategory.pass.cpp21 const std::error_condition ec(6, std::generic_category()); in main()
Dmessage.pass.cpp22 const std::error_condition ec(6, std::generic_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/
Dint_error_category.pass.cpp22 std::error_condition ec(6, std::system_category()); in main()
27 std::error_condition ec(8, std::generic_category()); in main()
Ddefault.pass.cpp21 std::error_condition ec; in main()
DErrorConditionEnum.pass.cpp22 std::error_condition ec(std::errc::not_a_directory); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/
Ddefault_error_condition.pass.cpp23 std::error_condition e_cond = ec.default_error_condition(); in main()
28 std::error_condition e_cond = ec.default_error_condition(); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
Dassign.pass.cpp22 std::error_condition ec; in main()
28 std::error_condition ec; in main()
DErrorConditionEnum.pass.cpp22 std::error_condition ec; in main()
Dclear.pass.cpp22 std::error_condition ec; in main()
/external/libcxx/test/std/thread/futures/futures.errors/
Dequivalent_int_error_condition.pass.cpp24 std::error_condition e_cond = e_cat.default_error_condition(5); in main()
Dmake_error_condition.pass.cpp24 const std::error_condition ec1 = in main()
Ddefault_error_condition.pass.cpp24 …std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_dire… in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/
Dequivalent_int_error_condition.pass.cpp22 std::error_condition e_cond = e_cat.default_error_condition(5); in main()
Ddefault_error_condition.pass.cpp22 …std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_dire… in main()
/external/libcxx/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/
Dmake_error_condition.pass.cpp20 const std::error_condition ec1 = std::make_error_condition(std::io_errc::stream); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/
Dsystem_category.pass.cpp23 std::error_condition e_cond = e_cat1.default_error_condition(5); in main()

12