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

/openjdk10/hotspot/src/share/vm/utilities/
H A Dutf8.cpp100 int num_chars = len; local
112 --num_chars;
116 return num_chars;
124 int num_chars = 0; local
137 num_chars++;
141 return num_chars;
/openjdk10/test/fmw/gtest/src/
H A Dgtest-internal-inl.h239 // Parameter num_chars may additionally limit the number
247 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
H A Dgtest.cc1492 // Parameter num_chars may additionally limit the number
1500 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1501 if (num_chars == -1)
1502 num_chars = static_cast<int>(wcslen(str));
1505 for (int i = 0; i < num_chars; ++i) {
1510 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {

Completed in 107 milliseconds