Home
last modified time | relevance | path

Searched refs:qrcodegen_Segment (Results 1 – 4 of 4) sorted by relevance

/third_party/qrcodegen/c/
Dqrcodegen.h109 struct qrcodegen_Segment { struct
263 bool qrcodegen_encodeSegments(const struct qrcodegen_Segment segs[], size_t len,
302 bool qrcodegen_encodeSegmentsAdvanced(const struct qrcodegen_Segment segs[], size_t len, enum qrcod…
340 struct qrcodegen_Segment qrcodegen_makeBytes(const uint8_t data[], size_t len, uint8_t buf[]);
346 struct qrcodegen_Segment qrcodegen_makeNumeric(const char *digits, uint8_t buf[]);
354 struct qrcodegen_Segment qrcodegen_makeAlphanumeric(const char *text, uint8_t buf[]);
361 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]);
Dqrcodegen-test.c61 int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version);
848 struct qrcodegen_Segment seg = qrcodegen_makeBytes(NULL, 0, NULL); in testMakeBytes()
857 struct qrcodegen_Segment seg = qrcodegen_makeBytes(data, 1, buf); in testMakeBytes()
866 struct qrcodegen_Segment seg = qrcodegen_makeBytes(data, 3, buf); in testMakeBytes()
879 struct qrcodegen_Segment seg = qrcodegen_makeNumeric("", NULL); in testMakeNumeric()
887 struct qrcodegen_Segment seg = qrcodegen_makeNumeric("9", buf); in testMakeNumeric()
895 struct qrcodegen_Segment seg = qrcodegen_makeNumeric("81", buf); in testMakeNumeric()
903 struct qrcodegen_Segment seg = qrcodegen_makeNumeric("673", buf); in testMakeNumeric()
912 struct qrcodegen_Segment seg = qrcodegen_makeNumeric("3141592653", buf); in testMakeNumeric()
927 struct qrcodegen_Segment seg = qrcodegen_makeAlphanumeric("", NULL); in testMakeAlphanumeric()
[all …]
Dqrcodegen.c85 testable int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version);
137 struct qrcodegen_Segment seg; in qrcodegen_encodeText()
170 struct qrcodegen_Segment seg; in qrcodegen_encodeBinary()
196 bool qrcodegen_encodeSegments(const struct qrcodegen_Segment segs[], size_t len, in qrcodegen_encodeSegments()
204 bool qrcodegen_encodeSegmentsAdvanced(const struct qrcodegen_Segment segs[], size_t len, enum qrcod… in qrcodegen_encodeSegmentsAdvanced()
234 const struct qrcodegen_Segment *seg = &segs[i]; in qrcodegen_encodeSegmentsAdvanced()
876 struct qrcodegen_Segment qrcodegen_makeBytes(const uint8_t data[], size_t len, uint8_t buf[]) { in qrcodegen_makeBytes()
878 struct qrcodegen_Segment result; in qrcodegen_makeBytes()
891 struct qrcodegen_Segment qrcodegen_makeNumeric(const char *digits, uint8_t buf[]) { in qrcodegen_makeNumeric()
893 struct qrcodegen_Segment result; in qrcodegen_makeNumeric()
[all …]
Dqrcodegen-demo.c150 struct qrcodegen_Segment segs[] = { in doSegmentDemo()
199 struct qrcodegen_Segment segs[] = { in doSegmentDemo()
249 struct qrcodegen_Segment seg; in doSegmentDemo()