Lines Matching refs:appendBitsToBuffer

57 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int * bitLen);
190 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int * bitLen) in appendBitsToBuffer() function
243 appendBitsToBuffer((int)seg->mode, 4, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
244 appendBitsToBuffer(seg->numChars, numCharCountBits(seg->mode, version), qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
246 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
256 appendBitsToBuffer(0, terminatorBits, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
257 appendBitsToBuffer(0, (8 - bitLen % 8) % 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
262 appendBitsToBuffer(padByte, 8, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
955 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric()
961 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric()
990 appendBitsToBuffer(accumData, 11, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
996 appendBitsToBuffer(accumData, 6, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
1015 appendBitsToBuffer(assignVal, 8, buf, &result.bitLength); in qrcodegen_makeEci()
1019 appendBitsToBuffer(2, 2, buf, &result.bitLength); in qrcodegen_makeEci()
1020 appendBitsToBuffer(assignVal, 14, buf, &result.bitLength); in qrcodegen_makeEci()
1024 appendBitsToBuffer(6, 3, buf, &result.bitLength); in qrcodegen_makeEci()
1025 appendBitsToBuffer(assignVal >> 10, 11, buf, &result.bitLength); in qrcodegen_makeEci()
1026 appendBitsToBuffer(assignVal & 0x3FF, 10, buf, &result.bitLength); in qrcodegen_makeEci()