Home
last modified time | relevance | path

Searched refs:limit2 (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzFind.c269 UInt32 limit2 = p->cyclicBufferSize - p->cyclicBufferPos; in MatchFinder_SetLimits() local
271 if (limit2 < limit) in MatchFinder_SetLimits()
272 limit = limit2; in MatchFinder_SetLimits()
273 limit2 = p->streamPos - p->pos; in MatchFinder_SetLimits()
275 if (limit2 <= p->keepSizeAfter) in MatchFinder_SetLimits()
277 if (limit2 > 0) in MatchFinder_SetLimits()
278 limit2 = 1; in MatchFinder_SetLimits()
281 limit2 -= p->keepSizeAfter; in MatchFinder_SetLimits()
283 if (limit2 < limit) in MatchFinder_SetLimits()
284 limit = limit2; in MatchFinder_SetLimits()
DLzmaDec.c547 SizeT limit2 = limit; in LzmaDec_DecodeReal2() local
552 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
555 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); in LzmaDec_DecodeReal2()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c271 UInt32 limit2 = p->cyclicBufferSize - p->cyclicBufferPos; in MatchFinder_SetLimits() local
273 if (limit2 < limit) in MatchFinder_SetLimits()
274 limit = limit2; in MatchFinder_SetLimits()
275 limit2 = p->streamPos - p->pos; in MatchFinder_SetLimits()
277 if (limit2 <= p->keepSizeAfter) in MatchFinder_SetLimits()
279 if (limit2 > 0) in MatchFinder_SetLimits()
280 limit2 = 1; in MatchFinder_SetLimits()
283 limit2 -= p->keepSizeAfter; in MatchFinder_SetLimits()
285 if (limit2 < limit) in MatchFinder_SetLimits()
286 limit = limit2; in MatchFinder_SetLimits()
DLzmaDec.c549 SizeT limit2 = limit; in LzmaDec_DecodeReal2() local
554 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
557 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); in LzmaDec_DecodeReal2()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c271 UInt32 limit2 = p->cyclicBufferSize - p->cyclicBufferPos; in MatchFinder_SetLimits() local
273 if (limit2 < limit) in MatchFinder_SetLimits()
274 limit = limit2; in MatchFinder_SetLimits()
275 limit2 = p->streamPos - p->pos; in MatchFinder_SetLimits()
277 if (limit2 <= p->keepSizeAfter) in MatchFinder_SetLimits()
279 if (limit2 > 0) in MatchFinder_SetLimits()
280 limit2 = 1; in MatchFinder_SetLimits()
283 limit2 -= p->keepSizeAfter; in MatchFinder_SetLimits()
285 if (limit2 < limit) in MatchFinder_SetLimits()
286 limit = limit2; in MatchFinder_SetLimits()
DLzmaDec.c549 SizeT limit2 = limit; in LzmaDec_DecodeReal2() local
554 limit2 = p->dicPos + rem; in LzmaDec_DecodeReal2()
557 RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); in LzmaDec_DecodeReal2()