Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 7 of 7) sorted by relevance

/lib/xz/
Dxz_dec_stream.c129 } temp; member
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
164 s->temp.pos += copy_size; in fill_temp()
166 if (s->temp.pos == s->temp.size) { in fill_temp()
167 s->temp.pos = 0; in fill_temp()
389 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
392 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()
393 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()
396 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()
[all …]
Dxz_dec_bcj.c75 } temp; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
407 s->temp.filtered -= copy_size; in bcj_flush()
408 s->temp.size -= copy_size; in bcj_flush()
409 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
428 if (s->temp.filtered > 0) { in xz_dec_bcj_run()
430 if (s->temp.filtered > 0) in xz_dec_bcj_run()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
[all …]
Dxz_dec_lzma2.c275 } temp; member
852 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
853 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; in lzma2_lzma()
854 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
855 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
859 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); in lzma2_lzma()
861 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
862 memzero(s->temp.buf + s->temp.size + tmp, in lzma2_lzma()
863 sizeof(s->temp.buf) in lzma2_lzma()
864 - s->temp.size - tmp); in lzma2_lzma()
[all …]
/lib/
Dstring_helpers.c632 char *temp, *pathname; in kstrdup_quotable_file() local
638 temp = kmalloc(PATH_MAX + 11, GFP_KERNEL); in kstrdup_quotable_file()
639 if (!temp) in kstrdup_quotable_file()
642 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
648 kfree(temp); in kstrdup_quotable_file()
Ddecompress_bunzip2.c235 unsigned char length[MAX_SYMBOLS], temp[MAX_HUFCODE_BITS+1]; in get_next_block() local
309 temp[i] = limit[i] = 0; in get_next_block()
316 temp[length[i]]++; in get_next_block()
325 pp += temp[i]; in get_next_block()
338 base[i+1] = pp-(t += temp[i]); in get_next_block()
342 limit[maxLen] = pp+temp[maxLen]-1; in get_next_block()
Dvsprintf.c1287 char temp[4] __aligned(2); /* hold each IP quad in reverse order */ in ip4_string() local
1288 int digits = put_dec_trunc8(temp, addr[index]) - temp; in ip4_string()
1297 *p++ = temp[digits]; in ip4_string()
/lib/zstd/
Ddecompress.c969 size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; in ZSTD_decodeSequence() local
970 temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */ in ZSTD_decodeSequence()
974 seqState->prevOffset[0] = offset = temp; in ZSTD_decodeSequence()
1210 size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; in ZSTD_decodeSequenceLong_generic() local
1211 temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */ in ZSTD_decodeSequenceLong_generic()
1215 seqState->prevOffset[0] = offset = temp; in ZSTD_decodeSequenceLong_generic()