Lines Matching refs:codepoint
44 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
46 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
322 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
336 const HBUINT16 *found = hb_bsearch (codepoint, in get_glyph()
349 gid = codepoint + this->idDelta[i]; in get_glyph()
353 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
368 …HB_INTERNAL static bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t … in get_glyph_func()
369 { return ((const accelerator_t *) obj)->get_glyph (codepoint, glyph); } in get_glyph_func()
383 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_unicodes() local
385 hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; in collect_unicodes()
388 out->add (codepoint); in collect_unicodes()
393 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_unicodes() local
395 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in collect_unicodes()
401 out->add (codepoint); in collect_unicodes()
420 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_mapping() local
422 hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; in collect_mapping()
425 unicodes->add (codepoint); in collect_mapping()
426 mapping->set (codepoint, gid); in collect_mapping()
431 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_mapping() local
433 unsigned index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in collect_mapping()
439 unicodes->add (codepoint); in collect_mapping()
440 mapping->set (codepoint, gid); in collect_mapping()
455 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
458 return accel.get_glyph_func (&accel, codepoint, glyph); in get_glyph()
531 int cmp (hb_codepoint_t codepoint) const in cmp()
533 if (codepoint < startCharCode) return -1; in cmp()
534 if (codepoint > endCharCode) return +1; in cmp()
557 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
560 hb_codepoint_t gid = glyphIdArray[codepoint - startCharCode]; in get_glyph()
622 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
624 hb_codepoint_t gid = T::group_get_glyph (groups.bsearch (codepoint), codepoint); in get_glyph()
794 int cmp (const hb_codepoint_t &codepoint) const in cmp()
796 if (codepoint < startUnicodeValue) return -1; in cmp()
797 if (codepoint > startUnicodeValue + additionalCount) return +1; in cmp()
893 int cmp (const hb_codepoint_t &codepoint) const in cmp()
894 { return unicodeValue.cmp (codepoint); } in cmp()
977 glyph_variant_t get_glyph (hb_codepoint_t codepoint, in get_glyph()
981 if ((base+defaultUVS).bfind (codepoint)) in get_glyph()
983 const UVSMapping &nonDefault = (base+nonDefaultUVS).bsearch (codepoint); in get_glyph()
1081 glyph_variant_t get_glyph_variant (hb_codepoint_t codepoint, in get_glyph_variant()
1084 { return record.bsearch (variation_selector).get_glyph (codepoint, glyph, this); } in get_glyph_variant()
1222 bool get_glyph (hb_codepoint_t codepoint, in get_glyph()
1226 case 0: return u.format0 .get_glyph (codepoint, glyph); in get_glyph()
1227 case 4: return u.format4 .get_glyph (codepoint, glyph); in get_glyph()
1228 case 6: return u.format6 .get_glyph (codepoint, glyph); in get_glyph()
1229 case 10: return u.format10.get_glyph (codepoint, glyph); in get_glyph()
1230 case 12: return u.format12.get_glyph (codepoint, glyph); in get_glyph()
1231 case 13: return u.format13.get_glyph (codepoint, glyph); in get_glyph()
1699 hb_codepoint_t codepoint,
1704 hb_codepoint_t codepoint, in get_glyph_from()
1708 return typed_obj->get_glyph (codepoint, glyph); in get_glyph_from()
1713 hb_codepoint_t codepoint, in get_glyph_from_symbol()
1717 if (likely (typed_obj->get_glyph (codepoint, glyph))) in get_glyph_from_symbol()
1720 if (codepoint <= 0x00FFu) in get_glyph_from_symbol()
1727 return typed_obj->get_glyph (0xF000u + codepoint, glyph); in get_glyph_from_symbol()