Lines Matching refs:line_length

124 	int line_length;	/* actual number of characters in the line */
562 dlt_line->line_length = 0;
565 curr_line->line_length = 1;
700 if ((curr_line->max_length - curr_line->line_length) < 5)
702 curr_line->line_length++;
705 while (counter < curr_line->line_length) /* find end of line */
763 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
789 curr_line->line_length -= del_width;
806 while (temp_pos <= curr_line->line_length)
824 point = resiz_line(temp_buff->line_length, curr_line, position);
836 while (temp_pos < temp_buff->line_length)
838 curr_line->line_length++;
865 draw_line(last_line, 0, tp, 1, temp_buff->line_length);
869 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
1063 temp_nod->line_length = 1;
1073 if (temp_pos2 < curr_line->line_length)
1076 while (temp_pos2 < curr_line->line_length)
1078 if ((temp_nod->max_length - temp_nod->line_length)< 5)
1080 temp_nod->line_length++;
1089 temp = resiz_line((1 - temp_nod->line_length), curr_line, position);
1090 curr_line->line_length = 1 + temp - curr_line->line;
1092 curr_line->line_length = position;
1121 curr_line->line_length);
1373 draw_line(last_line,0,point,1,curr_line->line_length);
1390 draw_line(0,0,point,1,curr_line->line_length);
1394 while (position < curr_line->line_length)
1424 point = curr_line->line + curr_line->line_length;
1425 position = curr_line->line_length;
1440 if (position < curr_line->line_length)
1443 ((curr_line->line_length - position) >= 2))
1482 while ((scr_horz < scr_pos) && (position < curr_line->line_length))
1489 ((curr_line->line_length - position) >= 2))
1740 wprintw(com_win, line_len_str, curr_line->line_length);
2254 if (curr_line->line_length > 1) /* if current line is not blank */
2268 if ((can_read) && (curr_line->line_length == 1))
2344 curr_line->line_length = char_count;
2349 point = resiz_line(char_count, curr_line, curr_line->line_length);
2350 curr_line->line_length += (char_count - 1);
2378 draw_line(temp_vert, 0, line_out, 1, temp_line->line_length);
2485 curr_line->line_length = 1;
2543 while (temp_pos < out_line->line_length)
2549 charac += out_line->line_length;
2588 if (position < curr_line->line_length)
2593 while ((iter < srch_line->line_length) && (!found))
2619 if (iter < srch_line->line_length)
2707 if (position < curr_line->line_length) /* if not end of line */
2710 ((curr_line->line_length - position) >= 2))
2757 d_word = malloc(curr_line->line_length);
2764 while ((tposit < curr_line->line_length) &&
2772 while ((tposit < curr_line->line_length) &&
2783 while (tposit < curr_line->line_length)
2790 curr_line->line_length -= difference;
2792 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length);
2814 if ((curr_line->max_length - (curr_line->line_length + d_wrd_len)) < 5)
2816 tmp_ptr = tmp_space = malloc(curr_line->line_length + d_wrd_len);
2835 while (tposit < curr_line->line_length)
2843 curr_line->line_length += d_wrd_len;
2860 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
2873 d_line = malloc(curr_line->line_length);
2877 while (tposit < curr_line->line_length)
2884 dlt_line->line_length = 1 + tposit - position;
2887 curr_line->line_length = position;
2905 if (dlt_line->line_length == 0)
2910 point = resiz_line(dlt_line->line_length, curr_line, position);
2911 curr_line->line_length += dlt_line->line_length - 1;
2915 while (tposit < dlt_line->line_length)
2923 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length);
2930 while ((position < curr_line->line_length) && ((*point != 32) && (*point != 9)))
2932 while ((position < curr_line->line_length) && ((*point == 32) || (*point == 9)))
3007 if (position < curr_line->line_length)
3009 while (position < curr_line->line_length)
3015 while (position < curr_line->line_length)
3042 while (position < curr_line->line_length)
3214 write(pipe_out[1], line_holder->line, (line_holder->line_length-1));
3883 while (((*line == ' ') || (*line == '\t')) && (length < test_line->line_length))
3888 if (length != test_line->line_length)
3946 temp2 = srch_str = (unsigned char *) malloc(1 + curr_line->line_length - position);
3952 while ((*temp1 != '\0') && (*temp1 != ' ') && (*temp1 != '\t') && (counter < curr_line->line_length))
4018 while (position < curr_line->line_length)
4031 while (position < curr_line->line_length)
4056 while (position < curr_line->line_length)
4058 while ((scr_pos < right_margin) && (position < curr_line->line_length))
4060 if (position < curr_line->line_length)
4530 tmp_d_line_length = dlt_line->line_length;
4534 if ((position != 1) && ((*point == ' ') || (*point == '\t') || (position == curr_line->line_length) || (*point == '\0')))
4543 temp2 = srch_str = (unsigned char *) malloc(1 + curr_line->line_length - position);
4549 while ((*temp1 != '\0') && (*temp1 != ' ') && (*temp1 != '\t') && (counter < curr_line->line_length))
4589 if (position != curr_line->line_length)
4744 dlt_line->line_length = tmp_d_line_length;