/freebsd/contrib/less/ |
H A D | position.c | 27 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 D | jump.c | 20 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 D | forwback.c | 30 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 D | screen.c | 135 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 D | signal.c | 30 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 D | mark.c | 15 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 D | prompt.c | 27 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 D | search.c | 37 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 D | linenum.c | 70 extern int sc_height; 460 while (pos == NULL_POSITION && where >= 0 && where < sc_height)
|
H A D | optfunc.c | 36 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 D | decode.c | 38 extern int sc_height; 529 if (y < sc_height-1) in x116mouse_action() 547 if (y < sc_height-1) in cmd_search()
|
H A D | command.c | 29 extern int sc_height; 1314 wscroll = (sc_height + 1) / 2; in commands()
|
H A D | line.c | 98 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 D | 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 …]
|
H A D | ofw_syscons.h | 41 int sc_height; member
|