Searched refs:to_ignore_mask (Results 1 – 1 of 1) sorted by relevance
/system/core/libutils/ |
D | Unicode.cpp | 144 char32_t mask, to_ignore_mask; in utf32_at_internal() local 147 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; in utf32_at_internal() 149 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf32_at_internal() 153 to_ignore_mask |= mask; in utf32_at_internal() 154 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1))); in utf32_at_internal() 378 int32_t mask, to_ignore_mask; in utf8_length() local 381 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_length() 383 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_length() 394 to_ignore_mask |= mask; in utf8_length() 395 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
|