Home
last modified time | relevance | path

Searched refs:dataused (Results 1 – 2 of 2) sorted by relevance

/third_party/qrcodegen/rust/src/
Dlib.rs221 let dataused: Option<usize> = QrSegment::get_total_bits(segs, version); in encode_segments_advanced() localVariable
222 if dataused.map_or(false, |n| n <= datacapacitybits) { in encode_segments_advanced()
223 break dataused.unwrap(); // This version number is found to be suitable in encode_segments_advanced()
225 return Err(match dataused { in encode_segments_advanced()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs261 let dataused: Option<usize> = QrSegment::get_total_bits(segs, version); in encode_segments_to_codewords() localVariable
262 if dataused.map_or(false, |n| n <= datacapacitybits) { in encode_segments_to_codewords()
263 break dataused.unwrap(); // This version number is found to be suitable in encode_segments_to_codewords()
265 return Err(match dataused { in encode_segments_to_codewords()