Lines Matching defs:basic
34 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
146 * Converts a basic code point into a digit/integer.
149 * @param {Number} codePoint The basic numeric code point value.
150 * @returns {Number} The numeric value of a basic code point (for use in
168 * Converts a digit/integer into a basic code point.
171 * @param {Number} digit The numeric value of a basic code point.
172 * @returns {Number} The basic code point whose value (when used for
214 // Handle the basic code points: let `basic` be the number of input code
216 // the first basic code points to the output.
218 let basic = input.lastIndexOf(delimiter);
219 if (basic < 0) {
220 basic = 0;
223 for (let j = 0; j < basic; ++j) {
224 // if it's not a basic code point
226 error('not-basic');
231 // Main decoding loop: start just after the last delimiter if any basic code
234 for (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {
314 // Handle the basic code points.
325 // `basicLength` is the number of basic code points.
327 // Finish the basic string with a delimiter unless it's empty.
335 // All non-basic code points < n have been handled already. Find the next