• Home
  • Raw
  • Download

Lines Matching refs:collection

66 std::vector<Run> itemize(const std::shared_ptr<FontCollection>& collection, const char* str,  in itemize()  argument
74 auto result = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize()
79 auto resultWithRunMax = collection->itemize(U16StringPiece(buf, len), style, localeListId, in itemize()
91 {collection->getBestFont(U16StringPiece(buf, len), r, style), r.start, r.end}); in itemize()
97 std::vector<Run> itemize(const std::shared_ptr<FontCollection>& collection, const char* str, in itemize() argument
99 return itemize(collection, str, FontStyle(), localeList); in itemize()
103 std::vector<Run> itemize(const std::shared_ptr<FontCollection>& collection, const char* str, in itemize() argument
105 return itemize(collection, str, style, ""); in itemize()
109 std::vector<Run> itemize(const std::shared_ptr<FontCollection>& collection, const char* str) { in itemize() argument
110 return itemize(collection, str, FontStyle(), ""); in itemize()
125 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
132 auto runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kRegularStyle); in TEST()
140 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kItalicStyle); in TEST()
148 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kBoldStyle); in TEST()
156 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kBoldItalicStyle); in TEST()
166 runs = itemize(collection, "'a' ',' '-' 'd' '!'", kRegularStyle); in TEST()
174 runs = itemize(collection, "'a' ',' '-' 'd' '!'", kRegularStyle); in TEST()
184 runs = itemize(collection, "'a' U+0301", kRegularStyle); in TEST()
196 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
198 auto runs = itemize(collection, "'a' U+0301"); in TEST()
205 runs = itemize(collection, "U+13A0 U+0301"); in TEST()
212 runs = itemize(collection, "U+13A0 U+0301 U+0301"); in TEST()
218 runs = itemize(collection, "U+0301"); in TEST()
225 runs = itemize(collection, "U+0301 U+13A0 U+0301"); in TEST()
236 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
238 auto runs = itemize(collection, "U+1F469 U+1F467"); in TEST()
248 runs = itemize(collection, "'0' U+20E3"); in TEST()
256 runs = itemize(collection, "U+1F470 U+20E3"); in TEST()
264 runs = itemize(collection, "U+242EE U+1F470 U+20E3"); in TEST()
280 runs = itemize(collection, "'a' U+20E3"); in TEST()
296 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
299 auto runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", "ja-JP"); in TEST()
308 runs = itemize(collection, "U+B300 U+D55C U+BBFC U+AD6D", "en-US"); in TEST()
318 runs = itemize(collection, "U+81ED U+82B1 U+5FCD", "ja-JP"); in TEST()
328 runs = itemize(collection, "U+81ED U+82B1 U+5FCD", "zh-Hans"); in TEST()
338 runs = itemize(collection, "U+81ED U+4F60 U+5FCD", "ja-JP"); in TEST()
359 runs = itemize(collection, "U+4444 U+302D", ""); in TEST()
370 runs = itemize(collection, "U+242EE", "zh-Hans"); in TEST()
380 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
382 auto runs = itemize(collection, "'a' U+4F60 'b' U+4F60 'c'", "en-US"); in TEST()
416 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
425 auto runs = itemize(collection, "U+4FAE", "zh-Hans"); in TEST()
431 runs = itemize(collection, "U+4FAE U+FE00", "zh-Hans"); in TEST()
437 runs = itemize(collection, "U+4FAE U+4FAE U+FE00", "zh-Hans"); in TEST()
446 runs = itemize(collection, "U+4FAE U+4FAE U+FE00 U+4FAE", "zh-Hans"); in TEST()
459 runs = itemize(collection, "U+4FAE U+FE00 U+FE00", "zh-Hans"); in TEST()
466 runs = itemize(collection, "U+4FAE U+FE0E", "zh-Hans"); in TEST()
475 runs = itemize(collection, "U+242EE", "zh-Hant"); in TEST()
481 runs = itemize(collection, "U+242EE U+FE00", "zh-Hant"); in TEST()
487 runs = itemize(collection, "U+242EE U+242EE U+FE00", "zh-Hant"); in TEST()
496 runs = itemize(collection, "U+242EE U+242EE U+FE00 U+242EE", "zh-Hant"); in TEST()
509 runs = itemize(collection, "U+242EE U+FE00 U+FE00", "zh-Hans"); in TEST()
516 runs = itemize(collection, "U+242EE U+FE0E", "zh-Hant"); in TEST()
523 runs = itemize(collection, "U+FE00", ""); in TEST()
529 runs = itemize(collection, "U+FE00", "zh-Hant"); in TEST()
537 runs = itemize(collection, "U+203C U+FE0F", "zh-Hant"); in TEST()
544 runs = itemize(collection, "U+203C U+FE0E", "zh-Hant"); in TEST()
552 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
561 auto runs = itemize(collection, "U+845B", "zh-Hans"); in TEST()
567 runs = itemize(collection, "U+845B U+E0100", "zh-Hans"); in TEST()
573 runs = itemize(collection, "U+845B U+845B U+E0100", "zh-Hans"); in TEST()
582 runs = itemize(collection, "U+845B U+845B U+E0100 U+845B", "zh-Hans"); in TEST()
595 runs = itemize(collection, "U+845B U+E0100 U+E0100", "zh-Hans"); in TEST()
602 runs = itemize(collection, "U+845B U+E01E0", "zh-Hans"); in TEST()
612 runs = itemize(collection, "U+242EE", "zh-Hant"); in TEST()
618 runs = itemize(collection, "U+242EE U+E0101", "zh-Hant"); in TEST()
624 runs = itemize(collection, "U+242EE U+242EE U+E0101", "zh-Hant"); in TEST()
633 runs = itemize(collection, "U+242EE U+242EE U+E0101 U+242EE", "zh-Hant"); in TEST()
646 runs = itemize(collection, "U+242EE U+E0100 U+E0100", "zh-Hant"); in TEST()
653 runs = itemize(collection, "U+242EE U+E01E0", "zh-Hant"); in TEST()
660 runs = itemize(collection, "U+E0100", ""); in TEST()
666 runs = itemize(collection, "U+E0100", "zh-Hant"); in TEST()
674 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
677 auto runs = itemize(collection, "'a' U+D83D 'a'"); in TEST()
678 runs = itemize(collection, "'a' U+DC69 'a'"); in TEST()
679 runs = itemize(collection, "'a' U+D83D U+D83D 'a'"); in TEST()
680 runs = itemize(collection, "'a' U+DC69 U+DC69 'a'"); in TEST()
683 runs = itemize(collection, "U+FE00 U+FE00"); in TEST()
684 runs = itemize(collection, "U+E0100 U+E0100"); in TEST()
685 runs = itemize(collection, "U+FE00 U+E0100"); in TEST()
686 runs = itemize(collection, "U+E0100 U+FE00"); in TEST()
689 runs = itemize(collection, "U+302D"); in TEST()
690 runs = itemize(collection, "U+302D U+302D"); in TEST()
693 runs = itemize(collection, "U+FE00 U+302D U+E0100"); in TEST()
697 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
707 auto runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kBoldStyle, "ja-JP"); in TEST()
716 runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kItalicStyle, "ja-JP"); in TEST()
725 runs = itemize(collection, "U+3042 U+3044 U+3046 U+3048 U+304A", kBoldItalicStyle, "ja-JP"); in TEST()
744 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
746 auto runs = itemize(collection, "U+717D U+FE02"); in TEST()
754 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
756 auto runs = itemize(collection, "'a' U+061C 'b'"); in TEST()
762 runs = itemize(collection, "'a' U+200D 'b'"); in TEST()
768 runs = itemize(collection, "U+3042 U+061C U+3042"); in TEST()
774 runs = itemize(collection, "U+061C 'b'"); in TEST()
780 runs = itemize(collection, "U+061C U+3042"); in TEST()
786 runs = itemize(collection, "U+061C"); in TEST()
792 runs = itemize(collection, "U+061C U+061C U+061C"); in TEST()
798 runs = itemize(collection, "U+200D U+20E3"); in TEST()
804 runs = itemize(collection, "U+200D"); in TEST()
810 runs = itemize(collection, "U+20E3"); in TEST()
961 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
963 auto runs = itemize(collection, "U+9AA8", testCase.userPreferredLocale); in TEST()
1274 auto collection = buildFontCollectionFromXml(kItemizeFontXml); in TEST() local
1280 auto runs = itemize(collection, testCase.testString.c_str(), testCase.requestedLocales); in TEST()
1287 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1291 auto runs = itemize(collection, "U+00A9 U+FE0E"); in TEST()
1299 runs = itemize(collection, "U+00AE U+FE0E"); in TEST()
1308 runs = itemize(collection, "U+203C U+FE0E"); in TEST()
1316 runs = itemize(collection, "U+2049 U+FE0E"); in TEST()
1324 runs = itemize(collection, "U+231A U+FE0E"); in TEST()
1332 runs = itemize(collection, "U+231B U+FE0E"); in TEST()
1342 runs = itemize(collection, "U+23E9 U+FE0E"); in TEST()
1350 runs = itemize(collection, "U+23EA U+FE0E"); in TEST()
1358 runs = itemize(collection, "U+26FA U+FE0E"); in TEST()
1366 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1370 auto runs = itemize(collection, "U+00A9 U+FE0F"); in TEST()
1379 runs = itemize(collection, "U+00AE U+FE0F"); in TEST()
1388 runs = itemize(collection, "U+203C U+FE0F"); in TEST()
1396 runs = itemize(collection, "U+2049 U+FE0F"); in TEST()
1404 runs = itemize(collection, "U+231A U+FE0F"); in TEST()
1413 runs = itemize(collection, "U+231B U+FE0F"); in TEST()
1421 runs = itemize(collection, "U+23E9 U+FE0F"); in TEST()
1429 runs = itemize(collection, "U+23EA U+FE0F"); in TEST()
1437 runs = itemize(collection, "U+26F9 U+FE0F"); in TEST()
1445 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1448 auto runs = itemize(collection, "U+261D"); in TEST()
1455 runs = itemize(collection, "U+261D U+1F3FD"); in TEST()
1462 runs = itemize(collection, "U+261D U+FE0F U+1F3FD"); in TEST()
1470 runs = itemize(collection, "U+261D U+FE0E U+1F3FD"); in TEST()
1481 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1484 auto runs = itemize(collection, "U+FEE10"); in TEST()
1490 runs = itemize(collection, "U+FEE40 U+FE4C5"); in TEST()
1498 auto collection = buildFontCollectionFromXml(kEmojiXmlFile); in TEST() local
1500 auto runs = itemize(collection, "U+1F469 U+200D U+1F373"); in TEST()
1506 runs = itemize(collection, "U+1F469 U+200D U+2695 U+FE0F"); in TEST()
1512 runs = itemize(collection, "U+1F469 U+200D U+2695"); in TEST()
1528 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
1533 auto runs = itemize(collection, "U+35A8 U+E0100"); in TEST()
1551 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() local
1556 auto runs = itemize(collection, "U+5380 U+E0100"); in TEST()
1570 auto collection = std::make_shared<FontCollection>(families); in TEST() local
1573 auto runs = itemize(collection, "U+203C", "en-US,en-Zsym"); in TEST()
1575 runs = itemize(collection, "U+23E9", "en-US,en-Zsym"); in TEST()
1578 runs = itemize(collection, "U+203C", "en-US,en-Zsye"); in TEST()
1580 runs = itemize(collection, "U+23E9", "en-US,en-Zsye"); in TEST()
1583 runs = itemize(collection, "U+203C", "ja-Zsym-JP"); in TEST()
1585 runs = itemize(collection, "U+23E9", "ja-Zsym-JP"); in TEST()
1588 runs = itemize(collection, "U+203C", "ja-Zsye-JP"); in TEST()
1590 runs = itemize(collection, "U+23E9", "ja-Zsye-JP"); in TEST()
1593 runs = itemize(collection, "U+203C", "ja-JP-u-em-text"); in TEST()
1595 runs = itemize(collection, "U+23E9", "ja-JP-u-em-text"); in TEST()
1598 runs = itemize(collection, "U+203C", "ja-JP-u-em-emoji"); in TEST()
1600 runs = itemize(collection, "U+23E9", "ja-JP-u-em-emoji"); in TEST()
1603 runs = itemize(collection, "U+203C", "ja-JP,und-Zsym"); in TEST()
1605 runs = itemize(collection, "U+23E9", "ja-JP,und-Zsym"); in TEST()
1608 runs = itemize(collection, "U+203C", "ja-JP,und-Zsye"); in TEST()
1610 runs = itemize(collection, "U+23E9", "ja-JP,und-Zsye"); in TEST()
1622 auto collection = std::make_shared<FontCollection>(families); in TEST() local
1624 auto runs = itemize(collection, "'a'", ""); in TEST()
1626 runs = itemize(collection, "'a'", "en-US"); in TEST()
1628 runs = itemize(collection, "'a'", "ja-JP"); in TEST()
1640 auto collection = std::make_shared<FontCollection>(families); in itemizeEmojiAndFontPostScriptName() local
1641 auto runs = itemize(collection, txt.c_str()); in itemizeEmojiAndFontPostScriptName()