Debian Codegraph @

src/decompress.rs

raw symbols SCIP
1 #![forbid(unsafe_code)]
2
3 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/::c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int#;
4
5 use craterust-analyzer cargo libbz2-rs-sys 0.2.5 crate/::allocatorrust-analyzer cargo libbz2-rs-sys 0.2.5 allocator/::Allocatorrust-analyzer cargo libbz2-rs-sys 0.2.5 allocator/Allocator#;
6 use craterust-analyzer cargo libbz2-rs-sys 0.2.5 crate/::bzlibrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/::{
7 index_into_frust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/index_into_f()., BzStreamrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#, DSlicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DSlice#, DStaterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#, DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#, ReturnCoderust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#, SaveArearust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#, BZ_MAX_SELECTORSrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_MAX_SELECTORS.,
8 BZ_RAND_UPD_MASKrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RAND_UPD_MASK!, BZ_RUNArust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNA., BZ_RUNBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNB.,
9 };
10 use craterust-analyzer cargo libbz2-rs-sys 0.2.5 crate/::{debug_logrust-analyzer cargo libbz2-rs-sys 0.2.5 debug_log!, huffmanrust-analyzer cargo libbz2-rs-sys 0.2.5 huffman/};
11
12 /*-- Constants for the fast MTF decoder. --*/
13
14 const MTFA_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFA_SIZE.: u16 = 4096;
15 const MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.: usize = 16;
16
17 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, PartialOrdrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialOrd:, Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord:)]
18 #[allow(non_camel_case_types)]
19 pub(craterust-analyzer cargo libbz2-rs-sys 0.2.5 crate/) enum Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State# {
20 BZ_X_IDLErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_IDLE# = 1,
21 BZ_X_OUTPUTrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_OUTPUT# = 2,
22 BZ_X_MAGIC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_1# = 10,
23 BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_2# = 11,
24 BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_3# = 12,
25 BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_4# = 13,
26 BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_1# = 14,
27 BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_2# = 15,
28 BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_3# = 16,
29 BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_4# = 17,
30 BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_5# = 18,
31 BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_6# = 19,
32 BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_1# = 20,
33 BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_2# = 21,
34 BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_3# = 22,
35 BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_4# = 23,
36 BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_RANDBIT# = 24,
37 BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_1# = 25,
38 BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_2# = 26,
39 BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_3# = 27,
40 BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_1# = 28,
41 BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_2# = 29,
42 BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_1# = 30,
43 BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_2# = 31,
44 BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_3# = 32,
45 BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_1# = 33,
46 BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_2# = 34,
47 BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_3# = 35,
48 BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_1# = 36,
49 BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_2# = 37,
50 BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_3# = 38,
51 BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_4# = 39,
52 BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_5# = 40,
53 BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_6# = 41,
54 BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_2# = 42,
55 BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_3# = 43,
56 BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_4# = 44,
57 BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_5# = 45,
58 BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_6# = 46,
59 BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_1# = 47,
60 BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_2# = 48,
61 BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_3# = 49,
62 BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_4# = 50,
63 }
64
65 #[allow(non_camel_case_types)]
66 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:)]
67 enum Blockrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block# {
68 BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_2#,
69 BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_3#,
70 BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_4#,
71 BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_1#,
72 BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_2#,
73 BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_3#,
74 BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_4#,
75 BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_5#,
76 BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_6#,
77 BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_1#,
78 BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_2#,
79 BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_3#,
80 BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_4#,
81 BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_RANDBIT#,
82 BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_1#,
83 BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_2#,
84 BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_3#,
85 BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_1#,
86 BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_2#,
87 BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_1#,
88 BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_2#,
89 BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_3#,
90 BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_1#,
91 BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_2#,
92 BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_3#,
93 BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_1#,
94 BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_2#,
95 BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_3#,
96 BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_4#,
97 BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_5#,
98 BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_6#,
99 BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_2#,
100 BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_3#,
101 BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_4#,
102 BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_5#,
103 BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_6#,
104 BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_1#,
105 BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_2#,
106 BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_3#,
107 BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_4#,
108 Block1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block1#,
109 Block11rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block11#,
110 Block18rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block18#,
111 Block24rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block24#,
112 Block25rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block25#,
113 Block26rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block26#,
114 Block28rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block28#,
115 Block35rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block35#,
116 Block39rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block39#,
117 Block40rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block40#,
118 Block41rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block41#,
119 Block43rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block43#,
120 Block45rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block45#,
121 Block46rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block46#,
122 Block51rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block51#,
123 Block52rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block52#,
124 Block56rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block56#,
125 Block58rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block58#,
126 }
127 use Blockrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#::*;
128
129 pub(craterust-analyzer cargo libbz2-rs-sys 0.2.5 crate/) fn decompressrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/decompress().(
130 strm: &mut BzStreamrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#<DStaterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#>,
131 s: &mut DStaterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#,
132 allocator: &Allocatorrust-analyzer cargo libbz2-rs-sys 0.2.5 allocator/Allocator#,
133 ) -> ReturnCoderust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode# {
134 let mut current_block: Blockrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#;
135 let mut uc: u8;
136
137 let old_avail_in = strm.avail_inrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#avail_in.;
138
139 if let Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_1# = s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. {
140 /*zero out the save area*/
141 s.saverust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#save. = SaveArearust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#::defaultrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[SaveArea][Default]default().();
142 }
143
144 /*restore from the save area*/
145 let SaveArearust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea# {
146 mut irust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#i.,
147 mut jrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#j.,
148 mut trust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#t.,
149 mut alphaSizerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#alphaSize.,
150 mut nGroupsrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nGroups.,
151 mut nSelectorsrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nSelectors.,
152 mut EOBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#EOB.,
153 mut groupNorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#groupNo.,
154 mut groupPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#groupPos.,
155 mut nextSymrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nextSym.,
156 mut nblockMAX100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nblockMAX100k.,
157 mut nblockrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nblock.,
158 mut esrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#es.,
159 mut logNrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#logN.,
160 mut currrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#curr.,
161 mut znrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zn.,
162 mut zvecrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zvec.,
163 mut zjrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zj.,
164 mut gSelrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#gSel.,
165 mut gMinlenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#gMinlen.,
166 } = s.saverust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#save.;
167
168 let ret_val: ReturnCoderust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode# = 'save_state_and_return: {
169 macro_rules! GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE! {
170 ($strm:expr, $s:expr) => {
171 (GET_BITS!($strm, $s, 8) & 0xFF) as u8
172 };
173 }
174
175 macro_rules! GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT! {
176 ($strm:expr, $s:expr) => {
177 GET_BITS!($strm, $s, 1) != 0
178 };
179 }
180
181 macro_rules! GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS! {
182 ($strm:expr, $s:expr, $nnn:expr) => {
183 loop {
184 if $s.bsLive >= $nnn {
185 let v: u64 = ($s.bsBuff >> ($s.bsLive - $nnn)) & ((1 << $nnn) - 1);
186 $s.bsLive -= $nnn;
187 break v;
188 }
189
190 // try and read up to 8 bytes, but only if there is no risk of reading past the
191 // end of the file. This is important in a multistream scenario (where 2 bzip2
192 // files are stored back-to-back)
193 //
194 // Before `State::BZ_X_ENDHDR_2` is reached, at least 9 more bytes are expected
195 // (in a valid file), so reading 8 bytes will not cross the boundary between two files.
196 if $s.state < State::BZ_X_ENDHDR_2 {
197 if let Some((bit_buffer, bits_used)) = strm.pull_u64($s.bsBuff, $s.bsLive) {
198 $s.bsBuff = bit_buffer;
199 $s.bsLive = bits_used;
200 continue;
201 }
202 }
203
204 if let Some((bit_buffer, bits_used)) = strm.pull_u8($s.bsBuff, $s.bsLive) {
205 $s.bsBuff = bit_buffer;
206 $s.bsLive = bits_used;
207 } else {
208 break 'save_state_and_return ReturnCode::BZ_OK;
209 }
210 }
211 };
212 }
213
214 macro_rules! update_group_posrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/update_group_pos! {
215 ($s:expr) => {
216 if groupPos == 0 {
217 groupNo += 1;
218 gSel = match $s.selector[..usize::from(nSelectors)].get(groupNo as usize) {
219 Some(&gSel) => gSel,
220 None => error!(BZ_DATA_ERROR),
221 };
222 gMinlen = $s.minLens[usize::from(gSel)];
223 groupPos = 50;
224 }
225 groupPos -= 1;
226 };
227 }
228
229 macro_rules! errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error! {
230 ($code:ident) => {{
231 break 'save_state_and_return ReturnCode::$code;
232 }};
233 }
234
235 match s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. {
236 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_1# => {
237 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_1#;
238
239 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
240
241 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().b'B' {
242 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERROR_MAGICrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR_MAGIC#);
243 }
244
245 current_block = BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_2#;
246 }
247 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_2# => current_block = BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_2#,
248 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_3# => current_block = BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_3#,
249 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_4# => current_block = BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_4#,
250 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_1# => current_block = BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_1#,
251 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_2# => current_block = BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_2#,
252 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_3# => current_block = BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_3#,
253 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_4# => current_block = BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_4#,
254 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_5# => current_block = BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_5#,
255 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_6# => current_block = BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_6#,
256 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_1# => current_block = BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_1#,
257 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_2# => current_block = BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_2#,
258 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_3# => current_block = BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_3#,
259 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_4# => current_block = BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_4#,
260 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_RANDBIT# => current_block = BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_RANDBIT#,
261 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_1# => current_block = BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_1#,
262 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_2# => current_block = BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_2#,
263 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_3# => current_block = BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_3#,
264 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_1# => current_block = BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_1#,
265 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_2# => current_block = BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_2#,
266 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_1# => current_block = BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_1#,
267 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_2# => current_block = BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_2#,
268 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_3# => current_block = BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_3#,
269 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_1# => current_block = BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_1#,
270 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_2# => current_block = BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_2#,
271 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_3# => current_block = BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_3#,
272 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_1# => current_block = BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_1#,
273 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_2# => current_block = BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_2#,
274 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_3# => current_block = BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_3#,
275 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_4# => current_block = BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_4#,
276 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_5# => current_block = BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_5#,
277 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_6# => current_block = BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_6#,
278 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_2# => current_block = BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_2#,
279 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_3# => current_block = BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_3#,
280 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_4# => current_block = BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_4#,
281 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_5# => current_block = BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_5#,
282 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_6# => current_block = BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_6#,
283 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_1# => current_block = BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_1#,
284 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_2# => current_block = BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_2#,
285 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_3# => current_block = BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_3#,
286 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_4# => current_block = BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_4#,
287 Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_IDLErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_IDLE# | Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_OUTPUTrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_OUTPUT# => unreachablerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/unreachable!!(),
288 }
289 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_2# {
290 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_2#;
291
292 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
293
294 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().b'Z' {
295 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERROR_MAGICrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR_MAGIC#);
296 }
297
298 current_block = BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_3#;
299 }
300 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_3# {
301 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_3#;
302
303 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
304
305 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().b'h' {
306 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERROR_MAGICrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR_MAGIC#);
307 }
308
309 current_block = BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_4#;
310 }
311 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAGIC_4# {
312 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAGIC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAGIC_4#;
313
314 s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k. = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
315
316 if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(b'1'..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#b'9').containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(&s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.) {
317 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERROR_MAGICrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR_MAGIC#);
318 }
319
320 s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign().b'0';
321
322 match s.smallDecompressrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#smallDecompress. {
323 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Smallrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Small# => {
324 let ll16_len = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().100000;
325 let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(ll16) = DSlicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DSlice#::allocrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]alloc().(allocator, ll16_len) else {
326 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_MEM_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_MEM_ERROR#);
327 };
328
329 // Assign here so that error! deallocates it when the allocation fails.
330 s.ll16rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#ll16. = ll16;
331
332 let ll4_len = (1 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().100000) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shr<i32>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shr<i32>`]shr().1;
333 let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(ll4) = DSlicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DSlice#::allocrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]alloc().(allocator, ll4_len) else {
334 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_MEM_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_MEM_ERROR#);
335 };
336
337 s.ll4rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#ll4. = ll4;
338 }
339 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Fastrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Fast# => {
340 // SAFETY: we assume allocation is safe
341 let tt_len = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().100000;
342 let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(tt) = DSlicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DSlice#::allocrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]alloc().(allocator, tt_len) else {
343 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_MEM_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_MEM_ERROR#);
344 };
345
346 s.ttrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tt. = tt;
347 }
348 }
349
350 current_block = BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_1#;
351 }
352 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_1# {
353 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_1#;
354
355 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
356
357 match uc {
358 0x17 => current_block = BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_2#,
359 0x31 => current_block = BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_2#,
360 _ => errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#),
361 };
362 }
363 match current_block {
364 BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_2# => {
365 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_2#;
366
367 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
368
369 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x72 {
370 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
371 }
372
373 current_block = BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_3#;
374 }
375 BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_2# => {
376 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_2#;
377
378 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
379
380 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x41 {
381 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
382 }
383 current_block = BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_3#;
384 }
385 _ => {}
386 }
387 match current_block {
388 BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_3# => {
389 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_3#;
390
391 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
392
393 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x45 {
394 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
395 }
396
397 current_block = BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_4#;
398 }
399 BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_3# => {
400 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_3#;
401
402 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
403
404 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x59 {
405 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
406 }
407
408 current_block = BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_4#;
409 }
410 _ => {}
411 }
412 match current_block {
413 BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_4# => {
414 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_4#;
415
416 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
417
418 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x38 {
419 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
420 }
421
422 current_block = BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_5#;
423 }
424 BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_4# => {
425 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_4#;
426
427 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
428
429 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x26 {
430 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
431 }
432
433 current_block = BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_5#;
434 }
435 _ => {}
436 }
437 match current_block {
438 BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_5# => {
439 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_5#;
440
441 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
442
443 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x50 {
444 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
445 }
446
447 current_block = BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_6#;
448 }
449 BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_5# => {
450 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_5#;
451
452 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
453
454 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x53 {
455 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
456 }
457
458 current_block = BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_6#;
459 }
460 _ => {}
461 }
462 match current_block {
463 BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ENDHDR_6# => {
464 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ENDHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ENDHDR_6#;
465
466 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
467
468 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x90 {
469 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
470 }
471
472 s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. = 0_u32;
473 current_block = BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_1#;
474 }
475 BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BLKHDR_6# => {
476 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BLKHDR_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BLKHDR_6#;
477
478 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
479
480 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0x59 {
481 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
482 }
483
484 s.currBlockNorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#currBlockNo. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
485 if s.verbosityrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#verbosity. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().2 {
486 debug_logrust-analyzer cargo libbz2-rs-sys 0.2.5 debug_log!!("\n [{}: huff+mtf ", s.currBlockNorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#currBlockNo.);
487 }
488 s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. = 0_u32;
489 current_block = BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_1#;
490 }
491 _ => {}
492 }
493 match current_block {
494 BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_1# => {
495 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_1#;
496
497 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
498
499 s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. = (s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
500 current_block = BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_2#;
501 }
502 BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_1# => {
503 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_1#;
504
505 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
506
507 s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. = (s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
508 current_block = BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_2#;
509 }
510 _ => {}
511 }
512 match current_block {
513 BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_2# => {
514 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_2#;
515
516 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
517
518 s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. = (s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
519 current_block = BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_3#;
520 }
521 BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_2# => {
522 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_2#;
523
524 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
525
526 s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. = (s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
527 current_block = BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_3#;
528 }
529 _ => {}
530 }
531 match current_block {
532 BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_3# => {
533 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_3#;
534
535 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
536
537 s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. = (s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
538 current_block = BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_4#;
539 }
540 BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_3# => {
541 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_3#;
542
543 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
544
545 s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. = (s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
546 current_block = BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_4#;
547 }
548 _ => {}
549 }
550 match current_block {
551 BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_BCRC_4# => {
552 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_BCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_BCRC_4#;
553
554 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
555
556 s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. = (s.storedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedBlockCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
557 current_block = BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_RANDBIT#;
558 }
559 BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CCRC_4# => {
560 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CCRC_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CCRC_4#;
561
562 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
563
564 s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. = (s.storedCombinedCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#storedCombinedCRC. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().uc as u32;
565 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_IDLErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_IDLE#;
566 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_STREAM_ENDrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_STREAM_END#);
567 }
568 _ => {}
569 }
570 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_RANDBIT# {
571 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_RANDBITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_RANDBIT#;
572
573 s.blockRandomisedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockRandomised. = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, 1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]ne().0;
574
575 s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. = 0;
576 current_block = BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_1#;
577 }
578 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_1# {
579 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_1#;
580
581 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
582
583 s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. = (s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u8>`]from().(uc);
584 current_block = BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_2#;
585 }
586 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_2# {
587 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_2#;
588
589 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
590
591 s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. = (s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u8>`]from().(uc);
592 current_block = BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_3#;
593 }
594 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_ORIGPTR_3# {
595 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_ORIGPTR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_ORIGPTR_3#;
596
597 uc = GET_BYTErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BYTE!!(strm, s);
598
599 s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. = (s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().8) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u8>`]from().(uc);
600 if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(0..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#10 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().100000 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u8>`]from().(s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.)).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(&s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr.) {
601 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
602 }
603
604 i = 0;
605 current_block = Block43rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block43#;
606 }
607
608 // mutable because they need to be reborrowed
609 let tt = s.ttrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tt..as_mut_slicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]as_mut_slice().();
610 let ll16 = s.ll16rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#ll16..as_mut_slicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]as_mut_slice().();
611 let ll4 = s.ll4rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#ll4..as_mut_slicerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/impl#[`DSlice<T>`]as_mut_slice().();
612
613 'state_machine: loop {
614 match current_block {
615 BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_1# => {
616 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_1#;
617
618 uc = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) as u8;
619
620 s.inUse16rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#inUse16.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().1;
621 i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
622 current_block = Block43rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block43#;
623 continue;
624 }
625 Block43rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block43# => {
626 if i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().16 {
627 current_block = BZ_X_MAPPING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_1#;
628 continue;
629 }
630 s.inUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#inUse..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(false);
631 i = 0;
632 current_block = Block18rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block18#;
633 }
634 BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_2# => {
635 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MAPPING_2#;
636
637 uc = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) as u8;
638
639 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().1 {
640 s.inUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#inUse.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().(i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Mul<Self>`]mul().16 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().j) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = true;
641 }
642 j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
643 current_block = Block28rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block28#;
644 }
645 BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_1# => {
646 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_1#;
647
648 nGroups = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, 3) as u8;
649
650 if (2..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#6).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(&nGroups) {
651 current_block = BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_2#;
652 continue;
653 }
654 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
655 }
656 BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_2# => {
657 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_2#;
658
659 nSelectors = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, 15) as u16;
660
661 if nSelectors rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialOrd<Self>`]lt().1 {
662 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
663 } else {
664 i = 0;
665 }
666 current_block = Block39rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block39#;
667 }
668 BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_3# => {
669 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_SELECTOR_3#;
670
671 uc = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) as u8;
672
673 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]eq().0 {
674 current_block = Block1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block1#;
675 } else {
676 j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
677 if j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u8>`]from().(nGroups) {
678 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
679 } else {
680 current_block = Block25rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block25#;
681 }
682 }
683 }
684 BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_1# => {
685 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_1#;
686
687 curr = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, 5) as u8;
688
689 i = 0;
690 current_block = Block26rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block26#;
691 }
692 BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_2# => {
693 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_2#;
694
695 uc = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) as u8;
696
697 if uc rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialEq<Self>`]ne().0 {
698 current_block = BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_3#;
699 continue;
700 }
701 current_block = Block51rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block51#;
702 }
703 BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_3# => {
704 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_CODING_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_CODING_3#;
705
706 uc = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) as u8;
707
708 match uc {
709 0 => curr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().1,
710 _ => curr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`SubAssign<Self>`]sub_assign().1,
711 }
712
713 current_block = Block45rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block45#;
714 }
715 BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_1# => {
716 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_1#;
717
718 zvec = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, zn as i32) as i32;
719
720 current_block = Block56rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block56#;
721 }
722 BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_2# => {
723 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_2#;
724
725 zj = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s);
726
727 zvec = (zvec rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().zj as i32;
728 current_block = Block56rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block56#;
729 }
730 BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_3# => {
731 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_3#;
732
733 zvec = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, zn as i32) as i32;
734
735 current_block = Block52rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block52#;
736 }
737 BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_4# => {
738 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_4#;
739
740 zj = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s);
741
742 zvec = (zvec rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().zj as i32;
743 current_block = Block52rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block52#;
744 }
745 BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_5# => {
746 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_5#;
747
748 zvec = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, zn as i32) as i32;
749
750 current_block = Block24rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block24#;
751 }
752 _ => {
753 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_MTF_6#;
754
755 zj = GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s);
756
757 zvec = (zvec rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().zj as i32;
758 current_block = Block24rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block24#;
759 }
760 }
761
762 macro_rules! get_next_symrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/get_next_sym! {
763 ($next_block:ident) => {
764 if zn > 20 {
765 // zn is higher than the longest code, that's invalid input
766 error!(BZ_DATA_ERROR);
767 } else if zvec <= s.limit[usize::from(gSel)][zn as usize] {
768 let index = zvec - s.base[usize::from(gSel)][zn as usize];
769 match s.perm[usize::from(gSel)].get(index as usize) {
770 Some(&nextSym) => nextSym,
771 None => error!(BZ_DATA_ERROR),
772 }
773 } else {
774 zn += 1;
775 current_block = $next_block;
776 continue 'state_machine;
777 }
778 };
779 }
780
781 match current_block {
782 Block24rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block24# => {
783 nextSym = get_next_symrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/get_next_sym!!(BZ_X_MTF_6rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_6#);
784 current_block = Block40rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block40#;
785 }
786 Block52rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block52# => {
787 nextSym = get_next_symrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/get_next_sym!!(BZ_X_MTF_4rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_4#);
788
789 if nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().BZ_RUNArust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNA. || nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().BZ_RUNBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNB. {
790 current_block = Block46rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block46#;
791 } else {
792 let uc = s.seqToUnseqrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#seqToUnseq.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(s.mtfarust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfa.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(s.mtfbaserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfbase.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().;
793 s.unzftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#unzftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(uc)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().es;
794 match s.smallDecompressrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#smallDecompress. {
795 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Smallrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Small# => {
796 match ll16.get_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get_mut().(nblock as usize..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#(nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().es) as usize) {
797 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(slice) => slice.fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(u16::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`From<u8>`]from().(uc)),
798 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#),
799 };
800 nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().es;
801 }
802 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Fastrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Fast# => {
803 match tt.get_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get_mut().(nblock as usize..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#(nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Add<Self>`]add().es) as usize) {
804 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(slice) => slice.fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(u32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u32][`From<u8>`]from().(uc)),
805 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#),
806 };
807 nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().es;
808 }
809 }
810 current_block = Block40rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block40#;
811 }
812 }
813 Block56rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block56# => {
814 nextSym = get_next_symrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/get_next_sym!!(BZ_X_MTF_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_2#);
815 current_block = Block40rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block40#;
816 }
817 _ => {}
818 }
819 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().Block40rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block40# {
820 if nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().EOB {
821 current_block = Block41rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block41#;
822 } else if nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().BZ_RUNArust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNA. || nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().BZ_RUNBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNB. {
823 es = 0;
824 logN = 0;
825 current_block = Block46rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block46#;
826 } else if nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]ge().100000 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().u32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u32][`From<u8>`]from().(nblockMAX100k) {
827 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
828 } else {
829 let uc = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(initialize_mtfarust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/initialize_mtfa().(&mut s.mtfarust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfa., &mut s.mtfbaserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfbase., nextSym));
830 let index = s.seqToUnseqrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#seqToUnseq.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().;
831 s.unzftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#unzftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(index)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().1;
832 match s.smallDecompressrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#smallDecompress. {
833 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Smallrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Small# => ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().nblock as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = u16::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u16][`From<u8>`]from().(index),
834 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Fastrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Fast# => tt[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().nblock as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = u32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u32][`From<u8>`]from().(index),
835 }
836 nblock rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().1;
837 update_group_posrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/update_group_pos!!(s);
838 zn = gMinlen;
839 current_block = BZ_X_MTF_5rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_5#;
840 continue;
841 }
842 match current_block {
843 Block46rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block46# => {}
844 _ => {
845 if s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().0 || s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().nblock as i32 {
846 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
847 } else {
848 if s.unzftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#unzftab..iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().().anyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/iter/impl#[`Iter<'a, T>`][Iterator]any().(|e| !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(0..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#nblock).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(e)) {
849 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
850 }
851 s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = 0;
852 s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().1..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeFrom#]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut()..copy_from_slicerust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]copy_from_slice().(&s.unzftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#unzftab.);
853 for i in 1..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab..lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() {
854 s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().;
855 }
856 if s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab..iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().().anyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/iter/impl#[`Iter<'a, T>`][Iterator]any().(|e| !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(0..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#nblock).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(e)) {
857 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
858 }
859 // FIXME: use https://doc.rust-lang.org/std/primitive.slice.html#method.is_sorted
860 // when available in our MSRV (requires >= 1.82.0)
861 if s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab..windowsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]windows().(2).anyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#any().(|w| w[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]gt().>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]gt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]gt().w[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) {
862 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
863 }
864 s.state_out_lenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state_out_len. = 0;
865 s.state_out_chrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state_out_ch. = 0;
866 s.calculatedBlockCRCrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#calculatedBlockCRC. = u32::MAXrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u32]MAX.;
867 s.staterust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#state. = Staterust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#::BZ_X_OUTPUTrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/State#BZ_X_OUTPUT#;
868 if s.verbosityrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#verbosity. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]ge().2 {
869 debug_logrust-analyzer cargo libbz2-rs-sys 0.2.5 debug_log!!("rt+rld");
870 }
871 match s.smallDecompressrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#smallDecompress. {
872 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Smallrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Small# => {
873 // Make a copy of cftab, used in generation of T
874 s.cftabCopyrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftabCopy. = s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.;
875
876 // compute the T vector
877 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#nblock as usize {
878 let uc = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().);
879 ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = (s.cftabCopyrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftabCopy.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xffff) as u16;
880
881 // set the lower or higher nibble depending on i
882 let (mask, shift) = match i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`BitAnd<Self>`]bitand().0x1 {
883 0 => (0xF0, 0),
884 _ => (0x0F, 4),
885 };
886 ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitAndAssign<Self>`]bitand_assign().&=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitAndAssign<Self>`]bitand_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitAndAssign<Self>`]bitand_assign().mask;
887 ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitOrAssign<Self>`]bitor_assign().|=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitOrAssign<Self>`]bitor_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitOrAssign<Self>`]bitor_assign().((s.cftabCopyrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftabCopy.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().16) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().shift) as u8;
888
889 s.cftabCopyrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftabCopy.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().1;
890 }
891
892 // Compute T^(-1) by pointer reversal on T
893 i = s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr.;
894 j = (ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). as u32
895 |rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(((ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().(i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). as u32 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().((i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0b100))
896 &rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xf)
897 <<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().16)) as i32;
898 loop {
899 let tmp_0: i32 = (ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().j as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). as u32
900 |rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(((ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().(j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). as u32
901 >>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().((j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0b100))
902 &rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xf)
903 <<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().16))
904 as i32;
905 ll16[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().j as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = (i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0xffff) as u16;
906 if j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0x1 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().0 {
907 ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().(j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = (ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().(j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().
908 as c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int#
909 &rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0xf0
910 |rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().(i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().16))
911 as u8;
912 } else {
913 ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().(j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). =
914 (ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().(j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). as c_intrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/primitives/c_int# rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitAnd<Self>`]bitand().0xf
915 |rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`BitOr<Self>`]bitor().((i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().16) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().4))
916 as u8
917 }
918 i = j;
919 j = tmp_0;
920 if i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. {
921 break;
922 }
923 }
924
925 s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. = s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. as u32;
926 s.nblock_usedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nblock_used. = 0;
927
928 s.k0rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#k0. = index_into_frust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/index_into_f().(s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos., &s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.);
929 s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. = match ll16.getrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get().(s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. as usize) {
930 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#),
931 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(&low_bits) => {
932 let high_bits = (ll4[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().(s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().1) as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().
933 >>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`Shr<u32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`Shr<u32>`]shr().((s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0b100))
934 &rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitAnd<Self>`]bitand().0xf;
935 u32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u32][`From<u16>`]from().(low_bits) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().|rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOr<Self>`]bitor().(u32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u32][`From<u8>`]from().(high_bits) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<i32>`]shl().16)
936 }
937 };
938 s.nblock_usedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nblock_used. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
939
940 if s.blockRandomisedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockRandomised. {
941 s.rNToGorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rNToGo. = 0;
942 s.rTPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rTPos. = 0;
943 BZ_RAND_UPD_MASKrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RAND_UPD_MASK!!(s);
944 s.k0rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#k0. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign().^=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign().u8::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u8][`From<bool>`]from().(s.rNToGorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rNToGo. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().1)
945 }
946 }
947 DecompressModerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#::Fastrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DecompressMode#Fast# => {
948 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#nblock as usize {
949 let uc = (tt[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xff) as usize;
950 tt[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index(). as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOrAssign<Self>`]bitor_assign().|=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOrAssign<Self>`]bitor_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitOrAssign<Self>`]bitor_assign().(i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shl<i32>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shl<i32>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[usize][`Shl<i32>`]shl().8) as u32;
951 s.cftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#cftab.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().uc]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().1;
952 }
953 s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. = tt[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().s.origPtrrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#origPtr. as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shr<i32>`]shr().8;
954 s.nblock_usedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nblock_used. = 0;
955
956 s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. = match tt.getrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get().(s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. as usize) {
957 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(&tPos) => tPos,
958 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#),
959 };
960 s.k0rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#k0. = (s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().&rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`BitAnd<Self>`]bitand().0xff) as u8;
961 s.tPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#tPos. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`ShrAssign<i32>`]shr_assign().>>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`ShrAssign<i32>`]shr_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`ShrAssign<i32>`]shr_assign().8;
962 s.nblock_usedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nblock_used. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
963
964 if s.blockRandomisedrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockRandomised. {
965 s.rNToGorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rNToGo. = 0;
966 s.rTPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rTPos. = 0;
967 BZ_RAND_UPD_MASKrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RAND_UPD_MASK!!(s);
968 s.k0rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#k0. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign().^=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u8][`BitXorAssign<Self>`]bitxor_assign().u8::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[u8][`From<bool>`]from().(s.rNToGorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#rNToGo. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().1)
969 }
970 }
971 }
972
973 break 'save_state_and_return ReturnCoderust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#::BZ_OKrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_OK#;
974 }
975 }
976 }
977 }
978 if current_block rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().==rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq(). rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/impl#[Block][`PartialEq<Self>`]eq().Block46rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block46# {
979 // Check that N doesn't get too big, so that es doesn't
980 // go negative. The maximum value that can be
981 // RUNA/RUNB encoded is equal to the block size (post
982 // the initial RLE), viz, 900k, so bounding N at 2
983 // million should guard against overflow without
984 // rejecting any legitimate inputs.
985 const LOG_2MBrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/LOG_2MB.: u8 = 21; // 2 * 1024 * 1024
986
987 if logN rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]ge().LOG_2MBrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/LOG_2MB. {
988 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
989 } else {
990 let mul = match nextSym {
991 BZ_RUNArust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNA. => 1,
992 BZ_RUNBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_RUNB. => 2,
993 _ => 0,
994 };
995 es rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().mul rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Mul<Self>`]mul().(1 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u8>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u8>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[u32][`Shl<u8>`]shl().logN);
996 logN rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().1;
997 update_group_posrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/update_group_pos!!(s);
998 zn = gMinlen;
999 current_block = BZ_X_MTF_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_3#;
1000 continue;
1001 }
1002 }
1003 loop {
1004 match current_block {
1005 Block28rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block28# => {
1006 if j rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().16 {
1007 current_block = BZ_X_MAPPING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MAPPING_2#;
1008 continue 'state_machine;
1009 }
1010 }
1011 Block39rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block39# => {
1012 if i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u16>`]from().(nSelectors) {
1013 j = 0;
1014 current_block = Block25rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block25#;
1015 continue;
1016 } else {
1017 // make sure that the constant fits in a u16
1018 nSelectors = Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#::minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(nSelectors, BZ_MAX_SELECTORSrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_MAX_SELECTORS.);
1019
1020 let mut pos: [u8; 6] = [0, 1, 2, 3, 4, 5];
1021 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(nSelectors) {
1022 rotate_right_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/rotate_right_1().(&mut pos[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut()...=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeToInclusive#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(s.selectorMtfrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#selectorMtf.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().);
1023 s.selectorrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#selector.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = pos[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().;
1024 }
1025
1026 // try to read the coding tables in one go if there is sufficient input
1027 let bits_needed =
1028 usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(nGroups) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().(5 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().(usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(alphaSize) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().2 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().20));
1029 let bytes_needed = bits_needed.div_ceilrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[usize]div_ceil().(8);
1030
1031 if strm.avail_inrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#avail_in. as usize rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().bytes_needed {
1032 for t in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(nGroups) {
1033 let mut curr = GET_BITSrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BITS!!(strm, s, 5);
1034 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(alphaSize) {
1035 loop {
1036 if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(1..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#20).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(&curr) {
1037 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
1038 }
1039 if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) {
1040 break;
1041 };
1042 match GET_BITrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/GET_BIT!!(strm, s) {
1043 false => curr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`AddAssign<Self>`]add_assign().1,
1044 true => curr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u64][`SubAssign<Self>`]sub_assign().1,
1045 }
1046 }
1047
1048 s.lenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#len.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = curr as u8;
1049 }
1050 }
1051
1052 t = nGroups;
1053 current_block = Block35rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block35#;
1054 break;
1055 } else {
1056 t = 0;
1057 current_block = Block35rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block35#;
1058 break;
1059 }
1060 }
1061 }
1062 Block18rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block18# => {
1063 if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(&in_use) = s.inUse16rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#inUse16..getrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get().(i as usize) {
1064 if in_use {
1065 j = 0;
1066 current_block = Block28rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block28#;
1067 continue;
1068 }
1069 } else {
1070 // inlined `make_maps_d`
1071 s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse. = 0;
1072 for (i, in_use) in s.inUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#inUse..iterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]iter().().enumeraterust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#enumerate().() {
1073 if *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&T`][Deref]deref().in_use {
1074 s.seqToUnseqrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#seqToUnseq.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse.)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = i as u8;
1075 s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().1;
1076 }
1077 }
1078
1079 if s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().0 {
1080 current_block = Block11rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block11#;
1081 break;
1082 } else {
1083 current_block = Block58rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block58#;
1084 break;
1085 }
1086 }
1087 }
1088 Block51rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block51# => {
1089 s.lenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#len.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = curr;
1090 i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
1091 current_block = Block26rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block26#;
1092 continue;
1093 }
1094 Block26rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block26# => {
1095 if i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u16>`]from().(alphaSize) {
1096 current_block = Block45rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block45#;
1097 continue;
1098 }
1099 t rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u8][`AddAssign<Self>`]add_assign().1;
1100 current_block = Block35rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block35#;
1101 break;
1102 }
1103 Block1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block1# => {
1104 if i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]lt().i32::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[i32][`From<u16>`]from().(BZ_MAX_SELECTORSrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/BZ_MAX_SELECTORS.) {
1105 s.selectorMtfrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#selectorMtf.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().i as usize]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = j as u8;
1106 }
1107 i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
1108 current_block = Block39rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block39#;
1109 continue;
1110 }
1111 Block25rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block25# => {
1112 current_block = BZ_X_SELECTOR_3rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_3#;
1113 continue 'state_machine;
1114 }
1115 _ => {
1116 if false {
1117 current_block = Block51rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block51#;
1118 continue;
1119 }
1120 if (1..=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeInclusive#20).containsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/impl#[`RangeInclusive<Idx>`]contains().(&curr) {
1121 current_block = BZ_X_CODING_2rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_2#;
1122 continue 'state_machine;
1123 }
1124 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
1125 }
1126 }
1127 i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`AddAssign<Self>`]add_assign().1;
1128 current_block = Block18rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block18#;
1129 }
1130 match current_block {
1131 Block58rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block58# => {
1132 alphaSize = s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().2;
1133 current_block = BZ_X_SELECTOR_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_SELECTOR_1#;
1134 }
1135 Block11rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#Block11# => {
1136 errorrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/error!!(BZ_DATA_ERRORrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/ReturnCode#BZ_DATA_ERROR#);
1137 }
1138 _ => {
1139 if t rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u8][`PartialOrd<Self>`]lt().nGroups {
1140 current_block = BZ_X_CODING_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_CODING_1#;
1141 continue;
1142 }
1143
1144 /*--- Create the Huffman decoding tables ---*/
1145 for t in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u8>`]from().(nGroups) {
1146 // NOTE: s.nInUse <= 256, alphaSize <= 258
1147 let len = &s.lenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#len.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index()...rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeTo#usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(alphaSize)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`Index<I>`]index().;
1148
1149 let mut minLen = 32u8;
1150 let mut maxLen = 0u8;
1151 for &current in len {
1152 maxLen = Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#::maxrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#max().(maxLen, current);
1153 minLen = Ordrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#::minrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Ord#min().(minLen, current);
1154 }
1155 s.minLensrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#minLens.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = minLen;
1156
1157 huffmanrust-analyzer cargo libbz2-rs-sys 0.2.5 huffman/::create_decode_tablesrust-analyzer cargo libbz2-rs-sys 0.2.5 huffman/create_decode_tables().(
1158 &mut s.limitrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#limit.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().,
1159 &mut s.baserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#base.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().,
1160 &mut s.permrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#perm.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().t]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().,
1161 len,
1162 minLen,
1163 maxLen,
1164 );
1165 }
1166
1167 /*--- Now the MTF values ---*/
1168
1169 EOB = s.nInUserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#nInUse. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().1;
1170 nblockMAX100k = s.blockSize100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#blockSize100k.;
1171 s.unzftabrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#unzftab..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(0);
1172
1173 /*-- MTF init --*/
1174 let mut kk: u16 = MTFA_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFA_SIZE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().1;
1175 for ii in (0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#256 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.).revrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#rev().() {
1176 for jj in (0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.).revrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#rev().() {
1177 s.mtfarust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfa.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(kk)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = (ii rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().jj) as u8;
1178 kk rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().1;
1179 }
1180 s.mtfbaserust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#mtfbase.[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut().ii]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core array/impl#[`[T; N]`][`IndexMut<I>`]index_mut(). = kk rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().1;
1181 }
1182 /*-- end MTF init --*/
1183
1184 nblock = 0;
1185 groupNo = -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1;
1186 groupPos = 0;
1187 update_group_posrust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/update_group_pos!!(s);
1188
1189 zn = gMinlen;
1190 current_block = BZ_X_MTF_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/Block#BZ_X_MTF_1#;
1191 }
1192 }
1193 }
1194 };
1195
1196 s.saverust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/DState#save. = SaveArearust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea# {
1197 irust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#i.,
1198 jrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#j.,
1199 trust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#t.,
1200 alphaSizerust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#alphaSize.,
1201 nGroupsrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nGroups.,
1202 nSelectorsrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nSelectors.,
1203 EOBrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#EOB.,
1204 groupNorust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#groupNo.,
1205 groupPosrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#groupPos.,
1206 nextSymrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nextSym.,
1207 nblockMAX100krust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nblockMAX100k.,
1208 nblockrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#nblock.,
1209 esrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#es.,
1210 logNrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#logN.,
1211 currrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#curr.,
1212 znrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zn.,
1213 zvecrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zvec.,
1214 zjrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#zj.,
1215 gSelrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#gSel.,
1216 gMinlenrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/SaveArea#gMinlen.,
1217 };
1218
1219 // update total_in with how many bytes were read during this call
1220 let bytes_read = old_avail_in rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`Sub<Self>`]sub().strm.avail_inrust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#avail_in.;
1221 let old_total_in_lo32 = strm.total_in_lo32rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#total_in_lo32.;
1222 strm.total_in_lo32rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#total_in_lo32. = strm.total_in_lo32rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#total_in_lo32..wrapping_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u32]wrapping_add().(bytes_read);
1223 strm.total_in_hi32rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#total_in_hi32. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u32][`AddAssign<Self>`]add_assign().(strm.total_in_lo32rust-analyzer cargo libbz2-rs-sys 0.2.5 bzlib/stream/BzStream#total_in_lo32. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u32][`PartialOrd<Self>`]lt().old_total_in_lo32) as u32;
1224
1225 ret_val
1226 }
1227
1228 fn initialize_mtfarust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/initialize_mtfa().(mtfa: &mut [u8; 4096], mtfbase: &mut [u16; 16], nextSym: u16) -> u8 {
1229 let nn = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(nextSym rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().1);
1230
1231 if nn rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE. {
1232 // avoid general case expense
1233 let pp = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().);
1234 let uc = mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().pp rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().nn]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
1235 rotate_right_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/rotate_right_1().(&mut mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().pp..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeFrom#]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/index/impl#[`[T]`][`IndexMut<I>`]index_mut()...=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeToInclusive#nn]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/index/impl#[`[T]`][`IndexMut<I>`]index_mut().);
1236
1237 uc
1238 } else {
1239 // general case
1240 let mut lno = nn.wrapping_divrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[usize]wrapping_div().(MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.);
1241 let off = nn.wrapping_remrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[usize]wrapping_rem().(MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.);
1242 let base = usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().lno]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().);
1243 let uc = mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().base rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().off]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
1244
1245 // shift this range one to the right
1246 mtfa.copy_withinrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]copy_within().(base..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#base rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().off, base rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().1);
1247
1248 mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().lno]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`AddAssign<Self>`]add_assign().1;
1249 while lno rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]gt().>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]gt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]gt().0 {
1250 mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().lno]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().1;
1251 mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().lno]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().lno rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().16 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().1)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
1252 lno rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`SubAssign<Self>`]sub_assign().1;
1253 }
1254 mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().1;
1255 mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = uc;
1256
1257 if mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u16][`PartialEq<Self>`]eq().0 {
1258 let mut kk = MTFA_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFA_SIZE. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Sub<Self>`]sub().1;
1259 for ii in (0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#256 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div()./rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Div<Self>`]div().MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.).revrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#rev().() {
1260 for jj in (0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#MTFL_SIZErust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/MTFL_SIZE.).revrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#rev().() {
1261 mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(kk)]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = mtfa[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ii]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().jj]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
1262 kk rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().-=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`SubAssign<Self>`]sub_assign().1;
1263 }
1264 mtfbase[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ii]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = kk rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().1;
1265 }
1266 }
1267
1268 uc
1269 }
1270 }
1271
1272 fn rotate_right_1rust-analyzer cargo libbz2-rs-sys 0.2.5 decompress/rotate_right_1().(slice: &mut [u8]) {
1273 match slice {
1274 [] | [_] => { /* ignore */ }
1275 [a, b] => {
1276 // The 2-element case is fairly common, and because we already branch on the length,
1277 // the check for `len == 2` is very cheap.
1278 //
1279 // On x86_64 the `rol` instruction is used to swap the bytes with just 1 instruction.
1280 // See https://godbolt.org/z/385K7qs91
1281 corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::swaprust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/swap().(a, b)
1282 }
1283 [.., last] => {
1284 let last = *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().last;
1285 slice.copy_withinrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]copy_within().(0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#slice.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().1, 1);
1286 slice[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = last;
1287 }
1288 }
1289 }