/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 69 public static QrCode encodeText(String text, Ecc ecl) { in encodeText() argument 71 Objects.requireNonNull(ecl); in encodeText() 73 return encodeSegments(segs, ecl); in encodeText() 89 public static QrCode encodeBinary(byte[] data, Ecc ecl) { in encodeBinary() argument 91 Objects.requireNonNull(ecl); in encodeBinary() 93 return encodeSegments(Arrays.asList(seg), ecl); in encodeBinary() 114 public static QrCode encodeSegments(List<QrSegment> segs, Ecc ecl) { in encodeSegments() argument 115 return encodeSegments(segs, ecl, MIN_VERSION, MAX_VERSION, -1, true); in encodeSegments() 143 …public static QrCode encodeSegments(List<QrSegment> segs, Ecc ecl, int minVersion, int maxVersion,… in encodeSegments() argument 145 Objects.requireNonNull(ecl); in encodeSegments() [all …]
|
D | QrSegmentAdvanced.java | 63 …public static List<QrSegment> makeSegmentsOptimally(String text, QrCode.Ecc ecl, int minVersion, i… in makeSegmentsOptimally() argument 66 Objects.requireNonNull(ecl); in makeSegmentsOptimally() 79 int dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8; in makeSegmentsOptimally()
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 57 testable void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t resu… 58 testable int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl); 68 static void drawFormatBits(enum qrcodegen_Ecc ecl, enum qrcodegen_Mask mask, uint8_t qrcode[]); 130 enum qrcodegen_Ecc ecl, int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl) { in qrcodegen_encodeText() argument 134 …return qrcodegen_encodeSegmentsAdvanced(NULL, 0, ecl, minVersion, maxVersion, mask, boostEcl, temp… in qrcodegen_encodeText() 158 …return qrcodegen_encodeSegmentsAdvanced(&seg, 1, ecl, minVersion, maxVersion, mask, boostEcl, temp… in qrcodegen_encodeText() 168 enum qrcodegen_Ecc ecl, int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl) { in qrcodegen_encodeBinary() argument 179 …return qrcodegen_encodeSegmentsAdvanced(&seg, 1, ecl, minVersion, maxVersion, mask, boostEcl, data… in qrcodegen_encodeBinary() 197 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]) { in qrcodegen_encodeSegments() argument 198 return qrcodegen_encodeSegmentsAdvanced(segs, len, ecl, in qrcodegen_encodeSegments() [all …]
|
D | qrcodegen.h | 170 enum qrcodegen_Ecc ecl, int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl); 192 enum qrcodegen_Ecc ecl, int minVersion, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl); 210 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]); 228 …n_encodeSegmentsAdvanced(const struct qrcodegen_Segment segs[], size_t len, enum qrcodegen_Ecc ecl,
|
D | qrcodegen-test.c | 49 void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t result[]); 50 int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl); 108 …c uint8_t *addEccAndInterleaveReference(const uint8_t *data, int version, enum qrcodegen_Ecc ecl) { in addEccAndInterleaveReference() argument 110 size_t numBlocks = (size_t)NUM_ERROR_CORRECTION_BLOCKS[(int)ecl][version]; in addEccAndInterleaveReference() 111 size_t blockEccLen = (size_t)ECC_CODEWORDS_PER_BLOCK[(int)ecl][version]; in addEccAndInterleaveReference() 150 for (int ecl = 0; ecl < 4; ecl++) { in testAddEccAndInterleave() local 151 size_t dataLen = (size_t)getNumDataCodewords(version, (enum qrcodegen_Ecc)ecl); in testAddEccAndInterleave() 155 uint8_t *expectOutput = addEccAndInterleaveReference(pureData, version, (enum qrcodegen_Ecc)ecl); in testAddEccAndInterleave() 161 addEccAndInterleave(paddedData, version, (enum qrcodegen_Ecc)ecl, actualOutput); in testAddEccAndInterleave()
|
/third_party/qrcodegen/rust/src/ |
D | lib.rs | 154 pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_text() 157 QrCode::encode_segments(&segs, ecl) in encode_text() 169 pub fn encode_binary(data: &[u8], ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_binary() 171 QrCode::encode_segments(&segs, ecl) in encode_binary() 188 pub fn encode_segments(segs: &[QrSegment], ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_segments() 189 QrCode::encode_segments_advanced(segs, ecl, Version::MIN, Version::MAX, None, true) in encode_segments() 207 pub fn encode_segments_advanced(segs: &[QrSegment], mut ecl: QrCodeEcc, in encode_segments_advanced() 215 let datacapacitybits: usize = QrCode::get_num_data_codewords(version, ecl) * 8; in encode_segments_advanced() 234 ecl = newecl; in encode_segments_advanced() 248 let datacapacitybits: usize = QrCode::get_num_data_codewords(version, ecl) * 8; in encode_segments_advanced() [all …]
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.hpp | 252 private: static int getFormatBits(Ecc ecl); 265 public: static QrCode encodeText(const char *text, Ecc ecl); 274 public: static QrCode encodeBinary(const std::vector<std::uint8_t> &data, Ecc ecl); 290 public: static QrCode encodeSegments(const std::vector<QrSegment> &segs, Ecc ecl, 334 public: QrCode(int ver, Ecc ecl, const std::vector<std::uint8_t> &dataCodewords, int msk); 451 private: static int getNumDataCodewords(int ver, Ecc ecl);
|
D | qrcodegen.cpp | 232 int QrCode::getFormatBits(Ecc ecl) { in getFormatBits() argument 233 switch (ecl) { in getFormatBits() 243 QrCode QrCode::encodeText(const char *text, Ecc ecl) { in encodeText() argument 245 return encodeSegments(segs, ecl); in encodeText() 249 QrCode QrCode::encodeBinary(const vector<uint8_t> &data, Ecc ecl) { in encodeBinary() argument 251 return encodeSegments(segs, ecl); in encodeBinary() 255 QrCode QrCode::encodeSegments(const vector<QrSegment> &segs, Ecc ecl, in encodeSegments() argument 263 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in encodeSegments() 284 ecl = newEcl; in encodeSegments() 298 size_t dataCapacityBits = static_cast<size_t>(getNumDataCodewords(version, ecl)) * 8; in encodeSegments() [all …]
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 61 public static encodeText(text: string, ecl: QrCode.Ecc): QrCode { 63 return QrCode.encodeSegments(segs, ecl); 71 public static encodeBinary(data: Array<byte>, ecl: QrCode.Ecc): QrCode { 73 return QrCode.encodeSegments([seg], ecl); 88 public static encodeSegments(segs: Array<QrSegment>, ecl: QrCode.Ecc, 100 …const dataCapacityBits: int = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bit… 113 ecl = newEcl; 128 const dataCapacityBits: int = QrCode.getNumDataCodewords(version, ecl) * 8; 148 return new QrCode(version, ecl, dataCodewords, mask); 368 const ecl: QrCode.Ecc = this.errorCorrectionLevel; constant [all …]
|
D | qrcodegen-input-demo.ts | 78 const ecl: qrcodegen.QrCode.Ecc = getInputErrorCorrectionLevel(); constant 85 …const qr: qrcodegen.QrCode = qrcodegen.QrCode.encodeSegments(segs, ecl, minVer, maxVer, mask, boos…
|
/third_party/qrcodegen/python/ |
D | qrcodegen.py | 51 def encode_text(text: str, ecl: QrCode.Ecc) -> QrCode: 58 return QrCode.encode_segments(segs, ecl) 62 def encode_binary(data: Union[bytes,Sequence[int]], ecl: QrCode.Ecc) -> QrCode: 67 return QrCode.encode_segments([QrSegment.make_bytes(data)], ecl) 73 …def encode_segments(segs: Sequence[QrSegment], ecl: QrCode.Ecc, minversion: int = 1, maxversion: i… 89 …datacapacitybits: int = QrCode._get_num_data_codewords(version, ecl) * 8 # Number of data bits av… 104 ecl = newecl 115 datacapacitybits = QrCode._get_num_data_codewords(version, ecl) * 8 133 return QrCode(version, ecl, datacodewords, mask) 512 def _get_num_data_codewords(ver: int, ecl: QrCode.Ecc) -> int: [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | AstroTest.java | 151 Ecliptic ecl = new Ecliptic(eclLat, eclLong); in TestCoverage() local 152 logln("ecliptic: " + ecl); in TestCoverage() 171 logln(" equ ecl: " + astro.eclipticToEquatorial(ecl)); in TestCoverage()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | AstroTest.java | 154 Ecliptic ecl = new Ecliptic(eclLat, eclLong); in TestCoverage() local 155 logln("ecliptic: " + ecl); in TestCoverage() 174 logln(" equ ecl: " + astro.eclipticToEquatorial(ecl)); in TestCoverage()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | astrotst.cpp | 170 CalendarAstronomer::Ecliptic ecl(eclLat, eclLong); in TestCoverage() local 174 logln("ecliptic: " + ecl.toString()); in TestCoverage() 190 logln((UnicodeString)" equ ecl: " + (anAstro->eclipticToEquatorial(eq,ecl)).toString()); in TestCoverage()
|
/third_party/FatFs/source/ |
D | ff.c | 1161 DWORD scl = clst, ecl = clst; in remove_chain() local 1198 if (ecl + 1 == nxt) { /* Is next cluster contiguous? */ in remove_chain() 1199 ecl = nxt; in remove_chain() 1202 rt[1] = clst2sect(fs, ecl) + fs->csize - 1; /* End of data area to be freed */ in remove_chain() 1204 scl = ecl = nxt; in remove_chain()
|
/third_party/icu/icu4c/source/data/misc/ |
D | supplementalData.txt | 8758 "ecl~p", 20806 "ecl",
|
/third_party/skia/third_party/externals/icu/source/data/misc/ |
D | supplementalData.txt | 8758 "ecl~p", 20806 "ecl",
|
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/ |
D | supplementalData.txt | 8442 "ecl~p", 19991 "ecl",
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 69473 zNVSs7Y7T%qAk}5C_RX+rH>D1b;%z)d6Z*ecl!a+=DaZ3ERQhI<p&6Jxx5fiBw-74a
|