Home
last modified time | relevance | path

Searched refs:u8cur (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/utils/
DUnicode.cpp522 const uint8_t* u8cur = u8str; in utf8_to_utf16_length() local
526 while (u8cur < u8end) { in utf8_to_utf16_length()
528 int u8charLen = utf8_codepoint_len(*u8cur); in utf8_to_utf16_length()
529 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); in utf8_to_utf16_length()
531 u8cur += u8charLen; in utf8_to_utf16_length()
538 if (u8cur != u8end) { in utf8_to_utf16_length()
548 const uint8_t* u8cur = u8str; in utf8_to_utf16_no_null_terminator() local
551 while (u8cur < u8end) { in utf8_to_utf16_no_null_terminator()
552 size_t u8len = utf8_codepoint_len(*u8cur); in utf8_to_utf16_no_null_terminator()
553 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_no_null_terminator()
[all …]
DString16.cpp66 const uint8_t* u8cur = (const uint8_t*) u8str; in allocFromUTF8() local
68 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len); in allocFromUTF8()
73 const uint8_t* const u8end = u8cur + u8len; in allocFromUTF8()
77 u8cur = (const uint8_t*) u8str; in allocFromUTF8()
80 utf8_to_utf16(u8cur, u8len, u16str); in allocFromUTF8()