Home
last modified time | relevance | path

Searched refs:sc_height (Results 1 – 17 of 17) sorted by relevance

/NextBSD/contrib/less/
HDposition.c27 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 …]
HDjump.c21 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);
HDforwback.c29 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()
HDscreen.c110 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 …]
HDsignal.c30 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()
HDprompt.c29 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)
HDmark.c14 extern int sc_height;
89 m->m_scrpos.ln = sc_height-1;
HDoptfunc.c36 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()
HDlinenum.c69 extern int sc_height;
462 while (pos == NULL_POSITION && where >= 0 && where < sc_height)
HDsearch.c27 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)
HDcommand.c29 extern int sc_height;
1023 wscroll = (sc_height + 1) / 2; in commands()
HDline.c59 extern int sc_width, sc_height;
/NextBSD/sys/powerpc/ofw/
HDofw_syscons.c276 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 …]
HDofw_syscons.h41 int sc_height; member
/NextBSD/sys/dev/fb/
HDcreator.c71 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()
HDmachfb.c97 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/
HDxboxfb.c66 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()