OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:u8cur
(Results
1 - 2
of
2
) sorted by null
/system/core/libutils/
Unicode.cpp
550
const uint8_t*
u8cur
= u8str;
554
while (
u8cur
< u8end) {
556
int u8charLen = utf8_codepoint_len(*
u8cur
);
559
// If u8charLen == 1, this becomes
u8cur
>= u8end, which cannot happen as
u8cur
< u8end,
561
// If u8charLen == 2, this becomes
u8cur
+ 1 >= u8end, which fails only if
562
//
u8cur
== u8end - 1, that is, there was only one remaining character to read but we need
564
if (
u8cur
+ u8charLen - 1 >= u8end) {
571
uint32_t codepoint = utf8_to_utf32_codepoint(
u8cur
, u8charLen);
573
u8cur
+= u8charLen
[
all
...]
String16.cpp
58
const uint8_t*
u8cur
= (const uint8_t*) u8str;
local
60
const ssize_t u16len = utf8_to_utf16_length(
u8cur
, u8len);
67
u8cur
= (const uint8_t*) u8str;
70
utf8_to_utf16(
u8cur
, u8len, u16str, ((size_t) u16len) + 1);
Completed in 218 milliseconds