Home
last modified time | relevance | path

Searched refs:inSize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c103 size_t inSize = (size_t)fileSize; in Encode() local
113 if (inSize != 0) { in Encode()
114 inBuffer = (Byte *)MyAlloc(inSize); in Encode()
121 if (SeqInStream_Read(inStream, inBuffer, inSize) != SZ_OK) { in Encode()
142 filteredStream = (Byte *)MyAlloc(inSize); in Encode()
147 memcpy(filteredStream, inBuffer, inSize); in Encode()
153 x86_Convert(filteredStream, (SizeT) inSize, 0, &x86State, 1); in Encode()
163 mConType != NoConverter ? filteredStream : inBuffer, inSize, in Encode()
187 size_t inSize = (size_t)fileSize; in Decode() local
197 if (inSize < LZMA_HEADER_SIZE) in Decode()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c514 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
518 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
748 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
760 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
802 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
804 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
807 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
808 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
809 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
821 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
DTypes.h217 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c495 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
499 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
730 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
742 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
784 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
786 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
789 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
790 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
791 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
803 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
DTypes.h194 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c514 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
518 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
748 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
760 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
802 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
804 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
807 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
808 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
809 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
821 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
DTypes.h217 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/google/contexthub/util/common/
DJSONObject.cpp525 static void EscapeString(const char *in, size_t inSize, AString *out) { in EscapeString() argument
529 for (size_t i = 0; i < inSize; ++i) { in EscapeString()