Home
last modified time | relevance | path

Searched refs:linbuf (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/tcsh/
H A Dsh.print.c105 char linbuf[2048]; /* was 128 */ variable
106 char *linp = linbuf;
207 if (linp >= &linbuf[sizeof linbuf - 10]) in putpure()
215 linp = linbuf; in drainoline()
226 if (linp == linbuf) in flush()
228 if (GettingInput && !Tty_raw_mode && linp < &linbuf[sizeof linbuf - 10]) in flush()
235 linp = linbuf; /* avoid recursion as stderror calls flush */ in flush()
256 if (xwrite(unit, linbuf, linp - linbuf) == -1) in flush()
309 linp = linbuf; in flush()
H A Dsh.proc.c1035 if (pcond && linp != linbuf && !(flag & FANCY) && in pprint()
1040 if (pcond && linp != linbuf) in pprint()
1155 if (linp != linbuf) in pprint()
1177 if (linp != linbuf) in pprint()
H A Dsh.h1214 extern char linbuf[];
/freebsd/contrib/diff/src/
H A Difdef.c241 char const * const *linbuf = file->linbuf; in print_ifdef_lines() local
252 fwrite (linbuf[from], sizeof (char), in print_ifdef_lines()
253 linbuf[upto] + (linbuf[upto][-1] != '\n') - linbuf[from], in print_ifdef_lines()
259 fwrite (linbuf[from], sizeof (char), in print_ifdef_lines()
260 linbuf[upto] - linbuf[from], out); in print_ifdef_lines()
280 output_1_line (linbuf[from], in print_ifdef_lines()
281 (linbuf[from + 1] in print_ifdef_lines()
282 - (linbuf[from + 1][-1] == '\n')), in print_ifdef_lines()
287 output_1_line (linbuf[from], linbuf[from + 1], 0, 0); in print_ifdef_lines()
H A Dio.c226 char const **linbuf = current->linbuf; in find_and_hash_each_line() local
459 linbuf += linbuf_base; in find_and_hash_each_line()
460 linbuf = xrealloc (linbuf, in find_and_hash_each_line()
462 linbuf -= linbuf_base; in find_and_hash_each_line()
464 linbuf[line] = ip; in find_and_hash_each_line()
484 linbuf += linbuf_base; in find_and_hash_each_line()
485 linbuf = xrealloc (linbuf, in find_and_hash_each_line()
487 linbuf -= linbuf_base; in find_and_hash_each_line()
489 linbuf[line] = p; in find_and_hash_each_line()
504 current->linbuf = linbuf; in find_and_hash_each_line()
[all …]
H A Dside.c217 print_1sdiff_line (&files[0].linbuf[i0++], ' ', in print_sdiff_common_lines()
218 &files[1].linbuf[i1++]); in print_sdiff_common_lines()
220 print_1sdiff_line (0, ')', &files[1].linbuf[i1++]); in print_sdiff_common_lines()
223 print_1sdiff_line (&files[0].linbuf[i0++], '(', 0); in print_sdiff_common_lines()
260 print_1sdiff_line (&files[0].linbuf[i], '|', &files[1].linbuf[j]); in print_sdiff_hunk()
270 print_1sdiff_line (0, '>', &files[1].linbuf[j]); in print_sdiff_hunk()
278 print_1sdiff_line (&files[0].linbuf[i], '<', 0); in print_sdiff_hunk()
H A Dcontext.c187 function = find_function (files[0].linbuf, first0); in pr_context_hunk()
222 print_1_line (prefix, &files[0].linbuf[i]); in pr_context_hunk()
251 print_1_line (prefix, &files[1].linbuf[i]); in pr_context_hunk()
317 function = find_function (files[0].linbuf, first0); in pr_unidiff_hunk()
345 print_1_line (0, &files[0].linbuf[i++]); in pr_unidiff_hunk()
358 print_1_line (0, &files[0].linbuf[i++]); in pr_unidiff_hunk()
369 print_1_line (0, &files[1].linbuf[j++]); in pr_unidiff_hunk()
451 find_function (char const * const *linbuf, lin linenum) in find_function() argument
460 char const *line = linbuf[i]; in find_function()
461 size_t linelen = linbuf[i + 1] - line - 1; in find_function()
[all …]
H A Ded.c66 if (files[1].linbuf[i][0] == '.' && files[1].linbuf[i][1] == '\n') in print_ed_hunk()
75 print_1_line ("", &files[1].linbuf[i]); in print_ed_hunk()
117 print_1_line ("", &files[1].linbuf[i]); in pr_forward_ed_hunk()
167 print_1_line ("", &files[1].linbuf[i]); in print_rcs_hunk()
H A Dnormal.c62 print_1_line ("<", &files[0].linbuf[i]); in print_normal_hunk()
70 print_1_line (">", &files[1].linbuf[i]); in print_normal_hunk()
H A Ddiff.h248 char const **linbuf; member
H A Dutil.c668 char const * const *linbuf0 = files[0].linbuf; /* Help the compiler. */ in analyze_hunk()
669 char const * const *linbuf1 = files[1].linbuf; in analyze_hunk()
H A Danalyze.c1013 free (cmp->file[f].linbuf + cmp->file[f].linbuf_base); in diff_2_files()
/freebsd/contrib/diff/
H A DChangeLog2054 Help the compiler with linbuf local vars.
3005 in common prefix that are not recorded in linbuf;
3010 linbuf[0] now always points at first differing line.
3067 Set up linbuf[0] to point at first differing line.