Home
last modified time | relevance | path

Searched refs:w_buff (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c78 unsigned char *w_buff; member
1866 if (ds->w_buff == NULL) { in lzh_decode_init()
1867 ds->w_buff = malloc(ds->w_size); in lzh_decode_init()
1868 if (ds->w_buff == NULL) in lzh_decode_init()
1872 memset(ds->w_buff + ds->w_size - w_size, 0x20, w_size); in lzh_decode_init()
1903 free(strm->ds->w_buff); in lzh_decode_free()
2085 strm->ref_ptr = strm->ds->w_buff; in lzh_emit_window()
2332 unsigned char *w_buff = ds->w_buff; in lzh_decode_blocks() local
2392 w_buff[w_pos] = c; in lzh_decode_blocks()
2465 memcpy(w_buff + w_pos, in lzh_decode_blocks()
[all …]
H A Darchive_read_support_format_cab.c62 unsigned char *w_buff; member
2123 if (ds->w_buff == NULL || w_size != ds->w_size) { in lzx_decode_init()
2124 free(ds->w_buff); in lzx_decode_init()
2125 ds->w_buff = malloc(ds->w_size); in lzx_decode_init()
2126 if (ds->w_buff == NULL) in lzx_decode_init()
2191 free(strm->ds->w_buff); in lzx_decode_free()
2612 memcpy(&(ds->w_buff[ds->w_pos]), in lzx_read_blocks()
2768 unsigned char *w_buff = ds->w_buff; in lzx_decode_blocks() local
2835 w_buff[w_pos] = c; in lzx_decode_blocks()
2985 s = w_buff + copy_pos; in lzx_decode_blocks()
[all …]