Lines Matching refs:usByteOffset
52 USHORT usByteOffset; in xMBUtilSetBits() local
61 usByteOffset = ( USHORT )( ( usBitOffset ) / BITS_UCHAR ); in xMBUtilSetBits()
64 usNPreBits = ( USHORT )( usBitOffset - usByteOffset * BITS_UCHAR ); in xMBUtilSetBits()
71 usMask <<= usBitOffset - usByteOffset * BITS_UCHAR; in xMBUtilSetBits()
74 usWordBuf = ucByteBuf[usByteOffset]; in xMBUtilSetBits()
75 usWordBuf |= ucByteBuf[usByteOffset + 1] << BITS_UCHAR; in xMBUtilSetBits()
81 ucByteBuf[usByteOffset] = ( UCHAR )( usWordBuf & 0xFF ); in xMBUtilSetBits()
82 ucByteBuf[usByteOffset + 1] = ( UCHAR )( usWordBuf >> BITS_UCHAR ); in xMBUtilSetBits()
90 USHORT usByteOffset; in xMBUtilGetBits() local
95 usByteOffset = ( USHORT )( ( usBitOffset ) / BITS_UCHAR ); in xMBUtilGetBits()
98 usNPreBits = ( USHORT )( usBitOffset - usByteOffset * BITS_UCHAR ); in xMBUtilGetBits()
104 usWordBuf = ucByteBuf[usByteOffset]; in xMBUtilGetBits()
105 usWordBuf |= ucByteBuf[usByteOffset + 1] << BITS_UCHAR; in xMBUtilGetBits()