Lines Matching refs:vector

66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) {  in buildCmapFormat4Table()
75 std::vector<uint8_t> out(finalLength); in buildCmapFormat4Table()
118 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { in buildCmapFormat12Table()
125 std::vector<uint8_t> out(finalLength); in buildCmapFormat12Table()
151 std::vector<uint32_t> defaultUVSRanges;
152 std::vector<uint32_t> nonDefaultUVS;
154 std::vector<uint8_t> getDefaultUVSAsBinary() const { in getDefaultUVSAsBinary()
156 return std::vector<uint8_t>(); in getDefaultUVSAsBinary()
162 std::vector<uint8_t> out(length); in getDefaultUVSAsBinary()
175 std::vector<uint8_t> getNonDefaultUVSAsBinary() const { in getNonDefaultUVSAsBinary()
177 return std::vector<uint8_t>(); in getNonDefaultUVSAsBinary()
182 std::vector<uint8_t> out(length); in getNonDefaultUVSAsBinary()
194 static std::vector<uint8_t> buildCmapFormat14Table( in buildCmapFormat14Table()
195 const std::vector<VariationSelectorRecord>& vsRecords) { in buildCmapFormat14Table()
200 std::vector<uint8_t> out(headerLength); in buildCmapFormat14Table()
210 std::vector<uint8_t> defaultUVS = record.getDefaultUVSAsBinary(); in buildCmapFormat14Table()
218 std::vector<uint8_t> nonDefaultUVS = record.getNonDefaultUVSAsBinary(); in buildCmapFormat14Table()
244 void appendTable(uint16_t platformId, uint16_t encodingId, const std::vector<uint8_t>& table) { in appendTable()
249 std::vector<uint8_t> build() { in build()
255 static std::vector<uint8_t> buildSingleFormat4Cmap(uint16_t platformId, uint16_t encodingId, in buildSingleFormat4Cmap()
256 const std::vector<uint16_t>& ranges) { in buildSingleFormat4Cmap()
262 static std::vector<uint8_t> buildSingleFormat12Cmap(uint16_t platformId, uint16_t encodingId, in buildSingleFormat12Cmap()
263 const std::vector<uint32_t>& ranges) { in buildSingleFormat12Cmap()
284 std::vector<uint8_t> out;
288 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
291 std::vector<uint8_t> cmap = in TEST()
292 CmapBuilder::buildSingleFormat4Cmap(0, 0, std::vector<uint16_t>({'a', 'a'})); in TEST()
301 std::vector<uint8_t> cmap = in TEST()
302 CmapBuilder::buildSingleFormat4Cmap(0, 0, std::vector<uint16_t>({'a', 'a'})); in TEST()
311 std::vector<uint8_t> cmap = in TEST()
312 CmapBuilder::buildSingleFormat4Cmap(0, 0, std::vector<uint16_t>({'a', 'a'})); in TEST()
321 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
322 0, 0, std::vector<uint16_t>({'b', 'b', 'a', 'a'})); in TEST()
330 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
331 0, 0, std::vector<uint16_t>({'a', 'a', 'c', 'c', 'b', 'b'})); in TEST()
340 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
353 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
354 testCase.platformId, testCase.encodingId, std::vector<uint16_t>({'a', 'a'})); in TEST()
363 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
377 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
378 testCase.platformId, testCase.encodingId, std::vector<uint32_t>({'a', 'a'})); in TEST()
387 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
390 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
391 0, 0, std::vector<uint32_t>({'a', 'a', 0x110000, 0x110000})); in TEST()
400 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
401 0, 0, std::vector<uint32_t>({'a', 'a', 0x10FF00, 0x110000})); in TEST()
413 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
445 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
446 testCase.platformId, testCase.encodingId, std::vector<uint16_t>({'a', 'a'})); in TEST()
454 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
457 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'a', 'a'})); in TEST()
462 std::vector<uint8_t> cmap = builder.build(); in TEST()
470 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'a', 'a'})); in TEST()
474 std::vector<uint8_t> cmap = builder.build(); in TEST()
482 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b'})); in TEST()
487 std::vector<uint8_t> cmap = builder.build(); in TEST()
495 std::vector<uint8_t> table = in TEST()
496 buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b', 'a', 'a'})); in TEST()
499 std::vector<uint8_t> cmap = builder.build(); in TEST()
508 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
509 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'a', 'b', 'b', 'b'})); in TEST()
512 std::vector<uint8_t> cmap = builder.build(); in TEST()
521 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
524 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
529 std::vector<uint8_t> cmap = builder.build(); in TEST()
537 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
542 std::vector<uint8_t> cmap = builder.build(); in TEST()
550 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
556 std::vector<uint8_t> cmap = builder.build(); in TEST()
564 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
565 0, 0, std::vector<uint32_t>({0x110000, 0x110000})); in TEST()
573 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
574 0, 0, std::vector<uint32_t>({'b', 'b', 'a', 'a'})); in TEST()
581 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
582 0, 0, std::vector<uint32_t>({'a', 'a', 'c', 'c', 'b', 'b'})); in TEST()
590 std::vector<uint8_t> highestFormat12Table = in TEST()
591 buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
592 std::vector<uint8_t> highestFormat4Table = in TEST()
593 buildCmapFormat4Table(std::vector<uint16_t>({'a', 'a'})); in TEST()
594 std::vector<uint8_t> format4 = buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b'})); in TEST()
595 std::vector<uint8_t> format12 = buildCmapFormat12Table(std::vector<uint32_t>({'b', 'b'})); in TEST()
597 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
604 const std::vector<uint8_t>& table; in TEST()
614 std::vector<uint8_t> cmap = builder.build(); in TEST()
628 const std::vector<uint8_t>& table; in TEST()
637 std::vector<uint8_t> cmap = builder.build(); in TEST()
648 std::vector<uint8_t> validTable = buildCmapFormat4Table(std::vector<uint16_t>({'a', 'a'})); in TEST()
649 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
653 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b'})); in TEST()
657 std::vector<uint8_t> cmap = builder.build(); in TEST()
667 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b'})); in TEST()
671 std::vector<uint8_t> cmap = builder.build(); in TEST()
681 std::vector<uint8_t> table = buildCmapFormat4Table(std::vector<uint16_t>({'b', 'b'})); in TEST()
685 std::vector<uint8_t> cmap = builder.build(); in TEST()
695 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
696 std::vector<uint8_t> validTable = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
700 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'b', 'b'})); in TEST()
704 std::vector<uint8_t> cmap = builder.build(); in TEST()
714 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'b', 'b'})); in TEST()
718 std::vector<uint8_t> cmap = builder.build(); in TEST()
728 std::vector<uint8_t> table = buildCmapFormat12Table(std::vector<uint32_t>({'b', 'b'})); in TEST()
732 std::vector<uint8_t> cmap = builder.build(); in TEST()
742 std::vector<uint8_t> smallLetterTable = in TEST()
743 buildCmapFormat12Table(std::vector<uint32_t>({'a', 'z'})); in TEST()
744 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
752 std::vector<uint8_t> cmap = builder.build(); in TEST()
754 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
779 std::vector<uint8_t> smallLetterTable = in TEST()
780 buildCmapFormat12Table(std::vector<uint32_t>({'a', 'z'})); in TEST()
781 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
800 std::vector<uint8_t> cmap = builder.build(); in TEST()
802 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
865 std::vector<uint8_t> cmap12Table = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'z'})); in TEST()
868 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
869 std::vector<VariationSelectorRecord>({{0xFE0E, {'a', 'a'}, {'b'}}})); in TEST()
873 std::vector<uint8_t> cmap = builder.build(); in TEST()
875 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
883 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
884 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
889 std::vector<uint8_t> cmap = builder.build(); in TEST()
891 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
897 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
898 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
903 std::vector<uint8_t> cmap = builder.build(); in TEST()
905 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
911 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
912 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
917 std::vector<uint8_t> cmap = builder.build(); in TEST()
919 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
925 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
926 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
932 std::vector<uint8_t> cmap = builder.build(); in TEST()
934 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
940 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
941 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
947 std::vector<uint8_t> cmap = builder.build(); in TEST()
949 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
955 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
956 std::vector<VariationSelectorRecord>({{0xFE0F, {'b', 'b', 'a', 'a'}, {}}})); in TEST()
960 std::vector<uint8_t> cmap = builder.build(); in TEST()
962 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
968 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>( in TEST()
973 std::vector<uint8_t> cmap = builder.build(); in TEST()
975 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
981 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
982 std::vector<VariationSelectorRecord>({{0xFE0F, {}, {'b', 'a'}}})); in TEST()
986 std::vector<uint8_t> cmap = builder.build(); in TEST()
988 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
994 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
995 std::vector<VariationSelectorRecord>({{0xFE0F, {}, {'a', 'c', 'b'}}})); in TEST()
999 std::vector<uint8_t> cmap = builder.build(); in TEST()
1001 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1008 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1009 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1015 std::vector<uint8_t> cmap = builder.build(); in TEST()
1017 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1024 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1025 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1031 std::vector<uint8_t> cmap = builder.build(); in TEST()
1033 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1040 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1041 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1047 std::vector<uint8_t> cmap = builder.build(); in TEST()
1049 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1056 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1057 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1063 std::vector<uint8_t> cmap = builder.build(); in TEST()
1065 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1072 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1073 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1079 std::vector<uint8_t> cmap = builder.build(); in TEST()
1081 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1088 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1089 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'a'}, {'b'}}})); in TEST()
1095 std::vector<uint8_t> cmap = builder.build(); in TEST()
1097 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1104 std::vector<uint8_t> cmap12Table = buildCmapFormat12Table(std::vector<uint32_t>({'a', 'a'})); in TEST()
1107 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
1114 std::vector<uint8_t> cmap = builder.build(); in TEST()
1116 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1130 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
1137 std::vector<uint8_t> cmap = builder.build(); in TEST()
1139 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1153 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
1159 std::vector<uint8_t> cmap = builder.build(); in TEST()
1161 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1176 std::vector<uint8_t> baseTable = buildCmapFormat12Table(std::vector<uint32_t>( in TEST()
1178 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1179 std::vector<VariationSelectorRecord>({{0xFE0F, {'a', 'z'}, {}}})); in TEST()
1184 std::vector<uint8_t> cmap = builder.build(); in TEST()
1186 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()
1202 std::vector<uint8_t> vsTable = in TEST()
1203 buildCmapFormat14Table(std::vector<VariationSelectorRecord>({{0xFE0F, {}, {'a'}}})); in TEST()
1207 std::vector<uint8_t> cmap = builder.build(); in TEST()
1209 std::vector<std::unique_ptr<SparseBitSet>> vsTables; in TEST()