Lines Matching refs:to
35 zalloc: TAlloc; // used to allocate the internal state
36 zfree: TFree; // used to free the internal state
37 AppData: Pointer; // private data object passed to zalloc and zfree
58 { TCompressionStream compresses data on the fly as data is written to it, and
59 stores the compressed data to another stream.
62 stream will raise an exception. Using Seek to move the stream pointer
65 Output data is cached internally, written to the output stream only when
70 data that have been written to the stream so far.
78 written to the output stream. This is useful for updating a progress
79 indicator when you are writing a large chunk of data to the compression
102 backwards. The special case of setting the stream position to zero is
105 to the end of the stream, requesting the size of the stream, and writing to
128 { CompressBuf compresses data, buffer to buffer, in one call.
129 In: InBuf = ptr to compressed data
131 Out: OutBuf = ptr to newly allocated buffer containing decompressed data
137 { DecompressBuf decompresses data, buffer to buffer, in one call.
138 In: InBuf = ptr to compressed data
141 Out: OutBuf = ptr to newly allocated buffer containing decompressed data
146 { DecompressToUserBuf decompresses data, buffer to buffer, in one call.
147 In: InBuf = ptr to compressed data
149 Out: OutBuf = ptr to user-allocated buffer to contain decompressed data
546 for I := 1 to Offset div sizeof(Buf) do