Home
last modified time | relevance | path

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

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrSegment.java81 int accumCount = 0; in makeNumeric() local
87 accumCount++; in makeNumeric()
88 if (accumCount == 3) { in makeNumeric()
91 accumCount = 0; in makeNumeric()
94 if (accumCount > 0) // 1 or 2 digits remaining in makeNumeric()
95 bb.appendBits(accumData, accumCount * 3 + 1); in makeNumeric()
113 int accumCount = 0; in makeAlphanumeric() local
119 accumCount++; in makeAlphanumeric()
120 if (accumCount == 2) { in makeAlphanumeric()
123 accumCount = 0; in makeAlphanumeric()
[all …]
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp82 int accumCount = 0; in makeNumeric() local
89 accumCount++; in makeNumeric()
90 if (accumCount == 3) { in makeNumeric()
93 accumCount = 0; in makeNumeric()
96 if (accumCount > 0) // 1 or 2 digits remaining in makeNumeric()
97 bb.appendBits(static_cast<uint32_t>(accumData), accumCount * 3 + 1); in makeNumeric()
105 int accumCount = 0; in makeAlphanumeric() local
112 accumCount++; in makeAlphanumeric()
113 if (accumCount == 2) { in makeAlphanumeric()
116 accumCount = 0; in makeAlphanumeric()
[all …]
/third_party/qrcodegen/c/
Dqrcodegen.c904 int accumCount = 0; in qrcodegen_makeNumeric() local
909 accumCount++; in qrcodegen_makeNumeric()
910 if (accumCount == 3) { in qrcodegen_makeNumeric()
913 accumCount = 0; in qrcodegen_makeNumeric()
916 if (accumCount > 0) // 1 or 2 digits remaining in qrcodegen_makeNumeric()
917 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric()
938 int accumCount = 0; in qrcodegen_makeAlphanumeric() local
943 accumCount++; in qrcodegen_makeAlphanumeric()
944 if (accumCount == 2) { in qrcodegen_makeAlphanumeric()
947 accumCount = 0; in qrcodegen_makeAlphanumeric()
[all …]