Lines Matching refs:sid
149 void get_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_codes()
152 if (sid == supps[i].glyph) in get_codes()
281 void get_supplement_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_supplement_codes()
285 suppEncData().get_codes (sid, codes); in get_supplement_codes()
341 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
343 if (sid == 0) in get_glyph()
348 if (sids[glyph-1] == sid) in get_glyph()
410 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
412 if (sid == 0) return 0; in get_glyph()
418 if ((ranges[i].first <= sid) && (sid <= ranges[i].first + ranges[i].nLeft)) in get_glyph()
419 return glyph + (sid - ranges[i].first); in get_glyph()
484 hb_codepoint_t sid = sid_ranges[i].code; in serialize() local
486 fmt0->sids[glyph++] = sid++; in serialize()
558 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
562 case 0: return u.format0.get_glyph (sid, num_glyphs); in get_glyph()
563 case 1: return u.format1.get_glyph (sid, num_glyphs); in get_glyph()
564 case 2: return u.format2.get_glyph (sid, num_glyphs); in get_glyph()
1164 hb_codepoint_t sid = lookup_standard_encoding_for_sid (code); in std_code_to_glyph() local
1165 if (unlikely (sid == CFF_UNDEF_SID)) in std_code_to_glyph()
1169 return charset->get_glyph (sid, num_glyphs); in std_code_to_glyph()
1171 && (code <= 228 /*zcaron*/)) return sid; in std_code_to_glyph()
1234 hb_codepoint_t sid = glyph_to_sid (glyph); in glyph_to_code() local
1235 if (sid == 0) return 0; in glyph_to_code()
1240 code = lookup_standard_encoding_for_code (sid); in glyph_to_code()
1243 code = lookup_expert_encoding_for_code (sid); in glyph_to_code()
1258 hb_codepoint_t sid = 0; in glyph_to_sid() local
1262 if (glyph <= 228 /*zcaron*/) sid = glyph; in glyph_to_sid()
1265 sid = lookup_expert_charset_for_sid (glyph); in glyph_to_sid()
1268 sid = lookup_expert_subset_charset_for_sid (glyph); in glyph_to_sid()
1273 return sid; in glyph_to_sid()
1302 HB_INTERNAL static hb_codepoint_t lookup_standard_encoding_for_code (hb_codepoint_t sid);
1303 HB_INTERNAL static hb_codepoint_t lookup_expert_encoding_for_code (hb_codepoint_t sid);