| /netbsd-src/bin/ksh/ |
| H A D | vi.c | 1360 static int pwidth; /* width of prompt */ variable 1443 cur_col = pwidth = promptlen(prompt, &p); 1445 if (pwidth > x_cols - 3 - MIN_EDIT_SPACE) { 1447 prompt_trunc = pwidth - cur_col; 1448 pwidth -= prompt_trunc; 1458 winwidth = x_cols - pwidth - 3; 1750 cur_col = pwidth; 1834 ncol = col + pwidth; 1862 ncol = col + pwidth - 1; 1866 ncol = col + pwidth; [all …]
|
| /netbsd-src/usr.sbin/npf/npfctl/ |
| H A D | npf_cmd.c | 414 unsigned pwidth; member 452 fprintf(fp, "%-*s %-*s ", fil->pwidth, src, fil->pwidth, dst); in npfctl_conn_print() 474 f->pwidth = f->nowide ? 0 : ((f->v4 ? 15 : 40) + 1 + 5); in npf_conn_list_v()
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | cmdbuf.c | 191 static char * cmd_step_common(char *p, LWCHAR ch, int len, int *pwidth, int *bswidth) in cmd_step_common() argument 216 if (pwidth != NULL) in cmd_step_common() 217 *pwidth = width; in cmd_step_common() 226 static char * cmd_step_right(char **pp, int *pwidth, int *bswidth) in cmd_step_right() argument 231 return cmd_step_common(p, ch, *pp - p, pwidth, bswidth); in cmd_step_right() 237 static char * cmd_step_left(char **pp, int *pwidth, int *bswidth) in cmd_step_left() argument 242 return cmd_step_common(*pp, ch, p - *pp, pwidth, bswidth); in cmd_step_left()
|
| H A D | line.c | 461 public int pwidth(LWCHAR ch, int a, LWCHAR prev_ch, int prev_a) in pwidth() function 539 width = pwidth(ch, linebuf.attr[linebuf.end], prev_ch, linebuf.attr[linebuf.end-1]); in backc() 751 w = pwidth(ch, a, prev_ch, prev_a); in store_char() 1467 int w = pwidth(ch, 0, pch, 0); in skip_columns()
|
| H A D | funcs.h | 207 public int pwidth(LWCHAR ch, int a, LWCHAR prev_ch, int prev_a);
|
| /netbsd-src/sys/arch/i386/stand/lib/ |
| H A D | vbe.c | 315 vbe_get_edid(int *pwidth, int *pheight) in vbe_get_edid() argument 337 *pwidth = vbe_edid[EDID_DESC_BLOCK + 2] | in vbe_get_edid()
|
| /netbsd-src/sys/arch/arm/broadcom/ |
| H A D | bcm283x_platform.c | 877 rpi_fb_parse_mode(const char *s, uint32_t *pwidth, uint32_t *pheight) in rpi_fb_parse_mode() argument 886 *pwidth = strtoul(s, NULL, 10); in rpi_fb_parse_mode() 896 rpi_fb_get_edid_mode(uint32_t *pwidth, uint32_t *pheight) in rpi_fb_get_edid_mode() argument 925 *pwidth = ei.edid_preferred_mode->hdisplay; in rpi_fb_get_edid_mode()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/ |
| H A D | qxl_display.c | 988 unsigned int pwidth = 1024; in qxl_conn_get_modes() local 996 pwidth = head->width; in qxl_conn_get_modes() 1004 drm_set_preferred_mode(connector, pwidth, pheight); in qxl_conn_get_modes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-ssa-sprintf.cc | 3491 const char *pwidth = 0; in parse_directive() local 3514 pwidth = pf; in parse_directive() 3596 pwidth = pf; in parse_directive() 3786 size_t begin = dir.beg - info.fmtstr + (pwidth - pcnt); in parse_directive()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gimple-ssa-sprintf.c | 3433 const char *pwidth = 0; in parse_directive() local 3456 pwidth = pf; in parse_directive() 3538 pwidth = pf; in parse_directive() 3728 size_t begin = dir.beg - info.fmtstr + (pwidth - pcnt); in parse_directive()
|