Lines Matching refs:usWordBuf
50 USHORT usWordBuf; in xMBUtilSetBits() local
74 usWordBuf = ucByteBuf[usByteOffset]; in xMBUtilSetBits()
75 usWordBuf |= ucByteBuf[usByteOffset + 1] << BITS_UCHAR; in xMBUtilSetBits()
78 usWordBuf = ( USHORT )( ( usWordBuf & ( ~usMask ) ) | usValue ); in xMBUtilSetBits()
81 ucByteBuf[usByteOffset] = ( UCHAR )( usWordBuf & 0xFF ); in xMBUtilSetBits()
82 ucByteBuf[usByteOffset + 1] = ( UCHAR )( usWordBuf >> BITS_UCHAR ); in xMBUtilSetBits()
88 USHORT usWordBuf; in xMBUtilGetBits() local
104 usWordBuf = ucByteBuf[usByteOffset]; in xMBUtilGetBits()
105 usWordBuf |= ucByteBuf[usByteOffset + 1] << BITS_UCHAR; in xMBUtilGetBits()
108 usWordBuf >>= usNPreBits; in xMBUtilGetBits()
111 usWordBuf &= usMask; in xMBUtilGetBits()
113 return ( UCHAR ) usWordBuf; in xMBUtilGetBits()