Lines Matching refs:utf16
39 std::vector<uint16_t> utf16;
40 utf16.push_back(0);
44 instance_->pp_instance(), &utf16[0], 0, "latin1",
53 utf16 = UTF8ToUTF16(utf8source);
55 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
61 utf16 = UTF8ToUTF16("h\xe4\xbd\xa0i");
66 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
73 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
82 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
90 utf16.clear();
91 utf16.push_back(0xD800); // High surrogate.
92 utf16.push_back('A'); // Not a low surrogate.
94 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
103 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
113 std::vector<uint16_t> utf16;
114 utf16.push_back(0);
118 &utf16[0], 0, "latin1", PP_CHARSET_TRUSTED_CONVERSIONERROR_SUBSTITUTE,
124 utf16 = UTF8ToUTF16("hello");
127 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1",
138 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1",
148 utf16 = UTF8ToUTF16(utf8source);
152 &utf16[0], static_cast<uint32_t>(utf16.size()),
160 utf16 = UTF8ToUTF16("h\xe4\xbd\xa0i");
166 &utf16[0], static_cast<uint32_t>(utf16.size()),
176 &utf16[0], static_cast<uint32_t>(utf16.size()),
187 &utf16[0], static_cast<uint32_t>(utf16.size()),
197 utf16.clear();
198 utf16.push_back(0xD800); // High surrogate.
199 utf16.push_back('A'); // Not a low surrogate.
201 &utf16[0], static_cast<uint32_t>(utf16.size()),
211 &utf16[0], static_cast<uint32_t>(utf16.size()),