Searched defs:dw (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s12/open-src/kernel/sys/drm/
H A Ddrm_rect.h48 * @dw: horizontal adjustment
51 * Change the size of rectangle @r by @dw in the horizontal direction,
55 * Positive @dw and @dh increase the size, negative values decrease it.
57 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) argument
59 r->x1 -= dw >> 1;
61 r->x2 += (dw + 1) >> 1;
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c733 int dw = DisplayWidth (dpy, screen), dh = DisplayHeight (dpy, screen); local
809 if (x + width > dw) x = dw - width;
853 int dw = DisplayWidth (dpy, screen), dh = DisplayHeight (dpy, screen); local
864 if (x + width > dw) x = dw - width;

Completed in 12 milliseconds