Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc648 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
2984 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
2985 if (num_chars == -1) in WideStringToUtf8()
2986 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
2989 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
2994 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()