Searched refs:sc_height (Results 1 – 15 of 15) sorted by relevance
| /freebsd-14.2/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() 104 if (sc_height <= table_size) in pos_init() 117 table_size = sc_height; in pos_init() 226 sline += sc_height; in sindex_from_sline() 232 if (sline > sc_height) in sindex_from_sline() [all …]
|
| H A D | jump.c | 21 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() 255 forw(sc_height-sindex+nline-1, bpos, 1, 0, 0); in jump_loc() 277 forw(sc_height-1, pos, 1, 0, sindex-nline); in jump_loc() 286 for (nline = sindex; nline < sc_height - 1; nline++) in jump_loc() 323 back(sc_height-1, pos, 1, 0); in jump_loc()
|
| H A D | forwback.c | 30 extern int sc_width, sc_height; 185 for (ln = 0; ln < sc_height-1; ++ln) in overlay_header() 231 do_repaint = (only_last && n > sc_height-1) || in forw() 232 (forw_scroll >= 0 && n > forw_scroll && n != sc_height-1); in forw() 243 if (top_scroll && n >= sc_height - 1 && pos != ch_length()) in forw() 317 empty_lines(2, sc_height-1)) in forw() 409 do_repaint = (n > get_back_scroll() || (only_last && n > sc_height-1) || header_lines > 0); in back() 478 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1))) in forward() 536 return (sc_height - 2); in get_back_scroll() 548 for (nlines = 0; nlines < sc_height; nlines++) in get_one_screen() [all …]
|
| H A D | screen.c | 135 extern int sc_height; 893 sc_height = sys_height; in scrsize() 895 sc_height = atoi(s); in scrsize() 898 sc_height = n; in scrsize() 903 sc_height = (height < 0) ? sc_height + height : height; in scrsize() 906 if (sc_height <= 0) in scrsize() 907 sc_height = DEF_SC_HEIGHT; in scrsize() 1947 if (n >= sc_height - 1) 1982 goto_line(sc_height - n - 1); 2034 if (n >= sc_height - 1) in win32_scroll_up() [all …]
|
| H A D | signal.c | 30 extern int sc_width, sc_height; 250 old_height = sc_height; in psignals() 252 if (sc_width != old_width || sc_height != old_height) in psignals() 254 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 | 29 extern int sc_height; 155 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1) in curr_byte() 243 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - header_lines - 1)) + 1) in protochar() 259 if (linenum > 0 && sc_height > header_lines + 1) in protochar()
|
| H A D | search.c | 26 extern int sc_height; 39 extern int sc_height; 269 for (sindex = TOP; sindex < TOP + sc_height-1; sindex++) in repaint_hilite() 312 for (sindex = TOP; sindex < TOP + sc_height-1; sindex++) in clear_attn() 1055 sindex = sc_height-1; /* BOTTOM_PLUS_ONE */ in search_pos() 1066 sindex = sc_height-1; /* BOTTOM_PLUS_ONE */ in search_pos() 1090 if (++sindex >= sc_height) in search_pos() 1191 int sheight = sc_height - sindex_from_sline(jump_sline); in search_range()
|
| H A D | linenum.c | 70 extern int sc_height; 451 while (pos == NULL_POSITION && where >= 0 && where < sc_height) in currline()
|
| H A D | optfunc.c | 36 extern int sc_height; 216 jump_sline = (int) muldiv(sc_height, jump_sline_fraction, NUM_FRAC_DENOM); in calc_jump_sline() 1094 return (sc_height - header_lines + swindow); in get_swindow()
|
| H A D | decode.c | 40 extern int sc_height; 451 if (y < sc_height-1) in mouse_button_rel()
|
| H A D | command.c | 30 extern int sc_height; 1230 wscroll = (sc_height + 1) / 2; in commands()
|
| H A D | line.c | 99 extern int sc_width, sc_height; 1529 for (line = 0; line < sc_height && pos != NULL_POSITION; line++) in rrshift()
|
| /freebsd-14.2/sys/powerpc/ofw/ |
| H A D | ofw_syscons.c | 277 if (OF_getproplen(node, "height") != sizeof(sc->sc_height) || in ofwfb_configure() 285 OF_getprop(node, "height", &sc->sc_height, sizeof(sc->sc_height)); in ofwfb_configure() 314 bus_space_map(sc->sc_tag, fb_phys, sc->sc_height * in ofwfb_configure() 328 sc->sc_stride*sc->sc_height) in ofwfb_configure() 395 vi->vi_height = sc->sc_height/sc->sc_font_height - 2*cborder; in ofwfb_init() 407 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2; in ofwfb_init() 561 for (i = 0; i < sc->sc_height - 2*sc->sc_xmargin; i++) { in ofwfb_set_border8() 644 end = (sc->sc_stride/4) * sc->sc_height; in ofwfb_blank_display8() 669 for (i = 0; i < (sc->sc_stride/4)*sc->sc_height; i++) in ofwfb_blank_display32() 726 if (offset < sc->sc_stride*sc->sc_height) { in ofwfb_mmap() [all …]
|
| H A D | ofw_syscons.h | 41 int sc_height; member
|