Searched refs:sc_height (Results 1 - 18 of 18) sorted by relevance

/freebsd-9.3-release/contrib/less/
H A Dposition.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++)
110 if (sc_height <= table_size)
122 table = (POSITION *) ecalloc(sc_height, sizeo
[all...]
H A Dforwback.c28 extern int sc_width, sc_height;
145 do_repaint = (only_last && n > sc_height-1) ||
146 (forw_scroll >= 0 && n > forw_scroll && n != sc_height-1);
150 if (top_scroll && n >= sc_height - 1 && pos != ch_length())
222 empty_lines(2, sc_height-1))
301 do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1));
363 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1)))
415 * back_scroll, because the default case depends on sc_height and
426 return (sc_height - 2);
H A Djump.c21 extern int sc_width, sc_height;
54 jump_loc((POSITION)0, sc_height-1);
57 jump_loc(pos, sc_height-1);
58 if (position(sc_height-1) != end_pos)
241 forw(sc_height-sline+nline-1, bpos, 1, 0, 0);
263 forw(sc_height-1, pos, 1, 0, sline-nline);
272 for (nline = sline; nline < sc_height - 1; nline++)
306 back(sc_height-1, pos, 1, 0);
H A Dsignal.c30 extern int sc_width, sc_height;
244 old_height = sc_height;
246 if (sc_width != old_width || sc_height != old_height)
248 wscroll = (sc_height + 1) / 2;
H A Dscreen.c111 extern int sc_height;
195 public int sc_width, sc_height; /* Height & width of screen */ variable
798 sc_height = sys_height;
800 sc_height = atoi(s);
803 sc_height = n;
805 if (sc_height <= 0)
806 sc_height = DEF_SC_HEIGHT;
1299 strcpy(sp, tgoto(sc_move, 0, sc_height-1));
1365 tputs(t, sc_height, inc_costcount);
1470 for (row = 0; row < sc_height; ro
[all...]
H A Dmark.c14 extern int sc_height;
97 m->m_scrpos.ln = sc_height-1;
H A Dprompt.c30 extern int sc_height;
169 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1)
260 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - 1)) + 1)
276 if (linenum > 0 && sc_height > 1)
H A Doptfunc.c36 extern int sc_height;
195 jump_sline = sc_height * jump_sline_fraction / NUM_FRAC_DENOM;
727 return (sc_height + swindow);
H A Dlinenum.c69 extern int sc_height;
462 while (pos == NULL_POSITION && where >= 0 && where < sc_height)
H A Dsearch.c28 extern int sc_height;
245 for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++)
286 for (slinenum = TOP; slinenum < TOP + sc_height-1; slinenum++)
716 if (++linenum >= sc_height)
H A Dcommand.c29 extern int sc_height;
1025 wscroll = (sc_height + 1) / 2;
H A Dline.c60 extern int sc_width, sc_height;
/freebsd-9.3-release/sys/powerpc/ofw/
H A Dofw_syscons.h40 int sc_height; member in struct:ofwfb_softc
H A Dofw_syscons.c270 OF_getprop(node, "height", &sc->sc_height, sizeof(sc->sc_height));
283 bus_space_map(&bs_be_tag, fb_phys, sc->sc_height * sc->sc_stride,
348 vi->vi_height = sc->sc_height/sc->sc_font_height - 2*cborder;
360 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2;
502 addr = (uint8_t *) sc->sc_addr + (sc->sc_height - sc->sc_ymargin)*sc->sc_stride;
512 for (i = 0; i < sc->sc_height - 2*sc->sc_xmargin; i++) {
595 end = (sc->sc_stride/4) * sc->sc_height;
619 for (i = 0; i < (sc->sc_stride/4)*sc->sc_height; i++)
676 if (offset < sc->sc_stride*sc->sc_height) {
[all...]
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dps3_syscons.c113 int sc_height; member in struct:ps3fb_softc
269 sc->sc_height = 480;
359 vi->vi_height = sc->sc_height/sc->sc_font_height - 2*cyborder;
371 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2;
532 for (i = 0; i < (sc->sc_stride/4)*sc->sc_height; i++)
550 if (offset < sc->sc_stride*sc->sc_height) {
681 for (i = 0; i < size && i+y < sc->sc_height - 2*sc->sc_ymargin; i++) {
/freebsd-9.3-release/sys/dev/fb/
H A Dcreator.c71 u_int sc_height; member in struct:creator_softc
476 if (OF_getprop(sc->sc_node, "height", &sc->sc_height,
477 sizeof(sc->sc_height)) == -1)
497 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight)) / 2;
612 creator_fill_rect(adp, border, 0, sc->sc_height - sc->sc_ymargin,
614 creator_fill_rect(adp, border, 0, 0, sc->sc_xmargin, sc->sc_height);
616 sc->sc_xmargin, sc->sc_height);
714 fb->fb_height = sc->sc_height;
740 sc->sc_height);
1004 device_printf(dev, "resolution %dx%d\n", sc->sc_width, sc->sc_height);
[all...]
H A Dmachfb.c97 u_int sc_height; member in struct:machfb_softc
549 if (OF_getprop(sc->sc_node, "height", &sc->sc_height,
550 sizeof(sc->sc_height)) == -1)
574 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight)) / 2;
757 machfb_fill_rect(adp, border, 0, sc->sc_height - sc->sc_ymargin,
759 machfb_fill_rect(adp, border, 0, 0, sc->sc_xmargin, sc->sc_height);
761 sc->sc_xmargin, sc->sc_height);
887 fb->fb_height = sc->sc_height;
919 sc->sc_height);
1316 sc->sc_width, sc->sc_height, s
[all...]
/freebsd-9.3-release/sys/i386/xbox/
H A Dxboxfb.c66 uint32_t sc_height; member in struct:xboxfb_softc
222 sc->sc_height = SCREEN_HEIGHT;
250 for (i = 0; i < sc->sc_height * sc->sc_width; i++)
260 vi->vi_height = (sc->sc_height / vi->vi_cheight);
640 if (x < 0 || y < 0 || x + width > sc->sc_width || y + (2 * size) > sc->sc_height)

Completed in 399 milliseconds