Home
last modified time | relevance | path

Searched refs:lastChunkOffset (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/package/hpkg/
H A DPackageFileHeapReader.cpp119 uint64 lastChunkOffset = fOffsets[chunkCount - 1]; in Init() local
120 if (lastChunkOffset >= fCompressedHeapSize in Init()
121 || fCompressedHeapSize - lastChunkOffset > kChunkSize in Init()
122 || fCompressedHeapSize - lastChunkOffset in Init()
127 fCompressedHeapSize, fUncompressedHeapSize, lastChunkOffset); in Init()
H A DPackageFileHeapWriter.cpp647 uint64 lastChunkOffset = fOffsets[fOffsets.Count() - 1]; in _UnwriteLastPartialChunk() local
648 size_t compressedSize = fCompressedHeapSize - lastChunkOffset; in _UnwriteLastPartialChunk()
650 status_t error = ReadAndDecompressChunkData(lastChunkOffset, in _UnwriteLastPartialChunk()
657 fCompressedHeapSize = lastChunkOffset; in _UnwriteLastPartialChunk()