Lines Matching refs:hi
28 function addPUAMapping($hi, $lo, $unicode) {
30 $cp950 = pack('n', ($hi << 8) + $lo);
36 for ($hi = 0x81; $hi <= 0x8D; $hi++) {
38 addPUAMapping($hi, $lo, 0xEEB8 + (157 * ($hi - 0x81)) + ($lo - 0x40));
40 addPUAMapping($hi, $lo, 0xEEB8 + (157 * ($hi - 0x81)) + ($lo - 0x62));
43 for ($hi = 0x8E; $hi <= 0xA0; $hi++) {
45 addPUAMapping($hi, $lo, 0xE311 + (157 * ($hi - 0x8E)) + ($lo - 0x40));
47 addPUAMapping($hi, $lo, 0xE311 + (157 * ($hi - 0x8E)) + ($lo - 0x62));
50 $hi = 0xC6;
52 addPUAMapping($hi, $lo, 0xF672 + (157 * ($hi - 0xC6)) + ($lo - 0x62));
54 for ($hi = 0xC7; $hi <= 0xC8; $hi++) {
56 addPUAMapping($hi, $lo, 0xF672 + (157 * ($hi - 0xC6)) + ($lo - 0x40));
58 addPUAMapping($hi, $lo, 0xF672 + (157 * ($hi - 0xC6)) + ($lo - 0x62));
61 for ($hi = 0xFA; $hi <= 0xFE; $hi++) {
63 addPUAMapping($hi, $lo, 0xE000 + (157 * ($hi - 0xFA)) + ($lo - 0x40));
65 addPUAMapping($hi, $lo, 0xE000 + (157 * ($hi - 0xFA)) + ($lo - 0x62));