Home
last modified time | relevance | path

Searched refs:sub_array (Results 1 – 25 of 39) sorted by relevance

12

/aosp_15_r20/external/harfbuzz_ng/src/
H A Dhb-array.hh258 …hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT *… in sub_array() function
272 hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() function
273 { return sub_array (start_offset, &seg_count); } in sub_array()
275 hb_array_t truncate (unsigned length) const { return sub_array (0, length); } in truncate()
387 …hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const in sub_array() function
388 …{ return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_coun… in sub_array()
389 hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() function
390 { return sub_array (start_offset, &seg_count); } in sub_array()
392 hb_sorted_array_t truncate (unsigned length) const { return sub_array (0, length); } in truncate()
H A Dhb-subset-instancer-iup.cc312 _can_iup_in_between (contour_points.as_array ().sub_array (j + 1, num_points), in _iup_contour_optimize_dp()
313 x_deltas.as_array ().sub_array (j + 1, num_points), in _iup_contour_optimize_dp()
314 y_deltas.as_array ().sub_array (j + 1, num_points), in _iup_contour_optimize_dp()
523 if (!_iup_contour_optimize (contour_points.as_array ().sub_array (start, len), in iup_delta_optimize()
524 x_deltas.as_array ().sub_array (start, len), in iup_delta_optimize()
525 y_deltas.as_array ().sub_array (start, len), in iup_delta_optimize()
526 opt_indices.as_array ().sub_array (start, len), in iup_delta_optimize()
H A Dhb-cff-interp-common.hh313 operator hb_ubytes_t () const { return str.sub_array (get_offset ()); } in operator hb_ubytes_t()
315 hb_ubytes_t sub_array (unsigned int offset_, unsigned int len_) const in sub_array() function
316 { return str.sub_array (offset_, len_); } in sub_array()
417 hb_array_t<const ELEM> sub_array (unsigned start, unsigned length) const in sub_array() function
418 { return hb_array_t<const ELEM> (elements).sub_array (start, length); } in sub_array()
532 auto arr = str_ref.sub_array (opStart, str_ref.get_offset () - opStart); in add_op()
H A Dhb-ot-var-common.hh62 peak_tuple = shared_tuples.sub_array (axis_count * index, axis_count).arrayZ; in unpack_axis_tuples()
118 peak_tuple = shared_tuples.sub_array (coord_count * index, coord_count).arrayZ; in calculate_scalar()
198 { return get_all_tuples (axis_count).sub_array (0, axis_count); } in get_peak_tuple()
200 { return get_all_tuples (axis_count).sub_array (has_peak () * axis_count, axis_count); } in get_start_tuple()
202 …{ return get_all_tuples (axis_count).sub_array (has_peak () * axis_count + axis_count, axis_count)… in get_end_tuple()
429 …unsigned interim_count = encode_interm_coords (coords.sub_array (peak_count), flag, axes_index_map… in compile_tuple_var_header()
478 auto start_coords_iter = coords.sub_array (0, cur_axis_count).iter (); in encode_interm_coords()
479 auto end_coords_iter = coords.sub_array (cur_axis_count).iter (); in encode_interm_coords()
558 …encoded_len += compile_deltas (compiled_deltas.as_array ().sub_array (encoded_len), rounded_deltas… in compile_deltas()
H A Dhb-aat-layout-feat-table.hh119 + settings_table.sub_array (start_offset, selectors_count) in get_selector_infos()
173 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types()
H A Dhb-ot-var-fvar-table.hh304 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()
383 .sub_array (0, coords_length); in get_instance_coords()
H A Dhb-ot-math-table.hh780 for (auto _ : hb_zip (partRecords.as_array ().sub_array (start_offset, parts_count), in get_parts()
849 … for (auto _ : hb_zip (mathGlyphVariantRecord.as_array ().sub_array (start_offset, variants_count), in get_variants()
885 const auto vert_offsets = glyph_construction_offsets.sub_array (0, vertGlyphCount); in closure_glyphs()
896 … const auto hori_offsets = glyph_construction_offsets.sub_array (vertGlyphCount, horizGlyphCount); in closure_glyphs()
H A Dhb-ot-meta-table.hh88 + table->dataMaps.as_array ().sub_array (start_offset, count) in get_entries()
H A Dhb-open-type.hh1508 … encoded_len += encode_value_run_as_zeroes (i, encoded_bytes.sub_array (encoded_len), values); in compile()
1510 encoded_len += encode_value_run_as_bytes (i, encoded_bytes.sub_array (encoded_len), values); in compile()
1512 encoded_len += encode_value_run_as_words (i, encoded_bytes.sub_array (encoded_len), values); in compile()
1514 encoded_len += encode_value_run_as_longs (i, encoded_bytes.sub_array (encoded_len), values); in compile()
H A Dhb-ot-var-cvar-table.hh65 hb_bytes_t var_data_bytes = blob->as_bytes ().sub_array (4); in decompile_tuple_variations()
/aosp_15_r20/external/tensorflow/tensorflow/lite/toco/graph_transformations/
H A Dlstm_utils.cc74 int tensor_stride, const Array& sub_array, in CopyArrayToSubArray() argument
77 bool is_bias = sub_array.shape().dims().size() == 1; in CopyArrayToSubArray()
78 int dim1_copy_size = sub_array.shape().dims()[0]; in CopyArrayToSubArray()
79 int dim2_copy_size = is_bias ? 1 : sub_array.shape().dims(1); in CopyArrayToSubArray()
80 auto& sub_buffer = sub_array.GetBuffer<ArrayDataType::kFloat>(); in CopyArrayToSubArray()
H A Dlstm_utils.h102 int tensor_stride, const Array& sub_array,
/aosp_15_r20/external/harfbuzz_ng/src/OT/glyf/
H A DSimpleGlyph.hh96 return bytes.sub_array (0, bytes.length + coord_bytes - (glyph_end - glyph)); in trim_padding()
111 dest_start = bytes.sub_array (0, glyph_length - instructions_len); in drop_hints_bytes()
112 dest_end = bytes.sub_array (glyph_length, bytes.length - glyph_length); in drop_hints_bytes()
195 auto points_ = points.as_array ().sub_array (old_length); in get_contour_points()
H A DGlyph.hh103 …hb_array_t<contour_point_t> phantoms = points.as_array ().sub_array (points.length - PHANTOM_COUNT… in get_all_points_without_var()
362 …hb_array_t<contour_point_t> phantoms = points.as_array ().sub_array (points.length - PHANTOM_COUNT… in get_points()
393 points.as_array ().sub_array (old_length), in get_points()
444 auto comp_points = all_points.as_array ().sub_array (old_count); in get_points()
/aosp_15_r20/art/runtime/mirror/
H A Darray.cc66 ObjPtr<Array> sub_array = in RecursiveCreateMultiArray() local
68 if (UNLIKELY(sub_array == nullptr)) { in RecursiveCreateMultiArray()
73 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array); in RecursiveCreateMultiArray()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Layout/GPOS/
H A DPairValueRecord.hh72 valueFormats[0].collect_variation_indices (c, base, values_array.sub_array (0, record1_len)); in collect_variation_indices()
75 …valueFormats[1].collect_variation_indices (c, base, values_array.sub_array (record1_len, record2_l… in collect_variation_indices()
H A DSinglePosFormat2.hh53 …valueFormat.collect_variation_indices (c, this, values_array.sub_array (i * sub_length, sub_length… in collect_variation_indices()
192 values_array.sub_array (_.second * sub_length, in subset()
H A DPairPosFormat2.hh110 … valueFormat1.collect_variation_indices (c, this, values_array.sub_array (start_offset, len1)); in collect_variation_indices()
113 …valueFormat2.collect_variation_indices (c, this, values_array.sub_array (start_offset+len1, len2)); in collect_variation_indices()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Layout/GSUB/
H A DLigatureSubstFormat1.hh107 ligatures_list.sub_array (0, ligature_count), in serialize()
108 component_count_list.sub_array (0, ligature_count), in serialize()
H A DAlternateSet.hh87 + alternates.as_array ().sub_array (start_offset, alternate_count) in get_alternates()
H A DAlternateSubstFormat1.hh94 … .serialize_serialize (c, alternate_glyphs_list.sub_array (0, alternate_len)))) in serialize()
H A DLigatureSet.hh158 … component_list.sub_array (0, component_count)))) in serialize()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/CPAL/
H A DCPAL.hh202 hb_array_t<const BGRAColor> palette_colors = all_colors.sub_array (start_index, in get_palette_colors()
206 + palette_colors.sub_array (start_offset, color_count) in get_palette_colors()
/aosp_15_r20/external/pigweed/pw_stream/rust/pw_stream/
H A Dcursor.rs173 … let sub_array: &[u8; NUM_BYTES] = unsafe { &*(sub_slice.as_ptr() as *const [u8; NUM_BYTES]) }; localVariable
174 let value = $ty::[<from_ $endian _bytes>](*sub_array);
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/COLR/
H A DCOLR.hh2098 hb_array_t<const LayerRecord> glyph_layers = all_layers.sub_array (record.firstLayerIdx, in get_glyph_layers()
2102 + glyph_layers.sub_array (start_offset, count) in get_glyph_layers()
2154 auto glyph_layers = (this+layersZ).as_array (numLayers).sub_array (record->firstLayerIdx, in closure_glyphs()
2170 hb_array_t<const LayerRecord> glyph_layers = all_layers.sub_array (record.firstLayerIdx, in closure_V0palette_indices()
2448 auto layers = (this+layersZ).as_array (numLayers).sub_array (old_record->firstLayerIdx, in subset()
2646 .sub_array (record->firstLayerIdx, record->numLayers)) in paint_glyph()

12