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

/gem5/ext/googletest/googletest/src/
H A Dgtest-internal-inl.h240 // Parameter num_chars may additionally limit the number
248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
H A Dgtest.cc1815 // Parameter num_chars may additionally limit the number
1823 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1824 if (num_chars == -1)
1825 num_chars = static_cast<int>(wcslen(str));
1828 for (int i = 0; i < num_chars; ++i) {
1833 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {

Completed in 34 milliseconds