Home
last modified time | relevance | path

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

/third_party/qrcodegen/rust-no-heap/examples/
Dqrcodegen-demo.rs56 let qr: QrCode = QrCode::encode_text(text, &mut tempbuffer, &mut outbuffer, in do_basic_demo()
70 let qr = QrCode::encode_text("314159265358979323846264338327950288419716939937510", in do_variety_demo()
78 let qr = QrCode::encode_text("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", in do_variety_demo()
86 let qr = QrCode::encode_text("こんにちwa、世界! αβγδ", in do_variety_demo()
102 let qr = QrCode::encode_text(text, &mut tempbuffer, &mut outbuffer, in do_variety_demo()
116 let qr = QrCode::encode_text(&[silver0, silver1].concat(), &mut tempbuffer, &mut outbuffer, in do_segment_demo()
138 …let qr = QrCode::encode_text(&[golden0, golden1, golden2].concat(), &mut tempbuffer, &mut outbuffe… in do_segment_demo()
158 let qr = QrCode::encode_text(madoka, &mut outbuffer, &mut tempbuffer, in do_segment_demo()
195 let qr = QrCode::encode_text(text, &mut tempbuffer, &mut outbuffer, QrCodeEcc::High, in do_mask_demo()
198 let qr = QrCode::encode_text(text, &mut tempbuffer, &mut outbuffer, QrCodeEcc::High, in do_mask_demo()
[all …]
/third_party/qrcodegen/python/
Dqrcodegen-demo.py48 qr = QrCode.encode_text(text, errcorlvl)
57 qr = QrCode.encode_text("314159265358979323846264338327950288419716939937510", QrCode.Ecc.MEDIUM)
61 qr = QrCode.encode_text("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", QrCode.Ecc.HIGH)
65 …qr = QrCode.encode_text("\u3053\u3093\u306B\u3061\u0077\u0061\u3001\u4E16\u754C\uFF01\u0020\u03B1\…
69 qr = QrCode.encode_text(
86 qr = QrCode.encode_text(silver0 + silver1, QrCode.Ecc.LOW)
99 qr = QrCode.encode_text(golden0 + golden1 + golden2, QrCode.Ecc.LOW)
111 qr = QrCode.encode_text(madoka, QrCode.Ecc.LOW)
DReadme.markdown42 qr0 = QrCode.encode_text("Hello, world!", QrCode.Ecc.MEDIUM)
Dqrcodegen.py51 def encode_text(text: str, ecl: QrCode.Ecc) -> QrCode: member in QrCode
/third_party/qrcodegen/rust/examples/
Dqrcodegen-demo.rs53 let qr: QrCode = QrCode::encode_text(text, errcorlvl).unwrap(); in do_basic_demo()
62 …let qr = QrCode::encode_text("314159265358979323846264338327950288419716939937510", QrCodeEcc::Med… in do_variety_demo()
66 …let qr = QrCode::encode_text("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", QrCodeEcc:… in do_variety_demo()
70 let qr = QrCode::encode_text("こんにちwa、世界! αβγδ", QrCodeEcc::Quartile).unwrap(); in do_variety_demo()
74 let qr = QrCode::encode_text(concat!( in do_variety_demo()
91 let qr = QrCode::encode_text(&[silver0, silver1].concat(), QrCodeEcc::Low).unwrap(); in do_segment_demo()
105 let qr = QrCode::encode_text(&[golden0, golden1, golden2].concat(), QrCodeEcc::Low).unwrap(); in do_segment_demo()
118 let qr = QrCode::encode_text(madoka, QrCodeEcc::Low).unwrap(); in do_segment_demo()
/third_party/qrcodegen/rust/
DReadme.markdown47 let qr = QrCode::encode_text("Hello, world!",
/third_party/qrcodegen/rust-no-heap/
DReadme.markdown49 let qr = QrCode::encode_text("Hello, world!",
/third_party/qrcodegen/rust/src/
Dlib.rs159 pub fn encode_text(text: &str, ecl: QrCodeEcc) -> Result<Self,DataTooLong> { in encode_text() method
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs164 …pub fn encode_text<'b>(text: &str, tempbuffer: &'b mut [u8], mut outbuffer: &'a mut [u8], ecl: QrC… in encode_text() method