Lines Matching refs:temp

128 	} temp;  member
159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
161 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 s->temp.pos += copy_size; in fill_temp()
165 if (s->temp.pos == s->temp.size) { in fill_temp()
166 s->temp.pos = 0; in fill_temp()
388 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
391 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()
392 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()
395 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()
404 if (s->temp.buf[HEADER_MAGIC_SIZE + 1] > XZ_CHECK_MAX) in dec_stream_header()
407 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
423 if (!memeq(s->temp.buf + 10, FOOTER_MAGIC, FOOTER_MAGIC_SIZE)) in dec_stream_footer()
426 if (xz_crc32(s->temp.buf + 4, 6, 0) != get_le32(s->temp.buf)) in dec_stream_footer()
434 if ((s->index.size >> 2) != get_le32(s->temp.buf + 4)) in dec_stream_footer()
437 if (s->temp.buf[8] != 0 || s->temp.buf[9] != s->check_type) in dec_stream_footer()
456 s->temp.size -= 4; in dec_block_header()
457 if (xz_crc32(s->temp.buf, s->temp.size, 0) in dec_block_header()
458 != get_le32(s->temp.buf + s->temp.size)) in dec_block_header()
461 s->temp.pos = 2; in dec_block_header()
468 if (s->temp.buf[1] & 0x3E) in dec_block_header()
470 if (s->temp.buf[1] & 0x3F) in dec_block_header()
475 if (s->temp.buf[1] & 0x40) { in dec_block_header()
476 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header()
486 if (s->temp.buf[1] & 0x80) { in dec_block_header()
487 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header()
498 s->bcj_active = s->temp.buf[1] & 0x01; in dec_block_header()
500 if (s->temp.size - s->temp.pos < 2) in dec_block_header()
503 ret = xz_dec_bcj_reset(s->bcj, s->temp.buf[s->temp.pos++]); in dec_block_header()
511 if (s->temp.buf[s->temp.pos++] != 0x00) in dec_block_header()
517 if (s->temp.size - s->temp.pos < 2) in dec_block_header()
521 if (s->temp.buf[s->temp.pos++] != 0x21) in dec_block_header()
525 if (s->temp.buf[s->temp.pos++] != 0x01) in dec_block_header()
529 if (s->temp.size - s->temp.pos < 1) in dec_block_header()
532 ret = xz_dec_lzma2_reset(s->lzma2, s->temp.buf[s->temp.pos++]); in dec_block_header()
537 while (s->temp.pos < s->temp.size) in dec_block_header()
538 if (s->temp.buf[s->temp.pos++] != 0x00) in dec_block_header()
541 s->temp.pos = 0; in dec_block_header()
606 s->temp.size = s->block_header.size; in dec_main()
607 s->temp.pos = 0; in dec_main()
708 s->temp.size = STREAM_HEADER_SIZE; in dec_main()
823 s->temp.pos = 0; in xz_dec_reset()
824 s->temp.size = STREAM_HEADER_SIZE; in xz_dec_reset()