Lines Matching defs:ret
73 if (int ret = buffer_.Alloc(width, height, layer_count, format, usage)) {
75 strerror(-ret));
76 *error = ret;
80 if (int ret = metadata_buffer_.Alloc(metadata_buf_size_, /*height=*/1,
85 strerror(-ret));
86 *error = ret;
95 if (int ret = metadata_buffer_.Lock(BufferHubDefs::kMetadataUsage, /*x=*/0,
99 return ret;
320 int ret = epoll_ctl(release_fence_fd_.Get(), EPOLL_CTL_MOD,
322 ALOGE_IF(ret < 0,
413 if (int ret = metadata_buffer_.Unlock()) {
415 return ErrorStatus(-ret);