/freebsd/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() 108 VGLBitmapCopy(VGLDisplay, rand()%xsize, rand()%ysize, in main() 109 VGLDisplay, rand()%xsize, rand()%ysize, in main() 110 rand()%xsize, rand()%ysize); in main() [all …]
|
/freebsd/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 | 135 sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, int xsize, int ysize, in sc_set_text_mode() argument 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() 217 scp->ypixel = scp->ysize*fontsize; 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() 307 sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, in sc_set_pixel_mode() argument 357 if (ysize <= 0) 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 | 283 int attr, column, mysize, width, xsize, yborder, ysize; in ec_putc() local 301 ysize = 25; in ec_putc() 308 ysize = main_console.ysize; in ec_putc() 310 yborder = ysize / 5; in ec_putc() 312 mysize = xsize * (ysize - 2 * yborder); in ec_putc() 528 scp->ysize = scp->ypixel / fontsize; in sc_set_vesa_mode() 530 scp->ypos = scp->ysize - 1; in sc_set_vesa_mode() 535 scp->start = scp->xsize * scp->ysize - 1; in sc_set_vesa_mode() 539 sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, in sc_set_vesa_mode() 755 tp->t_winsize.ws_row = scp->ysize; in sctty_open() [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() 828 for (i = 0; i < scp->ysize * scp->font_size; ++i) { in vga_pxlborder_direct() 869 y = (scp->yoff + scp->ysize)*scp->font_size; in vga_pxlborder_planar() 874 for (i = 0; i < scp->ysize*scp->font_size; ++i) { 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() [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/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/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math_impl.h | 934 const size_t ysize = rr->rr_col[y].rc_size; in raidz_reconstruct_pq_impl() local 954 if (ysize < xsize) { in raidz_reconstruct_pq_impl() 987 if (ysize < xsize) in raidz_reconstruct_pq_impl() 988 raidz_copy(rr->rr_col[y].rc_abd, yabd, 0, ysize); in raidz_reconstruct_pq_impl() 992 if (ysize < xsize) in raidz_reconstruct_pq_impl() 1094 const size_t ysize = rr->rr_col[y].rc_size; in raidz_reconstruct_pr_impl() local 1114 if (ysize < xsize) { in raidz_reconstruct_pr_impl() 1149 if (ysize < xsize) in raidz_reconstruct_pr_impl() 1150 raidz_copy(rr->rr_col[y].rc_abd, yabd, 0, ysize); in raidz_reconstruct_pr_impl() 1154 if (ysize < xsize) in raidz_reconstruct_pr_impl() [all …]
|
H A D | vdev_raidz.c | 1465 uint64_t xsize, ysize; in vdev_raidz_reconstruct_pq() local 1490 ysize = rr->rr_col[y].rc_size; in vdev_raidz_reconstruct_pq() 1502 rr->rr_col[y].rc_size = ysize; in vdev_raidz_reconstruct_pq() 1533 ASSERT3U(xsize, >=, ysize); in vdev_raidz_reconstruct_pq() 1536 (void) abd_iterate_func2(xd, yd, 0, 0, ysize, in vdev_raidz_reconstruct_pq() 1538 (void) abd_iterate_func(xd, ysize, xsize - ysize, in vdev_raidz_reconstruct_pq()
|
/freebsd/tools/sched/ |
H A D | schedgraph.py | 847 ypos = ypos - (self.ysize() / 2) 857 ypos - self.ysize() - canvas.bdheight, 869 def ysize(self): member in EventSource 909 def ysize(self): member in Counter 913 return (self.ysize() / self.ymax()) 1123 self.ysize = 0 1141 self["width"], self.display.ysize())) 1147 ypos += source.ysize() 1151 self.ysize = ypos 1161 self["width"], self.display.ysize())) [all …]
|
/freebsd/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/lib/libvgl/ |
H A D | bitmap.c | 252 *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits) in VGLBitmapCreate() argument 258 if (xsize < 0 || ysize < 0) in VGLBitmapCreate() 265 object->Ysize = ysize; in VGLBitmapCreate() 267 object->VYsize = ysize; in VGLBitmapCreate()
|
H A D | vgl.h | 110 VGLBitmap *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits);
|
/freebsd/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/sys/dev/syscons/snake/ |
H A D | snake_saver.c | 111 (f / scp->xsize) == scp->ysize - 1 || in snake_saver()
|
/freebsd/sys/sys/ |
H A D | consio.h | 291 int ysize; member
|