Lines Matching refs:ev

44 error_category::default_error_condition(int ev) const noexcept  in default_error_condition()
46 return error_condition(ev, *this); in default_error_condition()
67 string do_strerror_r(int ev);
70 string do_strerror_r(int ev) { in do_strerror_r() argument
72 if (::strerror_s(buffer, strerror_buff_size, ev) == 0) in do_strerror_r()
74 std::snprintf(buffer, strerror_buff_size, "unknown error %d", ev); in do_strerror_r()
114 string do_strerror_r(int ev) { in do_strerror_r() argument
120 ::strerror_r(ev, buffer, strerror_buff_size), buffer); in do_strerror_r()
123 std::snprintf(buffer, strerror_buff_size, "Unknown error %d", ev); in do_strerror_r()
134 __do_message::message(int ev) const in message()
137 return string(::strerror(ev)); in message()
139 return do_strerror_r(ev); in message()
148 virtual string message(int ev) const;
158 __generic_error_category::message(int ev) const in message()
161 if (ev > _LIBCPP_ELAST) in message()
164 return __do_message::message(ev); in message()
179 virtual string message(int ev) const;
180 virtual error_condition default_error_condition(int ev) const noexcept;
190 __system_error_category::message(int ev) const in message()
193 if (ev > _LIBCPP_ELAST) in message()
196 return __do_message::message(ev); in message()
200 __system_error_category::default_error_condition(int ev) const noexcept in default_error_condition()
203 if (ev > _LIBCPP_ELAST) in default_error_condition()
204 return error_condition(ev, system_category()); in default_error_condition()
206 return error_condition(ev, generic_category()); in default_error_condition()
264 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() argument
265 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
266 __ec_(error_code(ev, ecat)) in system_error()
270 system_error::system_error(int ev, const error_category& ecat, const char* what_arg) in system_error() argument
271 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
272 __ec_(error_code(ev, ecat)) in system_error()
276 system_error::system_error(int ev, const error_category& ecat) in system_error() argument
277 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
278 __ec_(error_code(ev, ecat)) in system_error()
287 __throw_system_error(int ev, const char* what_arg) in __throw_system_error() argument
290 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
292 (void)ev; in __throw_system_error()