Home
last modified time | relevance | path

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

/freebsd/contrib/less/
H A Dposition.c27 extern int sc_width, sc_height;
44 sindex = sc_height - 2; in position()
47 sindex = sc_height - 1; in position()
50 sindex = (sc_height - 1) / 2; in position()
66 for (i = 1; i < sc_height; i++) in add_forw_pos()
68 table[sc_height - 1] = pos; in add_forw_pos()
81 for (i = sc_height - 1; i > 0; i--) in add_back_pos()
93 for (i = 0; i < sc_height; i++) in pos_clear()
104 if (sc_height <= table_size) in pos_init()
116 table = (POSITION *) ecalloc((size_t) sc_height, sizeo in pos_init()
[all...]
H A Djump.c20 extern int sc_width, sc_height;
39 if (position(sc_height-1) == end_pos) in jump_forw()
58 jump_loc(ch_zero(), sc_height-1); in jump_forw()
61 jump_loc(pos, sc_height-1); in jump_forw()
62 if (position(sc_height-1) != end_pos) in jump_forw()
81 jump_line_loc(end-1, sc_height-1); in jump_forw_buffered()
288 forw(sc_height-sindex+nline-1, bpos, 1, 0, 0); in jump_loc()
310 forw(sc_height-1, pos, 1, 0, sindex-nline); in jump_loc()
319 for (nline = sindex; nline < sc_height - 1; nline++) in jump_loc()
356 back(sc_height
[all...]
H A Dforwback.c30 extern int sc_width, sc_height;
186 for (ln = 0; ln < sc_height-1; ++ln) in overlay_header()
234 do_repaint = (only_last && n > sc_height-1) || in forw()
235 (forw_scroll >= 0 && n > forw_scroll && n != sc_height-1); in forw()
246 if (top_scroll && n >= sc_height - 1 && pos != ch_length()) in forw()
320 empty_lines(2, sc_height-1)) in forw()
399 do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1) || header_lines > 0);
474 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1))) in forward()
522 * back_scroll, because the default case depends on sc_height and
532 return (sc_height in get_back_scroll()
[all...]
H A Dscreen.c135 extern int sc_height;
236 public int sc_width, sc_height; /* Height & width of screen */
883 sc_height = sys_height; in scrsize()
885 sc_height = atoi(s); in scrsize()
888 sc_height = n; in scrsize()
893 sc_height = (height < 0) ? sc_height + height : height; in scrsize()
896 if (sc_height <= 0) in scrsize()
897 sc_height = DEF_SC_HEIGHT; in scrsize()
1421 strcpy(sp, tgoto(sc_move, 0, sc_height in get_term()
239 public int sc_width, sc_height; /* Height & width of screen */ global() variable
[all...]
H A Dsignal.c30 extern int sc_width, sc_height;
251 old_height = sc_height; in psignals()
253 if (sc_width != old_width || sc_height != old_height) in psignals()
255 wscroll = (sc_height + 1) / 2; in psignals()
H A Dmark.c15 extern int sc_height;
152 cmark(m, curr_ifile, ch_tell(), sc_height); in getmark()
416 if (ln > sc_height) in restore_mark()
417 ln = sc_height; in restore_mark()
H A Dprompt.c27 extern int sc_height;
180 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1) in cond()
267 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - header_lines - 1)) + 1) in protochar()
283 if (linenum > 0 && sc_height > header_lines + 1) in protochar()
H A Dsearch.c37 extern int sc_height;
287 for (sindex = TOP; sindex < TOP + sc_height-1; sindex++)
330 for (sindex = TOP; sindex < TOP + sc_height-1; sindex++) in clear_attn()
1147 sindex = sc_height-1; /* BOTTOM_PLUS_ONE */ in get_lastlinepos()
1158 sindex = sc_height-1; /* BOTTOM_PLUS_ONE */
1182 if (++sindex >= sc_height) in search_range()
1513 size_t sheight = (size_t) (sc_height - sindex_from_sline(jump_sline)); in search()
H A Dlinenum.c70 extern int sc_height;
460 while (pos == NULL_POSITION && where >= 0 && where < sc_height)
H A Doptfunc.c36 extern int sc_height;
243 jump_sline = (int) muldiv(sc_height, jump_sline_fraction, NUM_FRAC_DENOM); in opt_shift()
1227 return (sc_height - header_lines + swindow);
H A Ddecode.c38 extern int sc_height;
529 if (y < sc_height-1) in x116mouse_action()
547 if (y < sc_height-1) in cmd_search()
H A Dcommand.c29 extern int sc_height;
1314 wscroll = (sc_height + 1) / 2; in commands()
H A Dline.c98 extern int sc_width, sc_height;
1694 for (sline = TOP; sline < sc_height; sline++)
1697 for (; sline < sc_height && pos != NULL_POSITION; sline++)
/freebsd/sys/powerpc/ofw/
H A Dofw_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 …]
H A Dofw_syscons.h41 int sc_height; member