Lines Matching refs:ch
74 GX_CONST GX_CHAR *ch; in _gx_utility_utf8_string_character_get() local
80 ch = utf8_str -> gx_string_ptr; in _gx_utility_utf8_string_character_get()
84 …if ((byte_count >= 3) && (*ch == (char)0xEF) && (*(ch + 1) == (char)0xBB) && (*(ch + 2) == (char)0… in _gx_utility_utf8_string_character_get()
87 ch += 3; in _gx_utility_utf8_string_character_get()
110 if ((*ch & 0x80) == 0) in _gx_utility_utf8_string_character_get()
113 utf8_str -> gx_string_ptr = ch + 1; in _gx_utility_utf8_string_character_get()
119 *glyph_value = (*ch & ~0x80) & 0xFF; in _gx_utility_utf8_string_character_get()
129 else if ((*ch & 0xE0) == 0xC0) in _gx_utility_utf8_string_character_get()
134 value = (*ch & ~0xE0) & 0xFF; in _gx_utility_utf8_string_character_get()
136 else if ((*ch & 0xF0) == 0xE0) in _gx_utility_utf8_string_character_get()
141 value = (*ch & ~0xF0) & 0xFF; in _gx_utility_utf8_string_character_get()
143 else if ((*ch & 0xF8) == 0xF0) in _gx_utility_utf8_string_character_get()
148 value = (*ch & ~0xF8) & 0xFF; in _gx_utility_utf8_string_character_get()
150 else if ((*ch & 0xFC) == 0xF8) in _gx_utility_utf8_string_character_get()
155 value = (*ch & ~0xFC) & 0xFF; in _gx_utility_utf8_string_character_get()
157 else if ((*ch & 0xFE) == 0xFC) in _gx_utility_utf8_string_character_get()
162 value = (*ch & ~0xFE) & 0xFF; in _gx_utility_utf8_string_character_get()
167 utf8_str -> gx_string_ptr = ch + 1; in _gx_utility_utf8_string_character_get()
202 ch++; in _gx_utility_utf8_string_character_get()
205 if ((*ch & 0xC0) != 0x80) in _gx_utility_utf8_string_character_get()
214 utf8_str -> gx_string_ptr = ch; in _gx_utility_utf8_string_character_get()
221 value = (GX_CHAR_CODE)(value + ((*ch & ~0xC0) & 0xFF)); in _gx_utility_utf8_string_character_get()
234 utf8_str -> gx_string_ptr = ch + 1; in _gx_utility_utf8_string_character_get()