Home
last modified time | relevance | path

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

/external/lzma/C/Util/Lzma/
DLzmaUtil.c23 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
128 RINOK(LzmaDec_Allocate(&state, header, LZMA_PROPS_SIZE, &g_Alloc)); in Decode()
130 LzmaDec_Free(&state, &g_Alloc); in Decode()
142 enc = LzmaEnc_Create(&g_Alloc); in Encode()
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
166 LzmaEnc_Destroy(enc, &g_Alloc, &g_Alloc); in Encode()
/external/lzma/C/
DLzmaLib.c13 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
37 NULL, &g_Alloc, &g_Alloc); in LzmaCompress()
45 …Decode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc); in LzmaUncompress()
DXzEnc.c27 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
259 g_Alloc.Free(&g_Alloc, p->buf); in SeqInFilter_Free()
270 p->buf = g_Alloc.Alloc(&g_Alloc, FILTER_BUF_SIZE); in SeqInFilter_Init()
276 RINOK(BraState_SetFromMethod(&p->StateCoder, props->id, 1, &g_Alloc)); in SeqInFilter_Init()
277 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, &g_Alloc)); in SeqInFilter_Init()
490 … RINOK(Xz_AddIndexRecord(xz, block.unpackSize, seqSizeOutStream.processed - padSize, &g_Alloc)); in Xz_Compress()
503 Lzma2WithFilters_Construct(&lzmaf, &g_Alloc, &g_BigAlloc); in Xz_Encode()
508 Xz_Free(&xz, &g_Alloc); in Xz_Encode()
520 Xz_Free(&xz, &g_Alloc); in Xz_EncodeEmpty()
DLzma86Enc.c20 ISzAlloc g_Alloc = { SzAlloc, SzFree }; in Lzma86_Encode() local
85 NULL, &g_Alloc, &g_Alloc); in Lzma86_Encode()
DLzma86Dec.c26 ISzAlloc g_Alloc = { SzAlloc, SzFree }; in Lzma86_Decode() local
45 src + 1, LZMA_PROPS_SIZE, LZMA_FINISH_ANY, &status, &g_Alloc); in Lzma86_Decode()
/external/lzma/CPP/7zip/Compress/
DLzmaEncoder.cpp21 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
26 _encoder = LzmaEnc_Create(&g_Alloc); in CEncoder()
34 LzmaEnc_Destroy(_encoder, &g_Alloc, &g_BigAlloc); in ~CEncoder()
150 …_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL, &g_Alloc, &g_BigAlloc); in Code()
DLzma2Decoder.cpp36 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
40 Lzma2Dec_Free(&_state, &g_Alloc); in ~CDecoder()
47 RINOK(SResToHRESULT(Lzma2Dec_Allocate(&_state, prop[0], &g_Alloc))); in SetDecoderProperties2()
DLzma2Encoder.cpp28 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
33 _encoder = Lzma2Enc_Create(&g_Alloc, &g_BigAlloc); in CEncoder()
DLzmaDecoder.cpp40 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
44 LzmaDec_Free(&_state, &g_Alloc); in ~CDecoder()
66 RINOK(SResToHRESULT(LzmaDec_Allocate(&_state, prop, size, &g_Alloc))); in SetDecoderProperties2()
/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()
167 Buf_Free(&buf, &g_Alloc); in MyCreateDir()
183 Buf_Free(&buf, &g_Alloc); in OutFile_OpenUtf16()
200 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.cpp37 static ISzAlloc g_Alloc = { SzAlloc, SzFree }; variable
423 ~CXzsCPP() { Xzs_Free(&p, &g_Alloc); } in ~CXzsCPP()
504 SRes res = Xzs_ReadBackward(&xzs.p, &lookStream.s, &startPosition, &openWrap.p, &g_Alloc); in Open2()
598 XzUnpacker_Construct(&p, &g_Alloc); in CXzUnpackerCPP()