Lines Matching refs:ret

766    int ret = EGL_TRUE;
792 ret = EGL_FALSE;
797 return ret;
1151 EGLBoolean ret = EGL_FALSE;
1175 ret = dri2_initialize_surfaceless(disp);
1178 ret = dri2_initialize_device(disp);
1182 ret = dri2_initialize_x11(disp);
1185 ret = dri2_initialize_drm(disp);
1188 ret = dri2_initialize_wayland(disp);
1191 ret = dri2_initialize_android(disp);
1195 ret = dri2_initialize_ohos(disp);
1202 if (!ret)
2018 EGLBoolean ret;
2022 ret = dri2_dpy->vtbl->swap_buffers(disp, surf);
2027 if (ret && dri2_dpy->buffer_damage &&
2031 return ret;
2041 EGLBoolean ret;
2046 ret = dri2_dpy->vtbl->swap_buffers_with_damage(disp, surf,
2049 ret = dri2_dpy->vtbl->swap_buffers(disp, surf);
2054 if (ret && dri2_dpy->buffer_damage &&
2058 return ret;
2067 EGLBoolean ret;
2071 ret = dri2_dpy->vtbl->swap_buffers_region(disp, surf, numRects, rects);
2076 if (ret && dri2_dpy->buffer_damage &&
2080 return ret;
3151 bool ret = dri2_dpy->image->queryImage(dri2_img->dri_image,
3153 if (ret)
3391 EGLint ret;
3437 ret = pthread_condattr_init(&attr);
3439 if (ret) {
3446 ret = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
3448 if (ret) {
3454 ret = pthread_cond_init(&dri2_sync->cond, &attr);
3456 if (ret) {
3489 EGLint ret = EGL_TRUE;
3504 ret = EGL_FALSE;
3510 return ret;
3561 EGLint ret = EGL_CONDITION_SATISFIED_KHR;
3583 ret = EGL_TIMEOUT_EXPIRED_KHR;
3623 ret = cnd_timedwait(&dri2_sync->cond, &dri2_sync->mutex, &expire);
3626 if (ret == thrd_timedout) {
3628 ret = EGL_TIMEOUT_EXPIRED_KHR;
3631 ret = EGL_FALSE;
3640 return ret;
3647 EGLint ret;
3658 ret = cnd_broadcast(&dri2_sync->cond);
3661 if (ret)