Searched refs:datausedbits (Results 1 – 3 of 3) sorted by relevance
90 datausedbits: Optional[int] = QrSegment.get_total_bits(segs, version)91 if (datausedbits is not None) and (datausedbits <= datacapacitybits):95 if datausedbits is not None:98 assert datausedbits is not None102 if boostecl and (datausedbits <= QrCode._get_num_data_codewords(version, newecl) * 8):111 assert len(bb) == datausedbits
219 let datausedbits: usize = loop { in encode_segments_advanced() localVariable236 if boostecl && datausedbits <= QrCode::get_num_data_codewords(version, newecl) * 8 { in encode_segments_advanced()248 debug_assert_eq!(bb.0.len(), datausedbits); in encode_segments_advanced()
259 let datausedbits: usize = loop { in encode_segments_to_codewords() localVariable276 if boostecl && datausedbits <= QrCode::get_num_data_codewords(version, newecl) * 8 { in encode_segments_to_codewords()292 debug_assert_eq!(bb.length, datausedbits); in encode_segments_to_codewords()