/aosp_15_r20/external/harfbuzz_ng/src/ |
H A D | hb-array.hh | 258 …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 D | hb-subset-instancer-iup.cc | 312 _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 D | hb-cff-interp-common.hh | 313 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 D | hb-ot-var-common.hh | 62 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 D | hb-aat-layout-feat-table.hh | 119 + 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 D | hb-ot-var-fvar-table.hh | 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() 383 .sub_array (0, coords_length); in get_instance_coords()
|
H A D | hb-ot-math-table.hh | 780 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 D | hb-ot-meta-table.hh | 88 + table->dataMaps.as_array ().sub_array (start_offset, count) in get_entries()
|
H A D | hb-open-type.hh | 1508 … 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 D | hb-ot-var-cvar-table.hh | 65 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 D | lstm_utils.cc | 74 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 D | lstm_utils.h | 102 int tensor_stride, const Array& sub_array,
|
/aosp_15_r20/external/harfbuzz_ng/src/OT/glyf/ |
H A D | SimpleGlyph.hh | 96 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 D | Glyph.hh | 103 …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 D | array.cc | 66 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 D | PairValueRecord.hh | 72 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 D | SinglePosFormat2.hh | 53 …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 D | PairPosFormat2.hh | 110 … 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 D | LigatureSubstFormat1.hh | 107 ligatures_list.sub_array (0, ligature_count), in serialize() 108 component_count_list.sub_array (0, ligature_count), in serialize()
|
H A D | AlternateSet.hh | 87 + alternates.as_array ().sub_array (start_offset, alternate_count) in get_alternates()
|
H A D | AlternateSubstFormat1.hh | 94 … .serialize_serialize (c, alternate_glyphs_list.sub_array (0, alternate_len)))) in serialize()
|
H A D | LigatureSet.hh | 158 … component_list.sub_array (0, component_count)))) in serialize()
|
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/CPAL/ |
H A D | CPAL.hh | 202 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 D | cursor.rs | 173 … 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 D | COLR.hh | 2098 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()
|