Lines Matching refs:BytesToNextAlignedPos
460 cmsUInt32Number BytesToNextAlignedPos; in _cmsReadAlignment() local
466 BytesToNextAlignedPos = NextAligned - At; in _cmsReadAlignment()
467 if (BytesToNextAlignedPos == 0) return TRUE; in _cmsReadAlignment()
468 if (BytesToNextAlignedPos > 4) return FALSE; in _cmsReadAlignment()
470 return (io ->Read(io, Buffer, BytesToNextAlignedPos, 1) == 1); in _cmsReadAlignment()
477 cmsUInt32Number BytesToNextAlignedPos; in _cmsWriteAlignment() local
483 BytesToNextAlignedPos = NextAligned - At; in _cmsWriteAlignment()
484 if (BytesToNextAlignedPos == 0) return TRUE; in _cmsWriteAlignment()
485 if (BytesToNextAlignedPos > 4) return FALSE; in _cmsWriteAlignment()
487 memset(Buffer, 0, BytesToNextAlignedPos); in _cmsWriteAlignment()
488 return io -> Write(io, BytesToNextAlignedPos, Buffer); in _cmsWriteAlignment()