Lines Matching refs:ranges
66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() argument
67 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */; in buildCmapFormat4Table()
93 for (size_t i = 0; i < ranges.size() / 2; ++i) { in buildCmapFormat4Table()
94 const uint16_t begin = ranges[i * 2]; in buildCmapFormat4Table()
95 const uint16_t end = ranges[i * 2 + 1]; in buildCmapFormat4Table()
118 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { in buildCmapFormat12Table() argument
119 uint32_t numGroups = ranges.size() / 2; in buildCmapFormat12Table()
134 const uint32_t start = ranges[2 * i]; in buildCmapFormat12Table()
135 const uint32_t end = ranges[2 * i + 1]; in buildCmapFormat12Table()
256 const std::vector<uint16_t>& ranges) { in buildSingleFormat4Cmap() argument
258 builder.appendTable(platformId, encodingId, buildCmapFormat4Table(ranges)); in buildSingleFormat4Cmap()
263 const std::vector<uint32_t>& ranges) { in buildSingleFormat12Cmap() argument
265 builder.appendTable(platformId, encodingId, buildCmapFormat12Table(ranges)); in buildSingleFormat12Cmap()