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

/system/core/libutils/
H A DUnicode.cpp134 const char first_char = *cur; local
135 if ((first_char & 0x80) == 0) { // ASCII
142 char32_t utf32 = first_char;
144 (first_char & mask);
404 const char first_char = *cur++;
405 if ((first_char & 0x80) == 0) { // ASCII
411 if ((first_char & 0x40) == 0) {
419 num_to_read < 5 && (first_char & mask);
427 // "first_char" must be (110xxxxx - 11110xxx)
432 utf32 |= ((~to_ignore_mask) & first_char) << (
[all...]
/system/core/liblog/
H A Dlogprint.c1170 const char first_char = *cur++; local
1176 if ((first_char & 0x80) == 0) { /* ASCII */
1177 return first_char ? 1 : -1;
1184 if ((first_char & 0x40) == 0) {
1189 num_to_read < 5 && (first_char & mask);
1199 /* "first_char" must be (110xxxxx - 11110xxx) */
1204 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1));

Completed in 55 milliseconds