Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/src/
Dgtest.cc1485 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1486 if (num_chars == -1) in WideStringToUtf8()
1487 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1490 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1495 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
Dgtest-internal-inl.h247 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);