Searched refs:qrcodegen_BUFFER_LEN_FOR_VERSION (Results 1 – 4 of 4) sorted by relevance
139 #define qrcodegen_BUFFER_LEN_FOR_VERSION(n) ((((n) * 4 + 17) * ((n) * 4 + 17) + 7) / 8 + 1) macro144 #define qrcodegen_BUFFER_LEN_MAX qrcodegen_BUFFER_LEN_FOR_VERSION(qrcodegen_VERSION_MAX)
63 uint8_t dataAndTemp[qrcodegen_BUFFER_LEN_FOR_VERSION(7)]65 uint8_t qr1[qrcodegen_BUFFER_LEN_FOR_VERSION(7)];
389 uint8_t *qrcode = malloc((size_t)qrcodegen_BUFFER_LEN_FOR_VERSION(ver) * sizeof(uint8_t)); in testInitializeFunctionModulesEtc()450 uint8_t qrcode[qrcodegen_BUFFER_LEN_FOR_VERSION(23)]; in testGetSetModule()497 uint8_t qrcode[qrcodegen_BUFFER_LEN_FOR_VERSION(1)]; in testGetSetModuleRandomly()
135 size_t bufLen = (size_t)qrcodegen_BUFFER_LEN_FOR_VERSION(maxVersion); in qrcodegen_encodeText()231 memset(qrcode, 0, (size_t)qrcodegen_BUFFER_LEN_FOR_VERSION(version) * sizeof(qrcode[0])); in qrcodegen_encodeSegmentsAdvanced()