Home
last modified time | relevance | path

Searched refs:StructAtOffset (Results 1 – 18 of 18) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh209 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (glyph_data, 0); in get_iterator()
292 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (glyph, 0); in remove_padding()
305 uint16_t nCoordinates = (uint16_t) StructAtOffset<HBUINT16> (glyph - 2, 0) + 1; in remove_padding()
306 uint16_t nInstructions = (uint16_t) StructAtOffset<HBUINT16> (glyph, 0); in remove_padding()
395 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (glyf_table, start_offset); in get_instruction_offsets()
428 …const HBUINT16 &instruction_length = StructAtOffset<HBUINT16> (glyf_table, instruction_length_offs… in get_instruction_offsets()
452 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (glyf_table, start_offset); in get_extents()
Dhb-ot-font.cc115 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ot_get_glyph_h_advances()
116 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_ot_get_glyph_h_advances()
135 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ot_get_glyph_v_advances()
136 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_ot_get_glyph_v_advances()
Dhb-open-type.hh261 return StructAtOffset<const Type> (base, *this); in operator ()()
266 return StructAtOffset<Type> (base, *this); in operator ()()
301 StructAtOffset<Type> (base, *this).sanitize (c) || in sanitize()
310 StructAtOffset<Type> (base, *this).sanitize (c, d1) || in sanitize()
319 StructAtOffset<Type> (base, *this).sanitize (c, d1, d2) || in sanitize()
328 StructAtOffset<Type> (base, *this).sanitize (c, d1, d2, d3) || in sanitize()
903 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator()
915 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
921 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
940 (void) (false && StructAtOffset<Type> (&bytesZ, 0).sanitize (c)); in sanitize()
Dhb-ot-color-cbdt-table.hh426 StructAtOffset<GlyphBitmapDataFormat17> (this->cbdt, image_offset); in get_extents()
434 StructAtOffset<GlyphBitmapDataFormat18> (this->cbdt, image_offset); in get_extents()
479 StructAtOffset<GlyphBitmapDataFormat17> (this->cbdt, image_offset); in reference_png()
488 StructAtOffset<GlyphBitmapDataFormat18> (this->cbdt, image_offset); in reference_png()
497 StructAtOffset<GlyphBitmapDataFormat19> (this->cbdt, image_offset); in reference_png()
Dhb-font.cc144 first_unicode = &StructAtOffset<hb_codepoint_t> (first_unicode, unicode_stride); in hb_font_get_nominal_glyphs_default()
145 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_font_get_nominal_glyphs_default()
241 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_font_get_glyph_h_advances_default()
242 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
253 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
273 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_font_get_glyph_v_advances_default()
274 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_v_advances_default()
285 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_v_advances_default()
Dhb-aat-layout-ankr-table.hh71 const GlyphAnchors &anchors = StructAtOffset<GlyphAnchors> (&(this+anchorData), *offset); in get_anchor()
Dhb-machinery.hh62 static inline const Type& StructAtOffset(const void *P, unsigned int offset) in StructAtOffset() function
65 static inline Type& StructAtOffset(void *P, unsigned int offset) in StructAtOffset() function
72 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
75 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
Dhb-ft.cc231 first_unicode = &StructAtOffset<hb_codepoint_t> (first_unicode, unicode_stride); in hb_ft_get_nominal_glyphs()
232 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ft_get_nominal_glyphs()
295 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in hb_ft_get_glyph_h_advances()
296 first_advance = &StructAtOffset<hb_position_t> (first_advance, advance_stride); in hb_ft_get_glyph_h_advances()
Dhb-ot-cff1-table.hh1021 topDictIndex = &StructAtOffset<CFF1TopDictIndex> (nameIndex, nameIndex->get_size ()); in init()
1059 stringIndex = &StructAtOffset<CFF1StringIndex> (topDictIndex, topDictIndex->get_size ()); in init()
1063 globalSubrs = &StructAtOffset<CFF1Subrs> (stringIndex, stringIndex->get_size ()); in init()
1095 …const ByteStr privDictStr (StructAtOffset<UnsizedByteStr> (cff, font->privateDictInfo.offset), fon… in init()
1113 …const ByteStr privDictStr (StructAtOffset<UnsizedByteStr> (cff, font->privateDictInfo.offset), fon… in init()
Dhb-ot-hdmx-table.hh132 return StructAtOffset<DeviceRecord> (&this->firstDeviceRecord, i * sizeDeviceRecord); in operator []()
Dhb-aat-layout-just-table.hh227 const ActionSubrecord& subrecord = StructAtOffset<ActionSubrecord> (this, offset); in sanitize()
Dhb-aat-layout-kerx-table.hh55 const FWORD *pv = &StructAtOffset<FWORD> (base, offset); in kerxTupleKern()
651 const FWORD32 *v = &StructAtOffset<FWORD32> (&(this+t.array), offset * sizeof (FWORD32)); in get_kerning()
661 const FWORD *v = &StructAtOffset<FWORD> (&(this+t.array), offset * sizeof (FWORD)); in get_kerning()
Dhb-ot-var-fvar-table.hh284 return &StructAtOffset<InstanceRecord> (&StructAfter<InstanceRecord> (get_axes ()), in get_instance()
Dhb-ot-cmap-table.hh1057 first_unicode = &StructAtOffset<hb_codepoint_t> (first_unicode, unicode_stride); in get_nominal_glyphs()
1058 first_glyph = &StructAtOffset<hb_codepoint_t> (first_glyph, glyph_stride); in get_nominal_glyphs()
Dhb-ot-cff2-table.hh449 globalSubrs = &StructAtOffset<CFF2Subrs> (cff2, cff2->topDict + cff2->topDictSize); in init()
Dhb-ot-layout-gpos-table.hh637 record = &StructAtOffset<const PairValueRecord> (record, record_size); in intersects()
674 …const PairValueRecord *record = &StructAtOffset<PairValueRecord> (&firstPairValueRecord, record_si… in apply()
Dhb-uniscribe.cc395 OT::name &name = StructAtOffset<OT::name> (new_sfnt_data, name_table_offset); in _hb_rename_font()
Dhb-ot-layout-gsubgpos.hh2547 return StructAtOffset<typename T::SubTable> (this, offset); in get_subtable()