Home
last modified time | relevance | path

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

/dports/audio/py-fmoo-audiotools/audiotools-3.0/src/
H A Dparson.c295 unsigned int utf_val; in get_processed_string() local
316 sscanf(unprocessed_ptr, "%4x", &utf_val) == EOF) { in get_processed_string()
319 if (utf_val < 0x80) { in get_processed_string()
320 current_char = utf_val; in get_processed_string()
321 } else if (utf_val < 0x800) { in get_processed_string()
322 *processed_ptr++ = (utf_val >> 6) | 0xC0; in get_processed_string()
323 current_char = ((utf_val | 0x80) & 0xBF); in get_processed_string()
325 *processed_ptr++ = (utf_val >> 12) | 0xE0; in get_processed_string()
326 *processed_ptr++ = (((utf_val >> 6) | 0x80) & 0xBF); in get_processed_string()
327 current_char = ((utf_val | 0x80) & 0xBF); in get_processed_string()