Lines Matching defs:ec
33 int ec = __libcpp_mutex_lock(&__m_);
34 if (ec)
35 __throw_system_error(ec, "mutex lock failed");
47 int ec = __libcpp_mutex_unlock(&__m_);
48 (void)ec;
49 _LIBCPP_ASSERT(ec == 0, "call to mutex::unlock failed");
56 int ec = __libcpp_recursive_mutex_init(&__m_);
57 if (ec)
58 __throw_system_error(ec, "recursive_mutex constructor failed");
71 int ec = __libcpp_recursive_mutex_lock(&__m_);
72 if (ec)
73 __throw_system_error(ec, "recursive_mutex lock failed");