Home
last modified time | relevance | path

Searched refs:numShortBlocks (Results 1 - 5 of 5) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCode.java337 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
346 int datLen = shortBlockDataLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleave()
350 l -= numShortBlocks; in addEccAndInterleave()
/third_party/qrcodegen/cpp/
H A Dqrcodegen.cpp506 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave() local
513 vector<uint8_t> dat(data.cbegin() + k, data.cbegin() + (k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1))); in addEccAndInterleave()
516 if (i < numShortBlocks) in addEccAndInterleave()
527 if (i != static_cast<unsigned int>(shortBlockLen - blockEccLen) || j >= static_cast<unsigned int>(numShortBlocks)) in addEccAndInterleave()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
H A DQrCode.java437 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
444 byte[] dat = Arrays.copyOfRange(data, k, k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1)); in addEccAndInterleave()
457 if (i != shortBlockLen - blockEccLen || j >= numShortBlocks) { in addEccAndInterleave()
/third_party/qrcodegen/c/
H A Dqrcodegen.c301 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave() local
310 int datLen = shortBlockDataLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleave()
315 k -= numShortBlocks; in addEccAndInterleave()
H A Dqrcodegen-test.c113 size_t numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleaveReference() local
130 size_t datLen = shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleaveReference()
147 if (i != shortBlockLen - blockEccLen || j >= numShortBlocks) { in addEccAndInterleaveReference()

Completed in 10 milliseconds