Lines Matching refs:bytes
14 function shiftJISDecode($bytes) {
18 * the ku number, because 94 first bytes were not available. There are
21 $first = ($bytes >> 8) & 0xFF;
22 $second = $bytes & 0xFF;
43 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
44 if ($bytes < 256)
49 $nonInvertible[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
51 $cp932Chars[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
52 $fromUnicode[$codepoint] = $bytes;
87 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
88 $jisx0212Chars[pack('n', $bytes)] = pack('n', $codepoint);
141 if ($i >= 0xA1 && $i <= 0xDF) // We convert single bytes from 0xA1-0xDF as JIS X 0201 kana
373 // Previously, the CP50220 implementation would eat trailing null bytes