Searched refs:first_char (Results 1 - 2 of 2) sorted by relevance

/system/core/libutils/
H A DUnicode.cpp131 const char first_char = *cur; local
132 if ((first_char & 0x80) == 0) { // ASCII
139 char32_t utf32 = first_char;
141 (first_char & mask);
387 const char first_char = *cur++; local
388 if ((first_char & 0x80) == 0) { // ASCII
394 if ((first_char & 0x40) == 0) {
402 num_to_read < 5 && (first_char & mask);
410 // "first_char" must be (110xxxxx - 11110xxx)
415 utf32 |= ((~to_ignore_mask) & first_char) << (
478 const char first_char = *cur; local
[all...]
/system/core/liblog/
H A Dlogprint.c876 const char first_char = *cur++; local
882 if ((first_char & 0x80) == 0) { /* ASCII */
883 return first_char ? 1 : -1;
890 if ((first_char & 0x40) == 0) {
895 num_to_read < 5 && (first_char & mask);
905 /* "first_char" must be (110xxxxx - 11110xxx) */
910 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1));

Completed in 189 milliseconds