Lines Matching defs:wide
203 bool WideToCodepage(const std::wstring& wide,
208 return UTF16ToCodepage(wide, codepage_name, on_error, encoded);
218 // When wchar_t is wider than UChar (16 bits), transform |wide| into a
223 std::vector<UChar> utf16(wide.length() * 2 + 1);
225 reinterpret_cast<const UChar32*>(wide.c_str()),
226 wide.length(), &status);
236 std::wstring* wide) {
238 return CodepageToUTF16(encoded, codepage_name, on_error, wide);
240 wide->clear();
255 reinterpret_cast<char*>(WriteInto(wide, wchar_max_length)),
260 wide->clear(); // Make sure the output is empty on error.
265 wide->resize(actual_size / sizeof(wchar_t));