Lines Matching defs:input
33 'overflow': 'Overflow: input needs wider integers to process',
34 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
35 'invalid-input': 'Invalid input'
108 * @param {String} string The Unicode input string (UCS-2).
203 * @param {String} input The Punycode string of ASCII-only symbols.
206 const decode = function(input) {
209 const inputLength = input.length;
214 // Handle the basic code points: let `basic` be the number of input code
218 let basic = input.lastIndexOf(delimiter);
225 if (input.charCodeAt(j) >= 0x80) {
228 output.push(input.charCodeAt(j));
245 error('invalid-input');
248 const digit = basicToDigit(input.charCodeAt(index++));
251 error('invalid-input');
297 * @param {String} input The string of Unicode symbols.
300 const encode = function(input) {
303 // Convert the input in UCS-2 to an array of Unicode code points.
304 input = ucs2decode(input);
307 const inputLength = input.length;
315 for (const currentValue of input) {
338 for (const currentValue of input) {
354 for (const currentValue of input) {
390 * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
394 * @param {String} input The Punycoded domain name or email address to
399 const toUnicode = function(input) {
400 return mapDomain(input, function(string) {
413 * @param {String} input The domain name or email address to convert, as a
418 const toASCII = function(input) {
419 return mapDomain(input, function(string) {