Home
last modified time | relevance | path

Searched refs:ISzAllocPtr (Results 1 – 25 of 35) sorted by relevance

12

/third_party/lzma/C/
DLzmaEnc.h61 CLzmaEncHandle LzmaEnc_Create(ISzAllocPtr alloc);
62 void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAllocPtr alloc, ISzAllocPtr allocBig);
70 ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
72 int writeEndMark, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
79 ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
DXz.h124 void Xz_Free(CXzStream *p, ISzAllocPtr alloc);
139 void Xzs_Free(CXzs *p, ISzAllocPtr alloc);
140 …, ILookInStreamPtr inStream, Int64 *startOffset, ICompressProgressPtr progress, ISzAllocPtr alloc);
169 void (*Free)(void *p, ISzAllocPtr alloc);
170 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAllocPtr alloc);
192 Xz_Func_BcFilterStateBase_Filter func, ISzAllocPtr alloc);
199 ISzAllocPtr alloc;
275 void XzUnpacker_Construct(CXzUnpacker *p, ISzAllocPtr alloc);
461 CXzDecMtHandle XzDecMt_Create(ISzAllocPtr alloc, ISzAllocPtr allocMid);
D7zAlloc.h11 void *SzAlloc(ISzAllocPtr p, size_t size);
12 void SzFree(ISzAllocPtr p, void *address);
14 void *SzAllocTemp(ISzAllocPtr p, size_t size);
15 void SzFreeTemp(ISzAllocPtr p, void *address);
DAlloc.c318 static void *SzAlloc(ISzAllocPtr p, size_t size) { UNUSED_VAR(p) return MyAlloc(size); } in SzAlloc()
319 static void SzFree(ISzAllocPtr p, void *address) { UNUSED_VAR(p) MyFree(address); } in SzFree()
323 static void *SzMidAlloc(ISzAllocPtr p, size_t size) { UNUSED_VAR(p) return MidAlloc(size); } in SzMidAlloc()
324 static void SzMidFree(ISzAllocPtr p, void *address) { UNUSED_VAR(p) MidFree(address); } in SzMidFree()
325 static void *SzBigAlloc(ISzAllocPtr p, size_t size) { UNUSED_VAR(p) return BigAlloc(size); } in SzBigAlloc()
326 static void SzBigFree(ISzAllocPtr p, void *address) { UNUSED_VAR(p) BigFree(address); } in SzBigFree()
402 static void *SzAlignedAlloc(ISzAllocPtr pp, size_t size) in SzAlignedAlloc()
450 static void SzAlignedFree(ISzAllocPtr pp, void *address) in SzAlignedFree()
474 static void *AlignOffsetAlloc_Alloc(ISzAllocPtr pp, size_t size) in AlignOffsetAlloc_Alloc()
518 static void AlignOffsetAlloc_Free(ISzAllocPtr pp, void *address) in AlignOffsetAlloc_Free()
D7z.h103 ISzAllocPtr allocMain);
136 void SzArEx_Free(CSzArEx *p, ISzAllocPtr alloc);
184 ISzAllocPtr allocMain,
185 ISzAllocPtr allocTemp);
200 ISzAllocPtr allocMain, ISzAllocPtr allocTemp);
D7zBuf.h18 int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc);
19 void Buf_Free(CBuf *p, ISzAllocPtr alloc);
30 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAllocPtr alloc);
31 void DynBuf_Free(CDynBuf *p, ISzAllocPtr alloc);
DLzmaDec.h140 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
141 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAllocPtr alloc);
143 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
144 void LzmaDec_Free(CLzmaDec *p, ISzAllocPtr alloc);
233 ELzmaStatus *status, ISzAllocPtr alloc);
D7zAlloc.c38 void *SzAlloc(ISzAllocPtr p, size_t size) in SzAlloc()
49 void SzFree(ISzAllocPtr p, void *address) in SzFree()
59 void *SzAllocTemp(ISzAllocPtr p, size_t size) in SzAllocTemp()
75 void SzFreeTemp(ISzAllocPtr p, void *address) in SzFreeTemp()
D7zArcIn.c64 static SRes SzBitUi32s_Alloc(CSzBitUi32s *p, size_t num, ISzAllocPtr alloc) in SzBitUi32s_Alloc()
79 static void SzBitUi32s_Free(CSzBitUi32s *p, ISzAllocPtr alloc) in SzBitUi32s_Free()
87 static void SzBitUi64s_Free(CSzBitUi64s *p, ISzAllocPtr alloc) in SzBitUi64s_Free()
113 static void SzAr_Free(CSzAr *p, ISzAllocPtr alloc) in SzAr_Free()
153 void SzArEx_Free(CSzArEx *p, ISzAllocPtr alloc) in SzArEx_Free()
320 static Z7_NO_INLINE SRes ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAllocPtr alloc) in ReadBitVector()
348 static Z7_NO_INLINE SRes ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr al… in ReadUi32s()
369 static SRes ReadBitUi32s(CSzData *sd, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) in ReadBitUi32s()
395 static SRes ReadPackInfo(CSzAr *p, CSzData *sd, ISzAllocPtr alloc) in ReadPackInfo()
650 ISzAllocPtr alloc) in ReadUnpackInfo()
[all …]
DLzma2Dec.h30 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
31 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
117 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc);
DXzEnc.c124 static void XzEncIndex_Free(CXzEncIndex *p, ISzAllocPtr alloc) in XzEncIndex_Free()
137 static SRes XzEncIndex_ReAlloc(CXzEncIndex *p, size_t newSize, ISzAllocPtr alloc) in XzEncIndex_ReAlloc()
152 …_PreAlloc(CXzEncIndex *p, UInt64 numBlocks, UInt64 unpackSize, UInt64 totalSize, ISzAllocPtr alloc) in XzEncIndex_PreAlloc()
174 …s XzEncIndex_AddIndexRecord(CXzEncIndex *p, UInt64 unpackSize, UInt64 totalSize, ISzAllocPtr alloc) in XzEncIndex_AddIndexRecord()
360 static SRes SeqInFilter_Init(CSeqInFilter *p, const CXzFilter *props, ISzAllocPtr alloc) in SeqInFilter_Init()
419 static void SeqInFilter_Free(CSeqInFilter *p, ISzAllocPtr alloc) in SeqInFilter_Free()
474 void SbEncInStream_Construct(CSbEncInStream *p, ISzAllocPtr alloc) in SbEncInStream_Construct()
701 static SRes Lzma2WithFilters_Create(CLzma2WithFilters *p, ISzAllocPtr alloc, ISzAllocPtr bigAlloc) in Lzma2WithFilters_Create()
713 static void Lzma2WithFilters_Free(CLzma2WithFilters *p, ISzAllocPtr alloc) in Lzma2WithFilters_Free()
752 ISzAllocPtr alloc, in Xz_CompressBlock()
[all …]
D7zBuf.c14 int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc) in Buf_Create()
31 void Buf_Free(CBuf *p, ISzAllocPtr alloc) in Buf_Free()
DXzIn.c92 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAllocPtr alloc) in Xz_ReadIndex2()
136 static SRes Xz_ReadIndex(CXzStream *p, ILookInStreamPtr stream, UInt64 indexSize, ISzAllocPtr alloc) in Xz_ReadIndex()
163 static SRes Xz_ReadBackward(CXzStream *p, ILookInStreamPtr stream, Int64 *startOffset, ISzAllocPtr in Xz_ReadBackward()
264 void Xzs_Free(CXzs *p, ISzAllocPtr alloc) in Xzs_Free()
307 … *p, ILookInStreamPtr stream, Int64 *startOffset, ICompressProgressPtr progress, ISzAllocPtr alloc) in Xzs_ReadBackward()
DLzma2Enc.h43 CLzma2EncHandle Lzma2Enc_Create(ISzAllocPtr alloc, ISzAllocPtr allocBig);
DLzmaEnc.c26 ISzAllocPtr alloc, ISzAllocPtr allocBig);
28 UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig);
642 static int RangeEnc_Alloc(CRangeEnc *p, ISzAllocPtr alloc) in RangeEnc_Alloc()
654 static void RangeEnc_Free(CRangeEnc *p, ISzAllocPtr alloc) in RangeEnc_Free()
2346 CLzmaEncHandle LzmaEnc_Create(ISzAllocPtr alloc) in LzmaEnc_Create()
2355 static void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAllocPtr alloc) in LzmaEnc_FreeLits()
2363 static void LzmaEnc_Destruct(CLzmaEnc *p, ISzAllocPtr alloc, ISzAllocPtr allocBig) in LzmaEnc_Destruct()
2374 void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAllocPtr alloc, ISzAllocPtr allocBig) in LzmaEnc_Destroy()
2686 static SRes LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocB… in LzmaEnc_Alloc()
2851 static SRes LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr in LzmaEnc_AllocAndInit()
[all …]
DLzma2DecMt.h45 CLzma2DecMtHandle Lzma2DecMt_Create(ISzAllocPtr alloc, ISzAllocPtr allocMid);
D7zBuf2.c22 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAllocPtr alloc) in DynBuf_Write()
46 void DynBuf_Free(CDynBuf *p, ISzAllocPtr alloc) in DynBuf_Free()
DXzEnc.h48 CXzEncHandle XzEnc_Create(ISzAllocPtr alloc, ISzAllocPtr allocBig);
DLzma2Enc.c115 ISzAllocPtr alloc, ISzAllocPtr allocBig);
117 UInt32 keepWindowSize, ISzAllocPtr alloc, ISzAllocPtr allocBig);
363 ISzAllocPtr alloc;
364 ISzAllocPtr allocBig;
385 CLzma2EncHandle Lzma2Enc_Create(ISzAllocPtr alloc, ISzAllocPtr allocBig) in Lzma2Enc_Create()
DLzFindMt.h97 void MatchFinderMt_Destruct(CMatchFinderMt *p, ISzAllocPtr alloc);
100 UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAllocPtr alloc);
D7zDec.c99 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodePpmd()
164 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma()
224 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma2()
414 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain, in SzFolder_Decode2()
609 ISzAllocPtr allocMain) in SzAr_DecodeFolder()
DLzFind.h101 ISzAllocPtr alloc);
102 void MatchFinder_Free(CMatchFinder *p, ISzAllocPtr alloc);
DPpmd7.h107 BoolInt Ppmd7_Alloc(CPpmd7 *p, UInt32 size, ISzAllocPtr alloc);
108 void Ppmd7_Free(CPpmd7 *p, ISzAllocPtr alloc);
DXzDec.c88 static void XzBcFilterState_Free(void *pp, ISzAllocPtr alloc) in XzBcFilterState_Free()
99 static SRes XzBcFilterState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr allo… in XzBcFilterState_SetProps()
268 Xz_Func_BcFilterStateBase_Filter func, ISzAllocPtr alloc) in Xz_StateCoder_Bc_SetFromMethod_Func()
304 static void SbState_Free(void *pp, ISzAllocPtr alloc) in SbState_Free()
311 static SRes SbState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in SbState_SetProps()
347 static SRes SbState_SetFromMethod(IStateCoder *p, ISzAllocPtr alloc) in SbState_SetFromMethod()
380 static void Lzma2State_Free(void *pp, ISzAllocPtr alloc) in Lzma2State_Free()
390 static SRes Lzma2State_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in Lzma2State_SetProps()
440 static SRes Lzma2State_SetFromMethod(IStateCoder *p, Byte *outBuf, size_t outBufSize, ISzAllocPtr a… in Lzma2State_SetFromMethod()
482 static void MixCoder_Construct(CMixCoder *p, ISzAllocPtr alloc) in MixCoder_Construct()
[all …]
D7zTypes.h457 typedef const ISzAlloc * ISzAllocPtr; typedef
461 void *(*Alloc)(ISzAllocPtr p, size_t size);
462 void (*Free)(ISzAllocPtr p, void *address); /* address can be 0 */

12