Home
last modified time | relevance | path

Searched refs:system_category (Results 1 – 25 of 66) sorted by relevance

123

/external/llvm-project/llvm/lib/Support/
DRandomNumberGenerator.cpp67 return std::error_code(GetLastError(), std::system_category()); in getRandomBytes()
74 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
76 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
78 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
82 return std::error_code(errno, std::system_category()); in getRandomBytes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRandomNumberGenerator.cpp67 return std::error_code(GetLastError(), std::system_category()); in getRandomBytes()
74 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
76 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
78 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
82 return std::error_code(errno, std::system_category()); in getRandomBytes()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/
Dsystem_category.pass.cpp33 const std::error_category& e_cat1 = std::system_category(); in test_message_for_bad_value()
41 const std::error_category& e_cat1 = std::system_category(); in main()
47 assert(e_cond.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/
Dsystem_category.pass.cpp30 const std::error_category& e_cat1 = std::system_category(); in test_message_for_bad_value()
39 const std::error_category& e_cat1 = std::system_category(); in main()
45 assert(e_cond.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.compare/
Deq_error_code_error_code.pass.cpp28 std::error_code e_code2(5, std::system_category()); in main()
30 std::error_code e_code4(6, std::system_category()); in main()
32 std::error_condition e_condition2(5, std::system_category()); in main()
34 std::error_condition e_condition4(6, std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.compare/
Deq_error_code_error_code.pass.cpp27 std::error_code e_code2(5, std::system_category()); in main()
29 std::error_code e_code4(6, std::system_category()); in main()
31 std::error_condition e_condition2(5, std::system_category()); in main()
33 std::error_condition e_condition4(6, std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
Dclear.pass.cpp23 ec.assign(6, std::system_category()); in main()
25 assert(ec.category() == std::system_category()); in main()
Dassign.pass.cpp23 ec.assign(6, std::system_category()); in main()
25 assert(ec.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
Dclear.pass.cpp24 ec.assign(6, std::system_category()); in main()
26 assert(ec.category() == std::system_category()); in main()
Dassign.pass.cpp24 ec.assign(6, std::system_category()); in main()
26 assert(ec.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/
Dint_error_category.pass.cpp23 std::error_condition ec(6, std::system_category()); in main()
25 assert(ec.category() == std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
Dint_error_category.pass.cpp22 std::error_code ec(6, std::system_category()); in main()
24 assert(ec.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
Dint_error_category.pass.cpp23 std::error_code ec(6, std::system_category()); in main()
25 assert(ec.category() == std::system_category()); in main()
Ddefault.pass.cpp24 assert(ec.category() == std::system_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()
24 assert(ec.category() == std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
Dassign.pass.cpp24 ec.assign(6, std::system_category()); in main()
26 assert(ec.category() == std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/
Dassign.pass.cpp23 ec.assign(6, std::system_category()); in main()
25 assert(ec.category() == std::system_category()); in main()
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Derror_code.ipp28 class system_category : public error_category
59 const error_category& system_category()
61 static detail::system_category instance;
/external/llvm-project/lldb/source/Host/common/
DFile.cpp101 return std::error_code(ENOTSUP, std::system_category()); in Read()
104 return std::error_code(ENOTSUP, std::system_category()); in Write()
117 return std::error_code(ENOTSUP, std::system_category()); in GetFileSpec()
126 *error_ptr = std::error_code(ENOTSUP, std::system_category()); in SeekFromStart()
132 *error_ptr = std::error_code(ENOTSUP, std::system_category()); in SeekFromCurrent()
138 *error_ptr = std::error_code(ENOTSUP, std::system_category()); in SeekFromEnd()
143 return std::error_code(ENOTSUP, std::system_category()); in Read()
147 return std::error_code(ENOTSUP, std::system_category()); in Write()
237 error = std::error_code(ENOTSUP, std::system_category()); in GetPermissions()
/external/libcxx/src/
Dsystem_error.cpp202 return error_condition(ev, system_category()); in default_error_condition()
208 system_category() _NOEXCEPT in system_category() function
288 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
/external/llvm-project/libcxx/src/
Dsystem_error.cpp201 return error_condition(ev, system_category()); in default_error_condition()
207 system_category() _NOEXCEPT in system_category() function
287 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
Dvalue.pass.cpp22 const std::error_condition ec(6, std::system_category()); in main()
/external/llvm-project/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/
Dvalue.pass.cpp22 const std::error_code ec(6, std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/
Dvalue.pass.cpp21 const std::error_code ec(6, std::system_category()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
Dvalue.pass.cpp21 const std::error_condition ec(6, std::system_category()); in main()

123