Searched refs:qrcodegen_Mode_BYTE (Results 1 – 4 of 4) sorted by relevance
/third_party/qrcodegen/c/ |
D | qrcodegen-test.c | 683 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()
|
D | qrcodegen.h | 92 qrcodegen_Mode_BYTE = 0x4, enumerator
|
D | qrcodegen.c | 151 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()
|
D | qrcodegen-demo.c | 192 …uint8_t *segBuf0 = malloc(qrcodegen_calcSegmentBufferSize(qrcodegen_Mode_BYTE, strlen(golden0)) * … in doSegmentDemo()
|