Searched refs:qrcodegen_Mode_ALPHANUMERIC (Results 1 – 4 of 4) sorted by relevance
/third_party/qrcodegen/c/ |
D | qrcodegen-test.c | 653 assert(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_ALPHANUMERIC, cases[i][0]) == cases[i][1]); in testCalcSegmentBufferSize() 782 assert(calcSegmentBitLength(qrcodegen_Mode_ALPHANUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength() 928 assert(seg.mode == qrcodegen_Mode_ALPHANUMERIC); in testMakeAlphanumeric() 1017 {qrcodegen_Mode_ALPHANUMERIC, 1, NULL, 6}, in testGetTotalBits() 1064 {qrcodegen_Mode_ALPHANUMERIC, 511, NULL, 2811}, in testGetTotalBits()
|
D | qrcodegen-demo.c | 144 …uint8_t *segBuf0 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_ALPHANUMERIC, strlen(silv… in doSegmentDemo() 194 …uint8_t *segBuf2 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_ALPHANUMERIC, strlen(gold… in doSegmentDemo()
|
D | qrcodegen.h | 91 qrcodegen_Mode_ALPHANUMERIC = 0x2, enumerator
|
D | qrcodegen.c | 143 if (qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_ALPHANUMERIC, textLen) > bufLen) in qrcodegen_encodeText() 856 else if (mode == qrcodegen_Mode_ALPHANUMERIC) in calcSegmentBitLength() 929 result.mode = qrcodegen_Mode_ALPHANUMERIC; in qrcodegen_makeAlphanumeric() 1016 case qrcodegen_Mode_ALPHANUMERIC: { static const int temp[] = { 9, 11, 13}; return temp[i]; } in numCharCountBits()
|