Home
last modified time | relevance | path

Searched refs:mBitCount (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c48 while (NumOfBits > Sd->mBitCount) { in FillBuf()
50 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
58 Sd->mBitCount = 8; in FillBuf()
65 Sd->mBitCount = 8; in FillBuf()
73 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
78 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
DBaseUefiDecompressLibInternals.h48 UINT16 mBitCount; member
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DTianoDecompress.c52 UINT16 mBitCount; member
98 while (NumOfBits > Sd->mBitCount) { in FillBuf()
100 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
109 Sd->mBitCount = 8; in FillBuf()
116 Sd->mBitCount = 8; in FillBuf()
121 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
122 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DDecompress.c56 UINT16 mBitCount; member
103 while (NumOfBits > Sd->mBitCount) { in FillBuf()
105 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
114 Sd->mBitCount = 8; in FillBuf()
121 Sd->mBitCount = 8; in FillBuf()
126 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
127 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
DEfiCompress.c254 STATIC INT32 mRemainder, mMatchLen, mBitCount, mHeapSize, mN; variable
1298 if (n < mBitCount) { in PutBits()
1299 mSubBitBuf |= x << (mBitCount -= n); in PutBits()
1302 Temp = (UINT8)(mSubBitBuf | (x >> (n -= mBitCount))); in PutBits()
1309 mSubBitBuf = x << (mBitCount = UINT8_BIT - n); in PutBits()
1318 mSubBitBuf = x << (mBitCount = 2 * UINT8_BIT - n); in PutBits()
1366 mBitCount = UINT8_BIT; in InitPutBits()
DTianoCompress.c272 STATIC INT32 mRemainder, mMatchLen, mBitCount, mHeapSize, mN; variable
1444 while (Number >= mBitCount) { in PutBits()
1448 Temp = (UINT8) (mSubBitBuf | (Value >> (Number -= mBitCount))); in PutBits()
1455 mBitCount = UINT8_BIT; in PutBits()
1458 mSubBitBuf |= Value << (mBitCount -= Number); in PutBits()
1509 mBitCount = UINT8_BIT; in InitPutBits()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c48 while (NumOfBits > Sd->mBitCount) { in GlueFillBuf()
50 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in GlueFillBuf()
58 Sd->mBitCount = 8; in GlueFillBuf()
65 Sd->mBitCount = 8; in GlueFillBuf()
73 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in GlueFillBuf()
78 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in GlueFillBuf()
DBaseUefiDecompressLibInternals.h57 UINT16 mBitCount; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DDecompress.c52 UINT16 mBitCount; member
94 while (NumOfBits > Sd->mBitCount) { in FillBuf()
96 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
105 Sd->mBitCount = 8; in FillBuf()
112 Sd->mBitCount = 8; in FillBuf()
117 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
118 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
DEfiCompress.c244 STATIC INT32 mRemainder, mMatchLen, mBitCount, mHeapSize, mN; variable
1295 if (n < mBitCount) { in PutBits()
1296 mSubBitBuf |= x << (mBitCount -= n); in PutBits()
1299 Temp = (UINT8)(mSubBitBuf | (x >> (n -= mBitCount))); in PutBits()
1306 mSubBitBuf = x << (mBitCount = UINT8_BIT - n); in PutBits()
1315 mSubBitBuf = x << (mBitCount = 2 * UINT8_BIT - n); in PutBits()
1363 mBitCount = UINT8_BIT; in InitPutBits()
DTianoCompress.c253 STATIC INT32 mRemainder, mMatchLen, mBitCount, mHeapSize, mN; variable
1431 while (Number >= mBitCount) { in PutBits()
1435 Temp = (UINT8) (mSubBitBuf | (Value >> (Number -= mBitCount))); in PutBits()
1442 mBitCount = UINT8_BIT; in PutBits()
1445 mSubBitBuf |= Value << (mBitCount -= Number); in PutBits()
1496 mBitCount = UINT8_BIT; in InitPutBits()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DDecompress.c164 UINT16 mBitCount; member
211 while (NumOfBits > Sd->mBitCount) { in FillBuf()
213 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
222 Sd->mBitCount = 8; in FillBuf()
229 Sd->mBitCount = 8; in FillBuf()
234 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
235 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
DBaseUefiTianoCustomDecompressLib.c38 while (NumOfBits > Sd->mBitCount) { in FillBuf()
40 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
49 Sd->mBitCount = 8; in FillBuf()
56 Sd->mBitCount = 8; in FillBuf()
64 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
69 Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; in FillBuf()
DBaseUefiTianoCustomDecompressLibInternals.h57 UINT16 mBitCount; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
DTianoCompress.c71 STATIC INT32 mRemainder, mMatchLen, mBitCount, mHeapSize, mN; variable
1257 while (Number >= mBitCount) { in PutBits()
1261 Temp = (UINT8) (mSubBitBuf | (Value >> (Number -= mBitCount))); in PutBits()
1269 mBitCount = UINT8_BIT; in PutBits()
1272 mSubBitBuf |= Value << (mBitCount -= Number); in PutBits()
1324 mBitCount = UINT8_BIT; in InitPutBits()
2071 while (NumOfBits > Sd->mBitCount) { in FillBuf()
2073 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
2082 Sd->mBitCount = 8; in FillBuf()
2089 Sd->mBitCount = 8; in FillBuf()
[all …]
DTianoCompress.h64 UINT16 mBitCount; member
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DCompress.c92 STATIC INT32 mBitCount; variable
867 if (LoopVar8 < mBitCount) { in PutBits()
868 mSubBitBuf |= x << (mBitCount -= LoopVar8); in PutBits()
871 Temp = (UINT8)(mSubBitBuf | (x >> (LoopVar8 -= mBitCount))); in PutBits()
878 mSubBitBuf = x << (mBitCount = UINT8_BIT - LoopVar8); in PutBits()
887 mSubBitBuf = x << (mBitCount = 2 * UINT8_BIT - LoopVar8); in PutBits()
1169 mBitCount = UINT8_BIT; in HufEncodeStart()