Home
last modified time | relevance | path

Searched refs:swidth (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/fb/
H A Dsplash_bmp.c52 static int bmp_Init(char *data, int swidth, int sheight, int sdepth);
219 int swidth,sheight; /* screen dimensions for the current mode */ member
249 if ((x < 0) || (x >= info->swidth) || (y < 0) || (y >= info->sheight)) in bmp_SetPix()
258 x += (info->swidth - info->width) / 2; in bmp_SetPix()
478 bmp_Init(char *data, int swidth, int sheight, int sdepth) in bmp_Init() argument
499 bmp_info.swidth = swidth; in bmp_Init()
529 (bmp_info.width > bmp_info.swidth) || in bmp_Init()
H A Dsplash_pcx.c203 int swidth, sheight, sbpsl; in pcx_draw() local
214 swidth = adp->va_info.vi_width; in pcx_draw()
224 x = (swidth - pcx_info.width) / 2; in pcx_draw()
/freebsd/contrib/less/
H A Dsearch.c619 int swidth = sc_width - line_pfx_width() - (rscroll_char ? 1 : 0); in hlist_getstorage()
623 if (end_col < swidth) /* whole string is in first screen */ in hlist_getstorage()
625 else if (start_col > hshift && end_col < hshift + swidth) in hlist_getstorage()
629 int eol_col = col_from_pos(line_pos, NULL_POSITION, end_pos, end_col) - swidth; in hlist_getstorage()
1512 size_t swidth = (size_t) (sc_width - line_pfx_width()); /*{{type-issue}}*/ in search()
1738 if (end_off >= swidth * sheight / 4) /* heuristic */ in prep_hilite()
1190 int swidth = sc_width - line_pfx_width(); search_range() local