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