Searched refs:linbuf (Results 1 - 21 of 21) sorted by relevance

/freebsd-9.3-release/contrib/tcsh/
H A Dsh.print.c109 char linbuf[2048]; /* was 128 */ variable
110 char *linp = linbuf;
211 if (linp >= &linbuf[sizeof linbuf - 10])
219 linp = linbuf;
230 if (linp == linbuf)
232 if (GettingInput && !Tty_raw_mode && linp < &linbuf[sizeof linbuf - 10])
239 linp = linbuf; /* avoid recursion as stderror calls flush */
260 if (xwrite(unit, linbuf, lin
[all...]
H A Dsh.proc.c1007 if (pcond && linp != linbuf && !(flag & FANCY) &&
1012 if (pcond && linp != linbuf)
1127 if (linp != linbuf)
1149 if (linp != linbuf)
H A Dsh.h1197 extern char linbuf[];
/freebsd-9.3-release/contrib/cvs/diff/
H A Difdef.c273 char const * const *linbuf = file->linbuf; local
284 write_output (linbuf[from],
285 (linbuf[upto] + (linbuf[upto][-1] != '\n')
286 - linbuf[from]));
291 write_output (linbuf[from],
292 linbuf[upto] - linbuf[from]);
314 output_1_line (linbuf[fro
[all...]
H A Dnormal.c60 print_1_line ("<", &files[0].linbuf[i]);
68 print_1_line (">", &files[1].linbuf[i]);
H A Ded.c79 if (files[1].linbuf[i][0] == '.'
80 && files[1].linbuf[i][1] == '\n')
91 print_1_line ("", &files[1].linbuf[i]);
140 print_1_line ("", &files[1].linbuf[i]);
199 print_1_line ("", &files[1].linbuf[i]);
H A Dside.c233 print_1sdiff_line (&files[0].linbuf[i0++], ' ', &files[1].linbuf[i1++]);
235 print_1sdiff_line (0, ')', &files[1].linbuf[i1++]);
238 print_1sdiff_line (&files[0].linbuf[i0++], '(', 0);
271 print_1sdiff_line (&files[0].linbuf[i], '|', &files[1].linbuf[j]);
283 print_1sdiff_line (0, '>', &files[1].linbuf[j]);
291 print_1sdiff_line (&files[0].linbuf[i], '<', 0);
H A Dcontext.c199 print_1_line (prefix, &files[0].linbuf[i]);
228 print_1_line (prefix, &files[1].linbuf[i]);
325 print_1_line (0, &files[0].linbuf[i++]);
338 print_1_line (0, &files[0].linbuf[i++]);
349 print_1_line (0, &files[1].linbuf[j++]);
447 char const *line = file->linbuf[i];
448 size_t len = file->linbuf[i + 1] - line;
464 *linep = file->linbuf[i];
465 *lenp = file->linbuf[i + 1] - *linep;
H A Dio.c201 char const **linbuf = current->linbuf;
296 /* Omit the inserted newline when computing linbuf later. */
337 linbuf = (char const **) xrealloc (linbuf + linbuf_base,
339 * sizeof (*linbuf))
342 linbuf[line] = ip;
358 linbuf = (char const **) xrealloc (linbuf + linbuf_base,
360 * sizeof (*linbuf))
198 char const **linbuf = current->linbuf; local
[all...]
H A Dutil.c780 if (!ignore_blank_lines_flag || files[0].linbuf[i][0] != '\n')
783 char const *line = files[0].linbuf[i];
784 int len = files[0].linbuf[i + 1] - line;
796 if (!ignore_blank_lines_flag || files[1].linbuf[i][0] != '\n')
799 char const *line = files[1].linbuf[i];
800 int len = files[1].linbuf[i + 1] - line;
H A Ddiff.h230 char const **linbuf;
242 There are this many lines in the file before linbuf[0]. */
227 char const **linbuf; member in struct:file_data
H A Danalyze.c1065 free (filevec[i].linbuf + filevec[i].linbuf_base);
/freebsd-9.3-release/contrib/diff/src/
H A Difdef.c241 char const * const *linbuf = file->linbuf; local
252 fwrite (linbuf[from], sizeof (char),
253 linbuf[upto] + (linbuf[upto][-1] != '\n') - linbuf[from],
259 fwrite (linbuf[from], sizeof (char),
260 linbuf[upto] - linbuf[from], out);
280 output_1_line (linbuf[fro
[all...]
H A Dnormal.c62 print_1_line ("<", &files[0].linbuf[i]);
70 print_1_line (">", &files[1].linbuf[i]);
H A Ded.c67 if (files[1].linbuf[i][0] == '.' && files[1].linbuf[i][1] == '\n')
76 print_1_line ("", &files[1].linbuf[i]);
119 print_1_line ("", &files[1].linbuf[i]);
170 print_1_line ("", &files[1].linbuf[i]);
H A Dcontext.c190 function = find_function (files[0].linbuf, first0);
225 print_1_line (prefix, &files[0].linbuf[i]);
254 print_1_line (prefix, &files[1].linbuf[i]);
322 function = find_function (files[0].linbuf, first0);
350 print_1_line (0, &files[0].linbuf[i++]);
363 print_1_line (0, &files[0].linbuf[i++]);
374 print_1_line (0, &files[1].linbuf[j++]);
458 find_function (char const * const *linbuf, lin linenum)
467 char const *line = linbuf[i];
468 size_t linelen = linbuf[
451 find_function(char const * const *linbuf, lin linenum) argument
[all...]
H A Dside.c217 print_1sdiff_line (&files[0].linbuf[i0++], ' ',
218 &files[1].linbuf[i1++]);
220 print_1sdiff_line (0, ')', &files[1].linbuf[i1++]);
223 print_1sdiff_line (&files[0].linbuf[i0++], '(', 0);
260 print_1sdiff_line (&files[0].linbuf[i], '|', &files[1].linbuf[j]);
270 print_1sdiff_line (0, '>', &files[1].linbuf[j]);
278 print_1sdiff_line (&files[0].linbuf[i], '<', 0);
H A Dio.c230 char const **linbuf = current->linbuf;
406 /* Omit the inserted newline when computing linbuf later. */
459 || PTRDIFF_MAX / sizeof *linbuf <= alloc_lines - linbuf_base)
463 linbuf += linbuf_base;
464 linbuf = xrealloc (linbuf,
465 (alloc_lines - linbuf_base) * sizeof *linbuf);
466 linbuf -= linbuf_base;
468 linbuf[lin
226 char const **linbuf = current->linbuf; local
[all...]
H A Ddiff.h251 char const **linbuf;
263 There are this many lines in the file before linbuf[0]. */
248 char const **linbuf; member in struct:file_data
H A Dutil.c677 char const * const *linbuf0 = files[0].linbuf; /* Help the compiler. */
678 char const * const *linbuf1 = files[1].linbuf;
H A Danalyze.c1018 free (cmp->file[f].linbuf + cmp->file[f].linbuf_base);

Completed in 205 milliseconds