Lines Matching refs:appendBitsToBuffer
55 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int *bitLen);
185 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int *bitLen) { in appendBitsToBuffer() function
235 appendBitsToBuffer((unsigned int)seg->mode, 4, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
236 …appendBitsToBuffer((unsigned int)seg->numChars, numCharCountBits(seg->mode, version), qrcode, &bit… in qrcodegen_encodeSegmentsAdvanced()
239 appendBitsToBuffer((unsigned int)bit, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
250 appendBitsToBuffer(0, terminatorBits, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
251 appendBitsToBuffer(0, (8 - bitLen % 8) % 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
256 appendBitsToBuffer(padByte, 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
911 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric()
917 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric()
945 appendBitsToBuffer(accumData, 11, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
951 appendBitsToBuffer(accumData, 6, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
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()