2N/A * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
2N/A * See <http://www.7-zip.org>, for more information about LZMA.
2N/A if (!p->directInput)
2N/A p->bufferBase = 0;
2N/A if (p->directInput)
2N/A return (p->bufferBase != 0);
2N/A if (p->streamEndWasReached)
2N/A if (MatchFinder_NeedMove(p))
2N/A p->directInput = 0;
2N/A p->bufferBase = 0;
2N/A p->directInput = 0;
2N/A /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */
2N/A p->fixedHashSize = 0;
2N/A for(i = 0; i < p->hashSizeSum; i++)
2N/A p->cyclicBufferPos = 0;
2N/A p->streamEndWasReached = 0;
2N/A p->cyclicBufferPos = 0;
2N/Astatic UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
2N/A curMatch = son[_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)];
2N/AUInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
2N/A CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1);
2N/Astatic void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
2N/A CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1);
2N/A ++p->cyclicBufferPos; \
2N/A#define MF_PARAMS(p) p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue