Lines Matching refs:rv
19 int rv = pthread_mutexattr_init(&mta); in LockImpl() local
20 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
21 rv = pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK); in LockImpl()
22 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
23 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl()
24 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
25 rv = pthread_mutexattr_destroy(&mta); in LockImpl()
26 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl()
34 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl() local
35 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in ~LockImpl()
39 int rv = pthread_mutex_trylock(&native_handle_); in Try() local
40 DCHECK(rv == 0 || rv == EBUSY) << ". " << strerror(rv); in Try()
41 return rv == 0; in Try()
45 int rv = pthread_mutex_lock(&native_handle_); in Lock() local
46 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in Lock()
50 int rv = pthread_mutex_unlock(&native_handle_); in Unlock() local
51 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in Unlock()