/freebsd-9.3-release/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-9.3-release/sys/dev/syscons/ |
H A D | schistory.c | 90 * SC_HISTORY_SIZE lines or scp->ysize lines, whichever 104 lines = imax(lines, scp->ysize); 120 min_lines = imax(SC_HISTORY_SIZE, scp->ysize); 211 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); 230 -scp->xsize*scp->ysize)); 242 for (i = 1; i <= scp->ysize; ++i) { 245 &scp->vtb, scp->xsize*(scp->ysize - i), 264 scp->xsize*scp->ysize); 272 if (sc_vtb_pos(scp->history, scp->history_pos, -(scp->xsize*scp->ysize)) 307 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 | scvgarndr.c | 261 if (from + count > scp->xsize*scp->ysize) 262 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.c | 450 scp->ysize = scp->ypixel / fontsize; 452 scp->ypos = scp->ysize - 1; 457 scp->start = scp->xsize * scp->ysize - 1; 462 sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, 651 tp->t_winsize.ws_row = scp->ysize; 685 sc_free_history_buffer(scp, scp->ysize); 897 ptr->mv_rsz = scp->ysize; 992 if (ptr->x < 0 || ptr->y < 0 || ptr->xsize < 0 || ptr->ysize < 0) 1001 ((u_int)ptr->y + ptr->ysize) > (scp->ysize [all...] |
H A D | syscons.h | 122 scp->end = scp->xsize * scp->ysize - 1;\ 287 int ysize; /* Y text size */ member in struct:scr_stat 625 int xsize, int ysize, int fontsize, 629 int ysize, int fontsize, int font_width);
|
H A D | scgfbrndr.c | 174 if (from + count > scp->xsize*scp->ysize) { 360 if (x < scp->ysize - 1)
|
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 | scterm-teken.c | 139 tp.tp_row = scp->ysize; 143 if (scp->cursor_pos < scp->ysize * scp->xsize) { 569 mark_for_update(scp, imin(cursor + 1, scp->xsize * scp->ysize - 1));
|
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/tools/sched/ |
H A D | schedgraph.py | 833 ypos = ypos - (self.ysize() / 2) 843 ypos - self.ysize() - canvas.bdheight, 855 def ysize(self): member in class:EventSource 895 def ysize(self): member in class:Counter 899 return (self.ysize() / self.ymax()) 1110 self.ysize = 0 1128 self["width"], self.display.ysize())) 1134 ypos += source.ysize() 1138 self.ysize = ypos 1148 self["width"], self.display.ysize())) 1235 def ysize(self): member in class:SchedDisplay [all...] |
/freebsd-9.3-release/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-9.3-release/sys/dev/syscons/snake/ |
H A D | snake_saver.c | 111 (f / scp->xsize) == scp->ysize - 1 ||
|
/freebsd-9.3-release/usr.sbin/vidcontrol/ |
H A D | vidcontrol.c | 1093 shot.ysize = _info.mv_rsz; 1095 shot.ysize += _info.mv_hsz; 1097 shot.buf = alloca(shot.xsize * shot.ysize * sizeof(u_int16_t)); 1110 shot.xsize, shot.ysize); 1115 shot.xsize * shot.ysize * sizeof(u_int16_t)); 1128 for (y = 0; y < shot.ysize; y++) {
|
/freebsd-9.3-release/sys/dev/drm2/i915/ |
H A D | intel_tv.c | 1040 unsigned int xsize, ysize; local 1058 ysize = tv_mode->nbr_end + 1; 1060 ysize = 2*tv_mode->nbr_end + 1; 1066 ysize -= (intel_tv->margin[TV_MARGIN_TOP] + 1069 I915_WRITE(TV_WIN_SIZE, (xsize<<16)|ysize);
|
/freebsd-9.3-release/sys/sys/ |
H A D | consio.h | 294 int ysize; member in struct:scrshot
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 861 uint64_t xsize, ysize, i; local 882 ysize = rm->rm_col[y].rc_size; 894 rm->rm_col[y].rc_size = ysize; 929 if (i < ysize)
|