| 361 | } |
| 362 | |
| 363 | static utf8proc_int32_t seqindex_decode_entry(const utf8proc_uint16_t **entry) |
| 364 | { |
| 365 | utf8proc_int32_t entry_cp = **entry; |
| 366 | if ((entry_cp & 0xF800) == 0xD800) { |
| 367 | *entry = *entry + 1; |
| 368 | entry_cp = ((entry_cp & 0x03FF) << 10) | (**entry & 0x03FF); |
| 369 | entry_cp += 0x10000; |
| 370 | } |
| 371 | return entry_cp; |
| 372 | } |
| 373 | |
| 374 | static utf8proc_int32_t seqindex_decode_index(const utf8proc_uint32_t seqindex) |
| 375 | { |
no outgoing calls
no test coverage detected