Lines Matching refs:ret
1140 int ret;
1148 ret = poll(&pfds, 1, timeout / 1000 / 1000);
1149 if (ret == 0)
1151 if (ret == -1)
2153 int ret;
2154 ret = wsi_queue_init(&chain->present_queue, chain->base.image_count + 1);
2155 if (ret) {
2163 ret = wsi_queue_init(&chain->acquire_queue, chain->base.image_count + 1);
2164 if (ret) {
2173 ret = pthread_create(&chain->queue_manager, NULL,
2175 if (ret) {
2235 int ret = pthread_mutex_init(&wsi->mutex, NULL);
2236 if (ret != 0) {
2237 if (ret == ENOMEM) {