Lines Matching refs:length
860 const int length = strlen(ansi);
862 MultiByteToWideChar(CP_ACP, 0, ansi, length,
865 MultiByteToWideChar(CP_ACP, 0, ansi, length,
906 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length,
908 for (size_t i = 0; i != length; ) { // NOLINT
910 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i));
911 while (i != length && wstr[i] != L'\0')
965 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this);
974 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this);
1726 // Code-point length Encoding
1951 const size_t str_len = str.length();
1952 const size_t suffix_len = suffix.length();
1985 const char* const end = start + str.length();
4187 internal::GTEST_FLAG(internal_run_death_test).length() > 0;
5023 const size_t flag_len = flag_str.length();