Searched defs:BSR2_RET (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzmaEnc.c107 #define BSR2_RET(pos, res) { unsigned long i; _BitScanReverse(&i, (pos)); res = (i + i) + ((pos >> (i - 1)) & 1); } macro
112 BSR2_RET(pos, res);
115 #define GetPosSlot2(pos, res) { BSR2_RET(pos, res); }
116 #define GetPosSlot(pos, res) { if (pos < 2) res = pos; else BSR2_RET(pos, res); }
138 #define BSR2_RET(pos, res) { UInt32 i = 6 + ((kNumLogBits - 1) & \ macro
142 #define BSR2_RET(pos, res) { res = (pos < (1 << (kNumLogBits + 6))) ? \
148 #define GetPosSlot2(pos, res) { BSR2_RET(pos, res); }
149 #define GetPosSlot(pos, res) { if (pos < kNumFullDistances) res = p->g_FastPos[pos]; else BSR2_RET(pos, res); }

Completed in 735 milliseconds