Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 16 of 16) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_generic_wide_ellipse_draw.c99 INT loop; in _gx_display_driver_generic_wide_ellipse_draw() local
170 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_ellipse_draw()
172 y2 = y * sign[loop] + ycenter; in _gx_display_driver_generic_wide_ellipse_draw()
202 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_ellipse_draw()
204 y2 = y * sign[loop] + ycenter; in _gx_display_driver_generic_wide_ellipse_draw()
240 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_ellipse_draw()
242 y2 = y * sign[loop] + ycenter; in _gx_display_driver_generic_wide_ellipse_draw()
272 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_ellipse_draw()
274 y2 = y * sign[loop] + ycenter; in _gx_display_driver_generic_wide_ellipse_draw()
303 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_ellipse_draw()
[all …]
Dgx_display_driver_generic_aliased_wide_arc_draw.c115 INT loop; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local
227 for (loop = 0; loop < height * 2; loop += 2) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
229 pLineEnds[loop] = 2000; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
230 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
253 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
255 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
256 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
266 point.gx_point_y = (GX_VALUE)((cury - 1) * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
275 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
276 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
[all …]
Dgx_display_driver_generic_rotated_circle_fill.c94 INT loop; in _gx_display_driver_generic_rotated_circle_fill() local
155 for (loop = 0; loop < width * 2; loop += 2) in _gx_display_driver_generic_rotated_circle_fill()
157 pLineEnds[loop] = 2000; in _gx_display_driver_generic_rotated_circle_fill()
158 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_rotated_circle_fill()
169 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_rotated_circle_fill()
172 if (loop < 2) in _gx_display_driver_generic_rotated_circle_fill()
174 x1 = curx * sign[loop][0]; in _gx_display_driver_generic_rotated_circle_fill()
175 y1 = (cury - 1) * sign[loop][1]; in _gx_display_driver_generic_rotated_circle_fill()
180 x1 = (cury - 1) * sign[loop][0]; in _gx_display_driver_generic_rotated_circle_fill()
181 y1 = curx * sign[loop][1]; in _gx_display_driver_generic_rotated_circle_fill()
Dgx_display_driver_generic_circle_fill.c96 INT loop; in _gx_display_driver_generic_circle_fill() local
187 for (loop = 0; loop < height * 2; loop += 2) in _gx_display_driver_generic_circle_fill()
189 pLineEnds[loop] = 2000; in _gx_display_driver_generic_circle_fill()
190 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_circle_fill()
201 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_circle_fill()
204 if (loop < 2) in _gx_display_driver_generic_circle_fill()
206 x1 = curx * sign[loop][0]; in _gx_display_driver_generic_circle_fill()
207 y1 = (cury - 1) * sign[loop][1]; in _gx_display_driver_generic_circle_fill()
212 x1 = (cury - 1) * sign[loop][0]; in _gx_display_driver_generic_circle_fill()
213 y1 = curx * sign[loop][1]; in _gx_display_driver_generic_circle_fill()
Dgx_display_driver_generic_wide_circle_draw.c96 INT loop; in _gx_display_driver_generic_wide_circle_draw() local
154 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_circle_draw()
156 if (loop == 0) in _gx_display_driver_generic_wide_circle_draw()
230 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_wide_circle_draw()
232 x = pLineEnds[index] * sign[loop] + xcenter; in _gx_display_driver_generic_wide_circle_draw()
233 x2 = pLineEnds[index + 1] * sign[loop] + xcenter; in _gx_display_driver_generic_wide_circle_draw()
235 if (loop) in _gx_display_driver_generic_wide_circle_draw()
Dgx_display_driver_generic_aliased_wide_circle_draw.c101 INT loop; in _gx_display_driver_generic_aliased_wide_circle_draw() local
158 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_aliased_wide_circle_draw()
160 if (loop == 0) in _gx_display_driver_generic_aliased_wide_circle_draw()
185 pLineEnds[((y2 - ymin) << 1) + loop] = x2 - loop; in _gx_display_driver_generic_aliased_wide_circle_draw()
249 pLineEnds[((y2 - ymin) << 1) + loop] = x2 - loop; in _gx_display_driver_generic_aliased_wide_circle_draw()
272 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_aliased_wide_circle_draw()
274 x = pLineEnds[index] * sign[loop][0] + xcenter; in _gx_display_driver_generic_aliased_wide_circle_draw()
275 x2 = pLineEnds[index + 1] * sign[loop][0] + xcenter; in _gx_display_driver_generic_aliased_wide_circle_draw()
Dgx_display_driver_generic_rotated_wide_line_fill.c99 INT loop; in _gx_display_driver_generic_rotated_wide_line_fill() local
137 for (loop = 0; loop < width * 2; loop += 2) in _gx_display_driver_generic_rotated_wide_line_fill()
139 pLineEnds[loop] = 2000; in _gx_display_driver_generic_rotated_wide_line_fill()
140 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_rotated_wide_line_fill()
147 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_rotated_wide_line_fill()
217 if ((loop == 1) || (loop == 2)) in _gx_display_driver_generic_rotated_wide_line_fill()
304 if (loop == 2 || loop == 3) in _gx_display_driver_generic_rotated_wide_line_fill()
Dgx_display_driver_generic_wide_line_fill.c101 INT loop; in _gx_display_driver_generic_wide_line_fill() local
139 for (loop = 0; loop < height * 2; loop += 2) in _gx_display_driver_generic_wide_line_fill()
141 pLineEnds[loop] = 2000; in _gx_display_driver_generic_wide_line_fill()
142 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_wide_line_fill()
149 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_wide_line_fill()
219 if ((loop == 1) || (loop == 2)) in _gx_display_driver_generic_wide_line_fill()
308 if (loop == 2 || loop == 3) in _gx_display_driver_generic_wide_line_fill()
Dgx_display_driver_generic_simple_pie_fill.c117 INT loop; in _gx_display_driver_generic_simple_pie_fill() local
226 for (loop = 0; loop < height * 2; loop += 2) in _gx_display_driver_generic_simple_pie_fill()
228 pLineEnds[loop] = 2000; in _gx_display_driver_generic_simple_pie_fill()
229 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_simple_pie_fill()
238 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_simple_pie_fill()
240 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_pie_fill()
241 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_pie_fill()
261 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_pie_fill()
262 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_pie_fill()
305 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_simple_pie_fill()
[all …]
Dgx_display_driver_generic_aliased_wide_ellipse_draw.c104 INT loop; in _gx_display_driver_generic_aliased_wide_ellipse_draw() local
158 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_aliased_wide_ellipse_draw()
160 if (loop == 0) in _gx_display_driver_generic_aliased_wide_ellipse_draw()
229 if (loop == 0) in _gx_display_driver_generic_aliased_wide_ellipse_draw()
281 if (loop == 0) in _gx_display_driver_generic_aliased_wide_ellipse_draw()
321 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_aliased_wide_ellipse_draw()
323 x = pLineEnds[index] * sign[loop][0] + xcenter; in _gx_display_driver_generic_aliased_wide_ellipse_draw()
324 x2 = pLineEnds[index + 1] * sign[loop][0] + xcenter; in _gx_display_driver_generic_aliased_wide_ellipse_draw()
Dgx_multi_line_text_view_line_cache_update.c160 UINT loop; in _gx_multi_line_text_view_line_start_cache_create() local
174 for (loop = 1; loop < updated_size; loop++) in _gx_multi_line_text_view_line_start_cache_create()
180 view -> gx_multi_line_text_view_line_index[loop] = index; in _gx_multi_line_text_view_line_start_cache_create()
246 UINT loop; in _gx_multi_line_text_view_line_tail_cache_create() local
260 …for (loop = GX_MULTI_LINE_INDEX_CACHE_SIZE - updated_size + 1; loop < GX_MULTI_LINE_INDEX_CACHE_SI… in _gx_multi_line_text_view_line_tail_cache_create()
266 view -> gx_multi_line_text_view_line_index[loop] = index; in _gx_multi_line_text_view_line_tail_cache_create()
Dgx_display_driver_generic_rotated_pie_fill.c118 INT loop; in _gx_display_driver_generic_rotated_simple_pie_fill() local
208 for (loop = 0; loop < width * 2; loop += 2) in _gx_display_driver_generic_rotated_simple_pie_fill()
210 pLineEnds[loop] = 2000; in _gx_display_driver_generic_rotated_simple_pie_fill()
211 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_rotated_simple_pie_fill()
220 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_rotated_simple_pie_fill()
222 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
223 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
243 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
244 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
281 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_rotated_simple_pie_fill()
[all …]
Dgx_touch_driver_generic_resistive.c468 INT loop; in _gx_touch_driver_generic_resistive_raw_read() local
491 loop = 0; in _gx_touch_driver_generic_resistive_raw_read()
494 while(loop < sample_size) in _gx_touch_driver_generic_resistive_raw_read()
496 samples[loop].gx_point_x = (GX_VALUE) read_function(GX_TOUCH_X_AXIS); in _gx_touch_driver_generic_resistive_raw_read()
497 samples[loop].gx_point_y = (GX_VALUE) read_function(GX_TOUCH_Y_AXIS); in _gx_touch_driver_generic_resistive_raw_read()
499 if (loop > 0) in _gx_touch_driver_generic_resistive_raw_read()
501 delta_x = GX_ABS(samples[loop].gx_point_x - samples[loop - 1].gx_point_x); in _gx_touch_driver_generic_resistive_raw_read()
507 delta_y = GX_ABS(samples[loop].gx_point_y - samples[loop - 1].gx_point_y); in _gx_touch_driver_generic_resistive_raw_read()
514 loop++; in _gx_touch_driver_generic_resistive_raw_read()
529 for (loop = 0; loop < sample_size; loop++) in _gx_touch_driver_generic_resistive_raw_read()
[all …]
Dgx_display_driver_generic_wide_arc_draw.c110 INT loop; in _gx_display_driver_generic_simple_wide_arc_draw() local
201 for (loop = 0; loop < height * 2; loop += 2) in _gx_display_driver_generic_simple_wide_arc_draw()
203 pLineEnds[loop] = 2000; in _gx_display_driver_generic_simple_wide_arc_draw()
204 pLineEnds[loop + 1] = 0; in _gx_display_driver_generic_simple_wide_arc_draw()
226 for (loop = 0; loop < 4; loop++) in _gx_display_driver_generic_simple_wide_arc_draw()
228 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_wide_arc_draw()
229 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_wide_arc_draw()
249 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_wide_arc_draw()
250 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_wide_arc_draw()
288 for (loop = 0; loop < 2; loop++) in _gx_display_driver_generic_simple_wide_arc_draw()
[all …]
/GUIX-v6.2.1/ports/win32/src/
Dgx_win32_display_driver_4bpp_grayscale.c69 int loop; in win32_4bpp_grayscale_bitmap_header_create() local
84 for (loop = 0; loop < 16; loop++) in win32_4bpp_grayscale_bitmap_header_create()
87 instance -> win32_driver_bmpinfo.gx_bmp_colors[loop] = color; in win32_4bpp_grayscale_bitmap_header_create()
Dgx_win32_display_driver_8bit_palette.c74 int loop; in win32_display_driver_8bit_palette_set() local
84 for (loop = 0; loop < count; loop++) in win32_display_driver_8bit_palette_set()
87 instance -> win32_driver_bmpinfo.gx_bmp_colors[loop] = color; in win32_display_driver_8bit_palette_set()