Home
last modified time | relevance | path

Searched refs:generic_code (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/outcome/experimental/status-code/
Dsystem_code_from_exception.hpp45 …eption_ptr &&ep = std::current_exception(), system_code not_matched = generic_code(errc::resource_… in system_code_from_exception()
49 return generic_code(errc::success); in system_code_from_exception()
58 return generic_code(errc::invalid_argument); in system_code_from_exception()
63 return generic_code(errc::argument_out_of_domain); in system_code_from_exception()
68 return generic_code(errc::argument_list_too_long); in system_code_from_exception()
73 return generic_code(errc::result_out_of_range); in system_code_from_exception()
78 return generic_code(errc::invalid_argument); in system_code_from_exception()
85 return generic_code(static_cast<errc>(static_cast<int>(e.code().value()))); in system_code_from_exception()
101 return generic_code(errc::value_too_large); in system_code_from_exception()
106 return generic_code(errc::result_out_of_range); in system_code_from_exception()
[all …]
Dcom_code.hpp170 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
189 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
198 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
204 return generic_code(errc::success); in _generic_code()
208 …return generic_code(static_cast<errc>(_nt_code_domain::_nt_code_to_errno(c1.value() & ~FACILITY_NT… in _generic_code()
212 …return generic_code(static_cast<errc>(_win32_code_domain::_win32_code_to_errno(HRESULT_CODE(c1.val… in _generic_code()
214 return generic_code(errc::unknown); in _generic_code()
Dposix_code.hpp131 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
139 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
143 return generic_code(static_cast<errc>(c.value())); in _generic_code()
Dstd_error_code.hpp128 virtual generic_code _generic_code(const status_code<void> &code) const noexcept override;
250 generic_code _c1(static_cast<errc>(c1.value())); in _do_equivalent()
268 inline generic_code _std_error_code_domain::_generic_code(const status_code<void> &code) const noex… in _generic_code()
273 return generic_code(static_cast<errc>(c.category().default_error_condition(c.value()).value())); in _generic_code()
Dnt_code.hpp175 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
191 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
195 return generic_code(static_cast<errc>(_nt_code_to_errno(c.value()))); in _generic_code()
Dwin32_code.hpp178 const auto &c2 = static_cast<const generic_code &>(code2); // NOLINT in _do_equivalent()
186 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
190 return generic_code(static_cast<errc>(_win32_code_to_errno(c.value()))); in _generic_code()
Diostream_support.hpp74 inline std::ostream &operator<<(std::ostream &s, const generic_code &v) in operator <<()
Dgetaddrinfo_code.hpp97 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
Dstatus_code_domain.hpp51 using generic_code = status_code<_generic_code_domain>; typedef
405 virtual generic_code _generic_code(const status_code<void> &code) const noexcept = 0;
Dstatus_code_ptr.hpp84 …virtual generic_code _generic_code(const status_code<void> &code) const noexcept override // NOLI… in _generic_code()
/third_party/boost/libs/outcome/test/tests/
Dexperimental-core-result-status.cpp98 …virtual BOOST_OUTCOME_SYSTEM_ERROR2_NAMESPACE::generic_code _generic_code(const BOOST_OUTCOME_SYST… in _generic_code()
132 result<int> m(generic_code{errc::bad_address});
141 result<void> m(generic_code{errc::bad_address});
254 result<int> b(generic_code{errc::invalid_argument});
325 result<udt3> i(generic_code{errc::not_enough_memory});
Dexperimental-core-outcome-status.cpp50 outcome<int> m(generic_code{errc::bad_address});
60 outcome<void> m(generic_code{errc::bad_address});
175 outcome<int> b(generic_code{errc::invalid_argument});
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_fs.c242 struct rX00_fragment_program_code *generic_code = &shader->code; in r300_emit_fs_code_to_buffer() local
245 unsigned imm_end = generic_code->constants.Count; in r300_emit_fs_code_to_buffer()
246 struct rc_constant *constants = generic_code->constants.Constants; in r300_emit_fs_code_to_buffer()
251 struct r500_fragment_program_code *code = &generic_code->code.r500; in r300_emit_fs_code_to_buffer()
298 struct r300_fragment_program_code *code = &generic_code->code.r300; in r300_emit_fs_code_to_buffer()
/third_party/boost/libs/outcome/doc/src/content/experimental/
Dstatus_result.md24 any `generic_code`, `posix_code`, `win32_code`, `nt_code`, `com_code` and many
40 `generic_code` from a function returning a `system_code` or `error`, and it'll