Home
last modified time | relevance | path

Searched refs:ulg (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/arch/alpha/boot/
H A Dmisc.c40 typedef unsigned long ulg; typedef
88 static ulg output_ptr;
89 static ulg bytes_out;
94 static ulg free_mem_ptr;
95 static ulg free_mem_end_ptr;
123 ulg c = crc; in flush_window()
134 bytes_out += (ulg)outcnt; in flush_window()
135 output_ptr += (ulg)outcnt; in flush_window()
160 free_mem_ptr = (ulg)output_start + ksize; in decompress_kernel()
161 free_mem_end_ptr = (ulg)output_start + ksize + 0x200000; in decompress_kernel()
/openbmc/u-boot/lib/zlib/
H A Ddeflate.h98 ulg pending_buf_size; /* size of pending_buf */
123 ulg window_size;
244 ulg opt_len; /* bit length of current block with optimal trees */
245 ulg static_len; /* bit length of current block with static trees */
250 ulg compressed_len; /* total bit length of compressed file mod 2^32 */
251 ulg bits_sent; /* bit length of compressed data sent mod 2^32 */
263 ulg high_water;
296 ulg stored_len, int last));
299 ulg stored_len, int last));
H A Dtrees.c200 s->bits_sent += (ulg)length;
531 s->opt_len += (ulg)f * (bits + xbits);
532 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
874 ulg stored_len; /* length of input block */
879 s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L;
928 ulg stored_len; /* length of input block */
931 ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */
1052 ulg out_length = (ulg)s->last_lit*8L;
1053 ulg in_length = (ulg)((long)s->strstart - s->block_start);
1056 out_length += (ulg)s->dyn_dtree[dcode].Freq *
[all …]
H A Ddeflate.c291 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
1023 s->window_size = (ulg)2L*s->w_size;
1106 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1224 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1312 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);
1403 ulg curr = s->strstart + (ulg)(s->lookahead);
1404 ulg init;
1416 else if (s->high_water < (ulg)curr + WIN_INIT) {
1421 init = (ulg)curr + WIN_INIT - s->high_water;
1438 (ulg)((long)s->strstart - s->block_start), \
[all …]
H A Dzutil.h51 typedef unsigned long ulg; typedef
/openbmc/linux/lib/zlib_deflate/
H A Ddefutil.h77 ulg pending_buf_size; /* size of pending_buf */
101 ulg window_size;
222 ulg opt_len; /* bit length of current block with optimal trees */
223 ulg static_len; /* bit length of current block with static trees */
224 ulg compressed_len; /* total bit length of compressed file */
229 ulg bits_sent; /* bit length of the compressed data */
276 ulg zlib_tr_flush_block (deflate_state *s, char *buf, ulg stored_len,
279 void zlib_tr_stored_block (deflate_state *s, char *buf, ulg stored_len,
371 s->bits_sent += (ulg)length; in send_bits()
H A Ddeftree.c391 s->opt_len += (ulg)f * (bits + xbits); in gen_bitlen()
392 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits); in gen_bitlen()
741 ulg stored_len, /* length of input block */ in zlib_tr_stored_block()
746 s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L; in zlib_tr_stored_block()
802 ulg zlib_tr_flush_block(
805 ulg stored_len, /* length of input block */
809 ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */
941 ulg out_length = (ulg)s->last_lit*8L;
942 ulg in_length = (ulg)((long)s->strstart - s->block_start);
945 out_length += (ulg)s->dyn_dtree[dcode].Freq *
[all …]
H A Ddeflate.c269 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L); in zlib_deflateInit2()
534 s->window_size = (ulg)2L*s->w_size; in lm_init()
611 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); in longest_match()
754 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart); in fill_window()
842 (ulg)((long)s->strstart - s->block_start), \
872 ulg max_block_size = 0xffff; in deflate_stored()
873 ulg max_start; in deflate_stored()
899 if (s->strstart == 0 || (ulg)s->strstart >= max_start) { in deflate_stored()
/openbmc/linux/lib/
H A Dinflate.c224 STATIC ulg bb; /* bit buffer */
234 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}}
603 register ulg b; /* bit buffer */ in inflate_codes()
709 register ulg b; /* bit buffer */ in inflate_stored()
845 register ulg b; /* bit buffer */ in inflate_dynamic()
1040 register ulg b; /* bit buffer */ in inflate_block()
1137 static ulg crc_32_tab[256];
1138 static ulg crc; /* initialized in makecrc() so it'll reside in bss */
1179 crc = (ulg)0xffffffffUL; /* shift register contents */ in makecrc()
1199 ulg orig_crc = 0; /* original crc */ in gunzip()
[all …]
/openbmc/linux/arch/nios2/boot/compressed/
H A Dmisc.c31 typedef unsigned long ulg; typedef
135 ulg c = crc; /* temporary variable */ in flush_window()
146 bytes_out += (ulg)outcnt; in flush_window()
147 output_ptr += (ulg)outcnt; in flush_window()
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A Dcve-2014-9636.patch26 ulg eb_ucsize;
46 (((ulg)(extent)eb_ucsize) != eb_ucsize) ||
H A DCVE-2019-13232_p2.patch254 + ulg crc = shy ? 0 : makelong(buf);
255 + ulg clen = shy ? 0 : makelong(buf + 4);
256 + ulg ulen = shy ? 0 : makelong(buf + 8); /* or high clen if ZIP64 */
300 ulg outsize; /* extract.c static */
307 ulg numlines; /* fileio static: number of lines printed */
/openbmc/linux/include/linux/
H A Dzutil.h22 typedef unsigned long ulg; typedef