Searched refs:to_ignore_mask (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/ |
D | Unicode.cpp | 137 char32_t mask, to_ignore_mask; in utf32_at_internal() local 140 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0xFFFFFF80; in utf32_at_internal() 142 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf32_at_internal() 146 to_ignore_mask |= mask; in utf32_at_internal() 147 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1))); in utf32_at_internal() 398 int32_t mask, to_ignore_mask; in utf8_length() local 401 for (num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_length() 403 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_length() 414 to_ignore_mask |= mask; in utf8_length() 415 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
|
/system/core/liblog/ |
D | logprint.c | 878 int32_t mask, to_ignore_mask; in utf8_character_length() local 894 for (utf32 = 1, num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_character_length() 896 num_to_read++, to_ignore_mask |= mask, mask >>= 1) { in utf8_character_length() 909 to_ignore_mask |= mask; in utf8_character_length() 910 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_character_length()
|