Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 5 of 5) sorted by relevance

/lk-master/platform/pc/
A Dconsole.c47 int x1, y1, x2, y2; member
129 void window(int x1, int y1, int x2, int y2) { in window() argument
133 view_window.y2 = y2; in window()
145 for (j = y1; j <= y2; j++) { in _clear()
157 view_window.y2); in clear()
160 void _scroll(char attr, int x1, int y1, int x2, int y2) { in _scroll() argument
165 for (y = y1+1; y <= y2; y++) { in _scroll()
179 view_window.y2); in scroll()
193 if (y == view_window.y2) { in cputc()
214 if (y == view_window.y2) { in cputc()
[all …]
/lk-master/platform/pc/include/platform/
A Dconsole.h25 void _clear(char c, char attr, int x1, int y1, int x2, int y2);
28 void _scroll(char attr, int x1, int y1, int x2, int y2);
37 void window(int x1, int y1, int x2, int y2);
/lk-master/lib/gfx/include/lib/
A Dgfx.h56 … void (*copyrect)(struct gfx_surface *, uint x, uint y, uint width, uint height, uint x2, uint y2);
63 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2);
72 void gfx_line(gfx_surface *surface, uint x1, uint y1, uint x2, uint y2, uint color);
/lk-master/lib/gfx/
A Dgfx.c81 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2) { in gfx_copyrect() argument
89 if (y2 >= surface->height) in gfx_copyrect()
103 if (y2 + height > surface->height) in gfx_copyrect()
104 height = surface->height - y2; in gfx_copyrect()
106 surface->copyrect(surface, x, y, width, height, x2, y2); in gfx_copyrect()
168 uint8_t *dest = &((uint8_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect8()
219 uint16_t *dest = &((uint16_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect16()
270 uint32_t *dest = &((uint32_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect32()
316 void gfx_line(gfx_surface *surface, uint x1, uint y1, uint x2, uint y2, uint color) { in gfx_line() argument
324 if (y2 >= surface->height) in gfx_line()
[all …]
/lk-master/external/platform/pico/rp2_common/pico_divider/
A Ddivider.S410 ldr r2,[r7,#SIO_DIV_REMAINDER_OFFSET] @ r2=y2-q2*x; 0<=r2<x
411 ldr r0,[r7,#SIO_DIV_QUOTIENT_OFFSET] @ q2=y2/x;

Completed in 9 milliseconds