Lines Matching refs:glyph_id
51 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value()
53 if (unlikely (glyph_id >= num_glyphs)) return nullptr; in get_value()
54 return &arrayZ[glyph_id]; in get_value()
109 const T* get_value (hb_codepoint_t glyph_id) const in get_value()
111 const LookupSegmentSingle<T> *v = segments.bsearch (glyph_id); in get_value()
141 const T* get_value (hb_codepoint_t glyph_id, const void *base) const in get_value()
143 return first <= glyph_id && glyph_id <= last ? &(base+valuesZ)[glyph_id - first] : nullptr; in get_value()
180 const T* get_value (hb_codepoint_t glyph_id) const in get_value()
182 const LookupSegmentArray<T> *v = segments.bsearch (glyph_id); in get_value()
183 return v ? v->get_value (glyph_id, this) : nullptr; in get_value()
237 const T* get_value (hb_codepoint_t glyph_id) const in get_value()
239 const LookupSingle<T> *v = entries.bsearch (glyph_id); in get_value()
268 const T* get_value (hb_codepoint_t glyph_id) const in get_value()
270 return firstGlyph <= glyph_id && glyph_id - firstGlyph < glyphCount ? in get_value()
271 &valueArrayZ[glyph_id - firstGlyph] : nullptr; in get_value()
303 const typename T::type get_value_or_null (hb_codepoint_t glyph_id) const in get_value_or_null()
305 if (!(firstGlyph <= glyph_id && glyph_id - firstGlyph < glyphCount)) in get_value_or_null()
308 const HBUINT8 *p = &valueArrayZ[(glyph_id - firstGlyph) * valueSize]; in get_value_or_null()
342 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value()
345 case 0: return u.format0.get_value (glyph_id, num_glyphs); in get_value()
346 case 2: return u.format2.get_value (glyph_id); in get_value()
347 case 4: return u.format4.get_value (glyph_id); in get_value()
348 case 6: return u.format6.get_value (glyph_id); in get_value()
349 case 8: return u.format8.get_value (glyph_id); in get_value()
354 const typename T::type get_value_or_null (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value_or_null()
358 case 10: return u.format10.get_value_or_null (glyph_id); in get_value_or_null()
360 const T *v = get_value (glyph_id, num_glyphs); in get_value_or_null()
365 typename T::type get_class (hb_codepoint_t glyph_id, in get_class()
369 const T *v = get_value (glyph_id, num_glyphs); in get_class()
501 unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_class()
503 if (unlikely (glyph_id == DELETED_GLYPH)) return CLASS_DELETED_GLYPH; in get_class()
504 return (this+classTable).get_class (glyph_id, num_glyphs, 1); in get_class()
644 unsigned int get_class (hb_codepoint_t glyph_id, unsigned int outOfRange) const in get_class()
646 unsigned int i = glyph_id - firstGlyph; in get_class()
649 unsigned int get_class (hb_codepoint_t glyph_id, in get_class()
653 return get_class (glyph_id, outOfRange); in get_class()