Home
last modified time | relevance | path

Searched refs:as_array (Results 1 – 21 of 21) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-vector.hh105 bool operator == (const hb_vector_t &o) const { return as_array () == o.as_array (); } in operator ==()
107 uint32_t hash () const { return as_array ().hash (); } in hash()
134 hb_array_t< Type> as_array () { return hb_array (arrayZ, length); } in as_array() function
135 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, length); } in as_array() function
140 iter_t iter () const { return as_array (); } in iter()
141 writer_t writer () { return as_array (); } in writer()
146 { return as_array ().sub_array (start_offset, count); } in sub_array()
148 { return as_array ().sub_array (start_offset, count); } in sub_array()
150 { return as_array ().sub_array (start_offset, count); } in sub_array()
152 { return as_array ().sub_array (start_offset, count); } in sub_array()
[all …]
Dhb-open-type.hh422 hb_array_t<Type> as_array (unsigned int len) in as_array() function
424 hb_array_t<const Type> as_array (unsigned int len) const in as_array() function
426 operator hb_array_t< Type> () { return as_array (); } in operator hb_array_t<Type>()
427 operator hb_array_t<const Type> () const { return as_array (); } in operator hb_array_t<const Type>()
431 { return *as_array (len).lsearch (x, &not_found); } in lsearch()
434 { return *as_array (len).lsearch (x, &not_found); } in lsearch()
437 { as_array (len).qsort (start, end); } in qsort()
463 if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); in copy()
527 hb_sorted_array_t<Type> as_array (unsigned int len) in as_array() function
529 hb_sorted_array_t<const Type> as_array (unsigned int len) const in as_array() function
[all …]
Dhb-ot-color-cpal-table.hh57 (base+paletteFlagsZ).as_array (palette_count)[palette_index]; in get_palette_flags()
65 return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; in get_palette_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
Dhb-ot-kern-table.hh49 hb_array_t<const FWORD> kernValue = kernValueZ.as_array (kernValueCount); in get_kerning()
50 … HBUINT8> leftClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (kernValue).as_array (glyphCount); in get_kerning()
51 …HBUINT8> rightClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (leftClass).as_array (glyphCount); in get_kerning()
52 …T8> kernIndex = StructAfter<const UnsizedArrayOf<HBUINT8>> (rightClass).as_array (leftClassCount *… in get_kerning()
Dhb-ot-hdmx-table.hh63 | hb_sink (widthsZ.as_array (length)); in serialize()
141 return device_record->widthsZ.as_array (get_num_glyphs ()) [_]; in subset()
Dhb-aat-layout-feat-table.hh103 hb_array_t< const SettingName> settings_table = (base+settingTableZ).as_array (nSettings); in get_selector_infos()
167 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types()
Dhb-ot-stat-table.hh300 { return (this+designAxesOffset).as_array (designAxisCount); } in get_design_axes()
303 { return (this+offsetToAxisValueOffsets).as_array (axisValueCount); } in get_axis_value_offsets()
Dhb-ot-var-gvar-table.hh590 …scalar = iterator.current_tuple->calculate_scalar (coords, coord_count, shared_tuples.as_array ()); in apply_deltas_to_points()
666 … deltas[i].x = infer_delta<x_getter> (orig_points.as_array (), deltas.as_array (), i, prev, next); in apply_deltas_to_points()
667 … deltas[i].y = infer_delta<y_getter> (orig_points.as_array (), deltas.as_array (), i, prev, next); in apply_deltas_to_points()
Dhb-ot-color-colr-table.hh103 hb_array_t<const LayerRecord> all_layers = (this+layersZ).as_array (numLayers); in get_glyph_layers()
Dhb-ot-vorg-table.hh97 + vertYOrigins.as_array () in subset()
Dhb-aat-layout-trak-table.hh53 { return (base+valuesZ).as_array (table_size)[index]; } in get_value()
Dhb-ot-layout-gsubgpos.hh1307 (inputZ.as_array ((inputCount ? inputCount - 1 : 0))); in closure()
1318 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in collect_glyphs()
1329 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in would_apply()
1341 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in apply()
1687 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in closure()
1702 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in collect_glyphs()
1716 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in would_apply()
1735 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in apply()
1759 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in sanitize()
Dhb-ot-cmap-table.hh706 for (const UnicodeValueRange& _ : as_array ()) in copy()
781 + as_array () in closure_glyphs()
797 + as_array () in copy()
1422 return encodingRecord.as_array ().bsearch (key); in find_encodingrec()
Dtest-iter.cc179 pa->as_array (); in main()
Dhb-ot-glyf-table.hh857 …r->apply_deltas_to_points (gid, coords, coord_count, points.as_array (), end_points.as_array ())))… in get_points_var()
861 all_points.extend (points.as_array ()); in get_points_var()
Dhb-ot-name-table.hh211 + nameRecordZ.as_array (count) in subset()
Dhb-ot-var-fvar-table.hh48 { return coordinatesZ.as_array (axis_count); } in get_coordinates()
Dhb-face.cc653 bool ret = f->serialize_single (&c, sfnt_tag, data->tables.as_array ()); in _hb_face_builder_data_reference_blob()
Dhb-open-file.hh322 { return (type_base+resourcesZ).as_array (get_resource_count ())[i]; } in get_resource_record()
Dhb-aat-layout-morx-table.hh972 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types>> (featureZ.as_array (feat… in apply()
1052 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types>> (featureZ.as_array (feat… in sanitize()
Dhb-ot-layout-gpos-table.hh568 | hb_zip (hb_repeat (values.as_array (valueFormat.get_len ()))) in subset()
654 auto values_array = values.as_array (valueCount * sub_length); in subset()