/external/harfbuzz_ng/src/ |
D | hb-array.hh | 45 hb_array_t () : arrayZ (nullptr), length (0), backwards_length (0) {} in hb_array_t() 46 …hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_), backwards_len… in hb_array_t() 48 hb_array_t (Type (&array_)[length_]) : arrayZ (array_), length (length_), backwards_length (0) {} in hb_array_t() 54 arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {} in hb_array_t() 58 { arrayZ = o.arrayZ; length = o.length; backwards_length = o.backwards_length; return *this; } in operator =() 68 return arrayZ[i]; in __item_at__() 76 arrayZ += n; in __forward__() 84 arrayZ -= n; in __rewind__() 93 { return arrayZ != o.arrayZ; } in operator !=() 97 Type * operator & () const { return arrayZ; } in operator &() [all …]
|
D | hb-vector.hh | 52 arrayZ = o.arrayZ; in hb_vector_t() 62 Type *arrayZ; member 67 arrayZ = nullptr; in init() 72 free (arrayZ); in fini() 79 arrayZ[i].fini (); in fini_deep() 97 arrayZ = o.arrayZ; in operator =() 103 { return hb_bytes_t ((const char *) arrayZ, length * item_size); } in as_bytes() 114 return arrayZ[i]; in operator []() 121 return arrayZ[i]; in operator []() 134 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 arrayZ[i-1].toCoord + in map() [all …]
|
D | hb-open-type.hh | 405 const Type *p = &arrayZ[i]; in operator []() 406 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []() 412 Type *p = &arrayZ[i]; in operator []() 413 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []() 420 template <typename T> operator T * () { return arrayZ; } in operator T*() 421 template <typename T> operator const T * () const { return arrayZ; } in operator const T*() 423 { return hb_array (arrayZ, len); } in as_array() 425 { return hb_array (arrayZ, len); } in as_array() 455 arrayZ[i] = *items; in serialize() 474 if (unlikely (!c->dispatch (arrayZ[i], hb_forward<Ts> (ds)...))) in sanitize() [all …]
|
D | hb-pool.hh | 86 for (unsigned i = 0; i < ARRAY_LENGTH (arrayZ) - 1; i++) in thread() 87 * (T**) &arrayZ[i] = &arrayZ[i + 1]; in thread() 89 * (T**) &arrayZ[ARRAY_LENGTH (arrayZ) - 1] = nullptr; in thread() 91 return arrayZ; in thread() 94 T arrayZ[ChunkLen]; member
|
D | hb-ot-layout-gsubgpos.hh | 1300 inputCount, inputZ.arrayZ, in intersects() 1309 inputCount, inputZ.arrayZ, in closure() 1310 lookupCount, lookupRecord.arrayZ, in closure() 1320 inputCount, inputZ.arrayZ, in collect_glyphs() 1321 lookupCount, lookupRecord.arrayZ, in collect_glyphs() 1331 inputCount, inputZ.arrayZ, in would_apply() 1332 lookupCount, lookupRecord.arrayZ, in would_apply() 1342 …turn_trace (context_apply_lookup (c, inputCount, inputZ.arrayZ, lookupCount, lookupRecord.arrayZ, … in apply() 1351 c->check_range (inputZ.arrayZ, in sanitize() 1678 glyphCount, (const HBUINT16 *) (coverageZ.arrayZ + 1), in intersects() [all …]
|
D | hb-aat-layout-common.hh | 54 return &arrayZ[glyph_id]; in get_value() 60 return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); in sanitize() 65 return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); in sanitize() 71 arrayZ; /* Array of lookup values, indexed by glyph index. */ member 508 { return (this+entryTable).arrayZ; } in get_entries() 515 const HBUSHORT *states = (this+stateArrayTable).arrayZ; in get_entry() 516 const Entry<Extra> *entries = (this+entryTable).arrayZ; in get_entry() 532 const HBUSHORT *states = (this+stateArrayTable).arrayZ; in sanitize() 533 const Entry<Extra> *entries = (this+entryTable).arrayZ; in sanitize() 647 return i >= classArray.len ? outOfRange : classArray.arrayZ[i]; in get_class()
|
D | hb-ot-var-mvar-table.hh | 71 c->check_range (valuesZ.arrayZ, in sanitize() 80 record = (VariationValueRecord *) hb_bsearch (&tag, valuesZ.arrayZ, in get_var()
|
D | hb-ot-name-table.hh | 222 const void *string_pool = (this+stringOffset).arrayZ; in sanitize_records() 231 c->check_array (nameRecordZ.arrayZ, count) && in sanitize() 244 const hb_array_t<const NameRecord> all_names (this->table->nameRecordZ.arrayZ, in init() 306 const hb_array_t<const NameRecord> all_names (table->nameRecordZ.arrayZ, table->count); in get_name()
|
D | hb-ot-math-table.hh | 237 if (!mathValueRecordsZ.arrayZ[i].sanitize (c, this)) return_trace (false); in sanitize_math_value_records() 245 c->check_array (mathValueRecordsZ.arrayZ, 2 * heightCount + 1) && in sanitize() 251 const MathValueRecord* correctionHeight = mathValueRecordsZ.arrayZ; in get_value() 252 const MathValueRecord* kernValue = mathValueRecordsZ.arrayZ + heightCount; in get_value() 587 if (!glyphConstruction.arrayZ[i].sanitize (c, this)) return_trace (false); in sanitize_offsets() 597 c->check_array (glyphConstruction.arrayZ, vertGlyphCount + horizGlyphCount) && in sanitize()
|
D | hb-ot-var-hvar-table.hh | 42 c->check_range (mapDataZ.arrayZ, in sanitize() 60 const HBUINT8 *p = mapDataZ.arrayZ + w * v; in map()
|
D | hb-open-file.hh | 99 const TableRecord *sub_tables = tables.arrayZ + start_offset; in get_table_tags() 141 TableRecord &rec = tables.arrayZ[i]; in serialize() 180 TableRecord &rec = tables.arrayZ[i]; in serialize() 287 { return CastR<OpenTypeFontFace> ((data_base+offset).arrayZ); } in get_face()
|
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-ot-layout-gsub-table.hh | 307 { c->output->add_array (substitute.arrayZ, substitute.len); } in closure() 310 { c->output->add_array (substitute.arrayZ, substitute.len); } in collect_glyphs() 321 c->replace_glyph (substitute.arrayZ[0]); in apply() 337 c->output_glyph_for_component (substitute.arrayZ[i], klass); in apply() 524 { c->output->add_array (alternates.arrayZ, alternates.len); } in closure() 527 { c->output->add_array (alternates.arrayZ, alternates.len); } in collect_glyphs() 742 c->input->add_array (component.arrayZ, component.get_length ()); in collect_glyphs() 1177 c->output->add_array (substitute.arrayZ, substitute.len); in collect_glyphs() 1199 backtrack.len, (HBUINT16 *) backtrack.arrayZ, in apply() 1203 lookahead.len, (HBUINT16 *) lookahead.arrayZ, in apply()
|
D | hb-ot-post-table.hh | 134 strncpy (buf, s.arrayZ, len); in get_glyph_name() 225 unsigned int index = glyphNameIndex->arrayZ[glyph]; in find_glyph_name()
|
D | hb-aat-ltag-table.hh | 68 return hb_language_from_string ((const char *) (this+range.tag).arrayZ, in get_language()
|
D | hb-aat-layout-morx-table.hh | 258 replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; in transition() 283 replacement = &subs_old[Types::wordOffsetToIndex (offset, table, subs_old.arrayZ)]; in transition() 486 action_idx = Types::offsetToIndex (action_idx, table, ligAction.arrayZ); in transition() 512 component_idx = Types::wordOffsetToIndex (component_idx, table, component.arrayZ); in transition() 522 ligature_idx = Types::offsetToIndex (ligature_idx, table, ligature.arrayZ); in transition() 1049 if (!c->check_array (featureZ.arrayZ, featureCount)) in sanitize()
|
D | hb-serialize.hh | 435 { return reinterpret_cast<Type *> ((char *) copy_bytes ().arrayZ); } in copy() 439 return hb_blob_create (b.arrayZ, b.length, in copy_blob() 441 (char *) b.arrayZ, free); in copy_blob()
|
D | hb-uniscribe.cc | 706 active_features.remove (feature - active_features.arrayZ); in _hb_uniscribe_shape() 897 range_char_counts.arrayZ, in _hb_uniscribe_shape() 898 range_properties.arrayZ, in _hb_uniscribe_shape() 938 range_char_counts.arrayZ, in _hb_uniscribe_shape() 939 range_properties.arrayZ, in _hb_uniscribe_shape()
|
D | hb-ot-var-fvar-table.hh | 54 c->check_array (coordinatesZ.arrayZ, axis_count)); in sanitize() 292 coords[i] = instanceCoords.arrayZ[i].to_float (); in get_instance_coords()
|
D | hb-aat-layout-kerx-table.hh | 257 kern_idx = Types::byteOffsetToIndex (kern_idx, &table->machine, kernAction.arrayZ); in transition() 393 const UnsizedArrayOf<FWORD> &arrayZ = this+array; in get_kerning() local 395 kern_idx = Types::offsetToIndex (kern_idx, this, arrayZ.arrayZ); in get_kerning() 396 const FWORD *v = &arrayZ[kern_idx]; in get_kerning()
|
D | hb-ot-layout-common.hh | 307 output->add_array (arrayZ, len); in add_indexes_to() 960 { return glyphs->add_sorted_array (glyphArray.arrayZ, glyphArray.len); } in add_coverage() 1879 const VarRegionAxis *axes = axesZ.arrayZ + (region_index * axisCount); in evaluate() 1957 float scalar = regions.evaluate (regionIndices.arrayZ[i], coords, coord_count); in get_delta() 1963 float scalar = regions.evaluate (regionIndices.arrayZ[i], coords, coord_count); in get_delta() 1977 scalars[i] = regions.evaluate (regionIndices.arrayZ[i], coords, coord_count); in get_scalars() 2276 if (!(this+conditions.arrayZ[i]).evaluate (coords, coord_len)) in evaluate() 2317 const FeatureTableSubstitutionRecord &record = substitutions.arrayZ[i]; in find_substitute() 2370 const FeatureVariationRecord &record = varRecords.arrayZ[i]; in find_index()
|
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()
|
D | hb-ot-color-cpal-table.hh | 140 hb_array_t<const BGRAColor> all_colors ((this+colorRecordsZ).arrayZ, numColorRecords); in get_palette_colors()
|
D | hb-ot-cmap-table.hh | 283 endCount = subtable->values.arrayZ; in init() 684 hb_codepoint_t first = arrayZ[i].startUnicodeValue; in collect_unicodes() 685 hb_codepoint_t last = hb_min ((hb_codepoint_t) (first + arrayZ[i].additionalCount), in collect_unicodes() 775 out->add (arrayZ[i].glyphID); in collect_unicodes() 925 out->add (record.arrayZ[i].varSelector); in collect_variation_selectors()
|