Home
last modified time | relevance | path

Searched refs:qrcodegen_BUFFER_LEN_FOR_VERSION (Results 1 – 4 of 4) sorted by relevance

/third_party/qrcodegen/c/
Dqrcodegen.h139 #define qrcodegen_BUFFER_LEN_FOR_VERSION(n) ((((n) * 4 + 17) * ((n) * 4 + 17) + 7) / 8 + 1) macro
144 #define qrcodegen_BUFFER_LEN_MAX qrcodegen_BUFFER_LEN_FOR_VERSION(qrcodegen_VERSION_MAX)
DReadme.markdown63 uint8_t dataAndTemp[qrcodegen_BUFFER_LEN_FOR_VERSION(7)]
65 uint8_t qr1[qrcodegen_BUFFER_LEN_FOR_VERSION(7)];
Dqrcodegen-test.c389 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()
Dqrcodegen.c135 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()