Searched refs:pZip (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/common/zip/
H A Dzip.cpp132 DECLCALLBACKMEMBER(int, pfnCompress)(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf);
137 DECLCALLBACKMEMBER(int, pfnFinish)(PRTZIPCOMP pZip);
142 DECLCALLBACKMEMBER(int, pfnDestroy)(PRTZIPCOMP pZip);
200 DECLCALLBACKMEMBER(int, pfnDecompress)(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten);
205 DECLCALLBACKMEMBER(int, pfnDestroy)(PRTZIPDECOMP pZip);
262 static DECLCALLBACK(int) rtZipStoreCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf) argument
264 uint8_t *pbDst = pZip->u.Store.pb;
270 size_t cb = sizeof(pZip->abBuffer) - (size_t)(pbDst - &pZip->abBuffer[0]); /* careful here, g++ 4.1.2 screws up easily */
273 int rc = pZip
300 rtZipStoreCompFinish(PRTZIPCOMP pZip) argument
316 rtZipStoreCompDestroy(PRTZIPCOMP pZip) argument
329 rtZipStoreCompInit(PRTZIPCOMP pZip, RTZIPLEVEL enmLevel) argument
344 rtZipStoreDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
396 rtZipStoreDecompDestroy(PRTZIPDECOMP pZip) argument
408 rtZipStoreDecompInit(PRTZIPDECOMP pZip) argument
475 rtZipZlibCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf) argument
507 rtZipZlibCompFinish(PRTZIPCOMP pZip) argument
540 rtZipZlibCompDestroy(PRTZIPCOMP pZip) argument
559 rtZipZlibCompInit(PRTZIPCOMP pZip, RTZIPLEVEL enmLevel, bool fZlibHeader) argument
588 rtZipZlibDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
636 rtZipZlibDecompDestroy(PRTZIPDECOMP pZip) argument
654 rtZipZlibDecompInit(PRTZIPDECOMP pZip, bool fZlibHeader) argument
707 rtZipBZlibCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf) argument
739 rtZipBZlibCompFinish(PRTZIPCOMP pZip) argument
772 rtZipBZlibCompDestroy(PRTZIPCOMP pZip) argument
790 rtZipBZlibCompInit(PRTZIPCOMP pZip, RTZIPLEVEL enmLevel) argument
819 rtZipBZlibDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
860 rtZipBZlibDecompDestroy(PRTZIPDECOMP pZip) argument
877 rtZipBZlibDecompInit(PRTZIPDECOMP pZip) argument
899 rtZipLZFCompFlushOutput(PRTZIPCOMP pZip) argument
915 rtZipLZFCompressBuffer(PRTZIPCOMP pZip, const uint8_t *pbBuf, size_t cbBuf) argument
992 rtZipLZFCompFlushInput(PRTZIPCOMP pZip) argument
1006 rtZipLZFCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf) argument
1049 rtZipLZFCompFinish(PRTZIPCOMP pZip) argument
1061 rtZipLZFCompDestroy(PRTZIPCOMP pZip) argument
1074 rtZipLZFCompInit(PRTZIPCOMP pZip, RTZIPLEVEL enmLevel) argument
1113 rtZipLZFDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
1325 rtZipLZFDecompDestroy(PRTZIPDECOMP pZip) argument
1337 rtZipLZFDecompInit(PRTZIPDECOMP pZip) argument
1378 PRTZIPCOMP pZip = (PRTZIPCOMP)RTMemAlloc(sizeof(RTZIPCOMP)); local
1466 RTZipCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf) argument
1482 RTZipCompFinish(PRTZIPCOMP pZip) argument
1495 RTZipCompDestroy(PRTZIPCOMP pZip) argument
1516 rtZipStubDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
1526 rtZipStubDecompDestroy(PRTZIPDECOMP pZip) argument
1552 PRTZIPDECOMP pZip = (PRTZIPDECOMP)RTMemAlloc(sizeof(RTZIPDECOMP)); local
1576 rtzipDecompInit(PRTZIPDECOMP pZip) argument
1668 RTZipDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten) argument
1700 RTZipDecompDestroy(PRTZIPDECOMP pZip) argument
[all...]
H A Dpkzipvfs.cpp335 PRTZIPDECOMP pZip; member in struct:RTZIPPKZIPIOSTREAM
836 if (pThis->pZip)
838 RTZipDecompDestroy(pThis->pZip);
839 pThis->pZip = NULL;
921 if ( !pThis->pZip
940 if (pThis->pZip)
942 RTZipDecompDestroy(pThis->pZip);
943 pThis->pZip = NULL;
945 int rc = RTZipDecompCreate(&pThis->pZip, (void*)pThis, rtZipPkzipFssIosReadHelper);
961 int rc = RTZipDecompress(pThis->pZip, u8Bu
[all...]
/vbox/include/iprt/
H A Dzip.h126 * @param pZip The compressor instance.
130 RTDECL(int) RTZipCompress(PRTZIPCOMP pZip, const void *pvBuf, size_t cbBuf);
137 * @param pZip The stream compressor instance.
139 RTDECL(int) RTZipCompFinish(PRTZIPCOMP pZip); variable
145 * @param pZip The compressor instance.
147 RTDECL(int) RTZipCompDestroy(PRTZIPCOMP pZip); variable
164 * @param pZip The stream decompressor instance.
171 RTDECL(int) RTZipDecompress(PRTZIPDECOMP pZip, void *pvBuf, size_t cbBuf, size_t *pcbWritten);
177 * @param pZip The decompressor instance.
179 RTDECL(int) RTZipDecompDestroy(PRTZIPDECOMP pZip); variable
[all...]
/vbox/src/VBox/Storage/
H A DDMG.cpp540 PRTZIPDECOMP pZip = NULL; local
549 rc = RTZipDecompCreate(&pZip, &InflateState, dmgFileInflateHelper);
552 rc = RTZipDecompress(pZip, pvBuf, cbBuf, &cbActuallyRead);
553 RTZipDecompDestroy(pZip);
H A DVMDK.cpp687 PRTZIPDECOMP pZip = NULL; local
747 rc = RTZipDecompCreate(&pZip, &InflateState, vmdkFileInflateHelper);
750 rc = RTZipDecompress(pZip, pvBuf, cbToRead, &cbActuallyRead);
751 RTZipDecompDestroy(pZip);
795 PRTZIPCOMP pZip = NULL; local
803 rc = RTZipCompCreate(&pZip, &DeflateState, vmdkFileDeflateHelper,
807 rc = RTZipCompress(pZip, pvBuf, cbToWrite);
809 rc = RTZipCompFinish(pZip);
810 RTZipCompDestroy(pZip);

Completed in 101 milliseconds