Lines Matching refs:uint8_t

33 size_t writeU8(uint8_t x, uint8_t* out, size_t offset) {  in writeU8()
38 size_t writeU16(uint16_t x, uint8_t* out, size_t offset) { in writeU16()
44 size_t writeI16(int16_t sx, uint8_t* out, size_t offset) { in writeI16()
48 size_t writeU24(uint32_t x, uint8_t* out, size_t offset) { in writeU24()
55 size_t writeU32(uint32_t x, uint8_t* out, size_t offset) { in writeU32()
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()
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()
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()
262 static std::vector<uint8_t> buildSingleFormat12Cmap(uint16_t platformId, uint16_t encodingId, in buildSingleFormat12Cmap()
284 std::vector<uint8_t> out;
291 std::vector<uint8_t> cmap = in TEST()
301 std::vector<uint8_t> cmap = in TEST()
311 std::vector<uint8_t> cmap = in TEST()
321 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
330 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
353 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( in TEST()
377 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
390 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
400 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
445 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( 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()
499 std::vector<uint8_t> cmap = builder.build(); 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()
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()
573 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
581 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( in TEST()
590 std::vector<uint8_t> highestFormat12Table = in TEST()
592 std::vector<uint8_t> highestFormat4Table = 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()
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()
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()
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()
744 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
752 std::vector<uint8_t> cmap = builder.build(); in TEST()
779 std::vector<uint8_t> smallLetterTable = in TEST()
781 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
800 std::vector<uint8_t> cmap = builder.build(); 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()
873 std::vector<uint8_t> cmap = builder.build(); in TEST()
883 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
889 std::vector<uint8_t> cmap = builder.build(); in TEST()
897 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
903 std::vector<uint8_t> cmap = builder.build(); in TEST()
911 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
917 std::vector<uint8_t> cmap = builder.build(); in TEST()
925 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
932 std::vector<uint8_t> cmap = builder.build(); in TEST()
940 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
947 std::vector<uint8_t> cmap = builder.build(); in TEST()
955 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
960 std::vector<uint8_t> cmap = builder.build(); in TEST()
968 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>( in TEST()
973 std::vector<uint8_t> cmap = builder.build(); in TEST()
981 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
986 std::vector<uint8_t> cmap = builder.build(); in TEST()
994 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
999 std::vector<uint8_t> cmap = builder.build(); in TEST()
1008 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1015 std::vector<uint8_t> cmap = builder.build(); in TEST()
1024 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1031 std::vector<uint8_t> cmap = builder.build(); in TEST()
1040 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1047 std::vector<uint8_t> cmap = builder.build(); in TEST()
1056 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1063 std::vector<uint8_t> cmap = builder.build(); in TEST()
1072 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1079 std::vector<uint8_t> cmap = builder.build(); in TEST()
1088 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1095 std::vector<uint8_t> cmap = builder.build(); 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()
1130 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
1137 std::vector<uint8_t> cmap = builder.build(); in TEST()
1153 std::vector<uint8_t> vsTable = buildCmapFormat14Table(std::vector<VariationSelectorRecord>({ in TEST()
1159 std::vector<uint8_t> cmap = builder.build(); in TEST()
1176 std::vector<uint8_t> baseTable = buildCmapFormat12Table(std::vector<uint32_t>( in TEST()
1178 std::vector<uint8_t> vsTable = buildCmapFormat14Table( in TEST()
1184 std::vector<uint8_t> cmap = builder.build(); in TEST()
1202 std::vector<uint8_t> vsTable = in TEST()
1207 std::vector<uint8_t> cmap = builder.build(); in TEST()