Lines Matching defs:mode
110 // The mode indicator of this segment.
111 enum qrcodegen_Mode mode;
114 // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.
124 // The character count (numChars) must agree with the mode and the bit buffer length.
177 * alphanumeric, or byte mode to encode the text.
185 * data capacities per version, ECC level, and text encoding mode.
218 * If successful, the resulting QR Code will use byte mode to encode the data.
224 * data capacities per version, ECC level, and text encoding mode.
257 * data capacities per version, ECC level, and text encoding mode.
296 * data capacities per version, ECC level, and text encoding mode.
307 * Tests whether the given string can be encoded as a segment in numeric mode.
314 * Tests whether the given string can be encoded as a segment in alphanumeric mode.
323 * containing the given number of characters using the given mode. Notes:
328 * - For byte mode, numChars measures the number of bytes, not Unicode code points.
329 * - For ECI mode, numChars must be 0, and the worst-case number of bytes is returned.
332 size_t qrcodegen_calcSegmentBufferSize(enum qrcodegen_Mode mode, size_t numChars);
337 * byte mode. All input byte arrays are acceptable. Any text string
338 * can be converted to UTF-8 bytes and encoded as a byte mode segment.
344 * Returns a segment representing the given string of decimal digits encoded in numeric mode.
350 * Returns a segment representing the given text string encoded in alphanumeric mode.