Home
last modified time | relevance | path

Searched refs:ALPHANUMERIC_CHARSET (Results 1 – 9 of 9) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrSegment.java282 final String ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
284 for (int i = 0; i < ALPHANUMERIC_CHARSET.length(); i++)
285 maxCh = Math.max(ALPHANUMERIC_CHARSET.charAt(i), maxCh);
288 for (int i = 0; i < ALPHANUMERIC_CHARSET.length(); i++)
289 ALPHANUMERIC_MAP[ALPHANUMERIC_CHARSET.charAt(i)] = i;
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrSegment.java107 int temp = ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45; in makeAlphanumeric()
108 temp += ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1)); in makeAlphanumeric()
112 bb.appendBits(ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6); in makeAlphanumeric()
269 static final String ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"; field in QrSegment
DQrSegmentAdvanced.java137 if (QrSegment.ALPHANUMERIC_CHARSET.indexOf(c) != -1) { // Is alphanumeric in computeCharacterModes()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts780 let temp: int = QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;
781 temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));
785 appendBits(QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb);
911 …private static readonly ALPHANUMERIC_CHARSET: string = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-… property in qrcodegen.QrSegment
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp108 const char *temp = std::strchr(ALPHANUMERIC_CHARSET, *text); in makeAlphanumeric()
111 accumData = accumData * 45 + static_cast<int>(temp - ALPHANUMERIC_CHARSET); in makeAlphanumeric()
208 if (std::strchr(ALPHANUMERIC_CHARSET, *text) == nullptr) in isAlphanumeric()
230 const char *QrSegment::ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"; member in qrcodegen::QrSegment
Dqrcodegen.hpp214 private: static const char *ALPHANUMERIC_CHARSET; member in qrcodegen::QrSegment
/third_party/qrcodegen/c/
Dqrcodegen.c94 static const char *ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"; variable
824 if (strchr(ALPHANUMERIC_CHARSET, *text) == NULL) in qrcodegen_isAlphanumeric()
940 const char *temp = strchr(ALPHANUMERIC_CHARSET, *text); in qrcodegen_makeAlphanumeric()
942 accumData = accumData * 45 + (unsigned int)(temp - ALPHANUMERIC_CHARSET); in qrcodegen_makeAlphanumeric()
/third_party/qrcodegen/rust/src/
Dlib.rs1019 let i: usize = ALPHANUMERIC_CHARSET.find(c) in make_alphanumeric()
1142 text.chars().all(|c| ALPHANUMERIC_CHARSET.contains(c)) in is_alphanumeric()
1150 static ALPHANUMERIC_CHARSET: &str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"; constant
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs1144 let i: usize = ALPHANUMERIC_CHARSET.find(c) in make_alphanumeric()
1281 text.chars().all(|c| ALPHANUMERIC_CHARSET.contains(c)) in is_alphanumeric()
1289 static ALPHANUMERIC_CHARSET: &str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"; variable