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.c99 size_t inSize = (size_t)fileSize; in Encode() local
109 if (inSize != 0) { in Encode()
110 inBuffer = (Byte *)MyAlloc(inSize); in Encode()
117 if (SeqInStream_Read(inStream, inBuffer, inSize) != SZ_OK) { in Encode()
138 filteredStream = (Byte *)MyAlloc(inSize); in Encode()
143 memcpy(filteredStream, inBuffer, inSize); in Encode()
149 x86_Convert(filteredStream, (SizeT) inSize, 0, &x86State, 1); in Encode()
159 mConType != NoConverter ? filteredStream : inBuffer, inSize, in Encode()
183 size_t inSize = (size_t)fileSize; in Decode() local
193 if (inSize < LZMA_HEADER_SIZE) in Decode()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c578 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
582 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
806 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
818 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
865 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
867 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
870 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
871 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
872 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
884 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
D7zTypes.h224 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c580 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
584 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
808 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
820 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
867 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
869 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
872 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
873 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
874 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
886 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
D7zTypes.h228 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c580 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
584 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
808 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
820 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
867 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
869 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
872 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
873 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
874 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
886 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
D7zTypes.h228 SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize);
/device/google/contexthub/util/common/
DJSONObject.cpp521 static void EscapeString(const char *in, size_t inSize, AString *out) { in EscapeString() argument
525 for (size_t i = 0; i < inSize; ++i) { in EscapeString()