Lines Matching refs:ret
18 const int ret = buffer->Acquire(&fence); in AcquiredBuffer() local
21 *error = ret; in AcquiredBuffer()
23 if (ret < 0) { in AcquiredBuffer()
25 strerror(-ret)); in AcquiredBuffer()
58 const int ret = sync_wait(acquire_fence_.Get(), 0); in IsAvailable() local
59 ALOGD_IF(TRACE || (ret < 0 && errno != ETIME), in IsAvailable()
62 buffer_->id(), acquire_fence_.Get(), ret, ret < 0 ? errno : 0); in IsAvailable()
63 if (ret == 0) { in IsAvailable()
68 return ret == 0; in IsAvailable()
86 const int ret = buffer_->ReleaseAsync(); in Release() local
87 if (ret < 0) { in Release()
89 buffer_->id(), strerror(-ret)); in Release()
90 if (ret != -ESHUTDOWN) in Release()
91 return ret; in Release()