Lines Matching defs:file

4    This file is part of GDB.
22 #include "ui-file.h"
23 #include "tui/tui-file.h"
63 struct ui_file *file = ui_file_new ();
64 set_ui_file_data (file, tui, tui_file_delete);
65 set_ui_file_flush (file, tui_file_flush);
66 set_ui_file_fputs (file, tui_file_fputs);
67 set_ui_file_isatty (file, tui_file_isatty);
68 set_ui_file_rewind (file, tui_file_rewind);
69 set_ui_file_put (file, tui_file_put);
71 return file;
75 tui_file_delete (struct ui_file *file)
77 struct tui_stream *tmpstream = ui_file_data (file);
92 struct ui_file *file = tui_file_new ();
93 struct tui_stream *tmpstream = ui_file_data (file);
98 return file;
104 struct ui_file *file = tui_file_new ();
105 struct tui_stream *tmpstream = ui_file_data (file);
118 return file;
122 tui_file_isatty (struct ui_file *file)
124 struct tui_stream *stream = ui_file_data (file);
135 tui_file_rewind (struct ui_file *file)
137 struct tui_stream *stream = ui_file_data (file);
145 tui_file_put (struct ui_file *file,
149 struct tui_stream *stream = ui_file_data (file);
162 fputs to allow file I/O to be handled appropriately. */
164 /* FIXME: Should be broken up and moved to a TUI specific file. */
167 tui_file_fputs (const char *linebuffer, struct ui_file *file)
169 struct tui_stream *stream = ui_file_data (file);
173 tui_file_adjust_strbuf (strlen (linebuffer), file);
183 tui_file_get_strbuf (struct ui_file *file)
185 struct tui_stream *stream = ui_file_data (file);
195 tui_file_adjust_strbuf (int n, struct ui_file *file)
197 struct tui_stream *stream = ui_file_data (file);
223 tui_file_flush (struct ui_file *file)
225 struct tui_stream *stream = ui_file_data (file);