Home
last modified time | relevance | path

Searched refs:file_length (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dunix.c206 gfc_offset file_length; /* Length of the file. */ member
546 if (s->physical_offset > s->file_length) in buf_flush()
547 s->file_length = s->physical_offset; in buf_flush()
676 if (s->logical_offset > s->file_length) in buf_write()
677 s->file_length = s->logical_offset; in buf_write()
709 offset += s->file_length; in buf_seek()
732 return s->file_length; in buf_size()
744 s->file_length = length; in buf_truncate()
862 if (m > s->file_length) in mem_alloc_w()
884 if (m > s->file_length) in mem_alloc_w4()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dunix.c206 gfc_offset file_length; /* Length of the file. */ member
546 if (s->physical_offset > s->file_length) in buf_flush()
547 s->file_length = s->physical_offset; in buf_flush()
676 if (s->logical_offset > s->file_length) in buf_write()
677 s->file_length = s->logical_offset; in buf_write()
709 offset += s->file_length; in buf_seek()
732 return s->file_length; in buf_size()
744 s->file_length = length; in buf_truncate()
862 if (m > s->file_length) in mem_alloc_w()
884 if (m > s->file_length) in mem_alloc_w4()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-2004172 * io/unix.c (fd_alloc_w_at): Update file_length when extending.
887 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
892 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
H A DChangeLog-2011176 (file_length): Remove prototype.
183 (file_length): Remove function.
184 * io/file_pos.c (st_rewind): Use ssize instead of file_length.
206 (file_length): Remove is_seekable() call.
H A DChangeLog-200945 (file_length): Likewise.
220 (file_length): Likewise.
2428 (file_length): Update logic to use stream interface.
H A DChangeLog-20072470 s->file_length == -1.
2471 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.