Home
last modified time | relevance | path

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

/third_party/qrcodegen/c/
Dqrcodegen-test.c622 assert(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_NUMERIC, cases[i][0]) == cases[i][1]); in testCalcSegmentBufferSize()
753 assert(calcSegmentBitLength(qrcodegen_Mode_NUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
880 assert(seg.mode == qrcodegen_Mode_NUMERIC); in testMakeNumeric()
1016 {qrcodegen_Mode_NUMERIC, 7, NULL, 24}, in testGetTotalBits()
1040 {qrcodegen_Mode_NUMERIC, 2047, NULL, 6824}, in testGetTotalBits()
1041 {qrcodegen_Mode_NUMERIC, 2047, NULL, 6824}, in testGetTotalBits()
1042 {qrcodegen_Mode_NUMERIC, 2047, NULL, 6824}, in testGetTotalBits()
1043 {qrcodegen_Mode_NUMERIC, 2047, NULL, 6824}, in testGetTotalBits()
1044 {qrcodegen_Mode_NUMERIC, 1617, NULL, 5390}, in testGetTotalBits()
Dqrcodegen-demo.c145 …uint8_t *segBuf1 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_NUMERIC, strlen(silver1))… in doSegmentDemo()
193 …uint8_t *segBuf1 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_NUMERIC, strlen(golden1))… in doSegmentDemo()
Dqrcodegen.h90 qrcodegen_Mode_NUMERIC = 0x1, enumerator
Dqrcodegen.c139 if (qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_NUMERIC, textLen) > bufLen) in qrcodegen_encodeText()
854 if (mode == qrcodegen_Mode_NUMERIC) in calcSegmentBitLength()
895 result.mode = qrcodegen_Mode_NUMERIC; in qrcodegen_makeNumeric()
1015 case qrcodegen_Mode_NUMERIC : { static const int temp[] = {10, 12, 14}; return temp[i]; } in numCharCountBits()