OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:u8len
(Results
1 - 4
of
4
) sorted by null
/external/python/cpython3/Parser/
myreadline.c
112
DWORD n_read, total_read, wbuflen,
u8len
;
local
171
u8len
= WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, NULL, 0, NULL, NULL);
172
buf = PyMem_RawMalloc(
u8len
+ 1);
173
u8len
= WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, buf,
u8len
, NULL, NULL);
174
buf[
u8len
] = '\0';
/system/core/libutils/
Unicode.cpp
563
ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t
u8len
, bool overreadIsFatal)
565
const uint8_t* const u8end = u8str +
u8len
;
603
char16_t* utf8_to_utf16(const uint8_t* u8str, size_t
u8len
, char16_t* u16str, size_t u16len) {
606
char16_t* end = utf8_to_utf16_no_null_terminator(u8str,
u8len
, u16str, u16len - 1);
624
size_t
u8len
= utf8_codepoint_len(*u8cur);
625
uint32_t codepoint = utf8_to_utf32_codepoint(u8cur,
u8len
);
642
u8cur +=
u8len
;
String16.cpp
54
static char16_t* allocFromUTF8(const char* u8str, size_t
u8len
)
56
if (
u8len
== 0) return getEmptyString();
60
const ssize_t u16len = utf8_to_utf16_length(u8cur,
u8len
);
70
utf8_to_utf16(u8cur,
u8len
, u16str, ((size_t) u16len) + 1);
/frameworks/base/libs/androidfw/
ResourceTypes.cpp
742
size_t
u8len
= decodeLength(&u8str);
local
745
if ((uint32_t)(u8str+
u8len
-strings) < mStringPoolSize) {
754
if (stringDecodeAt(idx, u8str,
u8len
, &
u8len
) == NULL) {
761
ssize_t actualLen = utf8_to_utf16_length(u8str,
u8len
);
777
utf8_to_utf16(u8str,
u8len
, u16str, *u16len + 1);
806
(long long)idx, (long long)(u8str+
u8len
-strings),
[
all
...]
Completed in 757 milliseconds