Home
last modified time | relevance | path

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

/netbsd/src/sbin/newfs_ext2fs/
Dmke2fs.c193 int i, len, col, delta, fld_width, max_cols; in mke2fs() local
599 max_cols = winsize.ws_col; in mke2fs()
601 max_cols = 80; in mke2fs()
604 max_cols -= 4; in mke2fs()
607 delta = verbosity > 2 ? 0 : max_cols * BASE / ncg; in mke2fs()
636 if (col + len < max_cols) in mke2fs()
648 delta = max_cols * BASE / delta; in mke2fs()
/netbsd/src/usr.bin/menuc/
Dmenu_sys.def54 static int max_lines = 0, max_cols = 0;
240 if (w + wadd > max_cols) {
244 w, wadd, max_cols, title);
250 x = (max_cols - (w + wadd)) / 2; /* center */
251 else if (x + w + wadd > max_cols)
252 x = max_cols - (w + wadd); /* right align */
671 max_cols = getmaxx(stdscr);
/netbsd/src/sbin/newfs/
Dmkfs.c192 int len, col, delta, fld_width, max_cols; in mkfs() local
677 max_cols = winsize.ws_col; in mkfs()
679 max_cols = 80; in mkfs()
682 max_cols -= 4; in mkfs()
685 delta = verbosity > 2 ? 0 : max_cols * BASE / sblock.fs_ncg; in mkfs()
704 if (col + len < max_cols) in mkfs()
716 delta = max_cols * BASE / delta; in mkfs()