Home
last modified time | relevance | path

Searched refs:accumData (Results 1 – 3 of 3) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrSegment.java80 int accumData = 0; in makeNumeric() local
86 accumData = accumData * 10 + (c - '0'); in makeNumeric()
89 bb.appendBits(accumData, 10); in makeNumeric()
90 accumData = 0; in makeNumeric()
95 bb.appendBits(accumData, accumCount * 3 + 1); in makeNumeric()
112 int accumData = 0; in makeAlphanumeric() local
118 accumData = accumData * 45 + ALPHANUMERIC_MAP[c]; in makeAlphanumeric()
121 bb.appendBits(accumData, 11); in makeAlphanumeric()
122 accumData = 0; in makeAlphanumeric()
127 bb.appendBits(accumData, 6); in makeAlphanumeric()
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp81 int accumData = 0; in makeNumeric() local
88 accumData = accumData * 10 + (c - '0'); in makeNumeric()
91 bb.appendBits(static_cast<uint32_t>(accumData), 10); in makeNumeric()
92 accumData = 0; in makeNumeric()
97 bb.appendBits(static_cast<uint32_t>(accumData), accumCount * 3 + 1); in makeNumeric()
104 int accumData = 0; in makeAlphanumeric() local
111 accumData = accumData * 45 + static_cast<int>(temp - ALPHANUMERIC_CHARSET); in makeAlphanumeric()
114 bb.appendBits(static_cast<uint32_t>(accumData), 11); in makeAlphanumeric()
115 accumData = 0; in makeAlphanumeric()
120 bb.appendBits(static_cast<uint32_t>(accumData), 6); in makeAlphanumeric()
/third_party/qrcodegen/c/
Dqrcodegen.c903 unsigned int accumData = 0; in qrcodegen_makeNumeric() local
908 accumData = accumData * 10 + (unsigned int)(c - '0'); in qrcodegen_makeNumeric()
911 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric()
912 accumData = 0; in qrcodegen_makeNumeric()
917 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric()
937 unsigned int accumData = 0; in qrcodegen_makeAlphanumeric() local
942 accumData = accumData * 45 + (unsigned int)(temp - ALPHANUMERIC_CHARSET); in qrcodegen_makeAlphanumeric()
945 appendBitsToBuffer(accumData, 11, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()
946 accumData = 0; in qrcodegen_makeAlphanumeric()
951 appendBitsToBuffer(accumData, 6, buf, &result.bitLength); in qrcodegen_makeAlphanumeric()