Lines Matching refs:numChars
60 int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars);
725 size_t numChars; in testCalcSegmentBitLength() member
753 assert(calcSegmentBitLength(qrcodegen_Mode_NUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
782 assert(calcSegmentBitLength(qrcodegen_Mode_ALPHANUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
808 assert(calcSegmentBitLength(qrcodegen_Mode_BYTE, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
835 assert(calcSegmentBitLength(qrcodegen_Mode_KANJI, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength()
850 assert(seg.numChars == 0); in testMakeBytes()
858 assert(seg.numChars == 1); in testMakeBytes()
867 assert(seg.numChars == 3); in testMakeBytes()
881 assert(seg.numChars == 0); in testMakeNumeric()
888 assert(seg.numChars == 1); in testMakeNumeric()
896 assert(seg.numChars == 2); in testMakeNumeric()
904 assert(seg.numChars == 3); in testMakeNumeric()
913 assert(seg.numChars == 10); in testMakeNumeric()
929 assert(seg.numChars == 0); in testMakeAlphanumeric()
936 assert(seg.numChars == 1); in testMakeAlphanumeric()
944 assert(seg.numChars == 2); in testMakeAlphanumeric()
953 assert(seg.numChars == 3); in testMakeAlphanumeric()
968 assert(seg.numChars == 0); in testMakeEci()
976 assert(seg.numChars == 0); in testMakeEci()
985 assert(seg.numChars == 0); in testMakeEci()