Lines Matching refs:X
76 UINTN X; in TestFills() local
88 X = Rand32 () % (Width - W); in TestFills()
90 X = 0; in TestFills()
98 BltLibVideoFill (&Color, X, Y, W, H); in TestFills()
109 UINTN X; in TestColor1() local
118 for (X = 0; X < Width; X++) { in TestColor1()
119 Color.Red = (UINT8) ((X * 0x100) / Width); in TestColor1()
122 BltLibVideoFill (&Color, X, Y, 1, 1); in TestColor1()
164 IN UINTN X, in Uint32Dist() argument
168 return Uint32SqRt ((UINT32) ((X * X) + (Y * Y))); in Uint32Dist()
187 UINTN X, Y; in TestColor() local
228 for (X = X2 - LineWidth; X < (X2 + LineWidth); X++) { in TestColor()
229 ColorDist = Uint32Dist(X - X1, Y1 - Y); in TestColor()
232 ColorDist = Uint32Dist((X < X2) ? X2 - X : X - X2, Y - Y2); in TestColor()
235 ColorDist = Uint32Dist(X3 - X, Y1 - Y); in TestColor()
238 BltLibVideoFill (&Color, X, Y, 1, 1); in TestColor()