Home | History | Annotate | Download | only in base

Lines Matching refs:wide

14 std::string SysWideToUTF8(const std::wstring& wide) {
17 return WideToUTF8(wide);
30 std::string SysWideToNativeMB(const std::wstring& wide) {
31 return WideToUTF8(wide);
40 std::string SysWideToNativeMB(const std::wstring& wide) {
47 for (size_t i = 0; i < wide.size(); ++i) {
48 const wchar_t src = wide[i];
76 // wide input, and |j| tracking the multi-byte output.
78 for (size_t i = 0, j = 0; i < wide.size(); ++i) {
79 const wchar_t src = wide[i];
103 // Calculate the number of wide characters. We walk through the string
104 // without writing the output, counting the number of wide characters.
134 // multi-byte input, and |j| tracking the wide output.