Home
last modified time | relevance | path

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

/lib/xz/
Dxz_dec_stream.c128 } 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()
[all …]
Dxz_dec_bcj.c76 } temp; member
561 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
562 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
565 s->temp.filtered -= copy_size; in bcj_flush()
566 s->temp.size -= copy_size; in bcj_flush()
567 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
585 if (s->temp.filtered > 0) { in xz_dec_bcj_run()
587 if (s->temp.filtered > 0) in xz_dec_bcj_run()
606 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
608 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
[all …]
Dxz_dec_lzma2.c278 } temp; member
884 if (s->temp.size > 0 || s->lzma2.compressed == 0) { in lzma2_lzma()
885 tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; in lzma2_lzma()
886 if (tmp > s->lzma2.compressed - s->temp.size) in lzma2_lzma()
887 tmp = s->lzma2.compressed - s->temp.size; in lzma2_lzma()
891 memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); in lzma2_lzma()
893 if (s->temp.size + tmp == s->lzma2.compressed) { in lzma2_lzma()
894 memzero(s->temp.buf + s->temp.size + tmp, in lzma2_lzma()
895 sizeof(s->temp.buf) in lzma2_lzma()
896 - s->temp.size - tmp); in lzma2_lzma()
[all …]
/lib/
Dtest_min_heap.c28 int temp = *(int *)lhs; in swap_ints() local
31 *(int *)rhs = temp; in swap_ints()
109 int i, temp, err; in test_heap_push() local
119 temp = get_random_u32(); in test_heap_push()
120 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_push()
141 int i, temp, err; in test_heap_pop_push() local
144 temp = min_heap ? 0x80000000 : 0x7FFFFFFF; in test_heap_pop_push()
146 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_pop_push()
156 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_pop_push()
160 temp = get_random_u32(); in test_heap_pop_push()
[all …]
Ddecompress_bunzip2.c236 unsigned short temp[MAX_HUFCODE_BITS+1]; in get_next_block() local
310 temp[i] = limit[i] = 0; in get_next_block()
317 temp[length[i]]++; in get_next_block()
326 pp += temp[i]; in get_next_block()
339 base[i+1] = pp-(t += temp[i]); in get_next_block()
343 limit[maxLen] = pp+temp[maxLen]-1; in get_next_block()
Dstring_helpers.c711 char *temp, *pathname; in kstrdup_quotable_file() local
717 temp = kmalloc(PATH_MAX + 11, GFP_KERNEL); in kstrdup_quotable_file()
718 if (!temp) in kstrdup_quotable_file()
721 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
727 kfree(temp); in kstrdup_quotable_file()
Dvsprintf.c1339 char temp[4] __aligned(2); /* hold each IP quad in reverse order */ in ip4_string() local
1340 int digits = put_dec_trunc8(temp, addr[index]) - temp; in ip4_string()
1349 *p++ = temp[digits]; in ip4_string()
/lib/zstd/decompress/
Dzstd_decompress_block.c1226 … { size_t temp = (offset==3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; local
1227 temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */
1230 seqState->prevOffset[0] = offset = temp;