| /freebsd-14.2/share/examples/libvgl/ |
| H A D | demo.c | 40 int y, xsize, ysize, i,j; in main() local 56 ysize=VGLDisplay->Ysize; in main() 64 for (y=0; y<ysize; y++) in main() 68 VGLLine(VGLDisplay, 0, 0, xsize-1, ysize-1, 63); in main() 69 VGLLine(VGLDisplay, 0, ysize-1, xsize-1, 0, 63); in main() 70 VGLLine(VGLDisplay, 0, 0, 0, ysize-1, 63); in main() 71 VGLLine(VGLDisplay, xsize-1, 0, xsize-1, ysize-1, 63); in main() 110 rand()%xsize, rand()%ysize); in main() 111 VGLLine(VGLDisplay, rand()%xsize, rand()%ysize, in main() 112 rand()%xsize, rand()%ysize, rand()%256); in main() [all …]
|
| /freebsd-14.2/sys/dev/syscons/ |
| H A D | schistory.c | 104 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 120 min_lines = imax(SC_HISTORY_SIZE, scp->ysize); in sc_alloc_history_buffer() 211 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); in sc_hist_save() 230 -scp->xsize*scp->ysize)); in sc_hist_restore() 242 for (i = 1; i <= scp->ysize; ++i) { in history_to_screen() 245 &scp->vtb, scp->xsize*(scp->ysize - i), in history_to_screen() 264 scp->xsize*scp->ysize); in sc_hist_end() 272 if (sc_vtb_pos(scp->history, scp->history_pos, -(scp->xsize*scp->ysize)) in sc_hist_up_line() 307 *(int *)data, scp->ysize, extra_history_size)); in sc_hist_ioctl() 309 imax(*(int *)data, scp->ysize), in sc_hist_ioctl() [all …]
|
| H A D | scvidctl.c | 184 if ((ysize <= 0) || (ysize > info.vi_height)) in sc_set_text_mode() 185 ysize = info.vi_height; in sc_set_text_mode() 203 prev_ysize = scp->ysize; in sc_set_text_mode() 213 scp->ysize = ysize; in sc_set_text_mode() 240 wsz.ws_row = scp->ysize; in sc_set_text_mode() 300 wsz.ws_row = scp->ysize; in sc_set_graphics_mode() 357 if (ysize <= 0) in sc_set_pixel_mode() 358 ysize = info.vi_height/fontsize; in sc_set_pixel_mode() 389 prev_ysize = scp->ysize; in sc_set_pixel_mode() 394 scp->ysize = ysize; in sc_set_pixel_mode() [all …]
|
| H A D | sctermvar.h | 65 tail = scp->ysize; in sc_term_ins_line() 79 tail = scp->ysize; in sc_term_del_line() 152 tail = scp->ysize; in sc_term_down() 181 tail = scp->ysize; in sc_term_up_scroll() 197 tail = scp->ysize; in sc_term_down_scroll() 215 scp->xsize*scp->ysize - scp->cursor_pos, in sc_term_clr_eos() 218 mark_for_update(scp, scp->xsize*scp->ysize - 1); in sc_term_clr_eos() 228 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr); in sc_term_clr_eos() 230 mark_for_update(scp, scp->xsize*scp->ysize - 1); in sc_term_clr_eos() 271 if (scp->ypos >= scp->ysize - 1) { in sc_term_tab() [all …]
|
| H A D | syscons.c | 301 ysize = 25; in ec_putc() 308 ysize = main_console.ysize; in ec_putc() 310 yborder = ysize / 5; in ec_putc() 530 scp->ypos = scp->ysize - 1; in sc_set_vesa_mode() 1017 ptr->mv_rsz = scp->ysize; in sctty_ioctl() 1116 ptr->ysize < 0) in sctty_ioctl() 1125 ((u_int)ptr->y + ptr->ysize) > (scp->ysize + hist_rsz)) { in sctty_ioctl() 1147 if (lnum < scp->ysize) { in sctty_ioctl() 3339 if (row >= scp->ysize) in scinit() 3340 row = scp->ysize - 1; in scinit() [all …]
|
| H A D | scterm.c | 53 if (y >= scp->ysize) in sc_move_cursor() 54 y = scp->ysize - 1; in sc_move_cursor()
|
| H A D | scvgarndr.c | 468 if (from + count > scp->xsize*scp->ysize) in vga_txtdraw() 469 count = scp->xsize*scp->ysize - from; in vga_txtdraw() 755 lines = scp->ysize * scp->font_size; in vga_pxlclear_direct() 781 lines = scp->ysize*scp->font_size; in vga_pxlclear_planar() 815 y = (scp->yoff + scp->ysize) * scp->font_size; in vga_pxlborder_direct() 869 y = (scp->yoff + scp->ysize)*scp->font_size; in vga_pxlborder_planar() 901 if (from + count > scp->xsize * scp->ysize) in vga_vgadraw_direct() 902 count = scp->xsize * scp->ysize - from; in vga_vgadraw_direct() 956 if (from + count > scp->xsize*scp->ysize) in vga_vgadraw_planar() 957 count = scp->xsize*scp->ysize - from; in vga_vgadraw_planar() [all …]
|
| H A D | scmouse.c | 105 || (cut_buffer_size < scp->xsize * scp->ysize + 1)) { in sc_alloc_cut_buffer() 110 cut_buffer_size = scp->xsize * scp->ysize + 1; in sc_alloc_cut_buffer() 198 if (scp->mouse_ypos > (scp->ysize + scp->yoff)*scp->font_size - 1) in set_mouse_pos() 199 scp->mouse_ypos = (scp->ysize + scp->yoff)*scp->font_size - 1; in set_mouse_pos() 260 rows = imin(rows, scp->ysize - i / scp->xsize); in sc_remove_mouse_image() 294 scp->mouse_cut_start = scp->xsize*scp->ysize; in sc_remove_cutmarking()
|
| H A D | syscons.h | 107 scp->end = scp->xsize * scp->ysize - 1;\ 286 int ysize; /* Y text size */ member 620 int xsize, int ysize, int fontsize, 624 int ysize, int fontsize, int font_width);
|
| H A D | scterm-teken.c | 293 tp.tp_row = scp->ysize; in scteken_sync_internal() 557 mark_for_update(scp, imin(cursor + 1, scp->xsize * scp->ysize - 1)); in scteken_putchar()
|
| H A D | scgfbrndr.c | 146 if (from + count > scp->xsize*scp->ysize) { in gfb_draw()
|
| /freebsd-14.2/sys/dev/syscons/daemon/ |
| H A D | daemon_saver.c | 268 if (scp->ysize <= DAEMON_MAX_HEIGHT) { in daemon_saver() 269 min = scp->ysize - DAEMON_MAX_HEIGHT - 10; in daemon_saver() 273 max = scp->ysize - DAEMON_MAX_HEIGHT; in daemon_saver() 303 if (dypos >= scp->ysize) in daemon_saver() 305 else if (dypos + ylen > scp->ysize) in daemon_saver() 306 ylen = scp->ysize - dypos; in daemon_saver() 326 } else if (typos >= scp->ysize - 1) { in daemon_saver() 327 typos = scp->ysize - 1; in daemon_saver()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_raidz_math_impl.h | 928 if (ysize < xsize) { in raidz_reconstruct_pq_impl() 961 if (ysize < xsize) in raidz_reconstruct_pq_impl() 966 if (ysize < xsize) in raidz_reconstruct_pq_impl() 1088 if (ysize < xsize) { in raidz_reconstruct_pr_impl() 1123 if (ysize < xsize) in raidz_reconstruct_pr_impl() 1128 if (ysize < xsize) in raidz_reconstruct_pr_impl() 1255 if (ysize < xsize) { in raidz_reconstruct_qr_impl() 1290 if (ysize < xsize) in raidz_reconstruct_qr_impl() 1295 if (ysize < xsize) in raidz_reconstruct_qr_impl() 1487 if (ysize < xsize) in raidz_reconstruct_pqr_impl() [all …]
|
| H A D | vdev_raidz.c | 846 uint64_t xsize, ysize; in vdev_raidz_reconstruct_pq() local 868 ysize = rr->rr_col[y].rc_size; in vdev_raidz_reconstruct_pq() 880 rr->rr_col[y].rc_size = ysize; in vdev_raidz_reconstruct_pq() 911 ASSERT3U(xsize, >=, ysize); in vdev_raidz_reconstruct_pq() 914 (void) abd_iterate_func2(xd, yd, 0, 0, ysize, in vdev_raidz_reconstruct_pq() 916 (void) abd_iterate_func(xd, ysize, xsize - ysize, in vdev_raidz_reconstruct_pq()
|
| /freebsd-14.2/tools/sched/ |
| H A D | schedgraph.py | 869 def ysize(self): member in EventSource 909 def ysize(self): member in Counter 1123 self.ysize = 0 1147 ypos += source.ysize() 1151 self.ysize = ypos 1191 ypos += source.ysize() 1248 def ysize(self): member in SchedDisplay 1249 ysize = 0 1254 return ysize 1441 if (source1.ysize() != source2.ysize()): [all …]
|
| /freebsd-14.2/sys/dev/syscons/star/ |
| H A D | star_saver.c | 80 random() % (scp->xsize*scp->ysize); in star_saver() 89 stars[cell][0] = random() % (scp->xsize*scp->ysize); in star_saver()
|
| /freebsd-14.2/lib/libvgl/ |
| H A D | bitmap.c | 253 *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits) in VGLBitmapCreate() argument 259 if (xsize < 0 || ysize < 0) in VGLBitmapCreate() 266 object->Ysize = ysize; in VGLBitmapCreate() 268 object->VYsize = ysize; in VGLBitmapCreate()
|
| H A D | vgl.h | 110 VGLBitmap *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits);
|
| /freebsd-14.2/usr.sbin/vidcontrol/ |
| H A D | vidcontrol.c | 1276 shot.ysize = info.mv_rsz; in dump_screen() 1278 shot.ysize += info.mv_hsz; in dump_screen() 1280 shot.buf = alloca(shot.xsize * shot.ysize * sizeof(u_int16_t)); in dump_screen() 1293 shot.xsize, shot.ysize); in dump_screen() 1298 shot.xsize * shot.ysize * sizeof(u_int16_t)); in dump_screen() 1311 for (y = 0; y < shot.ysize; y++) { in dump_screen()
|
| /freebsd-14.2/sys/dev/syscons/snake/ |
| H A D | snake_saver.c | 111 (f / scp->xsize) == scp->ysize - 1 || in snake_saver()
|
| /freebsd-14.2/sys/sys/ |
| H A D | consio.h | 291 int ysize; member
|