Home
last modified time | relevance | path

Searched refs:datausedbits (Results 1 – 3 of 3) sorted by relevance

/third_party/qrcodegen/python/
Dqrcodegen.py90 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 None
102 if boostecl and (datausedbits <= QrCode._get_num_data_codewords(version, newecl) * 8):
111 assert len(bb) == datausedbits
/third_party/qrcodegen/rust/src/
Dlib.rs219 let datausedbits: usize = loop { in encode_segments_advanced() localVariable
236 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()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs259 let datausedbits: usize = loop { in encode_segments_to_codewords() localVariable
276 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()