Home | History | Annotate | Download | only in xz

Lines Matching refs:check_type

14 #	define IS_CRC64(check_type) ((check_type) == XZ_CHECK_CRC64)
16 # define IS_CRC64(check_type) false
60 enum xz_check check_type;
255 if (s->check_type == XZ_CHECK_CRC32)
259 else if (s->check_type == XZ_CHECK_CRC64)
279 s->block.hash.unpadded += check_sizes[s->check_type];
281 if (s->check_type == XZ_CHECK_CRC32)
283 else if (IS_CRC64(s->check_type))
392 while (s->pos < check_sizes[s->check_type]) {
426 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1];
429 if (s->check_type > XZ_CHECK_MAX)
432 if (s->check_type > XZ_CHECK_CRC32 && !IS_CRC64(s->check_type))
435 if (s->check_type > XZ_CHECK_CRC32 && !IS_CRC64(s->check_type))
459 if (s->temp.buf[8] != 0 || s->temp.buf[9] != s->check_type)
678 if (s->check_type == XZ_CHECK_CRC32) {
683 else if (IS_CRC64(s->check_type)) {