| 1 | /* src/backend/utils/mb/Unicode/utf8_to_win1258.map */ |
| 2 | /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */ |
| 3 | |
| 4 | static const uint16 win1258_from_unicode_tree_table[618]; |
| 5 | |
| 6 | static const pg_mb_radix_tree win1258_from_unicode_tree = |
| 7 | { |
| 8 | win1258_from_unicode_tree_table, |
| 9 | NULL, /* 32-bit table not used */ |
| 10 | |
| 11 | 0x0000, /* offset of table for 1-byte inputs */ |
| 12 | 0x00, /* b1_lower */ |
| 13 | 0x00, /* b1_upper */ |
| 14 | |
| 15 | 0x0040, /* offset of table for 2-byte inputs */ |
| 16 | 0xc2, /* b2_1_lower */ |
| 17 | 0xcc, /* b2_1_upper */ |
| 18 | 0x80, /* b2_2_lower */ |
| 19 | 0xbf, /* b2_2_upper */ |
| 20 | |
| 21 | 0x01ec, /* offset of table for 3-byte inputs */ |
| 22 | 0xe2, /* b3_1_lower */ |
| 23 | 0xe2, /* b3_1_upper */ |
| 24 | 0x80, /* b3_2_lower */ |
| 25 | 0x84, /* b3_2_upper */ |
| 26 | 0x93, /* b3_3_lower */ |
| 27 | 0xba, /* b3_3_upper */ |
| 28 | |
| 29 | 0x0000, /* offset of table for 3-byte inputs */ |
| 30 | 0x00, /* b4_1_lower */ |
| 31 | 0x00, /* b4_1_upper */ |
| 32 | 0x00, /* b4_2_lower */ |
| 33 | 0x00, /* b4_2_upper */ |
| 34 | 0x00, /* b4_3_lower */ |
| 35 | 0x00, /* b4_3_upper */ |
| 36 | 0x00, /* b4_4_lower */ |
| 37 | 0x00 /* b4_4_upper */ |
| 38 | }; |
| 39 | |
| 40 | static const uint16 win1258_from_unicode_tree_table[618] = |
| 41 | { |
| 42 | /*** Dummy map, for invalid values - offset 0x00000 ***/ |
| 43 | |
| 44 | /* 00 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 45 | /* 08 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 46 | /* 10 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 47 | /* 18 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 48 | /* 20 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 49 | /* 28 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 50 | /* 30 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 51 | /* 38 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 52 | |
| 53 | /*** Two byte table, byte #1: xx - offset 0x00040 ***/ |
| 54 | |
| 55 | /* c2 */ 0x004b, 0x008b, 0x00cb, 0x00f9, 0x0132, 0x0000, 0x0000, 0x0000, |
| 56 | /* ca */ 0x0000, 0x016c, 0x01ac, |
| 57 | |
| 58 | /*** Two byte table, leaf: c2xx - offset 0x0004b ***/ |
| 59 | |
| 60 | /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 61 | /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 62 | /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 63 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 64 | /* a0 */ 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, |
| 65 | /* a8 */ 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, |
| 66 | /* b0 */ 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, |
| 67 | /* b8 */ 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, |
| 68 | |
| 69 | /*** Two byte table, leaf: c3xx - offset 0x0008b ***/ |
| 70 | |
| 71 | /* 80 */ 0x00c0, 0x00c1, 0x00c2, 0x0000, 0x00c4, 0x00c5, 0x00c6, 0x00c7, |
| 72 | /* 88 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x0000, 0x00cd, 0x00ce, 0x00cf, |
| 73 | /* 90 */ 0x0000, 0x00d1, 0x0000, 0x00d3, 0x00d4, 0x0000, 0x00d6, 0x00d7, |
| 74 | /* 98 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0000, 0x0000, 0x00df, |
| 75 | /* a0 */ 0x00e0, 0x00e1, 0x00e2, 0x0000, 0x00e4, 0x00e5, 0x00e6, 0x00e7, |
| 76 | /* a8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x0000, 0x00ed, 0x00ee, 0x00ef, |
| 77 | /* b0 */ 0x0000, 0x00f1, 0x0000, 0x00f3, 0x00f4, 0x0000, 0x00f6, 0x00f7, |
| 78 | /* b8 */ 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0000, 0x0000, 0x00ff, |
| 79 | |
| 80 | /*** Two byte table, leaf: c4xx - offset 0x000cb ***/ |
| 81 | |
| 82 | /* 80 */ 0x0000, 0x0000, 0x00c3, 0x00e3, 0x0000, 0x0000, 0x0000, 0x0000, |
| 83 | /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 84 | /* 90 */ 0x00d0, 0x00f0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 85 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 86 | /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 87 | /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 88 | /* 18 trailing zero values shared with next segment */ |
| 89 | |
| 90 | /*** Two byte table, leaf: c5xx - offset 0x000f9 ***/ |
| 91 | |
| 92 | /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 93 | /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 94 | /* 90 */ 0x0000, 0x0000, 0x008c, 0x009c, 0x0000, 0x0000, 0x0000, 0x0000, |
| 95 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 96 | /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 97 | /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 98 | /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 99 | /* b8 */ 0x009f, |
| 100 | /* 7 trailing zero values shared with next segment */ |
| 101 | |
| 102 | /*** Two byte table, leaf: c6xx - offset 0x00132 ***/ |
| 103 | |
| 104 | /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 105 | /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 106 | /* 90 */ 0x0000, 0x0000, 0x0083, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 107 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 108 | /* a0 */ 0x00d5, 0x00f5, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 109 | /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00dd, |
| 110 | /* b0 */ 0x00fd, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 111 | /* b8 */ 0x0000, 0x0000, |
| 112 | /* 6 trailing zero values shared with next segment */ |
| 113 | |
| 114 | /*** Two byte table, leaf: cbxx - offset 0x0016c ***/ |
| 115 | |
| 116 | /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0088, 0x0000, |
| 117 | /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 118 | /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 119 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0098, 0x0000, 0x0000, 0x0000, |
| 120 | /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 121 | /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 122 | /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 123 | /* b8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 124 | |
| 125 | /*** Two byte table, leaf: ccxx - offset 0x001ac ***/ |
| 126 | |
| 127 | /* 80 */ 0x00cc, 0x00ec, 0x0000, 0x00de, 0x0000, 0x0000, 0x0000, 0x0000, |
| 128 | /* 88 */ 0x0000, 0x00d2, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 129 | /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 130 | /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 131 | /* a0 */ 0x0000, 0x0000, 0x0000, 0x00f2, 0x0000, 0x0000, 0x0000, 0x0000, |
| 132 | /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 133 | /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 134 | /* b8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 135 | |
| 136 | /*** Three byte table, byte #1: xx - offset 0x001ec ***/ |
| 137 | |
| 138 | /* e2 */ 0x01ed, |
| 139 | |
| 140 | /*** Three byte table, byte #2: e2xx - offset 0x001ed ***/ |
| 141 | |
| 142 | /* 80 */ 0x01f2, 0x0000, 0x021a, 0x0000, 0x0242, |
| 143 | |
| 144 | /*** Three byte table, leaf: e280xx - offset 0x001f2 ***/ |
| 145 | |
| 146 | /* 93 */ 0x0096, 0x0097, 0x0000, 0x0000, 0x0000, 0x0091, 0x0092, 0x0082, |
| 147 | /* 9b */ 0x0000, 0x0093, 0x0094, 0x0084, 0x0000, 0x0086, 0x0087, 0x0095, |
| 148 | /* a3 */ 0x0000, 0x0000, 0x0000, 0x0085, 0x0000, 0x0000, 0x0000, 0x0000, |
| 149 | /* ab */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0089, 0x0000, 0x0000, |
| 150 | /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x008b, 0x009b, |
| 151 | |
| 152 | /*** Three byte table, leaf: e282xx - offset 0x0021a ***/ |
| 153 | |
| 154 | /* 93 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 155 | /* 9b */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 156 | /* a3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 157 | /* ab */ 0x00fe, 0x0080, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 158 | /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 159 | |
| 160 | /*** Three byte table, leaf: e284xx - offset 0x00242 ***/ |
| 161 | |
| 162 | /* 93 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 163 | /* 9b */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0099, |
| 164 | /* a3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 165 | /* ab */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
| 166 | /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 |
| 167 | }; |
| 168 | |