Home
last modified time | relevance | path

Searched refs:kanjiChars (Results 1 – 2 of 2) sorted by relevance

/third_party/qrcodegen/c/
Dqrcodegen-demo.c215 const int kanjiChars[] = { // Kanji mode encoding (13 bits per character) in doSegmentDemo() local
223 size_t len = sizeof(kanjiChars) / sizeof(kanjiChars[0]); in doSegmentDemo()
231 segBuf[seg.bitLength >> 3] |= ((kanjiChars[i] >> j) & 1) << (7 - (seg.bitLength & 7)); in doSegmentDemo()
/third_party/qrcodegen/cpp/
DQrCodeGeneratorDemo.cpp148 const std::vector<int> kanjiChars{ // Kanji mode encoding (13 bits per character) in doSegmentDemo() local
157 for (int c : kanjiChars) in doSegmentDemo()
160 {QrSegment(QrSegment::Mode::KANJI, static_cast<int>(kanjiChars.size()), bb)}, in doSegmentDemo()