Lines Matching refs:self

84             $fromEncoding = self::mb_detect_encoding($s, $fromEncoding);
86 $fromEncoding = self::getEncoding($fromEncoding);
89 $toEncoding = self::getEncoding($toEncoding);
123 if (false === $v = self::mb_convert_encoding($v, $toEncoding, $fromEncoding)) {
133 return \iconv_mime_decode($s, 2, self::$internalEncoding);
164 $encoding = self::getEncoding($encoding);
187 return self::mb_chr($c - $convmap[$i + 2]);
230 $encoding = self::getEncoding($encoding);
252 $c = self::mb_ord($uchr);
278 $encoding = self::getEncoding($encoding);
292 $titleRegexp = self::getData('titleCaseRegexp');
299 $upper = self::getData('upperCase');
303 if (self::MB_CASE_FOLD === $mode) {
304 $s = str_replace(self::CASE_FOLD[0], self::CASE_FOLD[1], $s);
309 $lower = self::getData('lowerCase');
352 return self::$internalEncoding;
355 $normalizedEncoding = self::getEncoding($encoding);
358 self::$internalEncoding = $normalizedEncoding;
373 return self::$language;
379 self::$language = $normalizedLang;
413 $encoding = self::$internalEncoding;
416 …return self::mb_detect_encoding($var, [$encoding]) || false !== @\iconv($encoding, $encoding, $var…
422 $encodingList = self::$encodingList;
458 return self::$encodingList;
479 self::$encodingList = $encodingList;
486 $encoding = self::getEncoding($encoding);
496 $encoding = self::getEncoding($encoding);
517 $encoding = self::getEncoding($encoding);
526 if (0 > $offset += self::mb_strlen($needle)) {
527 $haystack = self::mb_substr($haystack, 0, $offset, $encoding);
531 $haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding);
537 : self::mb_strlen($haystack, $encoding);
563 if ('UTF-8' === $encoding = self::getEncoding($encoding)) {
586 return self::mb_convert_case($s, \MB_CASE_LOWER, $encoding);
591 return self::mb_convert_case($s, \MB_CASE_UPPER, $encoding);
614 $encoding = self::getEncoding($encoding);
640 $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
641 $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
643 return self::mb_strpos($haystack, $needle, $offset, $encoding);
648 $pos = self::mb_stripos($haystack, $needle, 0, $encoding);
650 return self::getSubpart($pos, $part, $haystack, $encoding);
655 $encoding = self::getEncoding($encoding);
659 $needle = self::mb_substr($needle, 0, 1, $encoding);
663 return self::getSubpart($pos, $part, $haystack, $encoding);
668 $needle = self::mb_substr($needle, 0, 1, $encoding);
669 $pos = self::mb_strripos($haystack, $needle, $encoding);
671 return self::getSubpart($pos, $part, $haystack, $encoding);
676 $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
677 $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
679 return self::mb_strrpos($haystack, $needle, $offset, $encoding);
698 'internal_encoding' => self::$internalEncoding,
708 'language' => self::$language,
709 'detect_order' => self::$encodingList,
736 $encoding = self::getEncoding($encoding);
769 if ('UTF-8' !== $encoding = self::getEncoding($encoding)) {
778 if ('UTF-8' !== $encoding = self::getEncoding($encoding)) {
806 return self::mb_substr($haystack, 0, $pos, $encoding);
809 return self::mb_substr($haystack, $pos, null, $encoding);
839 …return self::mb_convert_case($s[1], \MB_CASE_UPPER, 'UTF-8').self::mb_convert_case($s[2], \MB_CASE…
854 return self::$internalEncoding;