Lines Matching refs:utf16
45 std::u16string utf16(u"Hello world");
46 UnicodeText unicodeText(SkUnicode::Make(), SkSpan<uint16_t>((uint16_t*)utf16.data(), utf16.size()));
49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain));
55 REPORTER_ASSERT(reporter, resolvedFonts.front().textRange.width() == utf16.size());
65 std::u16string utf16(u"English English 字典 字典 ??? ???");
66 UnicodeText unicodeText(SkUnicode::Make(), SkSpan<uint16_t>((uint16_t*)utf16.data(), utf16.size()));
69 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain));
83 REPORTER_ASSERT(reporter, resolvedFonts[7].textRange.fEnd == utf16.size());