Lines Matching defs:check
15 #include "check.h"
43 lzma_check_state check;
74 // No need to check for overflow because we have already
78 lzma_check_update(&coder->check, coder->block->check,
110 if (coder->block->check == LZMA_CHECK_NONE)
113 lzma_check_finish(&coder->check, coder->block->check);
120 const size_t check_size = lzma_check_size(coder->block->check);
121 lzma_bufcpy(coder->check.buffer.u8, &coder->pos, check_size,
126 memcpy(coder->block->raw_check, coder->check.buffer.u8,
168 // check the version first.
172 // If the Check ID is not supported, we cannot calculate the check and
174 if ((unsigned int)(block->check) > LZMA_CHECK_ID_MAX)
177 if (!lzma_check_is_supported(block->check))
199 // Initialize the check
200 lzma_check_init(&next->coder->check, block->check);