Lines Matching refs:collection

59 std::vector<FontCollection::Run> itemize(const std::shared_ptr<FontCollection>& collection,  in itemize()  argument
68 auto result = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize()
73 auto resultWithRunMax = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize()
86 std::vector<FontCollection::Run> itemize(const std::shared_ptr<FontCollection>& collection, in itemize() argument
88 return itemize(collection, str, FontStyle(), localeList); in itemize()
92 std::vector<FontCollection::Run> itemize(const std::shared_ptr<FontCollection>& collection, in itemize() argument
94 return itemize(collection, str, style, ""); in itemize()
98 std::vector<FontCollection::Run> itemize(const std::shared_ptr<FontCollection>& collection, in itemize() argument
100 return itemize(collection, str, FontStyle(), ""); in itemize()
116 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
123 auto runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kRegularStyle); in TEST()
131 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kItalicStyle); in TEST()
139 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kBoldStyle); in TEST()
147 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kBoldItalicStyle); in TEST()
157 runs = itemize(collection, "'a' ',' '-' 'd' '!'", kRegularStyle); in TEST()
165 runs = itemize(collection, "'a' ',' '-' 'd' '!'", kRegularStyle); in TEST()
175 runs = itemize(collection, "'a' U+0301", kRegularStyle); in TEST()
187 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
189 auto runs = itemize(collection, "'a' U+0301"); in TEST()
196 runs = itemize(collection, "U+13A0 U+0301"); in TEST()
203 runs = itemize(collection, "U+13A0 U+0301 U+0301"); in TEST()
209 runs = itemize(collection, "U+0301"); in TEST()
216 runs = itemize(collection, "U+0301 U+13A0 U+0301"); in TEST()
227 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
229 auto runs = itemize(collection, "U+1F469 U+1F467"); in TEST()
239 runs = itemize(collection, "'0' U+20E3"); in TEST()
247 runs = itemize(collection, "U+1F470 U+20E3"); in TEST()
255 runs = itemize(collection, "U+242EE U+1F470 U+20E3"); in TEST()
271 runs = itemize(collection, "'a' U+20E3"); in TEST()
287 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
290 auto runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", "ja-JP"); in TEST()
299 runs = itemize(collection, "U+B300 U+D55C U+BBFC U+AD6D", "en-US"); in TEST()
309 runs = itemize(collection, "U+81ED U+82B1 U+5FCD", "ja-JP"); in TEST()
319 runs = itemize(collection, "U+81ED U+82B1 U+5FCD", "zh-Hans"); in TEST()
329 runs = itemize(collection, "U+81ED U+4F60 U+5FCD", "ja-JP"); in TEST()
350 runs = itemize(collection, "U+4444 U+302D", ""); in TEST()
361 runs = itemize(collection, "U+242EE", "zh-Hans"); in TEST()
371 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
373 auto runs = itemize(collection, "'a' U+4F60 'b' U+4F60 'c'", "en-US"); in TEST()
407 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
416 auto runs = itemize(collection, "U+4FAE", "zh-Hans"); in TEST()
422 runs = itemize(collection, "U+4FAE U+FE00", "zh-Hans"); in TEST()
428 runs = itemize(collection, "U+4FAE U+4FAE U+FE00", "zh-Hans"); in TEST()
437 runs = itemize(collection, "U+4FAE U+4FAE U+FE00 U+4FAE", "zh-Hans"); in TEST()
450 runs = itemize(collection, "U+4FAE U+FE00 U+FE00", "zh-Hans"); in TEST()
457 runs = itemize(collection, "U+4FAE U+FE0E", "zh-Hans"); in TEST()
466 runs = itemize(collection, "U+242EE", "zh-Hant"); in TEST()
472 runs = itemize(collection, "U+242EE U+FE00", "zh-Hant"); in TEST()
478 runs = itemize(collection, "U+242EE U+242EE U+FE00", "zh-Hant"); in TEST()
487 runs = itemize(collection, "U+242EE U+242EE U+FE00 U+242EE", "zh-Hant"); in TEST()
500 runs = itemize(collection, "U+242EE U+FE00 U+FE00", "zh-Hans"); in TEST()
507 runs = itemize(collection, "U+242EE U+FE0E", "zh-Hant"); in TEST()
514 runs = itemize(collection, "U+FE00", ""); in TEST()
520 runs = itemize(collection, "U+FE00", "zh-Hant"); in TEST()
528 runs = itemize(collection, "U+203C U+FE0F", "zh-Hant"); in TEST()
535 runs = itemize(collection, "U+203C U+FE0E", "zh-Hant"); in TEST()
543 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
552 auto runs = itemize(collection, "U+845B", "zh-Hans"); in TEST()
558 runs = itemize(collection, "U+845B U+E0100", "zh-Hans"); in TEST()
564 runs = itemize(collection, "U+845B U+845B U+E0100", "zh-Hans"); in TEST()
573 runs = itemize(collection, "U+845B U+845B U+E0100 U+845B", "zh-Hans"); in TEST()
586 runs = itemize(collection, "U+845B U+E0100 U+E0100", "zh-Hans"); in TEST()
593 runs = itemize(collection, "U+845B U+E01E0", "zh-Hans"); in TEST()
603 runs = itemize(collection, "U+242EE", "zh-Hant"); in TEST()
609 runs = itemize(collection, "U+242EE U+E0101", "zh-Hant"); in TEST()
615 runs = itemize(collection, "U+242EE U+242EE U+E0101", "zh-Hant"); in TEST()
624 runs = itemize(collection, "U+242EE U+242EE U+E0101 U+242EE", "zh-Hant"); in TEST()
637 runs = itemize(collection, "U+242EE U+E0100 U+E0100", "zh-Hant"); in TEST()
644 runs = itemize(collection, "U+242EE U+E01E0", "zh-Hant"); in TEST()
651 runs = itemize(collection, "U+E0100", ""); in TEST()
657 runs = itemize(collection, "U+E0100", "zh-Hant"); in TEST()
665 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
668 auto runs = itemize(collection, "'a' U+D83D 'a'"); in TEST()
669 runs = itemize(collection, "'a' U+DC69 'a'"); in TEST()
670 runs = itemize(collection, "'a' U+D83D U+D83D 'a'"); in TEST()
671 runs = itemize(collection, "'a' U+DC69 U+DC69 'a'"); in TEST()
674 runs = itemize(collection, "U+FE00 U+FE00"); in TEST()
675 runs = itemize(collection, "U+E0100 U+E0100"); in TEST()
676 runs = itemize(collection, "U+FE00 U+E0100"); in TEST()
677 runs = itemize(collection, "U+E0100 U+FE00"); in TEST()
680 runs = itemize(collection, "U+302D"); in TEST()
681 runs = itemize(collection, "U+302D U+302D"); in TEST()
684 runs = itemize(collection, "U+FE00 U+302D U+E0100"); in TEST()
688 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
698 auto runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kBoldStyle, "ja-JP"); in TEST()
707 runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kItalicStyle, "ja-JP"); in TEST()
716 runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kBoldItalicStyle, "ja-JP"); in TEST()
735 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
737 auto runs = itemize(collection, "U+717D U+FE02"); in TEST()
745 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
747 auto runs = itemize(collection, "'a' U+061C 'b'"); in TEST()
753 runs = itemize(collection, "'a' U+200D 'b'"); in TEST()
759 runs = itemize(collection, "U+3042 U+061C U+3042"); in TEST()
765 runs = itemize(collection, "U+061C 'b'"); in TEST()
771 runs = itemize(collection, "U+061C U+3042"); in TEST()
777 runs = itemize(collection, "U+061C"); in TEST()
783 runs = itemize(collection, "U+061C U+061C U+061C"); in TEST()
789 runs = itemize(collection, "U+200D U+20E3"); in TEST()
795 runs = itemize(collection, "U+200D"); in TEST()
801 runs = itemize(collection, "U+20E3"); in TEST()
952 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
954 auto runs = itemize(collection, "U+9AA8", testCase.userPreferredLocale); in TEST()
1264 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
1270 auto runs = itemize(collection, testCase.testString.c_str(), testCase.requestedLocales); in TEST()
1277 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1281 auto runs = itemize(collection, "U+00A9 U+FE0E"); in TEST()
1289 runs = itemize(collection, "U+00AE U+FE0E"); in TEST()
1298 runs = itemize(collection, "U+203C U+FE0E"); in TEST()
1306 runs = itemize(collection, "U+2049 U+FE0E"); in TEST()
1314 runs = itemize(collection, "U+231A U+FE0E"); in TEST()
1322 runs = itemize(collection, "U+231B U+FE0E"); in TEST()
1332 runs = itemize(collection, "U+23E9 U+FE0E"); in TEST()
1340 runs = itemize(collection, "U+23EA U+FE0E"); in TEST()
1348 runs = itemize(collection, "U+26FA U+FE0E"); in TEST()
1356 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1360 auto runs = itemize(collection, "U+00A9 U+FE0F"); in TEST()
1369 runs = itemize(collection, "U+00AE U+FE0F"); in TEST()
1378 runs = itemize(collection, "U+203C U+FE0F"); in TEST()
1386 runs = itemize(collection, "U+2049 U+FE0F"); in TEST()
1394 runs = itemize(collection, "U+231A U+FE0F"); in TEST()
1403 runs = itemize(collection, "U+231B U+FE0F"); in TEST()
1411 runs = itemize(collection, "U+23E9 U+FE0F"); in TEST()
1419 runs = itemize(collection, "U+23EA U+FE0F"); in TEST()
1427 runs = itemize(collection, "U+26F9 U+FE0F"); in TEST()
1435 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1438 auto runs = itemize(collection, "U+261D"); in TEST()
1445 runs = itemize(collection, "U+261D U+1F3FD"); in TEST()
1452 runs = itemize(collection, "U+261D U+FE0F U+1F3FD"); in TEST()
1460 runs = itemize(collection, "U+261D U+FE0E U+1F3FD"); in TEST()
1471 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1474 auto runs = itemize(collection, "U+FEE10"); in TEST()
1480 runs = itemize(collection, "U+FEE40 U+FE4C5"); in TEST()
1488 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1490 auto runs = itemize(collection, "U+1F469 U+200D U+1F373"); in TEST()
1496 runs = itemize(collection, "U+1F469 U+200D U+2695 U+FE0F"); in TEST()
1502 runs = itemize(collection, "U+1F469 U+200D U+2695"); in TEST()
1518 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
1523 auto runs = itemize(collection, "U+35A8 U+E0100"); in TEST()
1541 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
1546 auto runs = itemize(collection, "U+5380 U+E0100"); in TEST()
1560 auto collection = std::make_shared<FontCollection>(families); in TEST() local
1563 auto runs = itemize(collection, "U+203C", "en-US,en-Zsym"); in TEST()
1565 runs = itemize(collection, "U+23E9", "en-US,en-Zsym"); in TEST()
1568 runs = itemize(collection, "U+203C", "en-US,en-Zsye"); in TEST()
1570 runs = itemize(collection, "U+23E9", "en-US,en-Zsye"); in TEST()
1573 runs = itemize(collection, "U+203C", "ja-Zsym-JP"); in TEST()
1575 runs = itemize(collection, "U+23E9", "ja-Zsym-JP"); in TEST()
1578 runs = itemize(collection, "U+203C", "ja-Zsye-JP"); in TEST()
1580 runs = itemize(collection, "U+23E9", "ja-Zsye-JP"); in TEST()
1583 runs = itemize(collection, "U+203C", "ja-JP-u-em-text"); in TEST()
1585 runs = itemize(collection, "U+23E9", "ja-JP-u-em-text"); in TEST()
1588 runs = itemize(collection, "U+203C", "ja-JP-u-em-emoji"); in TEST()
1590 runs = itemize(collection, "U+23E9", "ja-JP-u-em-emoji"); in TEST()
1593 runs = itemize(collection, "U+203C", "ja-JP,und-Zsym"); in TEST()
1595 runs = itemize(collection, "U+23E9", "ja-JP,und-Zsym"); in TEST()
1598 runs = itemize(collection, "U+203C", "ja-JP,und-Zsye"); in TEST()
1600 runs = itemize(collection, "U+23E9", "ja-JP,und-Zsye"); in TEST()
1612 auto collection = std::make_shared<FontCollection>(families); in TEST() local
1614 auto runs = itemize(collection, "'a'", ""); in TEST()
1616 runs = itemize(collection, "'a'", "en-US"); in TEST()
1618 runs = itemize(collection, "'a'", "ja-JP"); in TEST()