/freebsd-10.1-release/usr.bin/csup/ |
H A D | diff.h | 31 struct stream; 47 int diff_apply(struct stream *, struct stream *, struct stream *, 49 int diff_reverse(struct stream *, struct stream *, 50 struct stream *, struct keyword *, struct diffinfo *);
|
H A D | stream.h | 41 struct stream; 58 struct stream *stream_open(void *, stream_readfn_t *, stream_writefn_t *, 60 struct stream *stream_open_fd(int, stream_readfn_t *, stream_writefn_t *, 62 struct stream *stream_open_buf(struct buf *); 63 struct stream *stream_open_file(const char *, int, ...); 64 int stream_fileno(struct stream *); 65 ssize_t stream_read(struct stream *, void *, size_t); 66 ssize_t stream_read_blocking(struct stream *, void *, size_t); 67 ssize_t stream_write(struct stream *, const void *, size_t); 68 char *stream_getln(struct stream *, size_ [all...] |
H A D | stream.c | 44 #include "stream.h" 47 * Simple stream API to make my life easier. If the fgetln() and 71 * closing a stream. This allows the zlib filter to emit the EOF 97 struct stream { struct 111 typedef int stream_filter_initfn_t(struct stream *, void *); 112 typedef void stream_filter_finifn_t(struct stream *); 113 typedef int stream_filter_flushfn_t(struct stream *, struct buf *, 115 typedef ssize_t stream_filter_fillfn_t(struct stream *, struct buf *); 134 /* Internal stream functions. */ 135 static ssize_t stream_fill(struct stream *); 303 struct stream *stream; local 335 struct stream *stream; local 347 struct stream *stream; local 359 struct stream *stream; local 382 struct stream *stream; local 428 stream_fileno(struct stream *stream) argument 522 stream_read(struct stream *stream, void *buf, size_t size) argument 542 stream_read_blocking(struct stream *stream, void *buf, size_t size) argument 581 stream_getln(struct stream *stream, size_t *len) argument 624 stream_write(struct stream *stream, const void *src, size_t nbytes) argument 644 stream_printf(struct stream *stream, const char *fmt, ...) argument 673 stream_flush(struct stream *stream) argument 683 stream_flush_int(struct stream *stream, stream_flush_t how) argument 696 stream_flush_default(struct stream *stream, struct buf *buf, stream_flush_t __unused how) argument 715 stream_sync(struct stream *stream) argument 732 stream_truncate(struct stream *stream, off_t size) argument 749 stream_truncate_rel(struct stream *stream, off_t off) argument 774 stream_rewind(struct stream *stream) argument 795 stream_eof(struct stream *stream) argument 803 stream_close(struct stream *stream) argument 831 stream_fill_default(struct stream *stream, struct buf *buf) argument 856 stream_fill(struct stream *stream) argument 898 stream_filter_init(struct stream *stream, void *data) argument 911 stream_filter_fini(struct stream *stream) argument 924 stream_filter_start(struct stream *stream, stream_filter_t id, void *data) argument 942 stream_filter_stop(struct stream *stream) argument 966 zfilter_init(struct stream *stream, void __unused *data) argument 1006 zfilter_fini(struct stream *stream) argument 1052 zfilter_flush(struct stream *stream, struct buf *buf, stream_flush_t how) argument 1108 zfilter_fill(struct stream *stream, struct buf *buf) argument 1156 md5filter_init(struct stream *stream, void *data) argument 1170 md5filter_fini(struct stream *stream) argument 1180 md5filter_fill(struct stream *stream, struct buf *buf) argument 1190 md5filter_flush(struct stream *stream, struct buf *buf, stream_flush_t how) argument 1203 md5rcsfilter_flush(struct stream *stream, struct buf *buf, stream_flush_t how) argument [all...] |
/freebsd-10.1-release/share/doc/psd/20.ipctut/ |
H A D | ustreamwrite.c | 57 perror("opening stream socket"); 66 perror("connecting stream socket"); 70 perror("writing on stream socket");
|
H A D | streamwrite.c | 61 perror("opening stream socket"); 75 perror("connecting stream socket"); 79 perror("writing on stream socket");
|
H A D | socketpair.c | 54 perror("opening stream socket pair"); 63 perror("reading stream message"); 66 perror("writing stream message"); 71 perror("writing stream message"); 73 perror("reading stream message");
|
H A D | strchkread.c | 60 perror("opening stream socket"); 68 perror("binding stream socket"); 96 perror("reading stream message");
|
H A D | streamread.c | 60 perror("opening stream socket"); 68 perror("binding stream socket"); 88 perror("reading stream message");
|
H A D | ustreamread.c | 57 perror("opening stream socket"); 64 perror("binding stream socket"); 77 perror("reading stream message");
|
/freebsd-10.1-release/sys/i386/i386/ |
H A D | bpf_jit_machdep.h | 73 /* A stream of native binary code */ 97 * The first parameter is the stream that will receive the data. 102 typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n); 110 emitm(&stream, (11 << 4) | (1 << 3) | (r32 & 0x7), 1); \ 111 emitm(&stream, i32, 4); \ 116 emitm(&stream, 0x89, 1); \ 117 emitm(&stream, \ 123 emitm(&stream, 0x8b, 1); \ 124 emitm(&stream, \ 126 emitm(&stream, of [all...] |
/freebsd-10.1-release/lib/libz/ |
H A D | uncompr.c | 30 z_stream stream; local 33 stream.next_in = (z_const Bytef *)source; 34 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 38 stream.next_out = dest; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 42 stream.zalloc = (alloc_func)0; 43 stream.zfree = (free_func)0; 45 err = inflateInit(&stream); [all...] |
H A D | compress.c | 29 z_stream stream; local 32 stream.next_in = (z_const Bytef *)source; 33 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 38 stream.next_out = dest; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 42 stream.zalloc = (alloc_func)0; 43 stream.zfree = (free_func)0; 44 stream [all...] |
/freebsd-10.1-release/tools/test/testfloat/ |
H A D | writeHex.c | 31 void writeHex_flag( flag a, FILE *stream ) 34 fputc( a ? '1' : '0', stream ); 38 static void writeHex_bits8( bits8 a, FILE *stream ) 44 fputc( '0' + digit, stream ); 47 fputc( '0' + digit, stream ); 51 static void writeHex_bits12( int16 a, FILE *stream ) 57 fputc( '0' + digit, stream ); 60 fputc( '0' + digit, stream ); 63 fputc( '0' + digit, stream ); 67 static void writeHex_bits16( bits16 a, FILE *stream ) [all...] |
/freebsd-10.1-release/contrib/diff/lib/ |
H A D | version-etc.c | 45 version_etc_va (FILE *stream, argument 67 fprintf (stream, "%s (%s) %s\n", command_name, package, version); 69 fprintf (stream, "%s %s\n", package, version); 78 vfprintf (stream, _("Written by %s.\n"), authors); 82 vfprintf (stream, _("Written by %s and %s.\n"), authors); 86 vfprintf (stream, _("Written by %s, %s, and %s.\n"), authors); 92 vfprintf (stream, _("Written by %s, %s, %s,\nand %s.\n"), authors); 98 vfprintf (stream, _("Written by %s, %s, %s,\n%s, and %s.\n"), authors); 104 vfprintf (stream, _("Written by %s, %s, %s,\n%s, %s, and %s.\n"), 111 vfprintf (stream, 168 version_etc(FILE *stream, const char *command_name, const char *package, const char *version, ...) argument [all...] |
/freebsd-10.1-release/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.h | 98 /* A stream of native binary code */ 122 * The first parameter is the stream that will receive the data. 127 typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n); 135 emitm(&stream, (11 << 4) | (1 << 3) | (r32 & 0x7), 1); \ 136 emitm(&stream, i32, 4); \ 141 emitm(&stream, 0x48, 1); \ 142 emitm(&stream, (11 << 4) | (1 << 3) | (r64 & 0x7), 1); \ 143 emitm(&stream, i64, 4); \ 144 emitm(&stream, (i64 >> 32), 4); \ 149 emitm(&stream, [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | cli-out.h | 27 extern struct ui_out *cli_out_new (struct ui_file *stream); 30 struct ui_file *stream);
|
H A D | p-typeprint.c | 51 pascal_print_type (struct type *type, char *varstring, struct ui_file *stream, 65 pascal_type_print_varspec_prefix (type, stream, show, 0); 68 fputs_filtered (varstring, stream); 74 fputs_filtered (" : ", stream); 80 pascal_type_print_varspec_prefix (type, stream, show, 0); 83 pascal_type_print_base (type, stream, show, level); 88 pascal_type_print_varspec_suffix (type, stream, show, 0, demangled_args); 117 pascal_type_print_derivation_info (struct ui_file *stream, struct type *type) 124 fputs_filtered (i == 0 ? ": " : ", ", stream); 125 fprintf_filtered (stream, " 50 pascal_print_type(struct type *type, char *varstring, struct ui_file *stream, int show, int level) argument 116 pascal_type_print_derivation_info(struct ui_file *stream, struct type *type) argument 139 pascal_type_print_method_args(char *physname, char *methodname, struct ui_file *stream) argument 191 pascal_type_print_varspec_prefix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr) argument 207 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); local 213 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local 219 pascal_type_print_base (TYPE_DOMAIN_TYPE (type), stream, 0, passed_a_ptr); local 238 pascal_type_print_base (TYPE_DOMAIN_TYPE (type), stream, 0, passed_a_ptr); local 244 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); local 303 pascal_print_func_args(struct type *type, struct ui_file *stream) argument 323 ,stream, -1, 0); local 336 pascal_type_print_varspec_suffix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr, int demangled_args) argument 358 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); local 370 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local 371 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, 0); local 372 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, local 379 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 1, 0); local 390 pascal_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local 391 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, 0); local 392 pascal_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, local 440 pascal_type_print_base(struct type *type, struct ui_file *stream, int show, int level) argument 473 fputs_filtered (TYPE_NAME (type), stream); local 487 pascal_type_print_base (TYPE_TARGET_TYPE (type), stream, show, level); local 494 pascal_print_type (TYPE_TARGET_TYPE (type), NULL, stream, 0, 0); local 506 fputs_filtered (TYPE_TAG_NAME (type), stream); local 522 fputs_filtered (TYPE_TAG_NAME (type), stream); local 605 stream, show - 1, level + 4); local 724 fputs_filtered (TYPE_TAG_NAME (type), stream); local 749 fputs_filtered (TYPE_FIELD_NAME (type, i), stream); local 787 pascal_print_type (TYPE_INDEX_TYPE (type), "", stream, local 806 fputs_filtered (TYPE_NAME (type), stream); local [all...] |
H A D | ui-file.h | 1 /* UI_FILE - a generic STDIO like output stream. 33 typedef void (ui_file_flush_ftype) (struct ui_file * stream); 34 extern void set_ui_file_flush (struct ui_file *stream, ui_file_flush_ftype * flush); 38 typedef void (ui_file_write_ftype) (struct ui_file * stream, const char *buf, long length_buf); 39 extern void set_ui_file_write (struct ui_file *stream, ui_file_write_ftype *fputs); 41 typedef void (ui_file_fputs_ftype) (const char *, struct ui_file * stream); 42 extern void set_ui_file_fputs (struct ui_file *stream, ui_file_fputs_ftype * fputs); 44 typedef long (ui_file_read_ftype) (struct ui_file * stream, char *buf, long length_buf); 45 extern void set_ui_file_read (struct ui_file *stream, ui_file_read_ftype *fread); 47 typedef int (ui_file_isatty_ftype) (struct ui_file * stream); [all...] |
H A D | f-typeprint.c | 60 f_print_type (struct type *type, char *varstring, struct ui_file *stream, 66 f_type_print_base (type, stream, show, level); 79 fputs_filtered (" ", stream); 80 f_type_print_varspec_prefix (type, stream, show, 0); 82 fputs_filtered (varstring, stream); 88 f_type_print_varspec_suffix (type, stream, show, 0, demangled_args); 100 f_type_print_varspec_prefix (struct type *type, struct ui_file *stream, 114 f_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); 118 f_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); 120 fprintf_filtered (stream, "("); 59 f_print_type(struct type *type, char *varstring, struct ui_file *stream, int show, int level) argument 99 f_type_print_varspec_prefix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr) argument 113 f_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 1); local 117 f_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local 123 f_type_print_varspec_prefix (TYPE_TARGET_TYPE (type), stream, 0, 0); local 156 f_type_print_varspec_suffix(struct type *type, struct ui_file *stream, int show, int passed_a_ptr, int demangled_args) argument 181 f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); local 215 f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); local 225 f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 1, 0); local 230 f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, local 263 print_equivalent_f77_float_type(struct type *type, struct ui_file *stream) argument 286 f_type_print_base(struct type *type, struct ui_file *stream, int show, int level) argument 309 fputs_filtered (TYPE_NAME (type), stream); local 319 f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level); local 324 f_type_print_base (TYPE_TARGET_TYPE (type), stream, show, level); local 329 f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level); local 334 f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level); local 401 fputs_filtered (TYPE_NAME (type), stream); local [all...] |
H A D | ada-typeprint.c | 126 struct ui_file *stream) 128 fprintf_filtered (stream, "type %.*s is ", 131 type_print (type, "", stream, 1); 137 print_range (struct type *type, struct ui_file *stream) 165 fprintf_filtered (stream, "%.*s", 177 ada_print_scalar (target_type, lower_bound, stream); 178 fprintf_filtered (stream, " .. "); 179 ada_print_scalar (target_type, upper_bound, stream); 188 struct ui_file *stream) 193 ada_print_scalar (type, B, stream); 124 ada_typedef_print(struct type *type, struct symbol *new, struct ui_file *stream) argument 136 print_range(struct type *type, struct ui_file *stream) argument 186 print_range_bound(struct type *type, char *bounds, int *n, struct ui_file *stream) argument 219 print_dynamic_range_bound(struct type *type, const char *name, int name_len, const char *suffix, struct ui_file *stream) argument 241 print_range_type_named(char *name, struct ui_file *stream) argument 292 print_enum_type(struct type *type, struct ui_file *stream) argument 321 print_fixed_point_type(struct type *type, struct ui_file *stream) argument 339 print_vax_floating_point_type(struct type *type, struct ui_file *stream) argument 351 print_array_type(struct type *type, struct ui_file *stream, int show, int level) argument 381 print_range (TYPE_INDEX_TYPE (arr_type), stream); local 397 (range_desc_type, k), stream); local 413 ada_print_type (ada_array_element_type (type, n_indices), "", stream, local 423 print_choices(struct type *type, int field_num, struct ui_file *stream, struct type *val_type) argument 499 print_variant_clauses(struct type *type, int field_num, struct type *outer_type, struct ui_file *stream, int show, int level) argument 541 print_variant_part(struct type *type, int field_num, struct type *outer_type, struct ui_file *stream, int show, int level) argument 562 print_record_field_types(struct type *type, struct type *outer_type, struct ui_file *stream, int show, int level) argument 593 stream, show - 1, level + 4); local 606 print_record_type(struct type *type0, struct ui_file *stream, int show, int level) argument 655 print_unchecked_union_type(struct type *type, struct ui_file *stream, int show, int level) argument 676 stream, show - 1, level + 12); local 691 print_func_type(struct type *type, struct ui_file *stream, char *name) argument 714 ada_print_type (TYPE_FIELD_TYPE (type, i), "", stream, -1, 0); local 722 ada_print_type (TYPE_TARGET_TYPE (type), "", stream, 0, 0); local 741 ada_print_type(struct type *type0, char *varstring, struct ui_file *stream, int show, int level) argument 774 ada_print_type (ada_aligned_type (type), "", stream, show, level); local 787 ada_print_type (TYPE_TARGET_TYPE (type), "", stream, show, level); local 791 ada_print_type (TYPE_TARGET_TYPE (type), "", stream, show, level); local [all...] |
H A D | m2-typeprint.c | 34 m2_print_type (struct type *type, char *varstring, struct ui_file *stream, argument 40 c_print_type (type, varstring, stream, show, level); /* FIXME */
|
/freebsd-10.1-release/contrib/gdb/gdb/tui/ |
H A D | tui-file.c | 1 /* UI_FILE - a generic STDIO like output stream. 90 tui_fileopen (FILE *stream) argument 95 tmpstream->ts_filestream = stream; 124 struct tui_stream *stream = ui_file_data (file); local 125 if (stream->ts_magic != &tui_file_magic) 128 if (stream->ts_streamtype == afile) 129 return (isatty (fileno (stream->ts_filestream))); 137 struct tui_stream *stream = ui_file_data (file); local 138 if (stream->ts_magic != &tui_file_magic) 141 stream 149 struct tui_stream *stream = ui_file_data (file); local 169 struct tui_stream *stream = ui_file_data (file); local 185 struct tui_stream *stream = ui_file_data (file); local 197 struct tui_stream *stream = ui_file_data (file); local 225 struct tui_stream *stream = ui_file_data (file); local [all...] |
/freebsd-10.1-release/contrib/binutils/libiberty/ |
H A D | vfprintf.c | 12 vfprintf (FILE *stream, const char *format, va_list ap) argument 14 return _doprnt (format, ap, stream);
|
/freebsd-10.1-release/contrib/gcclibs/libiberty/ |
H A D | vfprintf.c | 12 vfprintf (FILE *stream, const char *format, va_list ap) argument 14 return _doprnt (format, ap, stream);
|
/freebsd-10.1-release/contrib/gperf/lib/ |
H A D | getline.h | 32 extern int get_line (char **lineptr, size_t *n, FILE *stream); 39 extern int get_delim (char **lineptr, size_t *n, int delimiter, FILE *stream);
|