Home
last modified time | relevance | path

Searched refs:linebuffer (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Devent-top.c150 char *linebuffer; member
600 static char *linebuffer = 0; in command_line_handler() local
619 if (linebuffer == 0) in command_line_handler()
622 linebuffer = (char *) xmalloc (linelength); in command_line_handler()
625 p = linebuffer; in command_line_handler()
629 strcpy (linebuffer, readline_input_state.linebuffer); in command_line_handler()
631 xfree (readline_input_state.linebuffer); in command_line_handler()
665 if (strlen (rl) + 1 + (p - linebuffer) > linelength) in command_line_handler()
667 linelength = strlen (rl) + 1 + (p - linebuffer); in command_line_handler()
668 nline = (char *) xrealloc (linebuffer, linelength); in command_line_handler()
[all …]
H A Dtop.c1109 static char *linebuffer = 0; in command_line_input() local
1135 if (linebuffer == 0) in command_line_input()
1138 linebuffer = (char *) xmalloc (linelength); in command_line_input()
1141 p = linebuffer; in command_line_input()
1203 if (strlen (rl) + 1 + (p - linebuffer) > linelength) in command_line_input()
1205 linelength = strlen (rl) + 1 + (p - linebuffer); in command_line_input()
1206 nline = (char *) xrealloc (linebuffer, linelength); in command_line_input()
1207 p += nline - linebuffer; in command_line_input()
1208 linebuffer = nline; in command_line_input()
1218 if (p == linebuffer || *(p - 1) != '\\') in command_line_input()
[all …]
H A Dutils.c1955 fputs_maybe_filtered (const char *linebuffer, struct ui_file *stream, in fputs_maybe_filtered() argument
1960 if (linebuffer == 0) in fputs_maybe_filtered()
1967 fputs_unfiltered (linebuffer, stream); in fputs_maybe_filtered()
1975 lineptr = linebuffer; in fputs_maybe_filtered()
2056 fputs_filtered (const char *linebuffer, struct ui_file *stream) in fputs_filtered() argument
2058 fputs_maybe_filtered (linebuffer, stream, 1); in fputs_filtered()
2200 char *linebuffer; in vfprintf_maybe_filtered() local
2203 linebuffer = xstrvprintf (format, args); in vfprintf_maybe_filtered()
2204 old_cleanups = make_cleanup (xfree, linebuffer); in vfprintf_maybe_filtered()
2205 fputs_maybe_filtered (linebuffer, stream, filter); in vfprintf_maybe_filtered()
[all …]
H A Dui-file.c489 stdio_file_fputs (const char *linebuffer, struct ui_file *file) in stdio_file_fputs() argument
495 fputs (linebuffer, stdio->file); in stdio_file_fputs()
599 tee_file_fputs (const char *linebuffer, struct ui_file *file) in tee_file_fputs() argument
605 tee->one->to_fputs (linebuffer, tee->one); in tee_file_fputs()
606 tee->two->to_fputs (linebuffer, tee->two); in tee_file_fputs()
/openbsd-src/gnu/usr.bin/texinfo/util/
H A Dtexindex.c48 struct linebuffer;
140 long readline (struct linebuffer *linebuffer, FILE *stream);
822 /* A `struct linebuffer' is a structure which holds a line of text. struct
823 `readline' reads a line from a stream into a linebuffer
826 struct linebuffer
835 initbuffer (struct linebuffer *linebuffer) in initbuffer()
837 linebuffer->size = 200;
838 linebuffer
831 initbuffer(struct linebuffer * linebuffer) initbuffer() argument
841 readline(struct linebuffer * linebuffer,FILE * stream) readline() argument
[all...]
/openbsd-src/gnu/usr.bin/binutils/gdb/tui/
H A Dtui-file.c167 tui_file_fputs (const char *linebuffer, struct ui_file *file) in tui_file_fputs() argument
173 tui_file_adjust_strbuf (strlen (linebuffer), file); in tui_file_fputs()
174 strcat (stream->ts_strbuf, linebuffer); in tui_file_fputs()
178 tui_puts (linebuffer); in tui_file_fputs()
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Dmkisofs.c437 char linebuffer[256]; in FDECL1() local
493 while (fgets(linebuffer, sizeof(linebuffer), rcfile)) in FDECL1()
499 pnt = linebuffer; in FDECL1()