Lines Matching refs:ev
41 error_category::default_error_condition(int ev) const noexcept in default_error_condition()
43 return error_condition(ev, *this); in default_error_condition()
64 string do_strerror_r(int ev);
67 string do_strerror_r(int ev) { in do_strerror_r() argument
69 if (::strerror_s(buffer, strerror_buff_size, ev) == 0) in do_strerror_r()
71 std::snprintf(buffer, strerror_buff_size, "unknown error %d", ev); in do_strerror_r()
111 string do_strerror_r(int ev) { in do_strerror_r() argument
117 ::strerror_r(ev, buffer, strerror_buff_size), buffer); in do_strerror_r()
120 std::snprintf(buffer, strerror_buff_size, "Unknown error %d", ev); in do_strerror_r()
131 __do_message::message(int ev) const in message()
134 return string(::strerror(ev)); in message()
136 return do_strerror_r(ev); in message()
145 virtual string message(int ev) const;
155 __generic_error_category::message(int ev) const in message()
158 if (ev > _LIBCPP_ELAST) in message()
161 return __do_message::message(ev); in message()
176 virtual string message(int ev) const;
177 virtual error_condition default_error_condition(int ev) const noexcept;
187 __system_error_category::message(int ev) const in message()
190 if (ev > _LIBCPP_ELAST) in message()
193 return __do_message::message(ev); in message()
197 __system_error_category::default_error_condition(int ev) const noexcept in default_error_condition()
200 if (ev > _LIBCPP_ELAST) in default_error_condition()
201 return error_condition(ev, system_category()); in default_error_condition()
203 return error_condition(ev, generic_category()); in default_error_condition()
261 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument
262 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
263 __ec_(error_code(ev, ecat)) in system_error()
267 system_error::system_error(int ev, const error_category& ecat, const char* what_arg) in system_error() argument
268 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
269 __ec_(error_code(ev, ecat)) in system_error()
273 system_error::system_error(int ev, const error_category& ecat) in system_error() argument
274 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
275 __ec_(error_code(ev, ecat)) in system_error()
284 __throw_system_error(int ev, const char* what_arg) in __throw_system_error() argument
287 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
289 (void)ev; in __throw_system_error()