| 488 | } DecompTypeEnum; |
| 489 | |
| 490 | static uint32_t unicode_get_short_code(uint32_t c) |
| 491 | { |
| 492 | static const uint16_t unicode_short_table[2] = { 0x2044, 0x2215 }; |
| 493 | |
| 494 | if (c < 0x80) |
| 495 | return c; |
| 496 | else if (c < 0x80 + 0x50) |
| 497 | return c - 0x80 + 0x300; |
| 498 | else |
| 499 | return unicode_short_table[c - 0x80 - 0x50]; |
| 500 | } |
| 501 | |
| 502 | static uint32_t unicode_get_lower_simple(uint32_t c) |
| 503 | { |
no outgoing calls
no test coverage detected