Searched refs:makemult (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinmultiwindowwndproc.c68 #define makemult(a,b) ((b==1) ? (a) : (((int)((a)/(b))) * (b)) ) macro
155 makemult(hints.min_aspect.x * dheight / hints.min_aspect.y -
161 makemult(dheight -
171 makemult(dwidth * hints.max_aspect.y / hints.max_aspect.x -
177 makemult(dwidth -
191 #undef makemult
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwinmultiwindowwndproc.c65 #define makemult(a,b) ((b==1) ? (a) : (((int)((a)/(b))) * (b)) ) macro
160 delta = makemult(hints.min_aspect.x * dheight / hints.min_aspect.y - dwidth, xinc);
165 delta = makemult(dheight - dwidth*hints.min_aspect.y/hints.min_aspect.x, yinc);
173 delta = makemult(dwidth * hints.max_aspect.y / hints.max_aspect.x - dheight, yinc);
178 delta = makemult(dwidth - hints.max_aspect.x*dheight/hints.max_aspect.y, xinc);
189 #undef makemult
H A Dwinwin32rootlesswndproc.c73 #define makemult(a,b) ((b==1) ? (a) : (((int)((a)/(b))) * (b)) ) macro
168 delta = makemult(hints.min_aspect.x * dheight / hints.min_aspect.y - dwidth, xinc);
173 delta = makemult(dheight - dwidth*hints.min_aspect.y/hints.min_aspect.x, yinc);
181 delta = makemult(dwidth * hints.max_aspect.y / hints.max_aspect.x - dheight, yinc);
186 delta = makemult(dwidth - hints.max_aspect.x*dheight/hints.max_aspect.y, xinc);
197 #undef makemult
/xsrc/external/mit/twm/dist/src/
H A Dresize.c608 #define makemult(a,b) ((b==1) ? (a) : (((int)((a)/(b))) * (b)) ) macro
700 delta = makemult(minAspectX * dheight / minAspectY - dwidth, xinc);
704 delta = makemult(dheight - dwidth * minAspectY / minAspectX,
712 delta = makemult(dwidth * maxAspectY / maxAspectX - dheight, yinc);
716 delta = makemult(dwidth - maxAspectX * dheight / maxAspectY,
/xsrc/external/mit/ctwm/dist/
H A Dwin_resize.c730 #define makemult(a,b) ((b==1) ? (a) : (((int)((a)/(b))) * (b)) ) macro
839 delta = makemult(minAspectX * dheight / minAspectY - dwidth,
845 delta = makemult(dheight - dwidth * minAspectY / minAspectX,
854 delta = makemult(dwidth * maxAspectY / maxAspectX - dheight,
860 delta = makemult(dwidth - maxAspectX * dheight / maxAspectY,

Completed in 9 milliseconds