Lines Matching refs:codepoint
29 * - if codepoint is a plain or post_indicator character,
34 * - if codepoint is a pre_indicator character,
39 * - reduce codepoint value for non-printable ASCII characters (0x00 - 0x1f). Space becomes our zero.
60 * - copy codepoint values of remaining characters to the output array
70 * - increase codepoint value for non-printable ASCII characters (add 0x20)
71 * - append codepoint to output array
108 foreach ($unicode as $codepoint) {
109 if ($codepoint < 127 && (strpos(self::$plain . self::$post_indicator, chr($codepoint)) !== false)) {
114 $safe .= chr($codepoint);
115 } elseif ($codepoint == ord(self::$pre_indicator)) {
119 $safe .= self::$pre_indicator . base_convert((string)($codepoint - 32), 10, 36);
161 // a single codepoint in base36, adjusted for initial 32 non-printable chars