Lines Matching refs:data
57 testable void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t resu…
62 testable void calcReedSolomonRemainder(const uint8_t data[], int dataLen,
72 static void drawCodewords(const uint8_t data[], int dataLen, uint8_t qrcode[]);
155 seg.data = tempBuffer; in qrcodegen_encodeText()
177 seg.data = dataAndTemp; in qrcodegen_encodeBinary()
237 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
291 testable void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t resu… in addEccAndInterleave() argument
305 const uint8_t *dat = data; in addEccAndInterleave()
308 uint8_t *ecc = &data[dataLen]; // Temporary storage in addEccAndInterleave()
377 testable void calcReedSolomonRemainder(const uint8_t data[], int dataLen, in calcReedSolomonRemainder() argument
384 uint8_t factor = data[i] ^ result[0]; in calcReedSolomonRemainder()
515 int data = table[(int)ecl] << 3 | (int)mask; // errCorrLvl is uint2, mask is uint3 in drawFormatBits() local
516 int rem = data; in drawFormatBits()
519 int bits = (data << 10 | rem) ^ 0x5412; // uint15 in drawFormatBits()
572 static void drawCodewords(const uint8_t data[], int dataLen, uint8_t qrcode[]) { in drawCodewords() argument
585 bool black = getBit(data[i >> 3], 7 - (i & 7)); in drawCodewords()
863 struct qrcodegen_Segment qrcodegen_makeBytes(const uint8_t data[], size_t len, uint8_t buf[]) { in qrcodegen_makeBytes() argument
864 LV_ASSERT(data != NULL || len == 0); in qrcodegen_makeBytes()
871 memcpy(buf, data, len * sizeof(buf[0])); in qrcodegen_makeBytes()
872 result.data = buf; in qrcodegen_makeBytes()
906 result.data = buf; in qrcodegen_makeNumeric()
940 result.data = buf; in qrcodegen_makeAlphanumeric()
968 result.data = buf; in qrcodegen_makeEci()