/freebsd-11-stable/share/examples/libvgl/ |
H A D | demo.c | 40 int y, xsize, ysize, i,j; local 56 ysize=VGLDisplay->Ysize; 64 for (y=0; y<ysize; y++) 68 VGLLine(VGLDisplay, 0, 0, xsize-1, ysize-1, 63); 69 VGLLine(VGLDisplay, 0, ysize-1, xsize-1, 0, 63); 70 VGLLine(VGLDisplay, 0, 0, 0, ysize-1, 63); 71 VGLLine(VGLDisplay, xsize-1, 0, xsize-1, ysize-1, 63); 108 VGLBitmapCopy(VGLDisplay, rand()%xsize, rand()%ysize, 109 VGLDisplay, rand()%xsize, rand()%ysize, 110 rand()%xsize, rand()%ysize); [all...] |
/freebsd-11-stable/sys/dev/syscons/ |
H A D | schistory.c | 91 * SC_HISTORY_SIZE lines or scp->ysize lines, whichever 105 lines = imax(lines, scp->ysize); 121 min_lines = imax(SC_HISTORY_SIZE, scp->ysize); 212 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); 231 -scp->xsize*scp->ysize)); 243 for (i = 1; i <= scp->ysize; ++i) { 246 &scp->vtb, scp->xsize*(scp->ysize - i), 265 scp->xsize*scp->ysize); 273 if (sc_vtb_pos(scp->history, scp->history_pos, -(scp->xsize*scp->ysize)) 308 DPRINTF(5, ("lines:%d, ysize [all...] |
H A D | scterm.c | 53 if (y >= scp->ysize) 54 y = scp->ysize - 1;
|
H A D | scvidctl.c | 136 sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, int xsize, int ysize, argument 183 if ((ysize <= 0) || (ysize > info.vi_height)) 184 ysize = info.vi_height; 203 prev_ysize = scp->ysize; 212 scp->ysize = ysize; 216 scp->ypixel = scp->ysize*fontsize; 239 wsz.ws_row = scp->ysize; 275 * Don't change xsize and ysize; preserv 306 sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, int fontsize, int fontwidth) argument [all...] |
H A D | syscons.c | 272 int attr, column, mysize, width, xsize, yborder, ysize; local 286 ysize = 25; 292 ysize = main_console.ysize; 294 yborder = ysize / 5; 296 mysize = xsize * (ysize - 2 * yborder); 509 scp->ysize = scp->ypixel / fontsize; 511 scp->ypos = scp->ysize - 1; 516 scp->start = scp->xsize * scp->ysize - 1; 521 sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, [all...] |
H A D | scvgarndr.c | 263 if (from + count > scp->xsize*scp->ysize) 264 count = scp->xsize*scp->ysize - from; 542 lines = scp->ysize * scp->font_size; 568 lines = scp->ysize*scp->font_size; 602 y = (scp->yoff + scp->ysize) * scp->font_size; 615 for (i = 0; i < scp->ysize * scp->font_size; ++i) { 656 y = (scp->yoff + scp->ysize)*scp->font_size; 661 for (i = 0; i < scp->ysize*scp->font_size; ++i) { 693 if (from + count > scp->xsize*scp->ysize) 694 count = scp->xsize*scp->ysize [all...] |
H A D | syscons.h | 123 scp->end = scp->xsize * scp->ysize - 1;\ 302 int ysize; /* Y text size */ member in struct:scr_stat 637 int xsize, int ysize, int fontsize, 641 int ysize, int fontsize, int font_width);
|
H A D | scmouse.c | 105 || (cut_buffer_size < scp->xsize * scp->ysize + 1)) { 110 cut_buffer_size = scp->xsize * scp->ysize + 1; 198 if (scp->mouse_ypos > (scp->ysize + scp->yoff)*scp->font_size - 1) 199 scp->mouse_ypos = (scp->ysize + scp->yoff)*scp->font_size - 1; 248 size = scp->xsize*scp->ysize; 293 scp->mouse_cut_start = scp->xsize*scp->ysize;
|
H A D | scgfbrndr.c | 174 if (from + count > scp->xsize*scp->ysize) {
|
H A D | scterm-teken.c | 293 tp.tp_row = scp->ysize; 557 mark_for_update(scp, imin(cursor + 1, scp->xsize * scp->ysize - 1));
|
/freebsd-11-stable/sys/dev/syscons/daemon/ |
H A D | daemon_saver.c | 268 if (scp->ysize <= DAEMON_MAX_HEIGHT) { 269 min = scp->ysize - DAEMON_MAX_HEIGHT - 10; 273 max = scp->ysize - DAEMON_MAX_HEIGHT; 303 if (dypos >= scp->ysize) 305 else if (dypos + ylen > scp->ysize) 306 ylen = scp->ysize - dypos; 326 } else if (typos >= scp->ysize - 1) { 327 typos = scp->ysize - 1;
|
/freebsd-11-stable/sys/dev/syscons/star/ |
H A D | star_saver.c | 93 random() % (scp->xsize*scp->ysize); 102 stars[cell][0] = random() % (scp->xsize*scp->ysize);
|
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | sctermvar.h | 67 tail = scp->ysize; 81 tail = scp->ysize; 154 tail = scp->ysize; 183 tail = scp->ysize; 199 tail = scp->ysize; 217 scp->xsize*scp->ysize - scp->cursor_pos, 220 mark_for_update(scp, scp->xsize*scp->ysize - 1); 230 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr); 232 mark_for_update(scp, scp->xsize*scp->ysize - 1); 273 if (scp->ypos >= scp->ysize [all...] |
H A D | scgdcrndr.c | 119 if (from + count > scp->xsize*scp->ysize) 120 count = scp->xsize*scp->ysize - from;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | alias.c | 1653 memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c) 1670 y = addr_side_effect_eval (y, ysize, 0); 1674 if (xsize <= 0 || ysize <= 0) 1678 if (c < 0 && ysize+c > 0) 1701 return memrefs_conflict_p (xsize, x0, ysize, y0, c); 1703 return memrefs_conflict_p (xsize, x1, ysize, y1, c); 1707 return memrefs_conflict_p (xsize, x0, ysize, y0, 1710 return memrefs_conflict_p (xsize, x0, ysize, y, 1714 return memrefs_conflict_p (xsize, x, ysize, y0, c + INTVAL (y1)); 1719 return memrefs_conflict_p (xsize, x0, ysize, 1650 memrefs_conflict_p(int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c) argument [all...] |
/freebsd-11-stable/tools/sched/ |
H A D | schedgraph.py | 846 ypos = ypos - (self.ysize() / 2) 856 ypos - self.ysize() - canvas.bdheight, 868 def ysize(self): member in class:EventSource 908 def ysize(self): member in class:Counter 912 return (self.ysize() / self.ymax()) 1122 self.ysize = 0 1140 self["width"], self.display.ysize())) 1146 ypos += source.ysize() 1150 self.ysize = ypos 1160 self["width"], self.display.ysize())) 1247 def ysize(self): member in class:SchedDisplay [all...] |
/freebsd-11-stable/lib/libvgl/ |
H A D | bitmap.c | 369 *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits) argument 375 if (xsize < 0 || ysize < 0) 382 object->Ysize = ysize; 384 object->VYsize = ysize;
|
H A D | vgl.h | 109 VGLBitmap *VGLBitmapCreate(int type, int xsize, int ysize, byte *bits);
|
/freebsd-11-stable/sys/dev/syscons/snake/ |
H A D | snake_saver.c | 111 (f / scp->xsize) == scp->ysize - 1 ||
|
/freebsd-11-stable/usr.sbin/vidcontrol/ |
H A D | vidcontrol.c | 1244 shot.ysize = _info.mv_rsz; 1246 shot.ysize += _info.mv_hsz; 1248 shot.buf = alloca(shot.xsize * shot.ysize * sizeof(u_int16_t)); 1261 shot.xsize, shot.ysize); 1266 shot.xsize * shot.ysize * sizeof(u_int16_t)); 1279 for (y = 0; y < shot.ysize; y++) {
|
/freebsd-11-stable/sys/sys/ |
H A D | consio.h | 295 int ysize; member in struct:scrshot
|
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | intel_tv.c | 1095 unsigned int xsize, ysize; local 1112 ysize = tv_mode->nbr_end + 1; 1114 ysize = 2*tv_mode->nbr_end + 1; 1120 ysize -= (intel_tv->margin[TV_MARGIN_TOP] + 1123 I915_WRITE(TV_WIN_SIZE, (xsize<<16)|ysize);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 1020 uint64_t xsize, ysize; local 1042 ysize = rm->rm_col[y].rc_size; 1054 rm->rm_col[y].rc_size = ysize; 1085 ASSERT3U(xsize, >=, ysize); 1087 (void) abd_iterate_func2(xd, yd, 0, 0, ysize, 1089 (void) abd_iterate_func(xd, ysize, xsize - ysize,
|