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()
56 const int ret = sync_wait(acquire_fence_.Get(), 0); in IsAvailable() local
57 ALOGD_IF(TRACE || (ret < 0 && errno != ETIME), in IsAvailable()
60 acquire_fence_.Get(), ret, ret < 0 ? errno : 0); in IsAvailable()
61 if (ret == 0) { in IsAvailable()
66 return ret == 0; in IsAvailable()
84 const int ret = buffer_->ReleaseAsync(); in Release() local
85 if (ret < 0) { in Release()
87 buffer_->id(), strerror(-ret)); in Release()
88 if (ret != -ESHUTDOWN) in Release()
89 return ret; in Release()