Home
last modified time | relevance | path

Searched refs:utf_8 (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/libpcap/
H A Dfmtutils.c102 utf_16le_to_utf_8_truncated(const wchar_t *utf_16, char *utf_8, in utf_16le_to_utf_8_truncated() argument
113 return (utf_8); in utf_16le_to_utf_8_truncated()
196 *utf_8++ = (char)uc; 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()
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()
[all …]