| /freebsd-13.1/share/examples/libvgl/ |
| H A D | demo.c | 42 int y, xsize, ysize, i,j; in main() local 58 ysize=VGLDisplay->Ysize; in main() 66 for (y=0; y<ysize; y++) in main() 70 VGLLine(VGLDisplay, 0, 0, xsize-1, ysize-1, 63); in main() 71 VGLLine(VGLDisplay, 0, ysize-1, xsize-1, 0, 63); in main() 72 VGLLine(VGLDisplay, 0, 0, 0, ysize-1, 63); in main() 73 VGLLine(VGLDisplay, xsize-1, 0, xsize-1, ysize-1, 63); in main() 112 rand()%xsize, rand()%ysize); in main() 113 VGLLine(VGLDisplay, rand()%xsize, rand()%ysize, in main() 114 rand()%xsize, rand()%ysize, rand()%256); in main() [all …]
|
| /freebsd-13.1/sys/dev/syscons/ |
| H A D | schistory.c | 106 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 122 min_lines = imax(SC_HISTORY_SIZE, scp->ysize); in sc_alloc_history_buffer() 213 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); in sc_hist_save() 232 -scp->xsize*scp->ysize)); in sc_hist_restore() 244 for (i = 1; i <= scp->ysize; ++i) { in history_to_screen() 247 &scp->vtb, scp->xsize*(scp->ysize - i), in history_to_screen() 266 scp->xsize*scp->ysize); in sc_hist_end() 274 if (sc_vtb_pos(scp->history, scp->history_pos, -(scp->xsize*scp->ysize)) in sc_hist_up_line() 309 *(int *)data, scp->ysize, extra_history_size)); in sc_hist_ioctl() 311 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() 204 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() 355 if (ysize <= 0) in sc_set_pixel_mode() 356 ysize = info.vi_height/fontsize; in sc_set_pixel_mode() 388 prev_ysize = scp->ysize; in sc_set_pixel_mode() 392 scp->ysize = ysize; in sc_set_pixel_mode() [all …]
|
| H A D | sctermvar.h | 67 tail = scp->ysize; in sc_term_ins_line() 81 tail = scp->ysize; in sc_term_del_line() 154 tail = scp->ysize; in sc_term_down() 183 tail = scp->ysize; in sc_term_up_scroll() 199 tail = scp->ysize; in sc_term_down_scroll() 217 scp->xsize*scp->ysize - scp->cursor_pos, in sc_term_clr_eos() 220 mark_for_update(scp, scp->xsize*scp->ysize - 1); in sc_term_clr_eos() 230 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr); in sc_term_clr_eos() 232 mark_for_update(scp, scp->xsize*scp->ysize - 1); in sc_term_clr_eos() 273 if (scp->ypos >= scp->ysize - 1) { in sc_term_tab() [all …]
|
| H A D | syscons.c | 303 ysize = 25; in ec_putc() 310 ysize = main_console.ysize; in ec_putc() 312 yborder = ysize / 5; in ec_putc() 532 scp->ypos = scp->ysize - 1; in sc_set_vesa_mode() 1019 ptr->mv_rsz = scp->ysize; in sctty_ioctl() 1118 ptr->ysize < 0) in sctty_ioctl() 1127 ((u_int)ptr->y + ptr->ysize) > (scp->ysize + hist_rsz)) { in sctty_ioctl() 1149 if (lnum < scp->ysize) { in sctty_ioctl() 3337 if (row >= scp->ysize) in scinit() 3338 row = scp->ysize - 1; in scinit() [all …]
|
| H A D | scterm.c | 55 if (y >= scp->ysize) in sc_move_cursor() 56 y = scp->ysize - 1; in sc_move_cursor()
|
| H A D | scvgarndr.c | 470 if (from + count > scp->xsize*scp->ysize) in vga_txtdraw() 471 count = scp->xsize*scp->ysize - from; in vga_txtdraw() 757 lines = scp->ysize * scp->font_size; in vga_pxlclear_direct() 783 lines = scp->ysize*scp->font_size; in vga_pxlclear_planar() 817 y = (scp->yoff + scp->ysize) * scp->font_size; in vga_pxlborder_direct() 871 y = (scp->yoff + scp->ysize)*scp->font_size; in vga_pxlborder_planar() 903 if (from + count > scp->xsize * scp->ysize) in vga_vgadraw_direct() 904 count = scp->xsize * scp->ysize - from; in vga_vgadraw_direct() 959 if (from + count > scp->xsize*scp->ysize) in vga_vgadraw_planar() 960 count = scp->xsize*scp->ysize - from; in vga_vgadraw_planar() [all …]
|
| H A D | scmouse.c | 107 || (cut_buffer_size < scp->xsize * scp->ysize + 1)) { in sc_alloc_cut_buffer() 112 cut_buffer_size = scp->xsize * scp->ysize + 1; in sc_alloc_cut_buffer() 200 if (scp->mouse_ypos > (scp->ysize + scp->yoff)*scp->font_size - 1) in set_mouse_pos() 201 scp->mouse_ypos = (scp->ysize + scp->yoff)*scp->font_size - 1; in set_mouse_pos() 262 rows = imin(rows, scp->ysize - i / scp->xsize); in sc_remove_mouse_image() 296 scp->mouse_cut_start = scp->xsize*scp->ysize; in sc_remove_cutmarking()
|
| H A D | syscons.h | 109 scp->end = scp->xsize * scp->ysize - 1;\ 288 int ysize; /* Y text size */ member 622 int xsize, int ysize, int fontsize, 626 int ysize, int fontsize, int font_width);
|
| H A D | scterm-teken.c | 295 tp.tp_row = scp->ysize; in scteken_sync_internal() 559 mark_for_update(scp, imin(cursor + 1, scp->xsize * scp->ysize - 1)); in scteken_putchar()
|
| H A D | scgfbrndr.c | 148 if (from + count > scp->xsize*scp->ysize) { in gfb_draw()
|
| /freebsd-13.1/sys/dev/syscons/daemon/ |
| H A D | daemon_saver.c | 270 if (scp->ysize <= DAEMON_MAX_HEIGHT) { in daemon_saver() 271 min = scp->ysize - DAEMON_MAX_HEIGHT - 10; in daemon_saver() 275 max = scp->ysize - DAEMON_MAX_HEIGHT; in daemon_saver() 305 if (dypos >= scp->ysize) in daemon_saver() 307 else if (dypos + ylen > scp->ysize) in daemon_saver() 308 ylen = scp->ysize - dypos; in daemon_saver() 328 } else if (typos >= scp->ysize - 1) { in daemon_saver() 329 typos = scp->ysize - 1; in daemon_saver()
|
| /freebsd-13.1/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 | 743 uint64_t xsize, ysize; in vdev_raidz_reconstruct_pq() local 765 ysize = rr->rr_col[y].rc_size; in vdev_raidz_reconstruct_pq() 777 rr->rr_col[y].rc_size = ysize; in vdev_raidz_reconstruct_pq() 808 ASSERT3U(xsize, >=, ysize); in vdev_raidz_reconstruct_pq() 811 (void) abd_iterate_func2(xd, yd, 0, 0, ysize, in vdev_raidz_reconstruct_pq() 813 (void) abd_iterate_func(xd, ysize, xsize - ysize, in vdev_raidz_reconstruct_pq()
|
| /freebsd-13.1/tools/sched/ |
| H A D | schedgraph.py | 870 def ysize(self): member in EventSource 910 def ysize(self): member in Counter 1124 self.ysize = 0 1148 ypos += source.ysize() 1152 self.ysize = ypos 1192 ypos += source.ysize() 1249 def ysize(self): member in SchedDisplay 1250 ysize = 0 1255 return ysize 1442 if (source1.ysize() != source2.ysize()): [all …]
|
| /freebsd-13.1/sys/dev/syscons/star/ |
| H A D | star_saver.c | 82 random() % (scp->xsize*scp->ysize); in star_saver() 91 stars[cell][0] = random() % (scp->xsize*scp->ysize); in star_saver()
|
| /freebsd-13.1/lib/libvgl/ |
| H A D | bitmap.c | 255 *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits) in VGLBitmapCreate() argument 261 if (xsize < 0 || ysize < 0) in VGLBitmapCreate() 268 object->Ysize = ysize; in VGLBitmapCreate() 270 object->VYsize = ysize; in VGLBitmapCreate()
|
| H A D | vgl.h | 112 VGLBitmap *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits);
|
| /freebsd-13.1/usr.sbin/vidcontrol/ |
| H A D | vidcontrol.c | 1281 shot.ysize = info.mv_rsz; in dump_screen() 1283 shot.ysize += info.mv_hsz; in dump_screen() 1285 shot.buf = alloca(shot.xsize * shot.ysize * sizeof(u_int16_t)); in dump_screen() 1298 shot.xsize, shot.ysize); in dump_screen() 1303 shot.xsize * shot.ysize * sizeof(u_int16_t)); in dump_screen() 1316 for (y = 0; y < shot.ysize; y++) { in dump_screen()
|
| /freebsd-13.1/sys/dev/syscons/snake/ |
| H A D | snake_saver.c | 113 (f / scp->xsize) == scp->ysize - 1 || in snake_saver()
|
| /freebsd-13.1/sys/sys/ |
| H A D | consio.h | 293 int ysize; member
|