Lines Matching defs:bytes
428 ** Binary header writing functions. Returns number of bytes written.
431 ** m - marker - four bytes - no endian manipulation
436 ** t - all following O types will be truncated to 4 bytes
443 ** 8 - eight byte value (sometimes written as 4 bytes)
451 ** h - 16 binary bytes value
454 ** z - zero bytes (ses below)
463 ** To write N zero bytes use:
602 case 't' : /* All 8 byte values now get written as 4 bytes. */
606 case 'T' : /* All 8 byte values now get written as 8 bytes. */
817 ** Binary header reading functions. Returns number of bytes read.
864 header_read (SF_PRIVATE *psf, void *ptr, int bytes)
867 if (psf->header.indx + bytes >= psf->header.len && psf_bump_header_allocation (psf, bytes))
870 if (psf->header.indx + bytes > psf->header.end)
871 { count = psf_fread (psf->header.ptr + psf->header.end, 1, bytes - (psf->header.end - psf->header.indx), psf) ;
872 if (count != bytes - (int) (psf->header.end - psf->header.indx))
879 memcpy (ptr, psf->header.ptr + psf->header.indx, bytes) ;
880 psf->header.indx += bytes ;
882 return bytes ;
1116 case 'b' : /* Raw bytes */