Home
last modified time | relevance | path

Searched refs:hb_array_t (Results 1 – 25 of 59) sorted by relevance

123

/external/harfbuzz_ng/src/
Dhb-array.hh48 struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&> struct
55 hb_array_t () = default; argument
56 hb_array_t (const hb_array_t&) = default;
57 ~hb_array_t () = default;
58 hb_array_t& operator= (const hb_array_t&) = default;
59 hb_array_t& operator= (hb_array_t&&) = default;
61 constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {} in hb_array_t() function
63 constexpr hb_array_t (Type (&array_)[length_]) : hb_array_t (array_, length_) {} in hb_array_t() function
67 constexpr hb_array_t (const hb_array_t<U> &o) : in hb_array_t() function
68 hb_iter_with_fallback_t<hb_array_t, Type&> (), in hb_array_t()
[all …]
Dtest-array.cc34 hb_array_t<int> a (values, 9); in test_reverse()
38 hb_array_t<int> expected (expected_values, 9); in test_reverse()
46 hb_array_t<int> a (values, 9); in test_reverse_range()
50 hb_array_t<int> expected (expected_values, 9); in test_reverse_range()
58 hb_array_t<int> a (values, 9); in test_reverse_invalid()
66 hb_array_t<int> expected (expected_values, 9); in test_reverse_invalid()
Dhb-ot-stat-table.hh103 hb_tag_t get_axis_tag (const hb_array_t<const StatAxisRecord> axis_records) const in get_axis_tag()
109 bool keep_axis_value (const hb_array_t<const StatAxisRecord> axis_records, in keep_axis_value()
119 const hb_array_t<const StatAxisRecord> axis_records) const in subset()
158 hb_tag_t get_axis_tag (const hb_array_t<const StatAxisRecord> axis_records) const in get_axis_tag()
164 bool keep_axis_value (const hb_array_t<const StatAxisRecord> axis_records, in keep_axis_value()
174 const hb_array_t<const StatAxisRecord> axis_records) const in subset()
217 hb_tag_t get_axis_tag (const hb_array_t<const StatAxisRecord> axis_records) const in get_axis_tag()
223 bool keep_axis_value (const hb_array_t<const StatAxisRecord> axis_records, in keep_axis_value()
233 const hb_array_t<const StatAxisRecord> axis_records) const in subset()
292 bool keep_axis_value (const hb_array_t<const StatAxisRecord> axis_records, in keep_axis_value()
[all …]
Dhb-subset-instancer-iup.cc37 static void _iup_contour_bound_forced_set (const hb_array_t<const contour_point_t> contour_points, in _iup_contour_bound_forced_set()
38 const hb_array_t<const int> x_deltas, in _iup_contour_bound_forced_set()
39 const hb_array_t<const int> y_deltas, in _iup_contour_bound_forced_set()
133 static bool rotate_array (const hb_array_t<const T>& org_array, in rotate_array()
177 static bool _iup_segment (const hb_array_t<const contour_point_t> contour_points, in _iup_segment()
178 const hb_array_t<const int> x_deltas, in _iup_segment()
179 const hb_array_t<const int> y_deltas, in _iup_segment()
251 static bool _can_iup_in_between (const hb_array_t<const contour_point_t> contour_points, in _can_iup_in_between()
252 const hb_array_t<const int> x_deltas, in _can_iup_in_between()
253 const hb_array_t<const int> y_deltas, in _can_iup_in_between()
[all …]
Dtest-iter.cc37 array_iter_t (hb_array_t<T> arr_) : arr (arr_) {} in array_iter_t()
48 hb_array_t<T> arr;
54 some_array_t (hb_array_t<T> arr_) : arr (arr_) {} in some_array_t()
62 hb_array_t<T> arr;
221 (void) static_cast<hb_iter_t<hb_array_t<int>, int&>&> (sa); in main()
224 test_iterable<hb_array_t<int>> (); in main()
249 hb_array_t<hb_vector_t<int>> pa; in main()
Dhb-ot-var-fvar-table.hh42 static bool axis_coord_pinned_or_within_axis_range (const hb_array_t<const F16DOT16> coords, in axis_coord_pinned_or_within_axis_range()
65 hb_array_t<const F16DOT16> get_coordinates (unsigned int axis_count) const in get_coordinates()
73 const hb_array_t<const F16DOT16> coords = get_coordinates (axis_count); in keep_instance()
97 const hb_array_t<const F16DOT16> coords = get_coordinates (axis_count); in subset()
304 hb_array_t<const AxisRecord> arr = get_axes ().sub_array (start_offset, axes_count); in get_axes_deprecated()
318 hb_array_t<const AxisRecord> arr = get_axes ().sub_array (start_offset, axes_count); in get_axis_infos()
382 hb_array_t<const F16DOT16> instanceCoords = instance->get_coordinates (axisCount) in get_instance_coords()
471 hb_array_t<const AxisRecord> get_axes () const in get_axes()
Dhb-cff2-interp-cs.hh43 hb_array_t<const blend_arg_t> blends_) in set_blends()
147 double blend_deltas (hb_array_t<const ELEM> deltas) const in blend_deltas()
220 const hb_array_t<const ELEM> blends, in process_arg_blend()
232 const hb_array_t<const ELEM> blends, in process_arg_blend()
255 const hb_array_t<const ELEM> blends = env.argStack.sub_array (start + n + (i * k), k); in process_blend()
Dhb-open-type.hh570 hb_array_t<Type> as_array (unsigned int len) in as_array()
572 hb_array_t<const Type> as_array (unsigned int len) const in as_array()
734 hb_array_t< Type> as_array () { return hb_array (arrayZ, len); } in as_array()
735 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); } in as_array()
738 typedef hb_array_t<const Type> iter_t;
739 typedef hb_array_t< Type> writer_t;
916 hb_array_t< Type> as_array () { return hb_array (arrayZ, get_length ()); } in as_array()
917 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, get_length ()); } in as_array()
920 typedef hb_array_t<const Type> iter_t;
921 typedef hb_array_t< Type> writer_t;
[all …]
Dhb-multimap.hh61 hb_array_t<const hb_codepoint_t> get (hb_codepoint_t k) const in get()
71 return hb_array_t<const hb_codepoint_t> (); in get()
Dhb-subset-cff2.cc252 hb_array_t<int> normalized_coords) : in cff2_private_blend_encoder_param_t()
269 double blend_deltas (hb_array_t<const number_t> deltas) const in blend_deltas()
288 hb_array_t<int> normalized_coords;
295 const hb_array_t<const number_t> blends, in process_arg_blend()
318 const hb_array_t<const number_t> blends = env.argStack.sub_array (start + n + (i * k), k); in process_blend()
382 hb_array_t<int> normalized_coords_) in cff2_private_dict_op_serializer_t()
420 hb_array_t<int> normalized_coords;
549 hb_array_t<int> normalized_coords) const in serialize()
Dhb-ot-var-gvar-table.hh71 const hb_array_t<const F2DOT14> shared_tuples, in create_from_glyphs_var_data()
340hb_array_t<const F2DOT14> shared_tuples = (this+sharedTuples).as_array ((unsigned) sharedTupleCoun… in decompile_glyph_variations()
380 hb_array_t<const char> shared_tuples = glyph_vars.compiled_shared_tuples.as_array ().copy (c); in serialize()
569hb_array_t<const F2DOT14> shared_tuples = (table+table->sharedTuples).as_array (table->sharedTuple… in accelerator_t()
575 hb_array_t<const F2DOT14> tuple = shared_tuples.sub_array (axis_count * i, axis_count); in accelerator_t()
600 static float infer_delta (const hb_array_t<contour_point_t> points, in infer_delta()
601 const hb_array_t<contour_point_t> deltas, in infer_delta()
628 hb_array_t<const int> coords, in apply_deltas_to_points()
629 const hb_array_t<contour_point_t> points, in apply_deltas_to_points()
654hb_array_t<const F2DOT14> shared_tuples = (table+table->sharedTuples).as_array (table->sharedTuple… in apply_deltas_to_points()
[all …]
Dhb-vector.hh44 …using array_t = typename std::conditional<sorted, hb_sorted_array_t<Type>, hb_array_t<Type>>::type;
45 …using c_array_t = typename std::conditional<sorted, hb_sorted_array_t<const Type>, hb_array_t<cons…
306 hb_is_same (T, hb_array_t <typename T::item_t>))>
317 copy_array (hb_array_t<const Type> other) in copy_array()
331 copy_array (hb_array_t<const Type> other) in copy_array()
346 copy_array (hb_array_t<const Type> other) in copy_array()
Dhb-ot-var-common.hh50 const hb_array_t<const F2DOT14> shared_tuples, in unpack_axis_tuples()
101 double calculate_scalar (hb_array_t<const int> coords, unsigned int coord_count, in calculate_scalar()
102 const hb_array_t<const F2DOT14> shared_tuples, in calculate_scalar()
195 hb_array_t<const F2DOT14> get_all_tuples (unsigned axis_count) const in get_all_tuples()
197 hb_array_t<const F2DOT14> get_peak_tuple (unsigned axis_count) const in get_peak_tuple()
199 hb_array_t<const F2DOT14> get_start_tuple (unsigned axis_count) const in get_start_tuple()
201 hb_array_t<const F2DOT14> get_end_tuple (unsigned axis_count) const in get_end_tuple()
412 hb_array_t<F2DOT14> coords (p, end - p); in compile_tuple_var_header()
444 unsigned encode_peak_coords (hb_array_t<F2DOT14> peak_coords, in encode_peak_coords()
470 unsigned encode_interm_coords (hb_array_t<F2DOT14> coords, in encode_interm_coords()
[all …]
Dhb-ot-kern-table.hh49 hb_array_t<const FWORD> kernValue = kernValueZ.as_array (kernValueCount); in get_kerning()
50hb_array_t<const HBUINT8> leftClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (kernValue).as_ar… in get_kerning()
51hb_array_t<const HBUINT8> rightClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (leftClass).as_a… in get_kerning()
52hb_array_t<const HBUINT8> kernIndex = StructAfter<const UnsizedArrayOf<HBUINT8>> (rightClass).as_a… in get_kerning()
Dhb-aat-layout-trak-table.hh85 hb_array_t<const F16DOT16> size_table ((base+sizeTable).arrayZ, sizes); in interpolate_at()
123 hb_array_t<const F16DOT16> size_table ((base+sizeTable).arrayZ, sizes); in get_tracking()
Dhb-set-digest.hh118 void add_array (const hb_array_t<const T>& arr) { add_array (&arr, arr.len ()); } in add_array()
178 void add_array (const hb_array_t<const T>& arr) { add_array (&arr, arr.len ()); } in add_array()
/external/harfbuzz_ng/src/OT/Layout/GSUB/
DLigatureSubst.hh42 hb_array_t<const unsigned int> ligature_per_first_glyph_count_list, in serialize()
43 hb_array_t<const HBGlyphID16> ligatures_list, in serialize()
44 hb_array_t<const unsigned int> component_count_list, in serialize()
45hb_array_t<const HBGlyphID16> component_list /* Starting from second for each ligature */) in serialize()
DSubstLookup.hh143 hb_array_t<const unsigned int> alternate_len_list, in serialize_alternate()
144 hb_array_t<const HBGlyphID16> alternate_glyphs_list) in serialize_alternate()
165 hb_array_t<const unsigned int> ligature_per_first_glyph_count_list, in serialize_ligature()
166 hb_array_t<const HBGlyphID16> ligatures_list, in serialize_ligature()
167 hb_array_t<const unsigned int> component_count_list, in serialize_ligature()
168hb_array_t<const HBGlyphID16> component_list /* Starting from second for each ligature */) in serialize_ligature()
DLigatureSubstFormat1.hh94 hb_array_t<const unsigned int> ligature_per_first_glyph_count_list, in serialize()
95 hb_array_t<const HBGlyphID16> ligatures_list, in serialize()
96 hb_array_t<const unsigned int> component_count_list, in serialize()
97hb_array_t<const HBGlyphID16> component_list /* Starting from second for each ligature */) in serialize()
DAlternateSubst.hh41 hb_array_t<const unsigned int> alternate_len_list, in serialize()
42 hb_array_t<const HBGlyphID16> alternate_glyphs_list) in serialize()
DLigatureSet.hh146 hb_array_t<const HBGlyphID16> ligatures, in serialize()
147 hb_array_t<const unsigned int> component_count_list, in serialize()
148hb_array_t<const HBGlyphID16> &component_list /* Starting from second for each ligature */) in serialize()
DAlternateSubstFormat1.hh84 hb_array_t<const unsigned int> alternate_len_list, in serialize()
85 hb_array_t<const HBGlyphID16> alternate_glyphs_list) in serialize()
/external/harfbuzz_ng/src/OT/Color/CPAL/
DCPAL.hh91 const hb_array_t<const NameID> colorLabels = (base+colorLabelsZ).as_array (color_count); in collect_name_ids()
118 const hb_array_t<const NameID> colorLabels = (base+colorLabelsZ).as_array (color_count); in serialize()
201 hb_array_t<const BGRAColor> all_colors ((this+colorRecordsZ).arrayZ, numColorRecords); in get_palette_colors()
202 hb_array_t<const BGRAColor> palette_colors = all_colors.sub_array (start_index, in get_palette_colors()
233 const hb_array_t<const HBUINT16> &color_record_indices, in serialize()
234 const hb_array_t<const BGRAColor> &color_records, in serialize()
296 … const hb_array_t<const HBUINT16> colorRecordIndices = colorRecordIndicesZ.as_array (numPalettes); in subset()
309 … const hb_array_t<const BGRAColor> color_records = (this+colorRecordsZ).as_array (numColorRecords); in subset()
/external/harfbuzz_ng/src/OT/Var/VARC/
Dcoord-setter.hh14 coord_setter_t (hb_array_t<const int> coords) : in coord_setter_t()
26 hb_array_t<int> get_coords () in get_coords()
DVARC.hh48 hb_array_t<const int> coords,
62 hb_array_t<const int> coords, in get_path_at()
92 hb_array_t<const int> coords, in get_path_at()

123