Home
last modified time | relevance | path

Searched refs:ISzAlloc_Alloc (Results 1 – 22 of 22) sorted by relevance

/third_party/lzma/CPP/Common/
DMyBuffer2.h76 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size); in CAlignedBuffer()
101 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size); in Alloc()
114 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size); in AllocAtLeast()
/third_party/lzma/C/
DXzIn.c107 p->blocks = (CXzBlockSizes *)ISzAlloc_Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2()
135 buf = (Byte *)ISzAlloc_Alloc(alloc, size); in Xz_ReadIndex()
308 void *data = ISzAlloc_Alloc(alloc, newNum * sizeof(CXzStream)); in Xzs_ReadBackward()
D7zBuf.c22 p->data = (Byte *)ISzAlloc_Alloc(alloc, size); in Buf_Create()
D7zBuf2.c29 data = (Byte *)ISzAlloc_Alloc(alloc, newSize); in DynBuf_Write()
D7zTypes.h445 #define ISzAlloc_Alloc(p, size) (p)->Alloc(p, size) macro
449 #define IAlloc_Alloc(p, size) ISzAlloc_Alloc(p, size)
DXzEnc.c139 Byte *blocks = (Byte *)ISzAlloc_Alloc(alloc, newSize); in XzEncIndex_ReAlloc()
332 p->buf = (Byte *)ISzAlloc_Alloc(alloc, FILTER_BUF_SIZE); in SeqInFilter_Init()
1007 CXzEnc *p = (CXzEnc *)ISzAlloc_Alloc(alloc, sizeof(CXzEnc)); in XzEnc_Create()
1068 dest = (Byte *)ISzAlloc_Alloc(me->alloc, me->outBufSize); in XzEnc_MtCallback_Code()
1237 p->outBufs[0] = (Byte *)ISzAlloc_Alloc(p->alloc, t2); in XzEnc_Encode()
DLzma2Enc.c388 CLzma2Enc *p = (CLzma2Enc *)ISzAlloc_Alloc(alloc, sizeof(CLzma2Enc)); in Lzma2Enc_Create()
537 me->tempBufLzma = (Byte *)ISzAlloc_Alloc(me->alloc, LZMA2_CHUNK_SIZE_COMPRESSED_MAX); in Lzma2Enc_EncodeMt1()
671 dest = (Byte *)ISzAlloc_Alloc(me->alloc, me->outBufSize); in Lzma2Enc_MtCallback_Code()
DXzDec.c252 decoder = (CBraState *)ISzAlloc_Alloc(alloc, sizeof(CBraState)); in BraState_SetFromMethod()
321 decoder = (CSbDec *)ISzAlloc_Alloc(alloc, sizeof(CSbDec)); in SbState_SetFromMethod()
414 spec = (CLzma2Dec_Spec *)ISzAlloc_Alloc(alloc, sizeof(CLzma2Dec_Spec)); in Lzma2State_SetFromMethod()
631 p->buf = (Byte *)ISzAlloc_Alloc(p->alloc, CODER_BUF_SIZE * (MIXCODER_NUM_FILTERS_MAX - 1)); in MixCoder_Code()
1516 CXzDecMt *p = (CXzDecMt *)ISzAlloc_Alloc(alloc, sizeof(CXzDecMt)); in XzDecMt_Create()
1860 dest = (Byte *)ISzAlloc_Alloc(me->allocMid, outPreSize); in XzDecMt_Callback_PreCode()
2358 p->outBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.outStep_ST); in XzDecMt_Decode_ST()
2368 p->inBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.inBufSize_ST); in XzDecMt_Decode_ST()
DLzma2DecMt.c127 CLzma2DecMt *p = (CLzma2DecMt *)ISzAlloc_Alloc(alloc, sizeof(CLzma2DecMt)); in Lzma2DecMt_Create()
436 dest = (Byte *)ISzAlloc_Alloc(me->allocMid, t->outPreSize in Lzma2DecMt_MtCallback_PreCode()
624 p->inBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.inBufSize_ST); in Lzma2Dec_Prepare_ST()
D7zDec.c416 temp = (Byte *)ISzAlloc_Alloc(allocMain, outSizeCur); in SzFolder_Decode2()
472 tempBuf[2] = (Byte *)ISzAlloc_Alloc(allocMain, tempSizes[2]); in SzFolder_Decode2()
DAlloc.c424 adr = ISzAlloc_Alloc(p->baseAlloc, newSize); in AlignOffsetAlloc_Alloc()
DMtDec.c246 cr = (Byte *)ISzAlloc_Alloc(p->alloc, MTDEC__LINK_DATA_OFFSET + p->inBufSize); in MtDec_GetCrossBuff()
338 … link = (CMtDecBufLink *)ISzAlloc_Alloc(p->alloc, MTDEC__LINK_DATA_OFFSET + p->inBufSize); in ThreadFunc2()
DLzmaDec.c1290 p->probs = (CLzmaProb *)ISzAlloc_Alloc(alloc, numProbs * sizeof(CLzmaProb)); in LzmaDec_AllocateProbs2()
1328 p->dic = (Byte *)ISzAlloc_Alloc(alloc, dicBufSize); in LzmaDec_Allocate()
DMtCoder.c149 t->inBuf = (Byte *)ISzAlloc_Alloc(mtc->allocBig, mtc->blockSize); in ThreadFunc2()
DLzFind.c104 p->bufferBase = (Byte *)ISzAlloc_Alloc(alloc, blockSize); in LzInWindow_Create2()
258 return (CLzRef *)ISzAlloc_Alloc(alloc, sizeInBytes); in AllocRefs()
DLzmaEnc.c660 p->bufBase = (Byte *)ISzAlloc_Alloc(alloc, RC_BUF_SIZE); in RangeEnc_Alloc()
2363 p = ISzAlloc_Alloc(alloc, sizeof(CLzmaEnc)); in LzmaEnc_Create()
2716 p->litProbs = (CLzmaProb *)ISzAlloc_Alloc(alloc, ((UInt32)0x300 << lclp) * sizeof(CLzmaProb)); in LzmaEnc_Alloc()
2717 …p->saveState.litProbs = (CLzmaProb *)ISzAlloc_Alloc(alloc, ((UInt32)0x300 << lclp) * sizeof(CLzmaP… in LzmaEnc_Alloc()
D7zArcIn.c14 if ((p = (T *)ISzAlloc_Alloc(alloc, (size) * sizeof(T))) == NULL) return SZ_ERROR_MEM; }
1695 *tempBuf = (Byte *)ISzAlloc_Alloc(allocMain, unpackSize); in SzArEx_Extract()
DPpmd7.c98 if ((p->Base = (Byte *)ISzAlloc_Alloc(alloc, p->AlignOffset + size)) == NULL) in Ppmd7_Alloc()
DLzFindMt.c857 …p->hashBuf = (UInt32 *)ISzAlloc_Alloc(alloc, ((size_t)kHashBufferSize + (size_t)kBtBufferSize) * s… in MatchFinderMt_Create()
/third_party/lzma/CPP/7zip/Common/
DFilterCoder.cpp24 _buf = (Byte *)ISzAlloc_Alloc(&alignedMidBuffer_Alloc, size); in AllocAligned()
/third_party/lzma/C/Util/SfxSetup/
DSfxSetup.c382 lookStream.buf = (Byte *)ISzAlloc_Alloc(&allocImp, kInputBufSize); in main()
/third_party/lzma/C/Util/7z/
D7zMain.c607 lookStream.buf = (Byte *)ISzAlloc_Alloc(&allocImp, kInputBufSize); in main()