• Home
  • Raw
  • Download

Lines Matching refs:MAX

54 	let mut outbuffer  = vec![0u8; Version::MAX.buffer_len()];  in do_basic_demo()
55 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo()
57 errcorlvl, Version::MIN, Version::MAX, None, true).unwrap(); in do_basic_demo()
68 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
69 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
71 …&mut tempbuffer, &mut outbuffer, QrCodeEcc::Medium, Version::MIN, Version::MAX, None, true).unwrap… in do_variety_demo()
76 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
77 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
79 …&mut tempbuffer, &mut outbuffer, QrCodeEcc::High, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo()
84 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
85 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
87 …&mut tempbuffer, &mut outbuffer, QrCodeEcc::Quartile, Version::MIN, Version::MAX, None, true).unwr… in do_variety_demo()
100 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
101 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo()
103 QrCodeEcc::High, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo()
114 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
115 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
117 QrCodeEcc::Low, Version::MIN, Version::MAX, None, true).unwrap(); in do_segment_demo()
126 &segs, &mut outbuffer, QrCodeEcc::Low, Version::MIN, Version::MAX, true).unwrap(); in do_segment_demo()
136 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
137 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
139 QrCodeEcc::Low, Version::MIN, Version::MAX, None, true).unwrap(); in do_segment_demo()
149 &segs, &mut outbuffer, QrCodeEcc::Low, Version::MIN, Version::MAX, true).unwrap(); in do_segment_demo()
156 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
157 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_segment_demo()
159 QrCodeEcc::Low, Version::MIN, Version::MAX, None, true).unwrap(); in do_segment_demo()
181 &segs, &mut outbuffer, QrCodeEcc::Low, Version::MIN, Version::MAX, true).unwrap(); in do_segment_demo()
192 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_mask_demo()
193 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_mask_demo()
196 Version::MIN, Version::MAX, None, true).unwrap(); // Automatic mask in do_mask_demo()
199 Version::MIN, Version::MAX, Some(Mask::new(3)), true).unwrap(); // Force mask 3 in do_mask_demo()
205 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_mask_demo()
206 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_mask_demo()
209 Version::MIN, Version::MAX, Some(Mask::new(0)), true).unwrap(); // Force mask 0 in do_mask_demo()
212 Version::MIN, Version::MAX, Some(Mask::new(1)), true).unwrap(); // Force mask 1 in do_mask_demo()
215 Version::MIN, Version::MAX, Some(Mask::new(5)), true).unwrap(); // Force mask 5 in do_mask_demo()
218 Version::MIN, Version::MAX, Some(Mask::new(7)), true).unwrap(); // Force mask 7 in do_mask_demo()