Home
last modified time | relevance | path

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

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrCode.java346 int datLen = shortBlockDataLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleave() local
347 rs.getRemainder(data, k, datLen, ecc); in addEccAndInterleave()
348 for (int j = 0, l = i; j < datLen; j++, k++, l += numBlocks) { // Copy data in addEccAndInterleave()
/third_party/qrcodegen/c/
Dqrcodegen-test.c130 size_t datLen = shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleaveReference() local
131 memcpy(block, &data[k], datLen * sizeof(uint8_t)); in addEccAndInterleaveReference()
132 …reedSolomonComputeRemainder(&data[k], (int)datLen, generator, (int)blockEccLen, &block[shortBlockL… in addEccAndInterleaveReference()
133 k += datLen; in addEccAndInterleaveReference()
Dqrcodegen.c310 int datLen = shortBlockDataLen + (i < numShortBlocks ? 0 : 1); in addEccAndInterleave() local
312 reedSolomonComputeRemainder(dat, datLen, rsdiv, blockEccLen, ecc); in addEccAndInterleave()
313 for (int j = 0, k = i; j < datLen; j++, k += numBlocks) { // Copy data in addEccAndInterleave()
320 dat += datLen; in addEccAndInterleave()