Lines Matching full:7

69 testable int getAlignmentPatternPositions(int version, uint8_t result[7]);
75 static void addRunToHistory(unsigned char run, unsigned char history[7]);
76 static bool hasFinderLikePattern(const unsigned char runHistory[7]);
98 …//0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 2…
99 …{-1, 7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 3…
110 …//0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,…
111 …{-1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12,…
187 buffer[*bitLen >> 3] |= ((val >> i) & 1) << (7 - (*bitLen & 7)); in appendBitsToBuffer()
207 LV_ASSERT(0 <= (int)ecl && (int)ecl <= 3 && -1 <= (int)mask && (int)mask <= 7); in qrcodegen_encodeSegmentsAdvanced()
237 appendBitsToBuffer((seg->data[j >> 3] >> (7 - (j & 7))) & 1, 1, qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced()
277 LV_ASSERT(0 <= (int)mask && (int)mask <= 7); in qrcodegen_encodeSegmentsAdvanced()
340 int numAlign = ver / 7 + 2; in getNumRawDataModules()
342 if (ver >= 7) in getNumRawDataModules()
400 for (int i = 7; i >= 0; i--) { in finiteFieldMultiply()
401 z = (z << 1) ^ ((z >> 7) * 0x11D); in finiteFieldMultiply()
416 memset(qrcode, 0, ((qrsize * qrsize + 7) / 8 + 1) * sizeof(qrcode[0])); in initializeFunctionModules()
429 uint8_t alignPatPos[7]; in initializeFunctionModules()
440 if (version >= 7) { in initializeFunctionModules()
453 for (int i = 7; i < qrsize - 7; i += 2) { in drawWhiteFunctionModules()
473 uint8_t alignPatPos[7]; in drawWhiteFunctionModules()
487 if (version >= 7) { in drawWhiteFunctionModules()
489 int rem = version; // version is uint6, in the range [7, 40] in drawWhiteFunctionModules()
513 LV_ASSERT(0 <= (int)mask && (int)mask <= 7); in drawFormatBits()
525 setModule(qrcode, 8, 7, getBit(bits, 6)); in drawFormatBits()
526 setModule(qrcode, 8, 8, getBit(bits, 7)); in drawFormatBits()
527 setModule(qrcode, 7, 8, getBit(bits, 8)); in drawFormatBits()
542 // for this version number, returning the length of the list (in the range [0,7]).
545 testable int getAlignmentPatternPositions(int version, uint8_t result[7]) { in getAlignmentPatternPositions() argument
548 int numAlign = version / 7 + 2; in getAlignmentPatternPositions()
585 bool black = getBit(data[i >> 3], 7 - (i & 7)); in drawCodewords()
589 // If this QR Code has any remainder bits (0 to 7), they were assigned as in drawCodewords()
604 LV_ASSERT(0 <= (int)mask && (int)mask <= 7); // Disallows qrcodegen_Mask_AUTO in applyMask()
619 case 7: invert = ((x + y) % 2 + x * y % 3) % 2 == 0; break; in applyMask()
637 unsigned char runHistory[7] = {0}; in getPenaltyScore()
663 unsigned char runHistory[7] = {0}; in getPenaltyScore()
717 static void addRunToHistory(unsigned char run, unsigned char history[7]) { in addRunToHistory() argument
726 static bool hasFinderLikePattern(const unsigned char runHistory[7]) { in hasFinderLikePattern() argument
761 return getBit(qrcode[(index >> 3) + 1], index & 7); in getModule()
770 int bitIndex = index & 7; in setModule()
824 return ((size_t)temp + 7) / 8; in qrcodegen_calcSegmentBufferSize()
887 memset(buf, 0, ((size_t)bitLen + 7) / 8 * sizeof(buf[0])); in qrcodegen_makeNumeric()
921 memset(buf, 0, ((size_t)bitLen + 7) / 8 * sizeof(buf[0])); in qrcodegen_makeAlphanumeric()
953 } else if (assignVal < (1 << 7)) { in qrcodegen_makeEci()
1001 int i = (version + 7) / 17; in numCharCountBits()