Lines Matching full:input
269 * @param string $input
274 private static function mapCodePoints($input, array $options, Info $info) argument
280 foreach (self::utf8Decode($input) as $codePoint) {
370 // Any input domain name string that does not record an error has been successfully
371 // processed according to this specification. Conversely, if an input domain_name string
372 // causes an error, then the processing of the input domain_name string fails. Determining
373 // what to do with error input is up to the caller, and not in the scope of this document.
568 * @param string $input
572 private static function punycodeDecode($input) argument
578 $lastDelimIndex = strrpos($input, self::DELIMITER);
580 $inputLength = \strlen($input);
582 $bytes = array_map('ord', str_split($input));
586 throw new Exception('Invalid input');
589 $output[$out++] = $input[$j];
602 throw new Exception('Invalid input');
608 throw new Exception('Invalid input');
656 * @param string $input
660 private static function punycodeEncode($input) argument
668 $iter = self::utf8Decode($input);
787 * @param string $input
791 private static function utf8Decode($input) argument
799 $length = \strlen($input);
802 $byte = \ord($input[$i]);