Searched refs:utf16Len (Results 1 – 1 of 1) sorted by relevance
828 const ssize_t utf16Len = utf8_to_utf16_length(strData, strLen); in writeUtf8AsUtf16() local829 if (utf16Len < 0 || utf16Len > std::numeric_limits<int32_t>::max()) { in writeUtf8AsUtf16()833 status_t err = writeInt32(utf16Len); in writeUtf8AsUtf16()839 void* dst = writeInplace((utf16Len + 1) * sizeof(char16_t)); in writeUtf8AsUtf16()844 utf8_to_utf16(strData, strLen, (char16_t*)dst, (size_t) utf16Len + 1); in writeUtf8AsUtf16()