• Home
  • Raw
  • Download

Lines Matching refs:bitLength

152 		seg.bitLength = calcSegmentBitLength(seg.mode, textLen);  in qrcodegen_encodeText()
153 if (seg.bitLength == -1) in qrcodegen_encodeText()
172 seg.bitLength = calcSegmentBitLength(seg.mode, dataLen); in qrcodegen_encodeBinary()
173 if (seg.bitLength == -1) { in qrcodegen_encodeBinary()
237 for (int j = 0; j < seg->bitLength; j++) { in qrcodegen_encodeSegmentsAdvanced()
880 result.bitLength = calcSegmentBitLength(result.mode, len); in qrcodegen_makeBytes()
881 assert(result.bitLength != -1); in qrcodegen_makeBytes()
901 result.bitLength = 0; in qrcodegen_makeNumeric()
911 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric()
917 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric()
918 assert(result.bitLength == bitLen); in qrcodegen_makeNumeric()
935 result.bitLength = 0; in qrcodegen_makeAlphanumeric()
945 appendBitsToBuffer(accumData, 11, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
951 appendBitsToBuffer(accumData, 6, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
952 assert(result.bitLength == bitLen); in qrcodegen_makeAlphanumeric()
963 result.bitLength = 0; in qrcodegen_makeEci()
968 appendBitsToBuffer((unsigned int)assignVal, 8, buf, &result.bitLength); in qrcodegen_makeEci()
971 appendBitsToBuffer(2, 2, buf, &result.bitLength); in qrcodegen_makeEci()
972 appendBitsToBuffer((unsigned int)assignVal, 14, buf, &result.bitLength); in qrcodegen_makeEci()
975 appendBitsToBuffer(6, 3, buf, &result.bitLength); in qrcodegen_makeEci()
976 appendBitsToBuffer((unsigned int)(assignVal >> 10), 11, buf, &result.bitLength); in qrcodegen_makeEci()
977 appendBitsToBuffer((unsigned int)(assignVal & 0x3FF), 10, buf, &result.bitLength); in qrcodegen_makeEci()
993 int bitLength = segs[i].bitLength; in getTotalBits() local
995 assert(0 <= bitLength && bitLength <= INT16_MAX); in getTotalBits()
1000 result += 4L + ccbits + bitLength; in getTotalBits()