Lines Matching defs:line

54 wchar_t	lbuff[LINELN], *line;
131 line = lbuff;
136 if (*line) {
139 *line = 'X';
141 *line = temp_off = '\0';
149 if (*line)
151 *line = ESC;
153 *line = 'Y';
155 *line = '\0';
169 case '7': /* reverse full line feed */
174 case '8': /* reverse half line feed */
186 case '9': /* forward half line feed */
202 *line = c;
204 *line = '\0';
243 *line = '\b';
245 *line = '\0';
306 line = lbuff;
311 if (*line != '\b')
314 switch (*line) {
320 *line = ' ';
328 lp += wcscrwidth(*line);
332 while (*line == '\b') {
339 for (n = 0; *line == '\b'; incr_line(1)) {
344 i = *line;
351 while (*line == ESC)
354 widthl = wcscrwidth(*line);
355 if (bflag || (*line == '\0') || *line == ' ') {
356 if (*line == '\0' || widthl == widthc) {
357 *line = c;
360 wsinsert(line, n);
361 *line = c;
364 *line = ' ';
367 line = lbuff;
371 if (line < lbuffend) {
372 for (p1 = line+1; n > 0 && p1 < lbuffend;
376 *line = c;
378 (void) wcscpy(line+1, p1);
394 c1 = *line;
395 *line = ESC;
397 c2 = *line;
398 *line = '[';
400 c3 = *line;
401 *line = '\b';
403 c4 = *line;
404 *line = ESC;
406 c5 = *line;
407 *line = ']';
409 c6 = *line;
410 *line = c;
413 c7 = *line;
414 *line = c1;
427 c1 = *line;
428 *line = '\b';
430 c2 = *line;
431 *line = c;
434 c3 = *line;
435 *line = c1;
443 c1 = *line;
446 wsinsert(line, width + (width - widthc + 1));
448 *line = '\b';
451 *line = c;
454 *line = ' ';
460 line = lbuff;
488 line = lbuff;
491 (void) wcscpy(line, page[lno]);
616 * incr_line - increments line pointer and checks for array out of bounds
618 * exit on error to avoid line pointer accessing out of the array
623 if (line < lbuffend - amt + 1) {
624 line += amt;