Home
last modified time | relevance | path

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

/third_party/qrcodegen/c/
Dqrcodegen-test.c683 assert(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_BYTE, cases[i][0]) == cases[i][1]); in testCalcSegmentBufferSize()
808 assert(calcSegmentBitLength(qrcodegen_Mode_BYTE, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
849 assert(seg.mode == qrcodegen_Mode_BYTE); in testMakeBytes()
1004 {qrcodegen_Mode_BYTE, 3, NULL, 24}, in testGetTotalBits()
1029 {qrcodegen_Mode_BYTE, 4093, NULL, 32744}, in testGetTotalBits()
Dqrcodegen.h92 qrcodegen_Mode_BYTE = 0x4, enumerator
Dqrcodegen.c151 seg.mode = qrcodegen_Mode_BYTE; in qrcodegen_encodeText()
171 seg.mode = qrcodegen_Mode_BYTE; in qrcodegen_encodeBinary()
858 else if (mode == qrcodegen_Mode_BYTE) in calcSegmentBitLength()
879 result.mode = qrcodegen_Mode_BYTE; in qrcodegen_makeBytes()
1017 case qrcodegen_Mode_BYTE : { static const int temp[] = { 8, 16, 16}; return temp[i]; } in numCharCountBits()
Dqrcodegen-demo.c192 …uint8_t *segBuf0 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_BYTE, strlen(golden0)) * … in doSegmentDemo()