Lines Matching defs:phVfsSrc
125 * @param phVfsSrc The input stream. Set to NIL if closed.
129 static RTEXITCODE gzipPushFlushAndClose(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsDst)
134 RTEXITCODE rcExit = gzipPush(*phVfsSrc, *phVfsDst);
136 RTVfsIoStrmRelease(*phVfsSrc);
137 *phVfsSrc = NIL_RTVFSIOSTREAM;
176 * @param phVfsSrc The input stream. Set to NIL if closed.
180 static RTEXITCODE gzipCompressFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsDst)
194 return gzipPushFlushAndClose(phVfsSrc, pOpts, phVfsDst);
203 * @param phVfsSrc The input stream. Replaced on success.
205 static RTEXITCODE gzipSetupDecompressor(PRTVFSIOSTREAM phVfsSrc)
213 int rc = RTZipGzipDecompressIoStream(*phVfsSrc, fFlags, &hVfsGunzip);
217 uint32_t cRefs = RTVfsIoStrmRelease(*phVfsSrc);
219 *phVfsSrc = hVfsGunzip;
229 * @param phVfsSrc The input stream. Set to NIL if closed.
233 static RTEXITCODE gzipDecompressFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsDst)
235 RTEXITCODE rcExit = gzipSetupDecompressor(phVfsSrc);
237 rcExit = gzipPushFlushAndClose(phVfsSrc, pOpts, phVfsDst);
246 * @param phVfsSrc The input stream. Set to NIL if closed.
249 static RTEXITCODE gzipTestFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts)
254 RTEXITCODE rcExit = gzipSetupDecompressor(phVfsSrc);
261 int rc = RTVfsIoStrmRead(*phVfsSrc, abBuf, sizeof(abBuf), true /*fBlocking*/, &cbRead);
272 static RTEXITCODE gzipListFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts)