Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 8 of 8) sorted by relevance

/plan9/sys/src/cmd/gs/jpeg/
H A Djmemdos.c245 long file_offset, long byte_count) in read_file_store() argument
250 if (byte_count > 65535L) /* safety check */ in read_file_store()
253 (unsigned short) byte_count)) in read_file_store()
261 long file_offset, long byte_count) in write_file_store() argument
266 if (byte_count > 65535L) /* safety check */ in write_file_store()
269 (unsigned short) byte_count)) in write_file_store()
335 long file_offset, long byte_count) in read_xms_store() argument
345 spec.length = byte_count & (~ 1L); in read_xms_store()
357 if (ODD(byte_count)) { in read_xms_store()
359 file_offset + byte_count - 1L, 2L); in read_xms_store()
[all …]
H A Djmemansi.c99 long file_offset, long byte_count) in read_backing_store() argument
103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
104 != (size_t) byte_count) in read_backing_store()
112 long file_offset, long byte_count) in write_backing_store() argument
116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
117 != (size_t) byte_count) in write_backing_store()
H A Djmemname.c206 long file_offset, long byte_count) in read_backing_store() argument
210 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
211 != (size_t) byte_count) in read_backing_store()
219 long file_offset, long byte_count) in write_backing_store() argument
223 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
224 != (size_t) byte_count) in write_backing_store()
H A Djmemmac.c156 long file_offset, long byte_count) in read_backing_store() argument
158 long bytes = byte_count; in read_backing_store()
166 if ( retVal != noErr || bytes != byte_count ) in read_backing_store()
174 long file_offset, long byte_count) in write_backing_store() argument
176 long bytes = byte_count; in write_backing_store()
184 if ( retVal != noErr || bytes != byte_count ) 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
708 byte_count = rows * 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
741 byte_count = rows * 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 Dgdevpcfb.c909 int byte_count; in fill_row_only() local
920 byte_count = w >> 3; in fill_row_only()
923 r_m_w(dest + byte_count); in fill_row_only()
926 if (byte_count) { in fill_row_only()
927 memset(dest, 0, byte_count); /* data irrelevant */ in fill_row_only()
H A Dgsbitops.c120 uint byte_count = (last_bit >> 3) & -chunk_bytes; in bits_fill_rectangle() local
124 memset(ptr + 1, 0, byte_count); in bits_fill_rectangle()
128 memset(ptr + 1, 0xff, byte_count); in bits_fill_rectangle()
133 memset(ptr + 1, (byte) pattern, byte_count); in bits_fill_rectangle()