Lines Matching refs:byteMask
167 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_get() local
169 UINT tx = (hBitBuf->Buffer [ byteOffset & byteMask] << 24) | in FDK_get()
170 (hBitBuf->Buffer [(byteOffset+1) & byteMask] << 16) | in FDK_get()
171 (hBitBuf->Buffer [(byteOffset+2) & byteMask] << 8) | in FDK_get()
172 hBitBuf->Buffer [(byteOffset+3) & byteMask]; in FDK_get()
177 tx |= hBitBuf->Buffer [(byteOffset+4) & byteMask] >> (8-bitOffset); in FDK_get()
218 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_getBwd() local
225 UINT tx = hBitBuf->Buffer [(byteOffset-3) & byteMask] << 24 | in FDK_getBwd()
226 hBitBuf->Buffer [(byteOffset-2) & byteMask] << 16 | in FDK_getBwd()
227 hBitBuf->Buffer [(byteOffset-1) & byteMask] << 8 | in FDK_getBwd()
228 hBitBuf->Buffer [ byteOffset & byteMask] ; in FDK_getBwd()
235 tx |= hBitBuf->Buffer [(byteOffset-4) & byteMask] << (24 + bitOffset) ; in FDK_getBwd()
259 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_put() local
264 …hBitBuf->Buffer [ byteOffset & byteMask] = (hBitBuf->Buffer [ byteOffset & byteMask]&(mask>… in FDK_put()
265 …hBitBuf->Buffer [(byteOffset+1) & byteMask] = (hBitBuf->Buffer [(byteOffset+1) & byteMask]&(mask>… in FDK_put()
266 …hBitBuf->Buffer [(byteOffset+2) & byteMask] = (hBitBuf->Buffer [(byteOffset+2) & byteMask]&(mask>… in FDK_put()
267 …hBitBuf->Buffer [(byteOffset+3) & byteMask] = (hBitBuf->Buffer [(byteOffset+3) & byteMask]&(mask)… in FDK_put()
271 hBitBuf->Buffer [(byteOffset+4) & byteMask] = (UCHAR)(value<<(40-numberOfBits)>>bitOffset) | in FDK_put()
272 … ( hBitBuf->Buffer [(byteOffset+4) & byteMask] & BitMask[(40-numberOfBits-bitOffset)] ) ; in FDK_put()
280 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_putBwd() local
301 …hBitBuf->Buffer [ byteOffset & byteMask] = (hBitBuf->Buffer [ byteOffset & byteMask]&(mask)… in FDK_putBwd()
302 …hBitBuf->Buffer [(byteOffset-1) & byteMask] = (hBitBuf->Buffer [(byteOffset-1) & byteMask]&(mask>… in FDK_putBwd()
303 …hBitBuf->Buffer [(byteOffset-2) & byteMask] = (hBitBuf->Buffer [(byteOffset-2) & byteMask]&(mask>… in FDK_putBwd()
304 …hBitBuf->Buffer [(byteOffset-3) & byteMask] = (hBitBuf->Buffer [(byteOffset-3) & byteMask]&(mask>… in FDK_putBwd()
308 hBitBuf->Buffer [(byteOffset-4) & byteMask] = (UCHAR)(value>>(64-numberOfBits-bitOffset)) | in FDK_putBwd()
309 … ( hBitBuf->Buffer [(byteOffset-4) & byteMask] & ~(BitMask[bitOffset] >> (32-numberOfBits)) ) ; in FDK_putBwd()
400 const UINT byteMask = h_BitBufSrc->bufSize - 1 ; in CopyAlignedBlock() local
405 dstBuffer[i] = pBBB[(byteOffset+i) & byteMask] ; in CopyAlignedBlock()