Lines Matching refs:segcount
155 unsigned segcount) in serialize_idDelta_array()
162 if ((char *)idDelta - (char *)startCode != (int) segcount * (int) HBINT16::static_size) in serialize_idDelta_array()
207 unsigned segcount) in serialize_rangeoffset_glyid()
209 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid()
211 …if (unlikely ((char *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_si… in serialize_rangeoffset_glyid()
213 + hb_range (segcount) in serialize_rangeoffset_glyid()
249 unsigned segcount = (c->length () - min_size) / HBUINT16::static_size; in serialize() local
259 HBINT16 *idDelta = serialize_idDelta_array (c, it, endCode, startCode, segcount); in serialize()
262 …UINT16 *idRangeOffset = serialize_rangeoffset_glyid (c, it, endCode, startCode, idDelta, segcount); in serialize()
266 this->segCountX2 = segcount * 2; in serialize()
267 this->entrySelector = hb_max (1u, hb_bit_storage (segcount)) - 1; in serialize()
269 this->rangeShift = segcount * 2 > this->searchRange in serialize()
270 ? 2 * segcount - this->searchRange in serialize()