Lines Matching refs:uc
106 uint32_t uc; in utf_16le_to_utf_8_truncated() local
133 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
152 uc = SURROGATE_VALUE(c, c2); in utf_16le_to_utf_8_truncated()
159 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
173 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
179 uc = c; in utf_16le_to_utf_8_truncated()
187 if (uc < 0x0080) { in utf_16le_to_utf_8_truncated()
196 *utf_8++ = (char)uc; in utf_16le_to_utf_8_truncated()
198 } else if (uc < 0x0800) { in utf_16le_to_utf_8_truncated()
207 *utf_8++ = ((uc >> 6) & 0x3F) | 0xC0; in utf_16le_to_utf_8_truncated()
208 *utf_8++ = ((uc >> 0) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()
210 } else if (uc < 0x010000) { in utf_16le_to_utf_8_truncated()
219 *utf_8++ = ((uc >> 12) & 0x0F) | 0xE0; in utf_16le_to_utf_8_truncated()
220 *utf_8++ = ((uc >> 6) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()
221 *utf_8++ = ((uc >> 0) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()
232 *utf_8++ = ((uc >> 18) & 0x03) | 0xF0; in utf_16le_to_utf_8_truncated()
233 *utf_8++ = ((uc >> 12) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()
234 *utf_8++ = ((uc >> 6) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()
235 *utf_8++ = ((uc >> 0) & 0x3F) | 0x80; in utf_16le_to_utf_8_truncated()