Lines Matching refs:state
75 * Same as LZ4_compress_HC(), but using an externally allocated memory segment for `state`.
76 * `state` size is provided by LZ4_sizeofStateHC().
104 * These functions create and release memory for LZ4 HC streaming state.
106 * A same state can be used multiple times consecutively,
119 Before starting compression, state must be allocated and properly initialized.
125 which is automatically the case when state is created using LZ4_createStreamHC().
141 so the state _must_ be reset.
151 it's possible to start a new stream of blocks, using the same LZ4_streamHC_t state,
229 * This structure allows static allocation of LZ4 HC streaming state.
232 * Such state **must** be initialized using LZ4_initStreamHC() before first use.
235 * the state was created using LZ4_createStreamHC() (which is recommended).
236 * Using the normal builder, a newly created state is automatically initialized.
258 LZ4_DEPRECATED("use LZ4_compress_HC_extStateHC() instead") LZ4LIB_API int LZ4_compressHC_withStateHC (void* state, const char* source, char* dest, int inputSize);
259 LZ4_DEPRECATED("use LZ4_compress_HC_extStateHC() instead") LZ4LIB_API int LZ4_compressHC_limitedOutput_withStateHC (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
260 LZ4_DEPRECATED("use LZ4_compress_HC_extStateHC() instead") LZ4LIB_API int LZ4_compressHC2_withStateHC (void* state, const char* source, char* dest, int inputSize, int compressionLevel);
261 LZ4_DEPRECATED("use LZ4_compress_HC_extStateHC() instead") LZ4LIB_API int LZ4_compressHC2_limitedOutput_withStateHC(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
268 * that is no longer tracked in the state. They have been preserved as well as
281 LZ4_DEPRECATED("use LZ4_initStreamHC() instead") LZ4LIB_API int LZ4_resetStreamStateHC(void* state, char* inputBuffer);
337 * When an LZ4_streamHC_t is known to be in a internally coherent state,
340 * when the stream is in an indeterminate state (i.e., the reset performed by
343 * LZ4_streamHCs are guaranteed to be in a valid state when:
347 * - the stream was in a valid state and was reset by LZ4_resetStreamHC_fast()
348 * - the stream was in a valid state and was then used in any compression call
350 * - the stream was in an indeterminate state and was used in a compression
351 * call that fully reset the state (LZ4_compress_HC_extStateHC()) and that
366 * to call if the state buffer is known to be correctly initialized already
369 * function initializes the provided state with a call to
374 void* state,
388 * Several assumptions are made about the state of the dictionary stream.