Lines Matching refs:index
236 void set_offset_at (unsigned int index, unsigned int offset)
238 HBUINT8 *p = offsets + offSize * index + offSize;
248 unsigned int offset_at (unsigned int index) const
250 assert (index <= count);
251 const HBUINT8 *p = offsets + offSize * index;
259 unsigned int length_at (unsigned int index) const
261 if (unlikely ((offset_at (index + 1) < offset_at (index)) ||
262 (offset_at (index + 1) > offset_at (count))))
264 return offset_at (index + 1) - offset_at (index);
272 byte_str_t operator [] (unsigned int index) const
274 if (unlikely (index >= count)) return Null (byte_str_t);
275 return byte_str_t (data_base () + offset_at (index) - 1, length_at (index));
320 const byte_str_t operator [] (unsigned int index) const
322 if (likely (index < CFFIndex<COUNT>::count))
323 return byte_str_t (CFFIndex<COUNT>::data_base () + CFFIndex<COUNT>::offset_at (index) - 1, CFFIndex<COUNT>::length_at (index));