Home
last modified time | relevance | path

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

/third_party/qrcodegen/python/
Dqrcodegen.py349 numshortblocks: int = numblocks - rawcodewords % numblocks
357 dat: bytearray = data[k : k + shortblocklen - blockecclen + (0 if i < numshortblocks else 1)]
360 if i < numshortblocks:
370 if (i != shortblocklen - blockecclen) or (j >= numshortblocks):
/third_party/qrcodegen/rust/src/
Dlib.rs525 let numshortblocks: usize = numblocks - rawcodewords % numblocks; in add_ecc_and_interleave() localVariable
533 let datlen: usize = shortblocklen - blockecclen + usize::from(i >= numshortblocks); in add_ecc_and_interleave()
537 if i < numshortblocks { in add_ecc_and_interleave()
549 if i != shortblocklen - blockecclen || j >= numshortblocks { in add_ecc_and_interleave()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs450 let numshortblocks: usize = numblocks - rawcodewords % numblocks; in add_ecc_and_interleave() localVariable
460 let datlen: usize = shortblockdatalen + usize::from(i >= numshortblocks); in add_ecc_and_interleave()
465 k -= numshortblocks; in add_ecc_and_interleave()