Home
last modified time | relevance | path

Searched refs:g_Alloc (Results 1 – 14 of 14) sorted by relevance

/external/lzma/C/Util/Lzma/
DLzmaUtil.c124 RINOK(LzmaDec_Allocate(&state, header, LZMA_PROPS_SIZE, &g_Alloc)); in Decode()
126 LzmaDec_Free(&state, &g_Alloc); in Decode()
138 enc = LzmaEnc_Create(&g_Alloc); in Encode()
159 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
162 LzmaEnc_Destroy(enc, &g_Alloc, &g_Alloc); in Encode()
/external/lzma/C/
DLzmaLib.c31 NULL, &g_Alloc, &g_Alloc); in LzmaCompress()
39 …Decode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc); in LzmaUncompress()
DXzEnc.c265 g_Alloc.Free(&g_Alloc, p->buf); in SeqInFilter_Free()
276 p->buf = g_Alloc.Alloc(&g_Alloc, FILTER_BUF_SIZE); in SeqInFilter_Init()
282 RINOK(BraState_SetFromMethod(&p->StateCoder, props->id, 1, &g_Alloc)); in SeqInFilter_Init()
283 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, &g_Alloc)); in SeqInFilter_Init()
504 … RINOK(Xz_AddIndexRecord(xz, block.unpackSize, seqSizeOutStream.processed - padSize, &g_Alloc)); in Xz_Compress()
518 Lzma2WithFilters_Construct(&lzmaf, &g_Alloc, &g_BigAlloc); in Xz_Encode()
523 Xz_Free(&xz, &g_Alloc); in Xz_Encode()
536 Xz_Free(&xz, &g_Alloc); in Xz_EncodeEmpty()
DLzma86Enc.c83 NULL, &g_Alloc, &g_Alloc); in Lzma86_Encode()
DAlloc.h32 extern ISzAlloc g_Alloc;
DLzma86Dec.c43 src + 1, LZMA_PROPS_SIZE, LZMA_FINISH_ANY, &status, &g_Alloc); in Lzma86_Decode()
DAlloc.c132 ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
/external/lzma/CPP/7zip/Compress/
DLzmaEncoder.cpp18 _encoder = LzmaEnc_Create(&g_Alloc); in CEncoder()
26 LzmaEnc_Destroy(_encoder, &g_Alloc, &g_BigAlloc); in ~CEncoder()
141 …_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL, &g_Alloc, &g_BigAlloc); in Code()
DLzma2Decoder.cpp43 Lzma2Dec_Free(&_state, &g_Alloc); in ~CDecoder()
52 RINOK(SResToHRESULT(Lzma2Dec_Allocate(&_state, prop[0], &g_Alloc))); in SetDecoderProperties2()
DLzmaDecoder.cpp40 LzmaDec_Free(&_state, &g_Alloc); in ~CDecoder()
62 RINOK(SResToHRESULT(LzmaDec_Allocate(&_state, prop, size, &g_Alloc))); in SetDecoderProperties2()
DLzma2Encoder.cpp25 _encoder = Lzma2Enc_Create(&g_Alloc, &g_BigAlloc); in CEncoder()
/external/lzma/C/Util/7z/
D7zMain.c26 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
32 Buf_Free(dest, &g_Alloc); in Buf_EnsureSize()
33 return Buf_Create(dest, size, &g_Alloc); in Buf_EnsureSize()
209 Buf_Free(&buf, &g_Alloc); in MyCreateDir()
225 Buf_Free(&buf, &g_Alloc); in OutFile_OpenUtf16()
242 Buf_Free(&buf, &g_Alloc); in PrintString()
/external/lzma/DOC/
Dlzma.txt143 res = LzmaDec_Allocate(&state, header, LZMA_PROPS_SIZE, &g_Alloc);
160 LzmaDec_Free(&state, &g_Alloc);
209 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
224 enc = LzmaEnc_Create(&g_Alloc);
254 NULL, &g_Alloc, &g_Alloc);
257 LzmaEnc_Destroy(enc, &g_Alloc, &g_Alloc);
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp382 ~CXzsCPP() { Xzs_Free(&p, &g_Alloc); } in ~CXzsCPP()
446 SRes res = Xzs_ReadBackward(&xzs.p, &lookStream.s, &startPosition, &openWrap.p, &g_Alloc); in Open2()
535 XzUnpacker_Construct(&p, &g_Alloc); in CXzUnpackerCPP()