Lines Matching defs:width
152 int width;
157 width = 1;
159 width = 0;
161 width = is_wide_char(ch) ? 2 : 1;
162 cmd_col += width;
163 prompt_col += width;
193 int width;
198 width = (int) strlen(pr);
203 width = 0;
205 width = (int) strlen(pr);
210 width = 0;
212 width = is_wide_char(ch) ? 2 : 1;
216 *pwidth = width;
218 *bswidth = width;
252 int width, bswidth;
254 cmd_step_left(&cp, &width, &bswidth);
257 cmd_col -= width;
281 int width;
282 constant char *pr = cmd_step_right(&np, &width, NULL);
283 if (cmd_col + width >= sc_width)
287 cmd_col += width;
292 int width;
293 constant char *pr = cmd_step_right(&np, &width, NULL);
294 if (width > 0)
324 int width;
325 cmd_step_right(&s, &width, NULL);
326 cols += width;
330 int width;
332 cmd_step_right(&ns, &width, NULL);
333 if (width > 0)
355 * left we'd have to move to traverse a half-screen width
362 int width;
363 cmd_step_left(&s, &width, NULL);
364 cols += width;
380 int width;
388 pr = cmd_step_right(&ncp, &width, NULL);
389 if (cmd_col + width >= sc_width)
391 else if (cmd_col + width == sc_width - 1 && cp[1] != '\0')
394 cmd_col += width;
398 pr = cmd_step_right(&ncp, &width, NULL);
399 if (width > 0)
413 int width = 0;
424 cmd_step_left(&ncp, &width, &bswidth);
425 if (width > 0)
428 if (cmd_col < prompt_col + width)
431 cmd_col -= width;