Home
last modified time | relevance | path

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

/aosp14/system/core/libutils/
H A DUnicode_test.cpp48 const size_t inlen = input.size(), outlen = expect.size(); in TestUTF8toUTF16() local
51 const uint8_t *input_data = inlen ? std::data(input) : empty_str; in TestUTF8toUTF16()
52 ssize_t measured = utf8_to_utf16_length(input_data, inlen); in TestUTF8toUTF16()
55 utf8_to_utf16(input_data, inlen, output, outlen + 1); in TestUTF8toUTF16()
69 const size_t inlen = input.size(), outlen = expect.size(); in TestUTF16toUTF8() local
72 const char16_t *input_data = inlen ? std::data(input) : empty_str; in TestUTF16toUTF8()
73 ssize_t measured = utf16_to_utf8_length(input_data, inlen); in TestUTF16toUTF8()
76 utf16_to_utf8(input_data, inlen, output, outlen + 1); in TestUTF16toUTF8()