Lines Matching defs:bits

120     let mut bits = Bits::new(Version::Normal(1));  in test_push_number()  localVariable
152 let mut bits = Bits::new(Version::Normal(40)); in bench_push_splitted_bytes() localVariable
210 let bits = self.version.mode_bits_count(); in push_mode_indicator() localVariable
286 let mut bits = Bits::new(Version::Normal(1)); in test_9() localVariable
293 let mut bits = Bits::new(Version::Normal(1)); in test_899() localVariable
300 let mut bits = Bits::new(Version::Normal(1)); in test_999999() localVariable
307 let mut bits = Bits::new(Version::Normal(1)); in test_invalid_designator() localVariable
313 let mut bits = Bits::new(Version::Micro(4)); in test_unsupported_character_set() localVariable
356 let mut bits = Bits::new(Version::Normal(1)); in test_iso_18004_2006_example_1() localVariable
366 let mut bits = Bits::new(Version::Normal(1)); in test_iso_18004_2000_example_2() localVariable
386 let mut bits = Bits::new(Version::Micro(3)); in test_iso_18004_2006_example_2() localVariable
405 let mut bits = Bits::new(Version::Micro(1)); in test_data_too_long_error() localVariable
464 let mut bits = Bits::new(Version::Normal(1)); in test_iso_18004_2006_example() localVariable
474 let mut bits = Bits::new(Version::Micro(1)); in test_micro_qr_unsupported() localVariable
480 let mut bits = Bits::new(Version::Micro(2)); in test_data_too_long() localVariable
511 let mut bits = Bits::new(Version::Normal(1)); in test() localVariable
532 let mut bits = Bits::new(Version::Micro(2)); in test_micro_qr_unsupported() localVariable
538 let mut bits = Bits::new(Version::Micro(3)); in test_data_too_long() localVariable
578 let mut bits = Bits::new(Version::Normal(1)); in test_iso_18004_example() localVariable
585 let mut bits = Bits::new(Version::Micro(2)); in test_micro_qr_unsupported() localVariable
591 let mut bits = Bits::new(Version::Micro(3)); in test_data_too_long() localVariable
762 let mut bits = Bits::new(Version::Normal(1)); in test_hello_world() localVariable
776 let mut bits = Bits::new(Version::Micro(1)); in test_too_long() localVariable
783 let mut bits = Bits::new(Version::Micro(1)); in test_no_terminator() localVariable
791 let mut bits = Bits::new(Version::Micro(1)); in test_no_padding() localVariable
799 let mut bits = Bits::new(Version::Micro(1)); in test_micro_version_1_half_byte_padding() localVariable
807 let mut bits = Bits::new(Version::Micro(1)); in test_micro_version_1_full_byte_padding() localVariable
860 let mut bits = Bits::new(version); in encode() localVariable
912 let mut bits = Bits::new(min_version); in encode_auto() localVariable
959 let bits = encode_auto(b"HELLO WORLD", EcLevel::Q).unwrap(); in test_alpha_q() localVariable
965 let bits = encode_auto(b"HELLO WORLD", EcLevel::H).unwrap(); in test_alpha_h() localVariable
971 let bits = encode_auto(b"This is a mixed data test. 1234567890", EcLevel::H).unwrap(); in test_mixed() localVariable