| /third_party/skia/third_party/externals/harfbuzz/src/ |
| D | hb-array.hh | 60 constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {} in hb_array_t() 68 arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {} in hb_array_t() 72 { arrayZ = o.arrayZ; length = o.length; backwards_length = o.backwards_length; return *this; } in operator =() 82 return arrayZ[i]; in __item_at__() 90 arrayZ += n; in __forward__() 98 arrayZ -= n; in __rewind__() 107 { return arrayZ != o.arrayZ; } in operator !=() 111 Type * operator & () const { return arrayZ; } in operator &() 112 operator hb_array_t<const Type> () { return hb_array_t<const Type> (arrayZ, length); } in operator hb_array_t<const Type>() 113 template <typename T> operator T * () const { return arrayZ; } in operator T*() [all …]
|
| D | hb-vector.hh | 65 arrayZ = o.arrayZ; in hb_vector_t() 75 Type *arrayZ = nullptr; member 80 arrayZ = nullptr; in init() 85 hb_free (arrayZ); in fini() 92 arrayZ[i].fini (); in fini_deep() 107 hb_swap (a.arrayZ, b.arrayZ); in swap() 124 { return hb_bytes_t ((const char *) arrayZ, length * item_size); } in as_bytes() 135 return arrayZ[i]; in operator []() 142 return arrayZ[i]; in operator []() 155 hb_array_t< Type> as_array () { return hb_array (arrayZ, length); } in as_array() [all …]
|
| D | hb-ot-var-avar-table.hh | 75 return value - arrayZ[0].fromCoord + arrayZ[0].toCoord; in map() 78 if (value <= arrayZ[0].fromCoord) in map() 79 return value - arrayZ[0].fromCoord + arrayZ[0].toCoord; in map() 83 for (i = 1; i < count && value > arrayZ[i].fromCoord; i++) in map() 86 if (value >= arrayZ[i].fromCoord) in map() 87 return value - arrayZ[i].fromCoord + arrayZ[i].toCoord; in map() 89 if (unlikely (arrayZ[i-1].fromCoord == arrayZ[i].fromCoord)) in map() 90 return arrayZ[i-1].toCoord; in map() 92 int denom = arrayZ[i].fromCoord - arrayZ[i-1].fromCoord; in map() 93 return roundf (arrayZ[i-1].toCoord + ((float) (arrayZ[i].toCoord - arrayZ[i-1].toCoord) * in map() [all …]
|
| D | hb-open-type.hh | 451 const Type *p = &arrayZ[i]; in operator []() 452 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []() 458 Type *p = &arrayZ[i]; in operator []() 459 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []() 466 template <typename T> operator T * () { return arrayZ; } in operator T*() 467 template <typename T> operator const T * () const { return arrayZ; } in operator const T*() 469 { return hb_array (arrayZ, len); } in as_array() 471 { return hb_array (arrayZ, len); } in as_array() 504 arrayZ[i] = *items; in serialize() 523 if (unlikely (!c->dispatch (arrayZ[i], std::forward<Ts> (ds)...))) in sanitize() [all …]
|
| D | hb-pool.hh | 84 for (unsigned i = 0; i < ARRAY_LENGTH (arrayZ) - 1; i++) in thread() 85 * (T**) &arrayZ[i] = &arrayZ[i + 1]; in thread() 87 * (T**) &arrayZ[ARRAY_LENGTH (arrayZ) - 1] = nullptr; in thread() 89 return arrayZ; in thread() 92 T arrayZ[ChunkLen]; member
|
| D | hb-ot-layout-gsubgpos.hh | 1568 inputCount, inputZ.arrayZ, in intersects() 1579 inputCount, inputZ.arrayZ, in closure() 1580 lookupCount, lookupRecord.arrayZ, in closure() 1592 recurse_lookups (c, lookupCount, lookupRecord.arrayZ); in closure_lookups() 1601 inputCount, inputZ.arrayZ, in collect_glyphs() 1602 lookupCount, lookupRecord.arrayZ, in collect_glyphs() 1612 inputCount, inputZ.arrayZ, in would_apply() 1613 lookupCount, lookupRecord.arrayZ, in would_apply() 1623 …turn_trace (context_apply_lookup (c, inputCount, inputZ.arrayZ, lookupCount, lookupRecord.arrayZ, … in apply() 1669 c->check_range (inputZ.arrayZ, in sanitize() [all …]
|
| D | hb-aat-layout-common.hh | 57 return &arrayZ[glyph_id]; in get_value() 63 return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); in sanitize() 68 return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); in sanitize() 74 arrayZ; /* Array of lookup values, indexed by glyph index. */ member 511 { return (this+entryTable).arrayZ; } in get_entries() 518 const HBUSHORT *states = (this+stateArrayTable).arrayZ; in get_entry() 519 const Entry<Extra> *entries = (this+entryTable).arrayZ; in get_entry() 535 const HBUSHORT *states = (this+stateArrayTable).arrayZ; in sanitize() 536 const Entry<Extra> *entries = (this+entryTable).arrayZ; in sanitize() 650 return i >= classArray.len ? outOfRange : classArray.arrayZ[i]; in get_class()
|
| D | hb-ot-name-table.hh | 231 hb_free (records.arrayZ); in serialize() 266 const void *string_pool = (this+stringOffset).arrayZ; in sanitize_records() 275 c->check_array (nameRecordZ.arrayZ, count) && in sanitize() 288 const hb_array_t<const NameRecord> all_names (this->table->nameRecordZ.arrayZ, in init() 348 const hb_array_t<const NameRecord> all_names (table->nameRecordZ.arrayZ, table->count); in get_name()
|
| D | hb-ot-var-common.hh | 98 const HBUINT8 *p = mapDataZ.arrayZ + w * v; in map() 122 c->check_range (mapDataZ.arrayZ, in sanitize() 166 c->check_range (mapDataZ.arrayZ, in sanitize()
|
| D | hb-ot-math-table.hh | 319 if (!c->copy (mathValueRecordsZ.arrayZ[i], this)) in copy() 330 if (!mathValueRecordsZ.arrayZ[i].sanitize (c, this)) return_trace (false); in sanitize_math_value_records() 338 c->check_array (mathValueRecordsZ.arrayZ, 2 * heightCount + 1) && in sanitize() 344 const MathValueRecord* correctionHeight = mathValueRecordsZ.arrayZ; in get_value() 345 const MathValueRecord* kernValue = mathValueRecordsZ.arrayZ + heightCount; in get_value() 898 if (!glyphConstruction.arrayZ[i].sanitize (c, this)) return_trace (false); in sanitize_offsets() 908 c->check_array (glyphConstruction.arrayZ, vertGlyphCount + horizGlyphCount) && in sanitize()
|
| D | hb-aat-layout-trak-table.hh | 85 hb_array_t<const HBFixed> size_table ((base+sizeTable).arrayZ, sizes); in interpolate_at() 123 hb_array_t<const HBFixed> size_table ((base+sizeTable).arrayZ, sizes); in get_tracking()
|
| D | hb-open-file.hh | 151 TableRecord &rec = tables.arrayZ[i]; in serialize() 190 TableRecord &rec = tables.arrayZ[i]; in serialize() 297 { return * reinterpret_cast<const OpenTypeFontFace *> ((data_base+offset).arrayZ); } in get_face()
|
| D | hb-ot-post-table.hh | 149 strncpy (buf, s.arrayZ, len); in get_glyph_name() 239 unsigned int index = glyphNameIndex->arrayZ[glyph]; in find_glyph_name()
|
| D | hb-aat-layout-morx-table.hh | 261 replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; in transition() 289 replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; in transition() 497 action_idx = Types::offsetToIndex (action_idx, table, ligAction.arrayZ); in transition() 523 component_idx = Types::wordOffsetToIndex (component_idx, table, component.arrayZ); in transition() 533 ligature_idx = Types::offsetToIndex (ligature_idx, table, ligature.arrayZ); in transition() 1068 if (!c->check_array (featureZ.arrayZ, featureCount)) in sanitize()
|
| D | hb-ot-layout-gsub-table.hh | 319 { c->output->add_array (substitute.arrayZ, substitute.len); } in closure() 322 { c->output->add_array (substitute.arrayZ, substitute.len); } in collect_glyphs() 333 c->replace_glyph (substitute.arrayZ[0]); in apply() 354 c->output_glyph_for_component (substitute.arrayZ[i], klass); in apply() 545 { c->output->add_array (alternates.arrayZ, alternates.len); } in closure() 548 { c->output->add_array (alternates.arrayZ, alternates.len); } in collect_glyphs() 796 c->input->add_array (component.arrayZ, component.get_length ()); in collect_glyphs() 1269 c->output->add_array (substitute.arrayZ, substitute.len); in collect_glyphs() 1293 backtrack.len, (HBUINT16 *) backtrack.arrayZ, in apply() 1297 lookahead.len, (HBUINT16 *) lookahead.arrayZ, in apply()
|
| D | hb-aat-ltag-table.hh | 68 return hb_language_from_string ((const char *) (this+range.tag).arrayZ, in get_language()
|
| D | hb-ot-var-fvar-table.hh | 54 c->check_array (coordinatesZ.arrayZ, axis_count)); in sanitize() 268 coords[i] = instanceCoords.arrayZ[i].to_float (); in get_instance_coords()
|
| D | hb-directwrite.cc | 678 (const DWRITE_TYPOGRAPHIC_FEATURES**) range_features.arrayZ, in _hb_directwrite_shape() 679 range_char_counts.arrayZ, in _hb_directwrite_shape() 735 (const DWRITE_TYPOGRAPHIC_FEATURES**) range_features.arrayZ, in _hb_directwrite_shape() 736 range_char_counts.arrayZ, in _hb_directwrite_shape()
|
| D | hb-aat-layout-kerx-table.hh | 255 kern_idx = Types::byteOffsetToIndex (kern_idx, &table->machine, kernAction.arrayZ); in transition() 387 const UnsizedArrayOf<FWORD> &arrayZ = this+array; in get_kerning() local 389 kern_idx = Types::offsetToIndex (kern_idx, this, arrayZ.arrayZ); in get_kerning() 390 const FWORD *v = &arrayZ[kern_idx]; in get_kerning()
|
| D | hb-ot-var-mvar-table.hh | 71 c->check_range (valuesZ.arrayZ, in sanitize()
|
| D | hb-uniscribe.cc | 758 (int *) range_char_counts.arrayZ, in _hb_uniscribe_shape() 759 (TEXTRANGE_PROPERTIES**) range_properties.arrayZ, in _hb_uniscribe_shape() 799 (int *) range_char_counts.arrayZ, in _hb_uniscribe_shape() 800 (TEXTRANGE_PROPERTIES**) range_properties.arrayZ, in _hb_uniscribe_shape()
|
| D | hb-subset.cc | 152 c->serializer->reset (buf->arrayZ, buf_size); in _try_subset() 186 hb_serialize_context_t serializer (buf.arrayZ, buf_size); in _subset()
|
| D | hb-ot-cff1-table.hh | 1291 gname.name = hb_bytes_t ((const char*)ustr.arrayZ, ustr.length); in init() 1293 if (unlikely (!gname.name.arrayZ)) { fini (); return; } in init() 1318 str = byte_str.arrayZ; in get_glyph_name() 1324 str = (const char *)ubyte_str.arrayZ; in get_glyph_name() 1366 int ret = strncmp (a->name.arrayZ, b->name.arrayZ, minlen); in cmp()
|
| D | hb-serialize.hh | 617 { return reinterpret_cast<Type *> ((char *) copy_bytes ().arrayZ); } in copy() 621 return hb_blob_create (b.arrayZ, b.length, in copy_blob() 623 (char *) b.arrayZ, hb_free); in copy_blob()
|
| D | hb-ot-name.cc | 75 const typename in_utf_t::codepoint_t *src = (const typename in_utf_t::codepoint_t *) bytes.arrayZ; in hb_ot_name_convert_utf()
|