Lines Matching refs:ranges
64 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() argument
65 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */; in buildCmapFormat4Table()
90 for (size_t i = 0; i < ranges.size() / 2; ++i) { in buildCmapFormat4Table()
91 const uint16_t begin = ranges[i * 2]; in buildCmapFormat4Table()
92 const uint16_t end = ranges[i * 2 + 1]; in buildCmapFormat4Table()
115 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { in buildCmapFormat12Table() argument
116 uint32_t numGroups = ranges.size() / 2; in buildCmapFormat12Table()
130 const uint32_t start = ranges[2 * i]; in buildCmapFormat12Table()
131 const uint32_t end = ranges[2 * i + 1]; in buildCmapFormat12Table()
254 const std::vector<uint16_t>& ranges) { in buildSingleFormat4Cmap() argument
256 builder.appendTable(platformId, encodingId, buildCmapFormat4Table(ranges)); in buildSingleFormat4Cmap()
261 const std::vector<uint32_t>& ranges) { in buildSingleFormat12Cmap() argument
263 builder.appendTable(platformId, encodingId, buildCmapFormat12Table(ranges)); in buildSingleFormat12Cmap()