Lines Matching refs:BytesToNextAlignedPos
446 cmsUInt32Number BytesToNextAlignedPos; in _cmsReadAlignment() local
452 BytesToNextAlignedPos = NextAligned - At; in _cmsReadAlignment()
453 if (BytesToNextAlignedPos == 0) return TRUE; in _cmsReadAlignment()
454 if (BytesToNextAlignedPos > 4) return FALSE; in _cmsReadAlignment()
456 return (io ->Read(io, Buffer, BytesToNextAlignedPos, 1) == 1); in _cmsReadAlignment()
463 cmsUInt32Number BytesToNextAlignedPos; in _cmsWriteAlignment() local
469 BytesToNextAlignedPos = NextAligned - At; in _cmsWriteAlignment()
470 if (BytesToNextAlignedPos == 0) return TRUE; in _cmsWriteAlignment()
471 if (BytesToNextAlignedPos > 4) return FALSE; in _cmsWriteAlignment()
473 memset(Buffer, 0, BytesToNextAlignedPos); in _cmsWriteAlignment()
474 return io -> Write(io, BytesToNextAlignedPos, Buffer); in _cmsWriteAlignment()