Home
last modified time | relevance | path

Searched refs:LZMA_HEADER_SIZE (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/
DLzmaDecompress.c78 #define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + 8) macro
148 ASSERT(SourceSize >= LZMA_HEADER_SIZE); in LzmaUefiDecompressGetInfo()
200 EncodedDataSize = (SizeT) (SourceSize - LZMA_HEADER_SIZE); in LzmaUefiDecompress()
205 (Byte*)((UINT8*)Source + LZMA_HEADER_SIZE), in LzmaUefiDecompress()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/
DLzmaDecompress.c78 #define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + 8) macro
148 ASSERT(SourceSize >= LZMA_HEADER_SIZE); in LzmaUefiDecompressGetInfo()
200 EncodedDataSize = (SizeT) (SourceSize - LZMA_HEADER_SIZE); in LzmaUefiDecompress()
205 (Byte*)((UINT8*)Source + LZMA_HEADER_SIZE), in LzmaUefiDecompress()
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c33 #define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + 8) macro
155 size_t outSizeProcessed = outSize - LZMA_HEADER_SIZE; in Encode()
158 res = LzmaEncode(outBuffer + LZMA_HEADER_SIZE, &outSizeProcessed, in Encode()
166 outSize = LZMA_HEADER_SIZE + outSizeProcessed; in Encode()
193 if (inSize < LZMA_HEADER_SIZE) in Decode()
220 inSizePure = inSize - LZMA_HEADER_SIZE; in Decode()
221 res = LzmaDecode(outBuffer, &outSize, inBuffer + LZMA_HEADER_SIZE, &inSizePure, in Decode()