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/
H A Dgtest-all.cc640 // Parameter num_chars may additionally limit the number
648 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
2976 // Parameter num_chars may additionally limit the number
2984 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { argument
2985 if (num_chars == -1)
2986 num_chars = static_cast<int>(wcslen(str));
2989 for (int i = 0; i < num_chars; ++i) {
2994 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {

Completed in 19 milliseconds