Lines Matching refs:unix_stream
222 unix_stream; typedef
278 fd = ((unix_stream *) s)->fd; in flush_if_preconnected()
301 raw_flush (unix_stream *s __attribute__ ((unused))) in raw_flush()
312 raw_read (unix_stream *s, void *buf, ssize_t nbyte) in raw_read()
353 raw_write (unix_stream *s, const void *buf, ssize_t nbyte) in raw_write()
384 raw_seek (unix_stream *s, gfc_offset offset, int whence) in raw_seek()
396 raw_tell (unix_stream *s) in raw_tell()
408 raw_size (unix_stream *s) in raw_size()
420 raw_truncate (unix_stream *s, gfc_offset length) in raw_truncate()
466 raw_close (unix_stream *s) in raw_close()
493 raw_markeor (unix_stream *s __attribute__ ((unused))) in raw_markeor()
511 raw_init (unix_stream *s) in raw_init()
528 buf_flush (unix_stream *s) in buf_flush()
557 buf_read (unix_stream *s, void *buf, ssize_t nbyte) in buf_read()
628 buf_write (unix_stream *s, const void *buf, ssize_t nbyte) in buf_write()
691 buf_markeor (unix_stream *s) in buf_markeor()
699 buf_seek (unix_stream *s, gfc_offset offset, int whence) in buf_seek()
724 buf_tell (unix_stream *s) in buf_tell()
730 buf_size (unix_stream *s) in buf_size()
736 buf_truncate (unix_stream *s, gfc_offset length) in buf_truncate()
749 buf_close (unix_stream *s) in buf_close()
770 buf_init (unix_stream *s, bool unformatted) in buf_init()
813 unix_stream *s = (unix_stream *) strm; in mem_alloc_r()
833 unix_stream *s = (unix_stream *) strm; in mem_alloc_r4()
853 unix_stream *s = (unix_stream *)strm; in mem_alloc_w()
874 unix_stream *s = (unix_stream *)strm; in mem_alloc_w4()
972 unix_stream *s = (unix_stream *)strm; in mem_seek()
1009 return ((unix_stream *)s)->logical_offset; in mem_tell()
1014 mem_truncate (unix_stream *s __attribute__ ((unused)), in mem_truncate()
1022 mem_flush (unix_stream *s __attribute__ ((unused))) in mem_flush()
1029 mem_close (unix_stream *s) in mem_close()
1075 unix_stream *s; in open_internal()
1077 s = xcalloc (1, sizeof (unix_stream)); in open_internal()
1095 unix_stream *s; in open_internal4()
1097 s = xcalloc (1, sizeof (unix_stream)); in open_internal4()
1117 unix_stream *s; in fd_to_stream()
1119 s = xcalloc (1, sizeof (unix_stream)); in fd_to_stream()
1174 fd = ((unix_stream *) us->s)->fd; in unit_to_fd()
1653 unix_stream *s; in compare_file_filename()
1672 s = (unix_stream *) (u->s); in compare_file_filename()
1682 id2 = id_from_fd (((unix_stream *) (u->s))->fd); in compare_file_filename()
1724 unix_stream *s = (unix_stream *) (u->s); in find_file0()
1730 if (u->s && ((id1 = id_from_fd (((unix_stream *) u->s)->fd)) || id1)) in find_file0()
1882 unix_stream *s = (unix_stream *) u->s; in close_share()
2089 return isatty (((unix_stream *) s)->fd); in stream_isatty()
2098 return ttyname_r (((unix_stream *)s)->fd, buf, buflen); in stream_ttyname()
2102 p = ttyname (((unix_stream *)s)->fd); in stream_ttyname()