Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 15 of 15) sorted by relevance

/plan9/sys/src/cmd/gs/jpeg/
H A Djmemdos.c245 long file_offset, long byte_count) in read_file_store() argument
247 if (jdos_seek(info->handle.file_handle, file_offset)) in read_file_store()
261 long file_offset, long byte_count) in write_file_store() argument
263 if (jdos_seek(info->handle.file_handle, file_offset)) in write_file_store()
335 long file_offset, long byte_count) in read_xms_store() argument
347 spec.src.offset = file_offset; in read_xms_store()
359 file_offset + byte_count - 1L, 2L); in read_xms_store()
368 long file_offset, long byte_count) in write_xms_store() argument
382 spec.dst.offset = file_offset; in write_xms_store()
392 file_offset + byte_count - 1L, 2L); in write_xms_store()
[all …]
H A Djmemansi.c99 long file_offset, long byte_count) in read_backing_store() argument
101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
112 long file_offset, long byte_count) in write_backing_store() argument
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
H A Djmemname.c206 long file_offset, long byte_count) in read_backing_store() argument
208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
219 long file_offset, long byte_count) in write_backing_store() argument
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
H A Djmemmac.c156 long file_offset, long byte_count) in read_backing_store() argument
161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in read_backing_store()
174 long file_offset, long byte_count) in write_backing_store() argument
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in write_backing_store()
H A Djmemsys.h144 long file_offset, long byte_count));
148 long file_offset, long byte_count));
H A Djmemmgr.c693 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_sarray_io() local
696 file_offset = ptr->cur_start_row * bytesperrow; in do_sarray_io()
712 file_offset, byte_count); in do_sarray_io()
716 file_offset, byte_count); in do_sarray_io()
717 file_offset += byte_count; in do_sarray_io()
726 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_barray_io() local
729 file_offset = ptr->cur_start_row * bytesperrow; in do_barray_io()
745 file_offset, byte_count); in do_barray_io()
749 file_offset, byte_count); in do_barray_io()
750 file_offset += byte_count; in do_barray_io()
/plan9/sys/src/cmd/gs/src/
H A Dsfxstdio.c69 s->file_offset = 0; in sread_file()
78 s->file_offset != 0 || s->file_limit != max_long || in sread_subfile()
84 s->file_offset = start; in sread_subfile()
127 fseek(s->file, s->file_offset + pos, SEEK_SET) != 0 in s_file_read_seek()
162 long limit_count = s->file_offset + s->file_limit - ftell(file); in s_file_read_process()
192 s->file_offset = 0; /* in case we switch to reading later */ in swrite_file()
H A Dsfxfd.c131 s->file_offset = 0; in sread_fileno()
145 s->file_offset != 0 || s->file_limit != max_long || in sread_subfile()
151 s->file_offset = start; in sread_subfile()
196 lseek(sfileno(s), s->file_offset + pos, SEEK_SET) < 0 in s_fileno_read_seek()
231 long limit_count = s->file_offset + s->file_limit - ltell(fd); in s_fileno_read_process()
272 s->file_offset = 0; /* in case we switch to reading later */ in swrite_fileno()
H A Dstream.h182 long file_offset; /* starting point in file (reading) */ member
H A Dttobjs.h392 Long file_offset; member
/plan9/sys/src/ape/cmd/patch/
H A Dpch.c58 static file_offset p_base; /* where to intuit this time */
60 static file_offset p_start; /* where intuit found a patch */
76 static void next_intuit_at PARAMS ((file_offset, LINENUM));
77 static void skip_to PARAMS ((file_offset, LINENUM));
99 file_offset file_pos = 0;
103 file_offset stdin_pos;
133 || file_seek (pfp, (file_offset) 0, SEEK_SET) != 0)
146 if (p_filesize != (file_offset) p_filesize)
280 register file_offset this_line = 0; in intuit_diff_type()
281 register file_offset previous_line; in intuit_diff_type()
[all …]
H A Dcommon.h261 typedef off_t file_offset; typedef
265 typedef long file_offset; typedef
H A Dutil.h21 void Fseek PARAMS ((FILE *, file_offset, int));
H A Dutil.c1074 file_offset offset;
H A DChangeLog573 (file_offset): New typedef.
580 Use file_offset instead of long, for portability to large-file hosts.
584 Use file_offset instead of long, for portability to large-file hosts.