| /NextBSD/contrib/less/ |
| HD | position.c | 27 extern int sc_width, sc_height; 45 where = sc_height - 2; 48 where = sc_height - 1; 51 where = (sc_height - 1) / 2; 68 for (i = 1; i < sc_height; i++) 70 table[sc_height - 1] = pos; 85 for (i = sc_height - 1; i > 0; i--) 98 for (i = 0; i < sc_height; i++) in pos_clear() 110 if (sc_height <= table_size) in pos_init() 122 table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); in pos_init() [all …]
|
| HD | jump.c | 21 extern int sc_width, sc_height; 54 jump_loc((POSITION)0, sc_height-1); in jump_forw() 57 jump_loc(pos, sc_height-1); in jump_forw() 58 if (position(sc_height-1) != end_pos) in jump_forw() 78 jump_line_loc(end-1, sc_height-1); in jump_forw_buffered() 259 forw(sc_height-sline+nline-1, bpos, 1, 0, 0); 281 forw(sc_height-1, pos, 1, 0, sline-nline); 290 for (nline = sline; nline < sc_height - 1; nline++) 327 back(sc_height-1, pos, 1, 0);
|
| HD | forwback.c | 29 extern int sc_width, sc_height; 150 do_repaint = (only_last && n > sc_height-1) || 151 (forw_scroll >= 0 && n > forw_scroll && n != sc_height-1); 162 if (top_scroll && n >= sc_height - 1 && pos != ch_length()) 236 empty_lines(2, sc_height-1)) 315 do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1)); 386 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1))) 449 return (sc_height - 2); in get_back_scroll()
|
| HD | screen.c | 110 extern int sc_height; 194 public int sc_width, sc_height; /* Height & width of screen */ variable 797 sc_height = sys_height; in scrsize() 799 sc_height = atoi(s); in scrsize() 802 sc_height = n; in scrsize() 804 if (sc_height <= 0) in scrsize() 805 sc_height = DEF_SC_HEIGHT; in scrsize() 1298 strcpy(sp, tgoto(sc_move, 0, sc_height-1)); in get_term() 1364 tputs(t, sc_height, inc_costcount); 1469 for (row = 0; row < sc_height; row++) in initcolor() [all …]
|
| HD | signal.c | 30 extern int sc_width, sc_height; 244 old_height = sc_height; in psignals() 246 if (sc_width != old_width || sc_height != old_height) in psignals() 248 wscroll = (sc_height + 1) / 2; in psignals()
|
| HD | prompt.c | 29 extern int sc_height; 168 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1) 259 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - 1)) + 1) 275 if (linenum > 0 && sc_height > 1)
|
| HD | mark.c | 14 extern int sc_height; 89 m->m_scrpos.ln = sc_height-1;
|
| HD | optfunc.c | 36 extern int sc_height; 199 jump_sline = sc_height * jump_sline_fraction / NUM_FRAC_DENOM; in calc_jump_sline() 741 return (sc_height + swindow); in get_swindow()
|
| HD | linenum.c | 69 extern int sc_height; 462 while (pos == NULL_POSITION && where >= 0 && where < sc_height)
|
| HD | search.c | 27 extern int sc_height; 284 for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++) 324 for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++) in clear_attn() 1152 if (++linenum >= sc_height)
|
| HD | command.c | 29 extern int sc_height; 1023 wscroll = (sc_height + 1) / 2; in commands()
|
| HD | line.c | 59 extern int sc_width, sc_height;
|
| /NextBSD/sys/powerpc/ofw/ |
| HD | ofw_syscons.c | 276 if (OF_getproplen(node, "height") != sizeof(sc->sc_height) || in ofwfb_configure() 284 OF_getprop(node, "height", &sc->sc_height, sizeof(sc->sc_height)); in ofwfb_configure() 313 bus_space_map(sc->sc_tag, fb_phys, sc->sc_height * in ofwfb_configure() 327 sc->sc_stride*sc->sc_height) in ofwfb_configure() 394 vi->vi_height = sc->sc_height/sc->sc_font_height - 2*cborder; in ofwfb_init() 406 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2; in ofwfb_init() 550 addr = (uint8_t *) sc->sc_addr + (sc->sc_height - sc->sc_ymargin)*sc->sc_stride; in ofwfb_set_border8() 560 for (i = 0; i < sc->sc_height - 2*sc->sc_xmargin; i++) { in ofwfb_set_border8() 643 end = (sc->sc_stride/4) * sc->sc_height; in ofwfb_blank_display8() 668 for (i = 0; i < (sc->sc_stride/4)*sc->sc_height; i++) in ofwfb_blank_display32() [all …]
|
| HD | ofw_syscons.h | 41 int sc_height; member
|
| /NextBSD/sys/dev/fb/ |
| HD | creator.c | 71 u_int sc_height; member 476 if (OF_getprop(sc->sc_node, "height", &sc->sc_height, in creator_init() 477 sizeof(sc->sc_height)) == -1) in creator_init() 497 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight)) / 2; in creator_init() 612 creator_fill_rect(adp, border, 0, sc->sc_height - sc->sc_ymargin, in creator_set_border() 614 creator_fill_rect(adp, border, 0, 0, sc->sc_xmargin, sc->sc_height); in creator_set_border() 616 sc->sc_xmargin, sc->sc_height); in creator_set_border() 714 fb->fb_height = sc->sc_height; in creator_ioctl() 740 sc->sc_height); in creator_clear() 1004 device_printf(dev, "resolution %dx%d\n", sc->sc_width, sc->sc_height); in creator_bus_attach()
|
| HD | machfb.c | 97 u_int sc_height; member 549 if (OF_getprop(sc->sc_node, "height", &sc->sc_height, in machfb_init() 550 sizeof(sc->sc_height)) == -1) in machfb_init() 574 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight)) / 2; in machfb_init() 757 machfb_fill_rect(adp, border, 0, sc->sc_height - sc->sc_ymargin, in machfb_set_border() 759 machfb_fill_rect(adp, border, 0, 0, sc->sc_xmargin, sc->sc_height); in machfb_set_border() 761 sc->sc_xmargin, sc->sc_height); in machfb_set_border() 887 fb->fb_height = sc->sc_height; in machfb_ioctl() 919 sc->sc_height); in machfb_clear() 1316 sc->sc_width, sc->sc_height, sc->sc_depth); in machfb_pci_attach() [all …]
|
| /NextBSD/sys/i386/xbox/ |
| HD | xboxfb.c | 66 uint32_t sc_height; member 222 sc->sc_height = SCREEN_HEIGHT; in xboxfb_init() 250 for (i = 0; i < sc->sc_height * sc->sc_width; i++) in xboxfb_init() 260 vi->vi_height = (sc->sc_height / vi->vi_cheight); in xboxfb_init() 640 if (x < 0 || y < 0 || x + width > sc->sc_width || y + (2 * size) > sc->sc_height) in xboxfb_putm()
|