Lines Matching refs:src
39 #include "googleurl/src/url_canon_internal.h"
47 inline string16 WStringToUTF16(const wchar_t* src) {
49 int length = static_cast<int>(wcslen(src));
51 str.push_back(static_cast<char16>(src[i]));
57 inline string16 ConvertUTF8ToUTF16(const std::string& src) {
58 int length = static_cast<int>(src.length());
61 EXPECT_TRUE(url_canon::ConvertUTF8ToUTF16(src.data(), length, &output));
66 inline std::string ConvertUTF16ToUTF8(const string16& src) {
69 EXPECT_TRUE(url_canon::ConvertUTF16ToUTF8(src.data(),
70 static_cast<int>(src.length()),