OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:u8len
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/libs/utils/
Unicode.cpp
519
ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t
u8len
)
521
const uint8_t* const u8end = u8str +
u8len
;
545
char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t
u8len
, char16_t* u16str)
547
const uint8_t* const u8end = u8str +
u8len
;
552
size_t
u8len
= utf8_codepoint_len(*u8cur);
local
553
uint32_t codepoint = utf8_to_utf32_codepoint(u8cur,
u8len
);
566
u8cur +=
u8len
;
571
void utf8_to_utf16(const uint8_t* u8str, size_t
u8len
, char16_t* u16str) {
572
char16_t* end = utf8_to_utf16_no_null_terminator(u8str,
u8len
, u16str);
String16.cpp
62
static char16_t* allocFromUTF8(const char* u8str, size_t
u8len
)
64
if (
u8len
== 0) return getEmptyString();
68
const ssize_t u16len = utf8_to_utf16_length(u8cur,
u8len
);
73
const uint8_t* const u8end = u8cur +
u8len
;
80
utf8_to_utf16(u8cur,
u8len
, u16str);
ResourceTypes.cpp
592
size_t
u8len
= decodeLength(&u8str);
local
595
if ((uint32_t)(u8str+
u8len
-strings) < mStringPoolSize) {
602
ssize_t actualLen = utf8_to_utf16_length(u8str,
u8len
);
617
utf8_to_utf16(u8str,
u8len
, u16str);
622
(long long)idx, (long long)(u8str+
u8len
-strings),
[
all
...]
Completed in 1820 milliseconds