Lines Matching refs:line_length

127 	int line_length;	/* actual number of characters in the line */
566 dlt_line->line_length = 0;
569 curr_line->line_length = 1;
706 if ((curr_line->max_length - curr_line->line_length) < 5)
708 curr_line->line_length++;
711 while (counter < curr_line->line_length) /* find end of line */
769 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
795 curr_line->line_length -= del_width;
812 while (temp_pos <= curr_line->line_length)
830 point = resiz_line(temp_buff->line_length, curr_line, position);
842 while (temp_pos < temp_buff->line_length)
844 curr_line->line_length++;
871 draw_line(last_line, 0, tp, 1, temp_buff->line_length);
875 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
1076 temp_nod->line_length = 1;
1086 if (temp_pos2 < curr_line->line_length)
1089 while (temp_pos2 < curr_line->line_length)
1091 if ((temp_nod->max_length - temp_nod->line_length)< 5)
1093 temp_nod->line_length++;
1102 temp = resiz_line((1 - temp_nod->line_length), curr_line, position);
1103 curr_line->line_length = 1 + temp - curr_line->line;
1105 curr_line->line_length = position;
1134 curr_line->line_length);
1376 draw_line(last_line,0,point,1,curr_line->line_length);
1392 draw_line(0,0,point,1,curr_line->line_length);
1396 while (position < curr_line->line_length)
1426 point = curr_line->line + curr_line->line_length;
1427 position = curr_line->line_length;
1442 if (position < curr_line->line_length)
1445 ((curr_line->line_length - position) >= 2))
1483 while ((scr_horz < scr_pos) && (position < curr_line->line_length))
1490 ((curr_line->line_length - position) >= 2))
1738 wprintw(com_win, line_len_str, curr_line->line_length);
2262 if (curr_line->line_length > 1) /* if current line is not blank */
2276 if ((can_read) && (curr_line->line_length == 1))
2354 curr_line->line_length = char_count;
2359 point = resiz_line(char_count, curr_line, curr_line->line_length);
2360 curr_line->line_length += (char_count - 1);
2388 draw_line(temp_vert, 0, line_out, 1, temp_line->line_length);
2495 curr_line->line_length = 1;
2555 while (temp_pos < out_line->line_length)
2561 charac += out_line->line_length;
2600 if (position < curr_line->line_length)
2605 while ((iter < srch_line->line_length) && (!found))
2631 if (iter < srch_line->line_length)
2717 if (position < curr_line->line_length) /* if not end of line */
2720 ((curr_line->line_length - position) >= 2))
2765 d_word = malloc(curr_line->line_length);
2772 while ((tposit < curr_line->line_length) &&
2780 while ((tposit < curr_line->line_length) &&
2791 while (tposit < curr_line->line_length)
2798 curr_line->line_length -= difference;
2800 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length);
2821 if ((curr_line->max_length - (curr_line->line_length + d_wrd_len)) < 5)
2823 tmp_ptr = tmp_space = malloc(curr_line->line_length + d_wrd_len);
2842 while (tposit < curr_line->line_length)
2850 curr_line->line_length += d_wrd_len;
2867 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length);
2879 d_line = malloc(curr_line->line_length);
2883 while (tposit < curr_line->line_length)
2890 dlt_line->line_length = 1 + tposit - position;
2893 curr_line->line_length = position;
2910 if (dlt_line->line_length == 0)
2915 point = resiz_line(dlt_line->line_length, curr_line, position);
2916 curr_line->line_length += dlt_line->line_length - 1;
2920 while (tposit < dlt_line->line_length)
2928 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length);
2934 while ((position < curr_line->line_length) && ((*point != 32) && (*point != 9)))
2936 while ((position < curr_line->line_length) && ((*point == 32) || (*point == 9)))
3011 if (position < curr_line->line_length)
3013 while (position < curr_line->line_length)
3019 while (position < curr_line->line_length)
3044 while (position < curr_line->line_length)
3216 write(pipe_out[1], line_holder->line, (line_holder->line_length-1));
3891 while (((*line == ' ') || (*line == '\t')) && (length < test_line->line_length))
3896 if (length != test_line->line_length)
3953 temp2 = srch_str = (unsigned char *) malloc(1 + curr_line->line_length - position);
3959 while ((*temp1 != '\0') && (*temp1 != ' ') && (*temp1 != '\t') && (counter < curr_line->line_length))
4025 while (position < curr_line->line_length)
4038 while (position < curr_line->line_length)
4063 while (position < curr_line->line_length)
4065 while ((scr_pos < right_margin) && (position < curr_line->line_length))
4067 if (position < curr_line->line_length)
4534 tmp_d_line_length = dlt_line->line_length;
4538 if ((position != 1) && ((*point == ' ') || (*point == '\t') || (position == curr_line->line_length) || (*point == '\0')))
4547 temp2 = srch_str = (unsigned char *) malloc(1 + curr_line->line_length - position);
4553 while ((*temp1 != '\0') && (*temp1 != ' ') && (*temp1 != '\t') && (counter < curr_line->line_length))
4593 if (position != curr_line->line_length)
4748 dlt_line->line_length = tmp_d_line_length;