Home | History | Annotate | Download | only in src

Lines Matching defs:wc

2132         uint32_t wc = *frm_nxt;
2133 if ((wc & 0xFFFFF800) == 0x00D800 || wc > Maxcode)
2135 if (wc < 0x000080)
2139 *to_nxt++ = static_cast<uint8_t>(wc);
2141 else if (wc < 0x000800)
2145 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2146 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2148 else if (wc < 0x010000)
2152 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2153 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2154 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2156 else // if (wc < 0x110000)
2160 *to_nxt++ = static_cast<uint8_t>(0xF0 | (wc >> 18));
2161 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x03F000) >> 12));
2162 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x000FC0) >> 6));
2163 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x00003F));
2399 uint16_t wc = *frm_nxt;
2400 if ((wc & 0xF800) == 0xD800 || wc > Maxcode)
2402 if (wc < 0x0080)
2406 *to_nxt++ = static_cast<uint8_t>(wc);
2408 else if (wc < 0x0800)
2412 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc >> 6));
2413 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x03F));
2415 else // if (wc <= 0xFFFF)
2419 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc >> 12));
2420 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc & 0x0FC0) >> 6));
2421 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc & 0x003F));
2594 uint32_t wc = *frm_nxt;
2595 if ((wc & 0xFFFFF800) == 0x00D800 || wc > Maxcode)
2597 if (wc < 0x010000)
2601 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2602 *to_nxt++ = static_cast<uint8_t>(wc);
2610 | ((((wc & 0x1F0000) >> 16) - 1) << 6)
2611 | ((wc & 0x00FC00) >> 10));
2614 t = static_cast<uint16_t>(0xDC00 | (wc & 0x03FF));
2726 uint32_t wc = *frm_nxt;
2727 if ((wc & 0xFFFFF800) == 0x00D800 || wc > Maxcode)
2729 if (wc < 0x010000)
2733 *to_nxt++ = static_cast<uint8_t>(wc);
2734 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2742 | ((((wc & 0x1F0000) >> 16) - 1) << 6)
2743 | ((wc & 0x00FC00) >> 10));
2746 t = static_cast<uint16_t>(0xDC00 | (wc & 0x03FF));
2858 uint16_t wc = *frm_nxt;
2859 if ((wc & 0xF800) == 0xD800 || wc > Maxcode)
2863 *to_nxt++ = static_cast<uint8_t>(wc >> 8);
2864 *to_nxt++ = static_cast<uint8_t>(wc);
2932 uint16_t wc = *frm_nxt;
2933 if ((wc & 0xF800) == 0xD800 || wc > Maxcode)
2937 *to_nxt++ = static_cast<uint8_t>(wc);
2938 *to_nxt++ = static_cast<uint8_t>(wc >> 8);