Searched refs:cStage (Results 1 – 1 of 1) sorted by relevance
119 U32 cStage; member336 cctxPtr->cStage = 0; /* Next stage : write header */ in LZ4F_createCompressionContext()372 if (cctxPtr->cStage != 0) return (size_t)-ERROR_GENERIC; in LZ4F_compressBegin()427 cctxPtr->cStage = 1; /* header written, wait for data block */ in LZ4F_compressBegin()532 if (cctxPtr->cStage != 1) return (size_t)-ERROR_GENERIC; in LZ4F_compressUpdate()638 if (cctxPtr->cStage != 1) return (size_t)-ERROR_GENERIC; in LZ4F_flush()692 cctxPtr->cStage = 0; /* state is now re-usable (with identical preferences) */ in LZ4F_compressEnd()