Home
last modified time | relevance | path

Searched refs:bufferBase (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzFind.c23 alloc->Free(alloc, p->bufferBase); in LzInWindow_Free()
24 p->bufferBase = NULL; in LzInWindow_Free()
38 if (!p->bufferBase || p->blockSize != blockSize) in LzInWindow_Create()
42 p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); in LzInWindow_Create()
44 return (p->bufferBase != NULL); in LzInWindow_Create()
80 size_t size = (p->bufferBase + p->blockSize - dest); in MatchFinder_ReadBlock()
100 memmove(p->bufferBase, in MatchFinder_MoveBlock()
103 p->buffer = p->bufferBase + p->keepSizeBefore; in MatchFinder_MoveBlock()
111 return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); in MatchFinder_NeedMove()
142 p->bufferBase = NULL; in MatchFinder_Construct()
[all …]
DLzFind.h35 Byte *bufferBase; member
DLzmaEnc.c2127 p->matchFinderBase.bufferBase = (Byte *)src; in LzmaEnc_SetInputBuf()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c25 alloc->Free(alloc, p->bufferBase); in LzInWindow_Free()
26 p->bufferBase = NULL; in LzInWindow_Free()
40 if (!p->bufferBase || p->blockSize != blockSize) in LzInWindow_Create()
44 p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); in LzInWindow_Create()
46 return (p->bufferBase != NULL); in LzInWindow_Create()
82 size_t size = (p->bufferBase + p->blockSize - dest); in MatchFinder_ReadBlock()
102 memmove(p->bufferBase, in MatchFinder_MoveBlock()
105 p->buffer = p->bufferBase + p->keepSizeBefore; in MatchFinder_MoveBlock()
113 return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); in MatchFinder_NeedMove()
144 p->bufferBase = NULL; in MatchFinder_Construct()
[all …]
DLzFind.h35 Byte *bufferBase; member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c25 alloc->Free(alloc, p->bufferBase); in LzInWindow_Free()
26 p->bufferBase = NULL; in LzInWindow_Free()
40 if (!p->bufferBase || p->blockSize != blockSize) in LzInWindow_Create()
44 p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); in LzInWindow_Create()
46 return (p->bufferBase != NULL); in LzInWindow_Create()
82 size_t size = (p->bufferBase + p->blockSize - dest); in MatchFinder_ReadBlock()
102 memmove(p->bufferBase, in MatchFinder_MoveBlock()
105 p->buffer = p->bufferBase + p->keepSizeBefore; in MatchFinder_MoveBlock()
113 return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); in MatchFinder_NeedMove()
144 p->bufferBase = NULL; in MatchFinder_Construct()
[all …]
DLzFind.h35 Byte *bufferBase; member