/external/lzma/C/ |
LzmaLib.c | 13 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
37 NULL, &g_Alloc, &g_Alloc);
45 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
|
Lzma86Dec.c | 26 ISzAlloc g_Alloc = { SzAlloc, SzFree };
45 src + 1, LZMA_PROPS_SIZE, LZMA_FINISH_ANY, &status, &g_Alloc);
|
Lzma86Enc.c | 20 ISzAlloc g_Alloc = { SzAlloc, SzFree };
85 NULL, &g_Alloc, &g_Alloc);
|
XzEnc.c | 27 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
259 g_Alloc.Free(&g_Alloc, p->buf);
270 p->buf = g_Alloc.Alloc(&g_Alloc, FILTER_BUF_SIZE);
276 RINOK(BraState_SetFromMethod(&p->StateCoder, props->id, 1, &g_Alloc));
277 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, &g_Alloc));
490 RINOK(Xz_AddIndexRecord(xz, block.unpackSize, seqSizeOutStream.processed - padSize, &g_Alloc));
503 Lzma2WithFilters_Construct(&lzmaf, &g_Alloc, &g_BigAlloc);
508 Xz_Free(&xz, &g_Alloc);
[all...] |
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 23 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
128 RINOK(LzmaDec_Allocate(&state, header, LZMA_PROPS_SIZE, &g_Alloc));
130 LzmaDec_Free(&state, &g_Alloc);
142 enc = LzmaEnc_Create(&g_Alloc);
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
166 LzmaEnc_Destroy(enc, &g_Alloc, &g_Alloc);
|
/external/lzma/CPP/7zip/Compress/ |
LzmaEncoder.cpp | 21 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
26 _encoder = LzmaEnc_Create(&g_Alloc);
34 LzmaEnc_Destroy(_encoder, &g_Alloc, &g_BigAlloc);
150 SRes res = LzmaEnc_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL, &g_Alloc, &g_BigAlloc);
|
Lzma2Encoder.cpp | 28 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
33 _encoder = Lzma2Enc_Create(&g_Alloc, &g_BigAlloc);
|
Lzma2Decoder.cpp | 36 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
40 Lzma2Dec_Free(&_state, &g_Alloc);
47 RINOK(SResToHRESULT(Lzma2Dec_Allocate(&_state, prop[0], &g_Alloc)));
|
LzmaDecoder.cpp | 40 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
44 LzmaDec_Free(&_state, &g_Alloc);
66 RINOK(SResToHRESULT(LzmaDec_Allocate(&_state, prop, size, &g_Alloc)));
|
/external/lzma/C/Util/7z/ |
7zMain.c | 26 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
32 Buf_Free(dest, &g_Alloc);
33 return Buf_Create(dest, size, &g_Alloc);
167 Buf_Free(&buf, &g_Alloc);
183 Buf_Free(&buf, &g_Alloc);
200 Buf_Free(&buf, &g_Alloc);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/ |
LzmaCompress.c | 48 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
165 NULL, &g_Alloc, &g_Alloc);
226 inBuffer, LZMA_PROPS_SIZE, LZMA_FINISH_END, &status, &g_Alloc);
|
/external/lzma/CPP/7zip/Archive/ |
XzHandler.cpp | 37 static ISzAlloc g_Alloc = { SzAlloc, SzFree };
423 ~CXzsCPP() { Xzs_Free(&p, &g_Alloc); }
504 SRes res = Xzs_ReadBackward(&xzs.p, &lookStream.s, &startPosition, &openWrap.p, &g_Alloc);
598 XzUnpacker_Construct(&p, &g_Alloc);
|