Lines Matching refs:bits
492 long bits = (long)version << 12 | rem; // uint18 in drawWhiteFunctionModules() local
493 LV_ASSERT(bits >> 18 == 0); in drawWhiteFunctionModules()
499 setModule(qrcode, k, i, (bits & 1) != 0); in drawWhiteFunctionModules()
500 setModule(qrcode, i, k, (bits & 1) != 0); in drawWhiteFunctionModules()
501 bits >>= 1; in drawWhiteFunctionModules()
519 int bits = (data << 10 | rem) ^ 0x5412; // uint15 in drawFormatBits() local
520 LV_ASSERT(bits >> 15 == 0); in drawFormatBits()
524 setModule(qrcode, 8, i, getBit(bits, i)); 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()
529 setModule(qrcode, 14 - i, 8, getBit(bits, i)); in drawFormatBits()
534 setModule(qrcode, qrsize - 1 - i, 8, getBit(bits, i)); in drawFormatBits()
536 setModule(qrcode, 8, qrsize - 15 + i, getBit(bits, i)); in drawFormatBits()