Searched refs:file_length (Results 1 – 6 of 6) sorted by relevance
206 gfc_offset file_length; /* Length of the file. */ member546 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 …]
172 * 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
176 (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.
45 (file_length): Likewise.220 (file_length): Likewise.2428 (file_length): Update logic to use stream interface.
2470 s->file_length == -1.2471 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.