Home
last modified time | relevance | path

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

/system/core/libutils/
DString8.cpp82 const ssize_t resultStrLen = utf16_to_utf8_length(in, len) + 1; in allocFromUTF16() local
83 if (resultStrLen < 1) { in allocFromUTF16()
87 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16()
94 utf16_to_utf8(in, len, resultStr, resultStrLen); in allocFromUTF16()
104 const ssize_t resultStrLen = utf32_to_utf8_length(in, len) + 1; in allocFromUTF32() local
105 if (resultStrLen < 1) { in allocFromUTF32()
109 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32()
116 utf32_to_utf8(in, len, resultStr, resultStrLen); in allocFromUTF32()