Coverage Report

Created: 2025-08-24 06:26

/src/harfbuzz/src/hb-array.hh
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright © 2018  Google, Inc.
3
 *
4
 *  This is part of HarfBuzz, a text shaping library.
5
 *
6
 * Permission is hereby granted, without written agreement and without
7
 * license or royalty fees, to use, copy, modify, and distribute this
8
 * software and its documentation for any purpose, provided that the
9
 * above copyright notice and the following two paragraphs appear in
10
 * all copies of this software.
11
 *
12
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
 * DAMAGE.
17
 *
18
 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
 * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
21
 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
 *
24
 * Google Author(s): Behdad Esfahbod
25
 */
26
27
#ifndef HB_ARRAY_HH
28
#define HB_ARRAY_HH
29
30
#include "hb.hh"
31
#include "hb-algs.hh"
32
#include "hb-iter.hh"
33
#include "hb-null.hh"
34
35
36
template <typename Type>
37
struct hb_sorted_array_t;
38
39
enum hb_not_found_t
40
{
41
  HB_NOT_FOUND_DONT_STORE,
42
  HB_NOT_FOUND_STORE,
43
  HB_NOT_FOUND_STORE_CLOSEST,
44
};
45
46
47
template <typename Type>
48
struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&>
49
{
50
  static constexpr bool realloc_move = true;
51
52
  /*
53
   * Constructors.
54
   */
55
0
  hb_array_t () = default;
Unexecuted instantiation: hb_array_t<char const>::hb_array_t()
Unexecuted instantiation: hb_array_t<unsigned char const>::hb_array_t()
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::hb_array_t()
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;
60
61
1.33M
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<hb_user_data_array_t::hb_user_data_item_t>::hb_array_t(hb_user_data_array_t::hb_user_data_item_t*, unsigned int)
hb_array_t<hb_glyph_info_t>::hb_array_t(hb_glyph_info_t*, unsigned int)
Line
Count
Source
61
244
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<hb_glyph_position_t>::hb_array_t(hb_glyph_position_t*, unsigned int)
Line
Count
Source
61
108
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::ResourceRecord const>::hb_array_t(OT::ResourceRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::TableRecord const>::hb_array_t(OT::TableRecord const*, unsigned int)
hb_array_t<unsigned int>::hb_array_t(unsigned int*, unsigned int)
Line
Count
Source
61
289
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<hb_bit_set_t::page_map_t>::hb_array_t(hb_bit_set_t::page_map_t*, unsigned int)
Line
Count
Source
61
20.2k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::VariationSelectorRecord const>::hb_array_t(OT::VariationSelectorRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::UVSMapping const>::hb_array_t(OT::UVSMapping const*, unsigned int)
hb_array_t<char const>::hb_array_t(char const*, unsigned int)
Line
Count
Source
61
988k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::EncodingRecord const>::hb_array_t(OT::EncodingRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::CmapSubtableLongGroup const>::hb_array_t(OT::CmapSubtableLongGroup const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t*>::hb_array_t(hb_serialize_context_t::object_t**, unsigned int)
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t* const>::hb_array_t(hb_serialize_context_t::object_t* const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::hb_array_t(hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> >::hb_array_t(hb_pair_t<unsigned int, face_table_info_t>*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::TableRecord>::hb_array_t(OT::TableRecord*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::hb_array_t(hb_pair_t<unsigned int, face_table_info_t> const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t*>::hb_array_t(hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t**, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const>::hb_array_t(hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const*, unsigned int)
hb_array_t<int>::hb_array_t(int*, unsigned int)
Line
Count
Source
61
10.3k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<OT::AxisRecord const>::hb_array_t(OT::AxisRecord const*, unsigned int)
Line
Count
Source
61
10.3k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::UnicodeValueRange const>::hb_array_t(OT::UnicodeValueRange const*, unsigned int)
Unexecuted instantiation: hb_array_t<contour_point_t>::hb_array_t(contour_point_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const>::hb_array_t(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<contour_point_t const>::hb_array_t(contour_point_t const*, unsigned int)
hb_array_t<int const>::hb_array_t(int const*, unsigned int)
Line
Count
Source
61
254k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::VertOriginMetric const>::hb_array_t(OT::VertOriginMetric const*, unsigned int)
Unexecuted instantiation: hb_array_t<unsigned char const>::hb_array_t(unsigned char const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::hb_array_t(OT::NumType<true, unsigned int, 4u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::BaseGlyphPaintRecord const>::hb_array_t(OT::BaseGlyphPaintRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::ClipRecord const>::hb_array_t(OT::ClipRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::BaseGlyphRecord const>::hb_array_t(OT::BaseGlyphRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::hb_array_t(OT::LayerRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::SVGDocumentIndexEntry const>::hb_array_t(OT::SVGDocumentIndexEntry const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::cff1::accelerator_t::gname_t>::hb_array_t(OT::cff1::accelerator_t::gname_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_outline_point_t>::hb_array_t(hb_outline_point_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::hb_array_t(hb_outline_point_t const*, unsigned int)
hb_array_t<hb_ot_map_t::feature_map_t>::hb_array_t(hb_ot_map_t::feature_map_t*, unsigned int)
Line
Count
Source
61
17.7k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<OT::HBGlyphID16 const>::hb_array_t(OT::HBGlyphID16 const*, unsigned int)
Line
Count
Source
61
100
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>::hb_array_t(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_bit_page_t>::hb_array_t(hb_bit_page_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_bit_page_t const>::hb_array_t(hb_bit_page_t const*, unsigned int)
Unexecuted instantiation: hb_array_t<AAT::FeatureName const>::hb_array_t(AAT::FeatureName const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_type_t>::hb_array_t(hb_aat_layout_feature_type_t*, unsigned int)
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::hb_array_t(AAT::SettingName const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_selector_info_t>::hb_array_t(hb_aat_layout_feature_selector_info_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_feature_mapping_t const>::hb_array_t(hb_aat_feature_mapping_t const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<AAT::Feature const>::hb_array_t(AAT::Feature const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_info_t>::hb_array_t(hb_aat_map_builder_t::feature_info_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_t::range_flags_t>::hb_array_t(hb_aat_map_t::range_flags_t*, unsigned int)
hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::hb_array_t(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int)
Line
Count
Source
61
24
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<AAT::KernPair const>::hb_array_t(AAT::KernPair const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_event_t>::hb_array_t(hb_aat_map_builder_t::feature_event_t*, unsigned int)
Unexecuted instantiation: hb_array_t<sid_to_gid_t const>::hb_array_t(sid_to_gid_t const*, unsigned int)
Unexecuted instantiation: hb_array_t<CFF::number_t const>::hb_array_t(CFF::number_t const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, short, 2u> const>::hb_array_t(OT::NumType<true, short, 2u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const>::hb_array_t(OT::NumType<true, unsigned char, 1u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::hb_array_t(OT::NumType<true, unsigned short, 2u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
hb_array_t<OT::Record<OT::Script> const>::hb_array_t(OT::Record<OT::Script> const*, unsigned int)
Line
Count
Source
61
17.5k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::Record<OT::Feature> const>::hb_array_t(OT::Record<OT::Feature> const*, unsigned int)
hb_array_t<OT::Record<OT::LangSys> const>::hb_array_t(OT::Record<OT::LangSys> const*, unsigned int)
Line
Count
Source
61
7.09k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<OT::Index const>::hb_array_t(OT::Index const*, unsigned int)
Line
Count
Source
61
578
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::FeatureTableSubstitutionRecord const>::hb_array_t(OT::FeatureTableSubstitutionRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Line
Count
Source
61
15
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Line
Count
Source
61
14
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::hb_array_t(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>::item_t>::hb_array_t(hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>::item_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_set_t, false>::item_t>::hb_array_t(hb_hashmap_t<unsigned int, hb_set_t, false>::item_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const>::hb_array_t(OT::NumType<true, unsigned int, 3u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::BaseScriptRecord const>::hb_array_t(OT::BaseScriptRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::BaseLangSysRecord const>::hb_array_t(OT::BaseLangSysRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::FeatMinMaxRecord const>::hb_array_t(OT::FeatMinMaxRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::Tag const>::hb_array_t(OT::Tag const*, unsigned int)
hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t>::hb_array_t(OT::hb_accelerate_subtables_context_t::hb_applicable_t*, unsigned int)
Line
Count
Source
61
89
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t const>::hb_array_t(OT::hb_accelerate_subtables_context_t::hb_applicable_t const*, unsigned int)
hb_array_t<hb_ot_map_builder_t::feature_info_t>::hb_array_t(hb_ot_map_builder_t::feature_info_t*, unsigned int)
Line
Count
Source
61
2.21k
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
hb_array_t<hb_ot_map_t::lookup_map_t>::hb_array_t(hb_ot_map_t::lookup_map_t*, unsigned int)
Line
Count
Source
61
62
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
Unexecuted instantiation: hb_array_t<hb_ot_map_t::feature_map_t const>::hb_array_t(hb_ot_map_t::feature_map_t const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >::hb_array_t(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::hb_array_t(OT::HBGlyphID16*, unsigned int)
Unexecuted instantiation: hb_array_t<unsigned int const>::hb_array_t(unsigned int const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const>::hb_array_t(hb_ot_map_t::lookup_map_t const*, unsigned int)
hb_array_t<LangTag const>::hb_array_t(LangTag const*, unsigned int)
Line
Count
Source
61
904
  constexpr hb_array_t (Type *array_, unsigned int length_) : arrayZ (array_), length (length_) {}
62
  template <unsigned int length_>
63
0
  constexpr hb_array_t (Type (&array_)[length_]) : hb_array_t (array_, length_) {}
Unexecuted instantiation: hb_array_t<hb_aat_feature_mapping_t const>::hb_array_t<78u>(hb_aat_feature_mapping_t const (&) [78u])
Unexecuted instantiation: hb_array_t<sid_to_gid_t const>::hb_array_t<165u>(sid_to_gid_t const (&) [165u])
Unexecuted instantiation: hb_array_t<sid_to_gid_t const>::hb_array_t<86u>(sid_to_gid_t const (&) [86u])
Unexecuted instantiation: hb_array_t<CFF::number_t const>::hb_array_t<513u>(CFF::number_t const (&) [513u])
64
65
  template <typename U,
66
      hb_enable_if (hb_is_cr_convertible(U, Type))>
67
  constexpr hb_array_t (const hb_array_t<U> &o) :
68
37.9k
    hb_iter_with_fallback_t<hb_array_t, Type&> (),
69
37.9k
    arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {}
_ZN10hb_array_tIKN12hb_bit_set_t10page_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERKS_IS6_E
Line
Count
Source
68
20.2k
    hb_iter_with_fallback_t<hb_array_t, Type&> (),
69
20.2k
    arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {}
_ZN10hb_array_tIKN11hb_ot_map_t13feature_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERKS_IS6_E
Line
Count
Source
68
17.7k
    hb_iter_with_fallback_t<hb_array_t, Type&> (),
69
17.7k
    arrayZ (o.arrayZ), length (o.length), backwards_length (o.backwards_length) {}
Unexecuted instantiation: _ZN10hb_array_tIKN20hb_aat_map_builder_t14feature_info_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERKS_IS6_E
Unexecuted instantiation: _ZN10hb_array_tIKN12hb_aat_map_t13range_flags_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERKS_IS6_E
Unexecuted instantiation: _ZN10hb_array_tIKN2OT11HBGlyphID16EEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERKS_IS6_E
70
  template <typename U,
71
      hb_enable_if (hb_is_cr_convertible(U, Type))>
72
  hb_array_t& operator = (const hb_array_t<U> &o)
73
0
  { arrayZ = o.arrayZ; length = o.length; backwards_length = o.backwards_length; return *this; }
74
75
  /*
76
   * Iterator implementation.
77
   */
78
  typedef Type& __item_t__;
79
  static constexpr bool is_random_access_iterator = true;
80
  static constexpr bool has_fast_len = true;
81
  Type& __item__ () const
82
548
  {
83
548
    if (unlikely (!length)) return CrapOrNull (Type);
84
548
    return *arrayZ;
85
548
  }
hb_array_t<unsigned int>::__item__() const
Line
Count
Source
82
233
  {
83
233
    if (unlikely (!length)) return CrapOrNull (Type);
84
233
    return *arrayZ;
85
233
  }
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<unsigned char>::__item__() const
Unexecuted instantiation: hb_array_t<OT::TableRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<unsigned int const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::__item__() const
hb_array_t<OT::Index const>::__item__() const
Line
Count
Source
82
233
  {
83
233
    if (unlikely (!length)) return CrapOrNull (Type);
84
233
    return *arrayZ;
85
233
  }
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Feature> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::LangSys> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Script> const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::__item__() const
Unexecuted instantiation: hb_array_t<unsigned char const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::FeatureTableSubstitutionRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >::__item__() const
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const* const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<OT::UVSMapping const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::VariationSelectorRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::EncodingRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::__item__() const
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::__item__() const
Unexecuted instantiation: hb_array_t<int>::__item__() const
Unexecuted instantiation: hb_array_t<int const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::DataMap const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_ot_meta_tag_t>::__item__() const
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_ot_color_layer_t>::__item__() const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::__item__() const
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Line
Count
Source
82
15
  {
83
15
    if (unlikely (!length)) return CrapOrNull (Type);
84
15
    return *arrayZ;
85
15
  }
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Line
Count
Source
82
67
  {
83
67
    if (unlikely (!length)) return CrapOrNull (Type);
84
67
    return *arrayZ;
85
67
  }
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::StatAxisRecord const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::VertOriginMetric const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::__item__() const
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_selector_info_t>::__item__() const
Unexecuted instantiation: hb_array_t<AAT::FeatureName const>::__item__() const
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_type_t>::__item__() const
Unexecuted instantiation: hb_array_t<hb_aat_map_t::range_flags_t const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfLangSys> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfScript> const>::__item__() const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::__item__() const
Unexecuted instantiation: hb_array_t<hb_glyph_info_t>::__item__() const
86
  Type& __item_at__ (unsigned i) const
87
0
  {
88
0
    if (unlikely (i >= length)) return CrapOrNull (Type);
89
0
    return arrayZ[i];
90
0
  }
Unexecuted instantiation: hb_array_t<OT::ResourceRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<hb_inc_bimap_t const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<int const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<bool const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::AxisRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::DeltaSetIndexMap const*>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::index_map_subset_plan_t>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<contour_point_t>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<unsigned int>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<unsigned char const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, short, 2u> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::Index const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<unsigned int const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::StatAxisRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::AxisValueRecord const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::__item_at__(unsigned int) const
Unexecuted instantiation: hb_array_t<hb_ot_map_t::feature_map_t const>::__item_at__(unsigned int) const
91
  void __next__ ()
92
548
  {
93
548
    if (unlikely (!length))
94
0
      return;
95
548
    length--;
96
548
    backwards_length++;
97
548
    arrayZ++;
98
548
  }
hb_array_t<unsigned int>::__next__()
Line
Count
Source
92
233
  {
93
233
    if (unlikely (!length))
94
0
      return;
95
233
    length--;
96
233
    backwards_length++;
97
233
    arrayZ++;
98
233
  }
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const>::__next__()
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t* const>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<unsigned char>::__next__()
Unexecuted instantiation: hb_array_t<OT::TableRecord const>::__next__()
Unexecuted instantiation: hb_array_t<unsigned int const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::__next__()
hb_array_t<OT::Index const>::__next__()
Line
Count
Source
92
233
  {
93
233
    if (unlikely (!length))
94
0
      return;
95
233
    length--;
96
233
    backwards_length++;
97
233
    arrayZ++;
98
233
  }
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Record<OT::Feature> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Record<OT::LangSys> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Record<OT::Script> const>::__next__()
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::__next__()
Unexecuted instantiation: hb_array_t<unsigned char const>::__next__()
Unexecuted instantiation: hb_array_t<OT::FeatureTableSubstitutionRecord const>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >::__next__()
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const* const>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<OT::UVSMapping const>::__next__()
Unexecuted instantiation: hb_array_t<OT::VariationSelectorRecord const>::__next__()
Unexecuted instantiation: hb_array_t<OT::EncodingRecord const>::__next__()
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::__next__()
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::__next__()
Unexecuted instantiation: hb_array_t<int>::__next__()
Unexecuted instantiation: hb_array_t<int const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::DataMap const>::__next__()
Unexecuted instantiation: hb_array_t<hb_ot_meta_tag_t>::__next__()
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::__next__()
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::__next__()
Unexecuted instantiation: hb_array_t<hb_ot_color_layer_t>::__next__()
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::__next__()
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Line
Count
Source
92
15
  {
93
15
    if (unlikely (!length))
94
0
      return;
95
15
    length--;
96
15
    backwards_length++;
97
15
    arrayZ++;
98
15
  }
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Line
Count
Source
92
67
  {
93
67
    if (unlikely (!length))
94
0
      return;
95
67
    length--;
96
67
    backwards_length++;
97
67
    arrayZ++;
98
67
  }
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::StatAxisRecord const>::__next__()
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::VertOriginMetric const>::__next__()
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::__next__()
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::__next__()
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_selector_info_t>::__next__()
Unexecuted instantiation: hb_array_t<AAT::FeatureName const>::__next__()
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_type_t>::__next__()
Unexecuted instantiation: hb_array_t<hb_aat_map_t::range_flags_t const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfLangSys> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfScript> const>::__next__()
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::__next__()
Unexecuted instantiation: hb_array_t<hb_glyph_info_t>::__next__()
99
  void __forward__ (unsigned n)
100
0
  {
101
0
    if (unlikely (n > length))
102
0
      n = length;
103
0
    length -= n;
104
0
    backwards_length += n;
105
0
    arrayZ += n;
106
0
  }
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::Index const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::Record<OT::LangSys> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::Record<OT::Script> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const* const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::UVSMapping const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::EncodingRecord const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<unsigned int const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::VertOriginMetric const>::__forward__(unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::__forward__(unsigned int)
107
  void __prev__ ()
108
0
  {
109
0
    if (unlikely (!backwards_length))
110
0
      return;
111
0
    length++;
112
0
    backwards_length--;
113
0
    arrayZ--;
114
0
  }
115
  void __rewind__ (unsigned n)
116
  {
117
    if (unlikely (n > backwards_length))
118
      n = backwards_length;
119
    length += n;
120
    backwards_length -= n;
121
    arrayZ -= n;
122
  }
123
11.0k
  unsigned __len__ () const { return length; }
Unexecuted instantiation: hb_array_t<unsigned int>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<OT::TableRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<unsigned int const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::__len__() const
hb_array_t<OT::Index const>::__len__() const
Line
Count
Source
123
522
  unsigned __len__ () const { return length; }
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Feature> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::LangSys> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Script> const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::__len__() const
Unexecuted instantiation: hb_array_t<unsigned char const>::__len__() const
Unexecuted instantiation: hb_array_t<int const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::FeatureTableSubstitutionRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<float const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_inc_bimap_t const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const* const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<OT::UVSMapping const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::VariationSelectorRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::EncodingRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::__len__() const
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::__len__() const
hb_array_t<int>::__len__() const
Line
Count
Source
123
10.3k
  unsigned __len__ () const { return length; }
Unexecuted instantiation: hb_array_t<contour_point_t>::__len__() const
Unexecuted instantiation: hb_array_t<hb_array_t<unsigned char const> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
hb_array_t<OT::HBGlyphID16 const>::__len__() const
Line
Count
Source
123
100
  unsigned __len__ () const { return length; }
Unexecuted instantiation: hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::DataMap const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const>::__len__() const
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Line
Count
Source
123
29
  unsigned __len__ () const { return length; }
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Line
Count
Source
123
82
  unsigned __len__ () const { return length; }
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::StatAxisRecord const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::VertOriginMetric const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::__len__() const
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::__len__() const
Unexecuted instantiation: hb_array_t<AAT::FeatureName const>::__len__() const
Unexecuted instantiation: hb_array_t<hb_aat_map_t::range_flags_t const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Tag const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfLangSys> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfScript> const>::__len__() const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::__len__() const
Unexecuted instantiation: hb_array_t<hb_glyph_info_t>::__len__() const
124
  /* Ouch. The operator== compares the contents of the array.  For range-based for loops,
125
   * it's best if we can just compare arrayZ, though comparing contents is still fast,
126
   * but also would require that Type has operator==.  As such, we optimize this operator
127
   * for range-based for loop and just compare arrayZ and length.
128
   *
129
   * The above comment is outdated now because we implemented separate begin/end to
130
   * objects that were using hb_array_t for range-based loop before. */
131
  bool operator != (const hb_array_t& o) const
132
0
  { return this->arrayZ != o.arrayZ || this->length != o.length; }
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t> const&) const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t> const&) const
Unexecuted instantiation: hb_array_t<OT::Index const>::operator!=(hb_array_t<OT::Index const> const&) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::operator!=(hb_array_t<OT::NumType<true, unsigned short, 2u> const> const&) const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t> const&) const
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const* const>::operator!=(hb_array_t<hb_vector_t<int, false> const* const> const&) const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t> const&) const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t> const&) const
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>::operator!=(hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const> const&) const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::operator!=(hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t> const&) const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const>::operator!=(hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const> const&) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::operator!=(hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> const&) const
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const>::operator!=(hb_array_t<OT::Layout::GPOS_impl::MarkRecord const> const&) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>::operator!=(hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const> const&) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::operator!=(hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> const&) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>::operator!=(hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> const&) const
Unexecuted instantiation: hb_array_t<OT::NameRecord const>::operator!=(hb_array_t<OT::NameRecord const> const&) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>::operator!=(hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const> const&) const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::operator!=(hb_array_t<OT::HBGlyphID16 const> const&) const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::operator!=(hb_array_t<OT::HBGlyphID16> const&) const
133
134
  /* Faster range-based for loop without bounds-check. */
135
89
  Type *begin () const { return arrayZ; }
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t* const>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<unsigned int const>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb::shared_ptr<hb_map_t>, unsigned int, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb::shared_ptr<hb_set_t>, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, OT::Feature const*, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_hashmap_t<unsigned int, Triple, false> const*, unsigned int, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<int const>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_vector_t<int, false> const*, unsigned int, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_vector_t<unsigned char, false>, unsigned int, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<OT::AxisValueMap const>::begin() const
Unexecuted instantiation: hb_array_t<contour_point_t>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<OT::glyf_impl::SubsetGlyph const>::begin() const
Unexecuted instantiation: hb_array_t<hb_array_t<unsigned char const> const>::begin() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::begin() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const>::begin() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_set_t, false>::item_t>::begin() const
Unexecuted instantiation: hb_array_t<OT::LookupRecord const>::begin() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>::begin() const
hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t>::begin() const
Line
Count
Source
135
89
  Type *begin () const { return arrayZ; }
Unexecuted instantiation: hb_array_t<OT::NameRecord>::begin() const
Unexecuted instantiation: hb_array_t<OT::BitmapSizeTable const>::begin() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::begin() const
Unexecuted instantiation: hb_array_t<OT::NoVariable<OT::ColorStop> const>::begin() const
Unexecuted instantiation: hb_array_t<OT::Variable<OT::ColorStop> const>::begin() const
Unexecuted instantiation: hb_array_t<OT::BaseGlyphRecord const>::begin() const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::begin() const
Unexecuted instantiation: hb_array_t<OT::AxisValueRecord const>::begin() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::begin() const
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const>::begin() const
136
89
  Type *end () const { return arrayZ + length; }
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t* const>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<unsigned int, false>, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, unsigned int, true>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, Triple, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<unsigned int const>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb::shared_ptr<hb_map_t>, unsigned int, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb::shared_ptr<hb_set_t>, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, OT::Feature const*, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_hashmap_t<unsigned int, Triple, false> const*, unsigned int, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_vector_t<int, false> const*, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<int const>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_vector_t<int, false> const*, unsigned int, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<hb_vector_t<unsigned char, false>, unsigned int, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, face_table_info_t, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<OT::AxisValueMap const>::end() const
Unexecuted instantiation: hb_array_t<contour_point_t>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<OT::glyf_impl::SubsetGlyph const>::end() const
Unexecuted instantiation: hb_array_t<hb_array_t<unsigned char const> const>::end() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::end() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const>::end() const
Unexecuted instantiation: hb_array_t<hb_hashmap_t<unsigned int, hb_set_t, false>::item_t>::end() const
Unexecuted instantiation: hb_array_t<OT::LookupRecord const>::end() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>::end() const
hb_array_t<OT::hb_accelerate_subtables_context_t::hb_applicable_t>::end() const
Line
Count
Source
136
89
  Type *end () const { return arrayZ + length; }
Unexecuted instantiation: hb_array_t<OT::NameRecord>::end() const
Unexecuted instantiation: hb_array_t<OT::BitmapSizeTable const>::end() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::end() const
Unexecuted instantiation: hb_array_t<OT::NoVariable<OT::ColorStop> const>::end() const
Unexecuted instantiation: hb_array_t<OT::Variable<OT::ColorStop> const>::end() const
Unexecuted instantiation: hb_array_t<OT::BaseGlyphRecord const>::end() const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::end() const
Unexecuted instantiation: hb_array_t<OT::AxisValueRecord const>::end() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::end() const
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const>::end() const
137
138
139
  /* Extra operators.
140
   */
141
100
  Type * operator & () const { return arrayZ; }
Unexecuted instantiation: hb_array_t<OT::Index const>::operator&() const
Unexecuted instantiation: hb_array_t<OT::AxisRecord const>::operator&() const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>::operator&() const
Unexecuted instantiation: hb_array_t<char const>::operator&() const
Unexecuted instantiation: hb_array_t<unsigned char const>::operator&() const
hb_array_t<OT::HBGlyphID16 const>::operator&() const
Line
Count
Source
141
100
  Type * operator & () const { return arrayZ; }
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>::operator&() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::operator&() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, short, 2u> const>::operator&() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const>::operator&() const
Unexecuted instantiation: hb_array_t<AAT::Feature const>::operator&() const
142
0
  operator hb_array_t<const Type> () { return hb_array_t<const Type> (arrayZ, length); }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t>::operator hb_array_t<hb_ot_map_t::lookup_map_t const>()
Unexecuted instantiation: hb_array_t<hb_bit_page_t>::operator hb_array_t<hb_bit_page_t const>()
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t::link_t>::operator hb_array_t<hb_serialize_context_t::object_t::link_t const>()
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t*>::operator hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t* const>()
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t*>::operator hb_array_t<hb_serialize_context_t::object_t* const>()
Unexecuted instantiation: hb_array_t<unsigned int>::operator hb_array_t<unsigned int const>()
Unexecuted instantiation: hb_array_t<unsigned char>::operator hb_array_t<unsigned char const>()
Unexecuted instantiation: hb_array_t<hb_inc_bimap_t>::operator hb_array_t<hb_inc_bimap_t const>()
Unexecuted instantiation: hb_array_t<bool>::operator hb_array_t<bool const>()
Unexecuted instantiation: hb_array_t<float>::operator hb_array_t<float const>()
Unexecuted instantiation: hb_array_t<char>::operator hb_array_t<char const>()
Unexecuted instantiation: hb_array_t<int>::operator hb_array_t<int const>()
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const*>::operator hb_array_t<hb_vector_t<int, false> const* const>()
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> >::operator hb_array_t<hb_pair_t<unsigned int, unsigned int> const>()
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> >::operator hb_array_t<hb_pair_t<unsigned int, face_table_info_t> const>()
Unexecuted instantiation: hb_array_t<contour_point_t>::operator hb_array_t<contour_point_t const>()
Unexecuted instantiation: hb_array_t<OT::glyf_impl::SubsetGlyph>::operator hb_array_t<OT::glyf_impl::SubsetGlyph const>()
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_str_t>::operator hb_array_t<CFF::parsed_cs_str_t const>()
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_op_t>::operator hb_array_t<CFF::parsed_cs_op_t const>()
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_str_vec_t>::operator hb_array_t<CFF::parsed_cs_str_vec_t const>()
Unexecuted instantiation: hb_array_t<hb_array_t<unsigned char const> >::operator hb_array_t<hb_array_t<unsigned char const> const>()
Unexecuted instantiation: hb_array_t<OT::LayerRecord>::operator hb_array_t<OT::LayerRecord const>()
Unexecuted instantiation: hb_array_t<hb_outline_point_t>::operator hb_array_t<hb_outline_point_t const>()
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16>::operator hb_array_t<OT::HBGlyphID16 const>()
143
0
  template <typename T> operator T * () const { return arrayZ; }
144
145
  HB_INTERNAL bool operator == (const hb_array_t &o) const;
146
147
  uint32_t hash () const
148
0
  {
149
0
    // FNV-1a hash function
150
0
    // https://github.com/harfbuzz/harfbuzz/pull/4228
151
0
    uint32_t current = /*cbf29ce4*/0x84222325;
152
0
    for (auto &v : *this)
153
0
    {
154
0
      current = current ^ hb_hash (v);
155
0
      current = current * 16777619;
156
0
    }
157
0
    return current;
158
0
  }
159
160
  /*
161
   * Compare, Sort, and Search.
162
   */
163
164
  /* Note: our compare is NOT lexicographic; it also does NOT call Type::cmp. */
165
  int cmp (const hb_array_t &a) const
166
0
  {
167
0
    if (length != a.length)
168
0
      return (int) a.length - (int) length;
169
0
    return hb_memcmp (a.arrayZ, arrayZ, get_size ());
170
0
  }
Unexecuted instantiation: hb_array_t<unsigned char const>::cmp(hb_array_t<unsigned char const> const&) const
Unexecuted instantiation: hb_array_t<char const>::cmp(hb_array_t<char const> const&) const
171
  HB_INTERNAL static int cmp (const void *pa, const void *pb)
172
  {
173
    hb_array_t *a = (hb_array_t *) pa;
174
    hb_array_t *b = (hb_array_t *) pb;
175
    return b->cmp (*a);
176
  }
177
178
  template <typename T>
179
  Type *lsearch (const T &x, Type *not_found = nullptr)
180
0
  {
181
0
    unsigned i;
182
0
    return lfind (x, &i) ? &this->arrayZ[i] : not_found;
183
0
  }
Unexecuted instantiation: hb_user_data_array_t::hb_user_data_item_t* hb_array_t<hb_user_data_array_t::hb_user_data_item_t>::lsearch<hb_user_data_key_t*>(hb_user_data_key_t* const&, hb_user_data_array_t::hb_user_data_item_t*)
Unexecuted instantiation: hb_user_data_array_t::hb_user_data_item_t* hb_array_t<hb_user_data_array_t::hb_user_data_item_t>::lsearch<hb_user_data_array_t::hb_user_data_item_t>(hb_user_data_array_t::hb_user_data_item_t const&, hb_user_data_array_t::hb_user_data_item_t*)
Unexecuted instantiation: OT::DataMap const* hb_array_t<OT::DataMap const>::lsearch<unsigned int>(unsigned int const&, OT::DataMap const*)
Unexecuted instantiation: hb_aat_map_builder_t::feature_info_t* hb_array_t<hb_aat_map_builder_t::feature_info_t>::lsearch<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t const&, hb_aat_map_builder_t::feature_info_t*)
184
  template <typename T>
185
  const Type *lsearch (const T &x, const Type *not_found = nullptr) const
186
  {
187
    unsigned i;
188
    return lfind (x, &i) ? &this->arrayZ[i] : not_found;
189
  }
190
  template <typename T>
191
  bool lfind (const T &x, unsigned *pos = nullptr,
192
        hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE,
193
        unsigned int to_store = (unsigned int) -1) const
194
0
  {
195
0
    for (unsigned i = 0; i < length; ++i)
196
0
      if (hb_equal (x, this->arrayZ[i]))
197
0
      {
198
0
  if (pos)
199
0
    *pos = i;
200
0
  return true;
201
0
      }
202
203
0
    if (pos)
204
0
    {
205
0
      switch (not_found)
206
0
      {
207
0
  case HB_NOT_FOUND_DONT_STORE:
208
0
    break;
209
210
0
  case HB_NOT_FOUND_STORE:
211
0
    *pos = to_store;
212
0
    break;
213
214
0
  case HB_NOT_FOUND_STORE_CLOSEST:
215
0
    *pos = length;
216
0
    break;
217
0
      }
218
0
    }
219
0
    return false;
220
0
  }
Unexecuted instantiation: bool hb_array_t<hb_user_data_array_t::hb_user_data_item_t>::lfind<hb_user_data_key_t*>(hb_user_data_key_t* const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<hb_user_data_array_t::hb_user_data_item_t>::lfind<hb_user_data_array_t::hb_user_data_item_t>(hb_user_data_array_t::hb_user_data_item_t const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<OT::TableRecord const>::lfind<OT::Tag>(OT::Tag const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<OT::AxisRecord const>::lfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<OT::DataMap const>::lfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<OT::StatAxisRecord const>::lfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_array_t<hb_aat_map_builder_t::feature_info_t>::lfind<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t const&, unsigned int*, hb_not_found_t, unsigned int) const
221
222
  hb_sorted_array_t<Type> qsort (int (*cmp_)(const void*, const void*))
223
2.21k
  {
224
    //static_assert (hb_enable_if (hb_is_trivially_copy_assignable(Type)), "");
225
2.21k
    if (likely (length))
226
2.21k
      hb_qsort (arrayZ, length, this->get_item_size (), cmp_);
227
2.21k
    return hb_sorted_array_t<Type> (*this);
228
2.21k
  }
Unexecuted instantiation: hb_array_t<unsigned int>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<OT::delta_row_encoding_t>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const*>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> >::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<OT::AxisValueMap>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<OT::cff1::accelerator_t::gname_t>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<hb_ot_name_entry_t>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_event_t>::qsort(int (*)(void const*, void const*))
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_info_t>::qsort(int (*)(void const*, void const*))
hb_array_t<hb_ot_map_builder_t::feature_info_t>::qsort(int (*)(void const*, void const*))
Line
Count
Source
223
2.21k
  {
224
    //static_assert (hb_enable_if (hb_is_trivially_copy_assignable(Type)), "");
225
2.21k
    if (likely (length))
226
2.21k
      hb_qsort (arrayZ, length, this->get_item_size (), cmp_);
227
2.21k
    return hb_sorted_array_t<Type> (*this);
228
2.21k
  }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::feature_map_t>::qsort(int (*)(void const*, void const*))
229
  hb_sorted_array_t<Type> qsort ()
230
31
  {
231
    //static_assert (hb_enable_if (hb_is_trivially_copy_assignable(Type)), "");
232
31
    if (likely (length))
233
31
      hb_qsort (arrayZ, length, this->get_item_size (), Type::cmp);
234
31
    return hb_sorted_array_t<Type> (*this);
235
31
  }
Unexecuted instantiation: hb_array_t<OT::TableRecord>::qsort()
Unexecuted instantiation: hb_array_t<OT::NameRecord>::qsort()
hb_array_t<hb_ot_map_t::lookup_map_t>::qsort()
Line
Count
Source
230
31
  {
231
    //static_assert (hb_enable_if (hb_is_trivially_copy_assignable(Type)), "");
232
31
    if (likely (length))
233
31
      hb_qsort (arrayZ, length, this->get_item_size (), Type::cmp);
234
31
    return hb_sorted_array_t<Type> (*this);
235
31
  }
236
237
  /*
238
   * Other methods.
239
   */
240
241
0
  unsigned int get_size () const { return length * this->get_item_size (); }
Unexecuted instantiation: hb_array_t<unsigned char const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::AxisRecord const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>::get_size() const
Unexecuted instantiation: hb_array_t<char const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, short, 2u> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::Index const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::get_size() const
Unexecuted instantiation: hb_array_t<AAT::Feature const>::get_size() const
Unexecuted instantiation: hb_array_t<OT::Tag const>::get_size() const
242
243
  /*
244
   * Reverse the order of items in this array in the range [start, end).
245
   */
246
  void reverse (unsigned start = 0, unsigned end = -1)
247
352
  {
248
352
    start = hb_min (start, length);
249
352
    end = hb_min (end, length);
250
251
352
    if (end < start + 2)
252
96
      return;
253
254
256
    unsigned stop = start + (end - start) / 2;
255
512
    for (unsigned lhs = start, rhs = end - 1; lhs < stop; lhs++, rhs--)
256
256
      hb_swap (arrayZ[rhs], arrayZ[lhs]);
257
256
  }
hb_array_t<hb_glyph_info_t>::reverse(unsigned int, unsigned int)
Line
Count
Source
247
244
  {
248
244
    start = hb_min (start, length);
249
244
    end = hb_min (end, length);
250
251
244
    if (end < start + 2)
252
84
      return;
253
254
160
    unsigned stop = start + (end - start) / 2;
255
320
    for (unsigned lhs = start, rhs = end - 1; lhs < stop; lhs++, rhs--)
256
160
      hb_swap (arrayZ[rhs], arrayZ[lhs]);
257
160
  }
hb_array_t<hb_glyph_position_t>::reverse(unsigned int, unsigned int)
Line
Count
Source
247
108
  {
248
108
    start = hb_min (start, length);
249
108
    end = hb_min (end, length);
250
251
108
    if (end < start + 2)
252
12
      return;
253
254
96
    unsigned stop = start + (end - start) / 2;
255
192
    for (unsigned lhs = start, rhs = end - 1; lhs < stop; lhs++, rhs--)
256
96
      hb_swap (arrayZ[rhs], arrayZ[lhs]);
257
96
  }
Unexecuted instantiation: hb_array_t<OT::VariationSelectorRecord>::reverse(unsigned int, unsigned int)
258
259
  hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT */) const
260
320
  {
261
320
    if (!start_offset && !seg_count)
262
0
      return *this;
263
264
320
    unsigned int count = length;
265
320
    if (unlikely (start_offset > count))
266
0
      count = 0;
267
320
    else
268
320
      count -= start_offset;
269
320
    if (seg_count)
270
320
      count = *seg_count = hb_min (count, *seg_count);
271
320
    return hb_array_t (arrayZ + start_offset, count);
272
320
  }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<unsigned char>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::TableRecord const>::sub_array(unsigned int, unsigned int*) const
hb_array_t<OT::Index const>::sub_array(unsigned int, unsigned int*) const
Line
Count
Source
260
289
  {
261
289
    if (!start_offset && !seg_count)
262
0
      return *this;
263
264
289
    unsigned int count = length;
265
289
    if (unlikely (start_offset > count))
266
0
      count = 0;
267
289
    else
268
289
      count -= start_offset;
269
289
    if (seg_count)
270
289
      count = *seg_count = hb_min (count, *seg_count);
271
289
    return hb_array_t (arrayZ + start_offset, count);
272
289
  }
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::Record<OT::LangSys> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<unsigned int>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::AxisRecord const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<char const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<contour_point_t>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<unsigned char const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Script> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::Record<OT::Feature> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::DataMap const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<unsigned int const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<AAT::SettingName const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<AAT::FeatureName const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<CFF::number_t const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfLangSys> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_array_t<OT::Record<OT::JstfScript> const>::sub_array(unsigned int, unsigned int*) const
hb_array_t<hb_ot_map_t::lookup_map_t>::sub_array(unsigned int, unsigned int*) const
Line
Count
Source
260
31
  {
261
31
    if (!start_offset && !seg_count)
262
0
      return *this;
263
264
31
    unsigned int count = length;
265
31
    if (unlikely (start_offset > count))
266
0
      count = 0;
267
31
    else
268
31
      count -= start_offset;
269
31
    if (seg_count)
270
31
      count = *seg_count = hb_min (count, *seg_count);
271
31
    return hb_array_t (arrayZ + start_offset, count);
272
31
  }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::feature_map_t const>::sub_array(unsigned int, unsigned int*) const
273
  hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const
274
31
  { return sub_array (start_offset, &seg_count); }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<char const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<contour_point_t>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<unsigned char const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::LayerRecord const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<unsigned int const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<hb_outline_point_t const>::sub_array(unsigned int, unsigned int) const
Unexecuted instantiation: hb_array_t<CFF::number_t const>::sub_array(unsigned int, unsigned int) const
hb_array_t<hb_ot_map_t::lookup_map_t>::sub_array(unsigned int, unsigned int) const
Line
Count
Source
274
31
  { return sub_array (start_offset, &seg_count); }
275
276
  hb_array_t truncate (unsigned length) const { return sub_array (0, length); }
277
278
  template <typename T,
279
      unsigned P = sizeof (Type),
280
      hb_enable_if (P == 1)>
281
  const T *as () const
282
988k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT16OpenTypeFontFileELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4cmapELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT3OS2ELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4MVARELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN2OT4fvarELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
20.6k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4hheaELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4vheaELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN2OT4maxpELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
1.91k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT9gvar_GVARINS3_7NumTypeILb1EtLj2EEELj1735811442EEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT9gvar_GVARINS3_7NumTypeILb1EjLj3EEELj1196835154EEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT8hmtxvmtxINS3_4hmtxENS3_4hheaENS3_4HVAREEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT8hmtxvmtxINS3_4vmtxENS3_4vheaENS3_4VVAREEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT18TupleVariationDataINS3_7NumTypeILb1EtLj2EEEEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT9glyf_impl11GlyphHeaderELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4headELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4locaELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4glyfELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4cff1ELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4cff2ELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN2OT4GDEFELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
646k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
_ZNK10hb_array_tIKcE2asIN2OT6Layout4GPOSELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
142k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
_ZNK10hb_array_tIKcE2asIN3AAT4kerxELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
4.12k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
_ZNK10hb_array_tIKcE2asIN2OT4kernELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
5.31k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4metaELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN3AAT4ltagELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4nameELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4postELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4CBLCELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4CBDTELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4CPALELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4COLRELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4sbixELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4sbix13accelerator_t9PNGHeaderELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT3SVGELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN2OT6Layout4GSUBELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
142k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
_ZNK10hb_array_tIKcE2asIN3AAT4morxELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
6.03k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
_ZNK10hb_array_tIKcE2asIN3AAT4mortELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
6.03k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4HVARELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4VVARELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4VORGELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4STATELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN2OT4avarELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
10.3k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN3AAT4ankrELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
_ZNK10hb_array_tIKcE2asIN3AAT4trakELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Line
Count
Source
282
2.21k
  { return length < hb_min_size (T) ? &Null (T) : reinterpret_cast<const T *> (arrayZ); }
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN3AAT4featELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
Unexecuted instantiation: _ZNK10hb_array_tIKcE2asIN2OT4BASEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEPKT_v
283
284
  template <typename T,
285
      unsigned P = sizeof (Type),
286
      hb_enable_if (P == 1)>
287
  bool check_range (const T *p, unsigned int size = T::static_size) const
288
0
  {
289
0
    return arrayZ <= ((const char *) p)
290
0
  && ((const char *) p) <= arrayZ + length
291
0
  && (unsigned int) (arrayZ + length - (const char *) p) >= size;
292
0
  }
Unexecuted instantiation: _ZNK10hb_array_tIKcE11check_rangeIN2OT7NumTypeILb1EtLj2EEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEbPKT_j
Unexecuted instantiation: _ZNK10hb_array_tIKcE11check_rangeIN2OT9glyf_impl20CompositeGlyphRecordELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEbPKT_j
Unexecuted instantiation: _ZNK10hb_array_tIKcE11check_rangeIN2OT20TupleVariationHeaderELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEbPKT_j
Unexecuted instantiation: _ZNK10hb_array_tIKcE11check_rangeIN2OT7NumTypeILb1EhLj1EEELj1ETnPN12hb_enable_ifIXeqT0_Li1EEvE4typeELPv0EEEbPKT_j
293
294
  /* Only call if you allocated the underlying array using hb_malloc() or similar. */
295
  void fini ()
296
0
  { hb_free ((void *) arrayZ); arrayZ = nullptr; length = 0; }
297
298
  template <typename hb_serialize_context_t,
299
      typename U = Type,
300
      hb_enable_if (!(sizeof (U) < sizeof (long long) && hb_is_trivially_copy_assignable(hb_decay<Type>)))>
301
  hb_array_t copy (hb_serialize_context_t *c) const
302
  {
303
    TRACE_SERIALIZE (this);
304
    auto* out = c->start_embed (arrayZ);
305
    if (unlikely (!c->extend_size (out, get_size (), false))) return_trace (hb_array_t ());
306
    for (unsigned i = 0; i < length; i++)
307
      out[i] = arrayZ[i]; /* TODO: add version that calls c->copy() */
308
    return_trace (hb_array_t (out, length));
309
  }
310
311
  template <typename hb_serialize_context_t,
312
      typename U = Type,
313
      hb_enable_if (sizeof (U) < sizeof (long long) && hb_is_trivially_copy_assignable(hb_decay<Type>))>
314
  hb_array_t copy (hb_serialize_context_t *c) const
315
0
  {
316
0
    TRACE_SERIALIZE (this);
317
0
    auto* out = c->start_embed (arrayZ);
318
0
    if (unlikely (!c->extend_size (out, get_size (), false))) return_trace (hb_array_t ());
319
0
    hb_memcpy (out, arrayZ, get_size ());
320
0
    return_trace (hb_array_t (out, length));
321
0
  }
Unexecuted instantiation: _ZNK10hb_array_tIKcE4copyI22hb_serialize_context_tS0_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES1_PT_
Unexecuted instantiation: _ZNK10hb_array_tIKN2OT7NumTypeILb1EjLj4EEEE4copyI22hb_serialize_context_tS3_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES4_PT_
Unexecuted instantiation: _ZNK10hb_array_tIKN2OT5IndexEE4copyI22hb_serialize_context_tS2_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES3_PT_
Unexecuted instantiation: _ZNK10hb_array_tIKN2OT11LayerRecordEE4copyI22hb_serialize_context_tS2_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES3_PT_
Unexecuted instantiation: _ZNK10hb_array_tIKN2OT7NumTypeILb1EhLj1EEEE4copyI22hb_serialize_context_tS3_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES4_PT_
Unexecuted instantiation: _ZNK10hb_array_tIKN2OT3TagEE4copyI22hb_serialize_context_tS2_TnPN12hb_enable_ifIXaaltstT0_Lm8EL_ZNSt3__117integral_constantIbLb1EE5valueEEEvE4typeELPv0EEES3_PT_
322
323
  template <typename hb_sanitize_context_t>
324
  bool sanitize (hb_sanitize_context_t *c) const
325
0
  { return c->check_array (arrayZ, length); }
Unexecuted instantiation: bool hb_array_t<OT::AxisRecord const>::sanitize<hb_sanitize_context_t>(hb_sanitize_context_t*) const
Unexecuted instantiation: bool hb_array_t<unsigned char const>::sanitize<hb_sanitize_context_t>(hb_sanitize_context_t*) const
326
327
  /*
328
   * Members
329
   */
330
331
  public:
332
  Type *arrayZ = nullptr;
333
  unsigned int length = 0;
334
  unsigned int backwards_length = 0;
335
};
336
template <typename T> inline hb_array_t<T>
337
hb_array ()
338
{ return hb_array_t<T> (); }
339
template <typename T> inline hb_array_t<T>
340
hb_array (T *array, unsigned int length)
341
316k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<hb_user_data_array_t::hb_user_data_item_t> hb_array<hb_user_data_array_t::hb_user_data_item_t>(hb_user_data_array_t::hb_user_data_item_t*, unsigned int)
hb_array_t<hb_ot_map_t::feature_map_t> hb_array<hb_ot_map_t::feature_map_t>(hb_ot_map_t::feature_map_t*, unsigned int)
Line
Count
Source
341
17.7k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<hb_ot_map_t::lookup_map_t const> hb_array<hb_ot_map_t::lookup_map_t const>(hb_ot_map_t::lookup_map_t const*, unsigned int)
hb_array_t<hb_ot_map_t::lookup_map_t> hb_array<hb_ot_map_t::lookup_map_t>(hb_ot_map_t::lookup_map_t*, unsigned int)
Line
Count
Source
341
31
{ return hb_array_t<T> (array, length); }
hb_array_t<hb_bit_set_t::page_map_t> hb_array<hb_bit_set_t::page_map_t>(hb_bit_set_t::page_map_t*, unsigned int)
Line
Count
Source
341
20.2k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<hb_bit_page_t> hb_array<hb_bit_page_t>(hb_bit_page_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t::link_t> hb_array<hb_serialize_context_t::object_t::link_t>(hb_serialize_context_t::object_t::link_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t*> hb_array<hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t*>(hb_pool_t<hb_serialize_context_t::object_t, 32u>::chunk_t**, unsigned int)
Unexecuted instantiation: hb_array_t<hb_serialize_context_t::object_t*> hb_array<hb_serialize_context_t::object_t*>(hb_serialize_context_t::object_t**, unsigned int)
Unexecuted instantiation: hb_array_t<unsigned int const> hb_array<unsigned int const>(unsigned int const*, unsigned int)
hb_array_t<unsigned int> hb_array<unsigned int>(unsigned int*, unsigned int)
Line
Count
Source
341
289
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::ResourceRecord const> hb_array<OT::ResourceRecord const>(OT::ResourceRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::TableRecord const> hb_array<OT::TableRecord const>(OT::TableRecord const*, unsigned int)
hb_array_t<OT::Index const> hb_array<OT::Index const>(OT::Index const*, unsigned int)
Line
Count
Source
341
289
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 3u> const> hb_array<OT::NumType<true, unsigned int, 3u> const>(OT::NumType<true, unsigned int, 3u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, unsigned int> > hb_array<hb_pair_t<unsigned int, unsigned int> >(hb_pair_t<unsigned int, unsigned int>*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned short, 2u> const> hb_array<OT::NumType<true, unsigned short, 2u> const>(OT::NumType<true, unsigned short, 2u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<unsigned char> hb_array<unsigned char>(unsigned char*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_inc_bimap_t> hb_array<hb_inc_bimap_t>(hb_inc_bimap_t*, unsigned int)
Unexecuted instantiation: hb_array_t<float> hb_array<float>(float*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::FeatureTableSubstitutionRecord const> hb_array<OT::FeatureTableSubstitutionRecord const>(OT::FeatureTableSubstitutionRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const> hb_array<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const>(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<bool> hb_array<bool>(bool*, unsigned int)
Unexecuted instantiation: hb_array_t<char> hb_array<char>(char*, unsigned int)
hb_array_t<int> hb_array<int>(int*, unsigned int)
Line
Count
Source
341
10.3k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::delta_row_encoding_t> hb_array<OT::delta_row_encoding_t>(OT::delta_row_encoding_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_vector_t<int, false> const*> hb_array<hb_vector_t<int, false> const*>(hb_vector_t<int, false> const**, unsigned int)
Unexecuted instantiation: hb_array_t<hb_pair_t<unsigned int, face_table_info_t> > hb_array<hb_pair_t<unsigned int, face_table_info_t> >(hb_pair_t<unsigned int, face_table_info_t>*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::TableRecord> hb_array<OT::TableRecord>(OT::TableRecord*, unsigned int)
hb_array_t<OT::AxisRecord const> hb_array<OT::AxisRecord const>(OT::AxisRecord const*, unsigned int)
Line
Count
Source
341
10.3k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::AxisValueMap const> hb_array<OT::AxisValueMap const>(OT::AxisValueMap const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::AxisValueMap> hb_array<OT::AxisValueMap>(OT::AxisValueMap*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const> hb_array<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const>(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::DeltaSetIndexMap const*> hb_array<OT::DeltaSetIndexMap const*>(OT::DeltaSetIndexMap const**, unsigned int)
Unexecuted instantiation: hb_array_t<OT::index_map_subset_plan_t> hb_array<OT::index_map_subset_plan_t>(OT::index_map_subset_plan_t*, unsigned int)
Unexecuted instantiation: hb_array_t<contour_point_t> hb_array<contour_point_t>(contour_point_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::glyf_impl::SubsetGlyph> hb_array<OT::glyf_impl::SubsetGlyph>(OT::glyf_impl::SubsetGlyph*, unsigned int)
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_str_t> hb_array<CFF::parsed_cs_str_t>(CFF::parsed_cs_str_t*, unsigned int)
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_op_t> hb_array<CFF::parsed_cs_op_t>(CFF::parsed_cs_op_t*, unsigned int)
Unexecuted instantiation: hb_array_t<CFF::parsed_cs_str_vec_t> hb_array<CFF::parsed_cs_str_vec_t>(CFF::parsed_cs_str_vec_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_array_t<unsigned char const> > hb_array<hb_array_t<unsigned char const> >(hb_array_t<unsigned char const>*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::cff1::accelerator_t::gname_t> hb_array<OT::cff1::accelerator_t::gname_t>(OT::cff1::accelerator_t::gname_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::LookupRecord const> hb_array<OT::LookupRecord const>(OT::LookupRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::EntryExitRecord const> hb_array<OT::Layout::GPOS_impl::EntryExitRecord const>(OT::Layout::GPOS_impl::EntryExitRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::Layout::GPOS_impl::MarkRecord const> hb_array<OT::Layout::GPOS_impl::MarkRecord const>(OT::Layout::GPOS_impl::MarkRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, short, 2u> const> hb_array<OT::NumType<true, short, 2u> const>(OT::NumType<true, short, 2u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned char, 1u> const> hb_array<OT::NumType<true, unsigned char, 1u> const>(OT::NumType<true, unsigned char, 1u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::DataMap const> hb_array<OT::DataMap const>(OT::DataMap const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_ot_meta_tag_t> hb_array<hb_ot_meta_tag_t>(hb_ot_meta_tag_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NameRecord const> hb_array<OT::NameRecord const>(OT::NameRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_ot_name_entry_t> hb_array<hb_ot_name_entry_t>(hb_ot_name_entry_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::BitmapSizeTable const> hb_array<OT::BitmapSizeTable const>(OT::BitmapSizeTable const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NumType<true, unsigned int, 4u> const> hb_array<OT::NumType<true, unsigned int, 4u> const>(OT::NumType<true, unsigned int, 4u> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::NoVariable<OT::ColorStop> const> hb_array<OT::NoVariable<OT::ColorStop> const>(OT::NoVariable<OT::ColorStop> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::Variable<OT::ColorStop> const> hb_array<OT::Variable<OT::ColorStop> const>(OT::Variable<OT::ColorStop> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const> hb_array<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const>(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::LayerRecord const> hb_array<OT::LayerRecord const>(OT::LayerRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_ot_color_layer_t> hb_array<hb_ot_color_layer_t>(hb_ot_color_layer_t*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::LayerRecord> hb_array<OT::LayerRecord>(OT::LayerRecord*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16 const> hb_array<OT::HBGlyphID16 const>(OT::HBGlyphID16 const*, unsigned int)
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Line
Count
Source
341
14
{ return hb_array_t<T> (array, length); }
hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Line
Count
Source
341
15
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<AAT::Feature const> hb_array<AAT::Feature const>(AAT::Feature const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::AxisValueRecord const> hb_array<OT::AxisValueRecord const>(OT::AxisValueRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const> hb_array<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const>(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int)
Unexecuted instantiation: hb_array_t<OT::StatAxisRecord const> hb_array<OT::StatAxisRecord const>(OT::StatAxisRecord const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_outline_point_t> hb_array<hb_outline_point_t>(hb_outline_point_t*, unsigned int)
Unexecuted instantiation: hb_array_t<AAT::SettingName const> hb_array<AAT::SettingName const>(AAT::SettingName const*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_selector_info_t> hb_array<hb_aat_layout_feature_selector_info_t>(hb_aat_layout_feature_selector_info_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_layout_feature_type_t> hb_array<hb_aat_layout_feature_type_t>(hb_aat_layout_feature_type_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_info_t> hb_array<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_t::range_flags_t> hb_array<hb_aat_map_t::range_flags_t>(hb_aat_map_t::range_flags_t*, unsigned int)
Unexecuted instantiation: hb_array_t<hb_aat_map_builder_t::feature_event_t> hb_array<hb_aat_map_builder_t::feature_event_t>(hb_aat_map_builder_t::feature_event_t*, unsigned int)
hb_array_t<int const> hb_array<int const>(int const*, unsigned int)
Line
Count
Source
341
254k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::Tag const> hb_array<OT::Tag const>(OT::Tag const*, unsigned int)
hb_array_t<hb_ot_map_builder_t::feature_info_t> hb_array<hb_ot_map_builder_t::feature_info_t>(hb_ot_map_builder_t::feature_info_t*, unsigned int)
Line
Count
Source
341
2.21k
{ return hb_array_t<T> (array, length); }
Unexecuted instantiation: hb_array_t<OT::HBGlyphID16> hb_array<OT::HBGlyphID16>(OT::HBGlyphID16*, unsigned int)
342
template <typename T, unsigned int length_> inline hb_array_t<T>
343
hb_array (T (&array_)[length_])
344
0
{ return hb_array_t<T> (array_); }
345
346
template <typename Type>
347
struct hb_sorted_array_t :
348
  hb_array_t<Type>,
349
  hb_iter_t<hb_sorted_array_t<Type>, Type&>
350
{
351
  typedef hb_iter_t<hb_sorted_array_t, Type&> iter_base_t;
352
  HB_ITER_USING (iter_base_t);
353
  static constexpr bool is_random_access_iterator = true;
354
  static constexpr bool is_sorted_iterator = true;
355
  static constexpr bool has_fast_len = true;
356
357
  hb_sorted_array_t () = default;
358
  hb_sorted_array_t (const hb_sorted_array_t&) = default;
359
  ~hb_sorted_array_t () = default;
360
  hb_sorted_array_t& operator= (const hb_sorted_array_t&) = default;
361
  hb_sorted_array_t& operator= (hb_sorted_array_t&&) = default;
362
363
25.7k
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
Unexecuted instantiation: hb_sorted_array_t<OT::TableRecord const>::hb_sorted_array_t(OT::TableRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::VariationSelectorRecord const>::hb_sorted_array_t(OT::VariationSelectorRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::UVSMapping const>::hb_sorted_array_t(OT::UVSMapping const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::EncodingRecord const>::hb_sorted_array_t(OT::EncodingRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::CmapSubtableLongGroup const>::hb_sorted_array_t(OT::CmapSubtableLongGroup const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::UnicodeValueRange const>::hb_sorted_array_t(OT::UnicodeValueRange const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::VertOriginMetric const>::hb_sorted_array_t(OT::VertOriginMetric const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::hb_sorted_array_t(OT::BaseGlyphPaintRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::ClipRecord const>::hb_sorted_array_t(OT::ClipRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphRecord const>::hb_sorted_array_t(OT::BaseGlyphRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::SVGDocumentIndexEntry const>::hb_sorted_array_t(OT::SVGDocumentIndexEntry const*, unsigned int)
hb_sorted_array_t<OT::HBGlyphID16 const>::hb_sorted_array_t(OT::HBGlyphID16 const*, unsigned int)
Line
Count
Source
363
100
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
Unexecuted instantiation: hb_sorted_array_t<AAT::FeatureName const>::hb_sorted_array_t(AAT::FeatureName const*, unsigned int)
hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::hb_sorted_array_t(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int)
Line
Count
Source
363
24
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
Unexecuted instantiation: hb_sorted_array_t<AAT::KernPair const>::hb_sorted_array_t(AAT::KernPair const*, unsigned int)
hb_sorted_array_t<OT::Record<OT::Script> const>::hb_sorted_array_t(OT::Record<OT::Script> const*, unsigned int)
Line
Count
Source
363
17.5k
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::Feature> const>::hb_sorted_array_t(OT::Record<OT::Feature> const*, unsigned int)
hb_sorted_array_t<OT::Record<OT::LangSys> const>::hb_sorted_array_t(OT::Record<OT::LangSys> const*, unsigned int)
Line
Count
Source
363
7.09k
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
Unexecuted instantiation: hb_sorted_array_t<OT::BaseScriptRecord const>::hb_sorted_array_t(OT::BaseScriptRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseLangSysRecord const>::hb_sorted_array_t(OT::BaseLangSysRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::FeatMinMaxRecord const>::hb_sorted_array_t(OT::FeatMinMaxRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Tag const>::hb_sorted_array_t(OT::Tag const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >::hb_sorted_array_t(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::HBGlyphID16>::hb_sorted_array_t(OT::HBGlyphID16*, unsigned int)
hb_sorted_array_t<LangTag const>::hb_sorted_array_t(LangTag const*, unsigned int)
Line
Count
Source
363
904
  constexpr hb_sorted_array_t (Type *array_, unsigned int length_) : hb_array_t<Type> (array_, length_) {}
364
  template <unsigned int length_>
365
0
  constexpr hb_sorted_array_t (Type (&array_)[length_]) : hb_array_t<Type> (array_) {}
Unexecuted instantiation: hb_sorted_array_t<hb_aat_feature_mapping_t const>::hb_sorted_array_t<78u>(hb_aat_feature_mapping_t const (&) [78u])
Unexecuted instantiation: hb_sorted_array_t<sid_to_gid_t const>::hb_sorted_array_t<165u>(sid_to_gid_t const (&) [165u])
Unexecuted instantiation: hb_sorted_array_t<sid_to_gid_t const>::hb_sorted_array_t<86u>(sid_to_gid_t const (&) [86u])
366
367
  template <typename U,
368
      hb_enable_if (hb_is_cr_convertible(U, Type))>
369
  constexpr hb_sorted_array_t (const hb_array_t<U> &o) :
370
40.2k
    hb_array_t<Type> (o),
371
40.2k
    hb_iter_t<hb_sorted_array_t, Type&> () {}
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN2OT11TableRecordEEC2IS2_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
_ZN17hb_sorted_array_tIKN12hb_bit_set_t10page_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Line
Count
Source
370
20.2k
    hb_array_t<Type> (o),
371
20.2k
    hb_iter_t<hb_sorted_array_t, Type&> () {}
Unexecuted instantiation: _ZN17hb_sorted_array_tI9hb_pair_tIj17face_table_info_tEEC2IS2_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN2OT11TableRecordEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIjEC2IjTnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_jEE5valueEvE4typeELPv0EEERK10hb_array_tIS3_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN2OT4cff113accelerator_t7gname_tEEC2IS3_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S3_EE5valueEvE4typeELPv0EEERK10hb_array_tIS7_E
_ZN17hb_sorted_array_tIKN11hb_ot_map_t13feature_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Line
Count
Source
370
17.7k
    hb_array_t<Type> (o),
371
17.7k
    hb_iter_t<hb_sorted_array_t, Type&> () {}
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN3AAT11FeatureNameEEC2IS2_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN20hb_aat_map_builder_t14feature_info_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN12hb_aat_map_t13range_flags_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN20hb_aat_map_builder_t15feature_event_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN20hb_aat_map_builder_t14feature_info_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN2OT6RecordINS0_6ScriptEEEEC2IS4_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S4_EE5valueEvE4typeELPv0EEERK10hb_array_tIS8_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN2OT6RecordINS0_7FeatureEEEEC2IS4_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S4_EE5valueEvE4typeELPv0EEERK10hb_array_tIS8_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN2OT6RecordINS0_7LangSysEEEEC2IS4_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S4_EE5valueEvE4typeELPv0EEERK10hb_array_tIS8_E
_ZN17hb_sorted_array_tIN19hb_ot_map_builder_t14feature_info_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Line
Count
Source
370
2.21k
    hb_array_t<Type> (o),
371
2.21k
    hb_iter_t<hb_sorted_array_t, Type&> () {}
Unexecuted instantiation: _ZN17hb_sorted_array_tIN11hb_ot_map_t13feature_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
_ZN17hb_sorted_array_tIN11hb_ot_map_t12lookup_map_tEEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Line
Count
Source
370
31
    hb_array_t<Type> (o),
371
31
    hb_iter_t<hb_sorted_array_t, Type&> () {}
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN11hb_ot_map_t13feature_map_tEEC2IS2_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN2OT11HBGlyphID16EEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S1_EE5valueEvE4typeELPv0EEERK10hb_array_tIS5_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIN2OT6Layout6Common11RangeRecordINS1_10SmallTypesEEEEC2IS5_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S5_EE5valueEvE4typeELPv0EEERK10hb_array_tIS9_E
Unexecuted instantiation: _ZN17hb_sorted_array_tIKN2OT11HBGlyphID16EEC2IS1_TnPN12hb_enable_ifIXsr20hb_is_cr_convertibleIT_S2_EE5valueEvE4typeELPv0EEERK10hb_array_tIS6_E
372
  template <typename U,
373
      hb_enable_if (hb_is_cr_convertible(U, Type))>
374
  hb_sorted_array_t& operator = (const hb_array_t<U> &o)
375
  { hb_array_t<Type> (*this) = o; return *this; }
376
377
  /* Iterator implementation. */
378
379
  /* See comment in hb_array_of::operator != */
380
  bool operator != (const hb_sorted_array_t& o) const
381
0
  { return this->arrayZ != o.arrayZ || this->length != o.length; }
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::LangSys> const>::operator!=(hb_sorted_array_t<OT::Record<OT::LangSys> const> const&) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::Script> const>::operator!=(hb_sorted_array_t<OT::Record<OT::Script> const> const&) const
Unexecuted instantiation: hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>::operator!=(hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const> const&) const
Unexecuted instantiation: hb_sorted_array_t<OT::UVSMapping const>::operator!=(hb_sorted_array_t<OT::UVSMapping const> const&) const
Unexecuted instantiation: hb_sorted_array_t<OT::EncodingRecord const>::operator!=(hb_sorted_array_t<OT::EncodingRecord const> const&) const
Unexecuted instantiation: hb_sorted_array_t<OT::VertOriginMetric const>::operator!=(hb_sorted_array_t<OT::VertOriginMetric const> const&) const
Unexecuted instantiation: hb_sorted_array_t<OT::HBGlyphID16>::operator!=(hb_sorted_array_t<OT::HBGlyphID16> const&) const
382
383
  /* Faster range-based for loop without bounds-check. */
384
0
  Type *begin () const { return this->arrayZ; }
Unexecuted instantiation: hb_sorted_array_t<OT::VariationSelectorRecord const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<OT::UVSMapping const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<unsigned int const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<OT::HBGlyphID16 const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<OT::ClipRecord const>::begin() const
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::begin() const
385
0
  Type *end () const { return this->arrayZ + this->length; }
Unexecuted instantiation: hb_sorted_array_t<OT::VariationSelectorRecord const>::end() const
Unexecuted instantiation: hb_sorted_array_t<OT::UVSMapping const>::end() const
Unexecuted instantiation: hb_sorted_array_t<unsigned int const>::end() const
Unexecuted instantiation: hb_sorted_array_t<OT::HBGlyphID16 const>::end() const
Unexecuted instantiation: hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::end() const
Unexecuted instantiation: hb_sorted_array_t<OT::ClipRecord const>::end() const
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::end() const
386
387
388
  hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const
389
0
  { return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_count)); }
Unexecuted instantiation: hb_sorted_array_t<OT::TableRecord const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::LangSys> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::Script> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::Feature> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<AAT::FeatureName const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::JstfLangSys> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::JstfScript> const>::sub_array(unsigned int, unsigned int*) const
Unexecuted instantiation: hb_sorted_array_t<hb_ot_map_t::feature_map_t const>::sub_array(unsigned int, unsigned int*) const
390
  hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const
391
  { return sub_array (start_offset, &seg_count); }
392
393
  hb_sorted_array_t truncate (unsigned length) const { return sub_array (0, length); }
394
395
  template <typename T>
396
  Type *bsearch (const T &x, Type *not_found = nullptr)
397
17.7k
  {
398
17.7k
    unsigned int i;
399
17.7k
    return bfind (x, &i) ? &this->arrayZ[i] : not_found;
400
17.7k
  }
hb_ot_map_t::feature_map_t const* hb_sorted_array_t<hb_ot_map_t::feature_map_t const>::bsearch<unsigned int>(unsigned int const&, hb_ot_map_t::feature_map_t const*)
Line
Count
Source
397
17.7k
  {
398
17.7k
    unsigned int i;
399
17.7k
    return bfind (x, &i) ? &this->arrayZ[i] : not_found;
400
17.7k
  }
Unexecuted instantiation: OT::VariationSelectorRecord const* hb_sorted_array_t<OT::VariationSelectorRecord const>::bsearch<unsigned int>(unsigned int const&, OT::VariationSelectorRecord const*)
Unexecuted instantiation: OT::EncodingRecord const* hb_sorted_array_t<OT::EncodingRecord const>::bsearch<OT::EncodingRecord>(OT::EncodingRecord const&, OT::EncodingRecord const*)
Unexecuted instantiation: OT::CmapSubtableLongGroup const* hb_sorted_array_t<OT::CmapSubtableLongGroup const>::bsearch<unsigned int>(unsigned int const&, OT::CmapSubtableLongGroup const*)
Unexecuted instantiation: OT::OS2Range const* hb_sorted_array_t<OT::OS2Range const>::bsearch<unsigned int>(unsigned int const&, OT::OS2Range const*)
OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const* hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::bsearch<unsigned int>(unsigned int const&, OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*)
Line
Count
Source
397
24
  {
398
24
    unsigned int i;
399
24
    return bfind (x, &i) ? &this->arrayZ[i] : not_found;
400
24
  }
Unexecuted instantiation: OT::UnicodeValueRange const* hb_sorted_array_t<OT::UnicodeValueRange const>::bsearch<unsigned int>(unsigned int const&, OT::UnicodeValueRange const*)
Unexecuted instantiation: OT::UVSMapping const* hb_sorted_array_t<OT::UVSMapping const>::bsearch<unsigned int>(unsigned int const&, OT::UVSMapping const*)
Unexecuted instantiation: OT::cff1::accelerator_t::gname_t* hb_sorted_array_t<OT::cff1::accelerator_t::gname_t>::bsearch<OT::cff1::accelerator_t::gname_t>(OT::cff1::accelerator_t::gname_t const&, OT::cff1::accelerator_t::gname_t*)
Unexecuted instantiation: AAT::KernPair const* hb_sorted_array_t<AAT::KernPair const>::bsearch<AAT::hb_glyph_pair_t>(AAT::hb_glyph_pair_t const&, AAT::KernPair const*)
Unexecuted instantiation: OT::ClipRecord const* hb_sorted_array_t<OT::ClipRecord const>::bsearch<unsigned int>(unsigned int const&, OT::ClipRecord const*)
Unexecuted instantiation: OT::BaseGlyphRecord const* hb_sorted_array_t<OT::BaseGlyphRecord const>::bsearch<unsigned int>(unsigned int const&, OT::BaseGlyphRecord const*)
Unexecuted instantiation: OT::BaseGlyphPaintRecord const* hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::bsearch<unsigned int>(unsigned int const&, OT::BaseGlyphPaintRecord const*)
Unexecuted instantiation: OT::SVGDocumentIndexEntry const* hb_sorted_array_t<OT::SVGDocumentIndexEntry const>::bsearch<unsigned int>(unsigned int const&, OT::SVGDocumentIndexEntry const*)
Unexecuted instantiation: AAT::FeatureName const* hb_sorted_array_t<AAT::FeatureName const>::bsearch<hb_aat_layout_feature_type_t>(hb_aat_layout_feature_type_t const&, AAT::FeatureName const*)
Unexecuted instantiation: hb_aat_feature_mapping_t const* hb_sorted_array_t<hb_aat_feature_mapping_t const>::bsearch<unsigned int>(unsigned int const&, hb_aat_feature_mapping_t const*)
Unexecuted instantiation: hb_aat_map_builder_t::feature_info_t const* hb_sorted_array_t<hb_aat_map_builder_t::feature_info_t const>::bsearch<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t const&, hb_aat_map_builder_t::feature_info_t const*)
Unexecuted instantiation: sid_to_gid_t const* hb_sorted_array_t<sid_to_gid_t const>::bsearch<unsigned int>(unsigned int const&, sid_to_gid_t const*)
Unexecuted instantiation: OT::BaseScriptRecord const* hb_sorted_array_t<OT::BaseScriptRecord const>::bsearch<unsigned int>(unsigned int const&, OT::BaseScriptRecord const*)
Unexecuted instantiation: OT::BaseLangSysRecord const* hb_sorted_array_t<OT::BaseLangSysRecord const>::bsearch<unsigned int>(unsigned int const&, OT::BaseLangSysRecord const*)
Unexecuted instantiation: OT::FeatMinMaxRecord const* hb_sorted_array_t<OT::FeatMinMaxRecord const>::bsearch<unsigned int>(unsigned int const&, OT::FeatMinMaxRecord const*)
401
  template <typename T>
402
  const Type *bsearch (const T &x, const Type *not_found = nullptr) const
403
  {
404
    unsigned int i;
405
    return bfind (x, &i) ? &this->arrayZ[i] : not_found;
406
  }
407
  template <typename T>
408
  bool bfind (const T &x, unsigned int *i = nullptr,
409
        hb_not_found_t not_found = HB_NOT_FOUND_DONT_STORE,
410
        unsigned int to_store = (unsigned int) -1) const
411
63.6k
  {
412
63.6k
    unsigned pos;
413
414
63.6k
    if (bsearch_impl (x, &pos))
415
17.5k
    {
416
17.5k
      if (i)
417
17.5k
  *i = pos;
418
17.5k
      return true;
419
17.5k
    }
420
421
46.0k
    if (i)
422
46.0k
    {
423
46.0k
      switch (not_found)
424
46.0k
      {
425
20.4k
  case HB_NOT_FOUND_DONT_STORE:
426
20.4k
    break;
427
428
24.6k
  case HB_NOT_FOUND_STORE:
429
24.6k
    *i = to_store;
430
24.6k
    break;
431
432
907
  case HB_NOT_FOUND_STORE_CLOSEST:
433
907
    *i = pos;
434
907
    break;
435
46.0k
      }
436
46.0k
    }
437
46.0k
    return false;
438
46.0k
  }
bool hb_sorted_array_t<hb_ot_map_t::feature_map_t const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
17.7k
  {
412
17.7k
    unsigned pos;
413
414
17.7k
    if (bsearch_impl (x, &pos))
415
46
    {
416
46
      if (i)
417
46
  *i = pos;
418
46
      return true;
419
46
    }
420
421
17.7k
    if (i)
422
17.7k
    {
423
17.7k
      switch (not_found)
424
17.7k
      {
425
17.7k
  case HB_NOT_FOUND_DONT_STORE:
426
17.7k
    break;
427
428
0
  case HB_NOT_FOUND_STORE:
429
0
    *i = to_store;
430
0
    break;
431
432
0
  case HB_NOT_FOUND_STORE_CLOSEST:
433
0
    *i = pos;
434
0
    break;
435
17.7k
      }
436
17.7k
    }
437
17.7k
    return false;
438
17.7k
  }
Unexecuted instantiation: bool hb_sorted_array_t<hb_bit_set_t::page_map_t const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
bool hb_sorted_array_t<hb_bit_set_t::page_map_t const>::bfind<hb_bit_set_t::page_map_t>(hb_bit_set_t::page_map_t const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
20.2k
  {
412
20.2k
    unsigned pos;
413
414
20.2k
    if (bsearch_impl (x, &pos))
415
17.4k
    {
416
17.4k
      if (i)
417
17.4k
  *i = pos;
418
17.4k
      return true;
419
17.4k
    }
420
421
2.77k
    if (i)
422
2.77k
    {
423
2.77k
      switch (not_found)
424
2.77k
      {
425
1.86k
  case HB_NOT_FOUND_DONT_STORE:
426
1.86k
    break;
427
428
0
  case HB_NOT_FOUND_STORE:
429
0
    *i = to_store;
430
0
    break;
431
432
907
  case HB_NOT_FOUND_STORE_CLOSEST:
433
907
    *i = pos;
434
907
    break;
435
2.77k
      }
436
2.77k
    }
437
2.77k
    return false;
438
2.77k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::TableRecord const>::bfind<OT::Tag>(OT::Tag const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::VariationSelectorRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::EncodingRecord const>::bfind<OT::EncodingRecord>(OT::EncodingRecord const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::CmapSubtableLongGroup const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::OS2Range const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::HBGlyphID16 const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
bool hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
24
  {
412
24
    unsigned pos;
413
414
24
    if (bsearch_impl (x, &pos))
415
24
    {
416
24
      if (i)
417
24
  *i = pos;
418
24
      return true;
419
24
    }
420
421
0
    if (i)
422
0
    {
423
0
      switch (not_found)
424
0
      {
425
0
  case HB_NOT_FOUND_DONT_STORE:
426
0
    break;
427
428
0
  case HB_NOT_FOUND_STORE:
429
0
    *i = to_store;
430
0
    break;
431
432
0
  case HB_NOT_FOUND_STORE_CLOSEST:
433
0
    *i = pos;
434
0
    break;
435
0
      }
436
0
    }
437
0
    return false;
438
0
  }
bool hb_sorted_array_t<OT::Record<OT::LangSys> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
7.09k
  {
412
7.09k
    unsigned pos;
413
414
7.09k
    if (bsearch_impl (x, &pos))
415
0
    {
416
0
      if (i)
417
0
  *i = pos;
418
0
      return true;
419
0
    }
420
421
7.09k
    if (i)
422
7.09k
    {
423
7.09k
      switch (not_found)
424
7.09k
      {
425
0
  case HB_NOT_FOUND_DONT_STORE:
426
0
    break;
427
428
7.09k
  case HB_NOT_FOUND_STORE:
429
7.09k
    *i = to_store;
430
7.09k
    break;
431
432
0
  case HB_NOT_FOUND_STORE_CLOSEST:
433
0
    *i = pos;
434
0
    break;
435
7.09k
      }
436
7.09k
    }
437
7.09k
    return false;
438
7.09k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::UnicodeValueRange const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::UVSMapping const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::cff1::accelerator_t::gname_t>::bfind<OT::cff1::accelerator_t::gname_t>(OT::cff1::accelerator_t::gname_t const&, unsigned int*, hb_not_found_t, unsigned int) const
bool hb_sorted_array_t<OT::Record<OT::Script> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
17.5k
  {
412
17.5k
    unsigned pos;
413
414
17.5k
    if (bsearch_impl (x, &pos))
415
46
    {
416
46
      if (i)
417
46
  *i = pos;
418
46
      return true;
419
46
    }
420
421
17.5k
    if (i)
422
17.5k
    {
423
17.5k
      switch (not_found)
424
17.5k
      {
425
0
  case HB_NOT_FOUND_DONT_STORE:
426
0
    break;
427
428
17.5k
  case HB_NOT_FOUND_STORE:
429
17.5k
    *i = to_store;
430
17.5k
    break;
431
432
0
  case HB_NOT_FOUND_STORE_CLOSEST:
433
0
    *i = pos;
434
0
    break;
435
17.5k
      }
436
17.5k
    }
437
17.5k
    return false;
438
17.5k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::Feature> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<AAT::KernPair const>::bfind<AAT::hb_glyph_pair_t>(AAT::hb_glyph_pair_t const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::ClipRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseGlyphRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::SVGDocumentIndexEntry const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::VertOriginMetric const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<AAT::FeatureName const>::bfind<hb_aat_layout_feature_type_t>(hb_aat_layout_feature_type_t const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<hb_aat_feature_mapping_t const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<hb_aat_map_builder_t::feature_info_t const>::bfind<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<sid_to_gid_t const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseScriptRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseLangSysRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::FeatMinMaxRecord const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Tag const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::JstfLangSys> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::JstfScript> const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
bool hb_sorted_array_t<LangTag const>::bfind<unsigned int>(unsigned int const&, unsigned int*, hb_not_found_t, unsigned int) const
Line
Count
Source
411
904
  {
412
904
    unsigned pos;
413
414
904
    if (bsearch_impl (x, &pos))
415
19
    {
416
19
      if (i)
417
19
  *i = pos;
418
19
      return true;
419
19
    }
420
421
885
    if (i)
422
885
    {
423
885
      switch (not_found)
424
885
      {
425
885
  case HB_NOT_FOUND_DONT_STORE:
426
885
    break;
427
428
0
  case HB_NOT_FOUND_STORE:
429
0
    *i = to_store;
430
0
    break;
431
432
0
  case HB_NOT_FOUND_STORE_CLOSEST:
433
0
    *i = pos;
434
0
    break;
435
885
      }
436
885
    }
437
885
    return false;
438
885
  }
439
  template <typename T, typename ...Ts>
440
  bool bsearch_impl (const T &x, unsigned *pos, Ts... ds) const
441
63.6k
  {
442
63.6k
    return hb_bsearch_impl (pos,
443
63.6k
          x,
444
63.6k
          this->arrayZ,
445
63.6k
          this->length,
446
63.6k
          sizeof (Type),
447
63.6k
          _hb_cmp_method<T, Type, Ts...>,
448
63.6k
          std::forward<Ts> (ds)...);
449
63.6k
  }
bool hb_sorted_array_t<hb_ot_map_t::feature_map_t const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Line
Count
Source
441
17.7k
  {
442
17.7k
    return hb_bsearch_impl (pos,
443
17.7k
          x,
444
17.7k
          this->arrayZ,
445
17.7k
          this->length,
446
17.7k
          sizeof (Type),
447
17.7k
          _hb_cmp_method<T, Type, Ts...>,
448
17.7k
          std::forward<Ts> (ds)...);
449
17.7k
  }
Unexecuted instantiation: bool hb_sorted_array_t<hb_bit_set_t::page_map_t const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
bool hb_sorted_array_t<hb_bit_set_t::page_map_t const>::bsearch_impl<hb_bit_set_t::page_map_t>(hb_bit_set_t::page_map_t const&, unsigned int*) const
Line
Count
Source
441
20.2k
  {
442
20.2k
    return hb_bsearch_impl (pos,
443
20.2k
          x,
444
20.2k
          this->arrayZ,
445
20.2k
          this->length,
446
20.2k
          sizeof (Type),
447
20.2k
          _hb_cmp_method<T, Type, Ts...>,
448
20.2k
          std::forward<Ts> (ds)...);
449
20.2k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::TableRecord const>::bsearch_impl<OT::Tag>(OT::Tag const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::VariationSelectorRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::EncodingRecord const>::bsearch_impl<OT::EncodingRecord>(OT::EncodingRecord const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::CmapSubtableLongGroup const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::OS2Range const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::HBGlyphID16 const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
bool hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Line
Count
Source
441
24
  {
442
24
    return hb_bsearch_impl (pos,
443
24
          x,
444
24
          this->arrayZ,
445
24
          this->length,
446
24
          sizeof (Type),
447
24
          _hb_cmp_method<T, Type, Ts...>,
448
24
          std::forward<Ts> (ds)...);
449
24
  }
bool hb_sorted_array_t<OT::Record<OT::LangSys> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Line
Count
Source
441
7.09k
  {
442
7.09k
    return hb_bsearch_impl (pos,
443
7.09k
          x,
444
7.09k
          this->arrayZ,
445
7.09k
          this->length,
446
7.09k
          sizeof (Type),
447
7.09k
          _hb_cmp_method<T, Type, Ts...>,
448
7.09k
          std::forward<Ts> (ds)...);
449
7.09k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::UnicodeValueRange const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::UVSMapping const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::cff1::accelerator_t::gname_t>::bsearch_impl<OT::cff1::accelerator_t::gname_t>(OT::cff1::accelerator_t::gname_t const&, unsigned int*) const
bool hb_sorted_array_t<OT::Record<OT::Script> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Line
Count
Source
441
17.5k
  {
442
17.5k
    return hb_bsearch_impl (pos,
443
17.5k
          x,
444
17.5k
          this->arrayZ,
445
17.5k
          this->length,
446
17.5k
          sizeof (Type),
447
17.5k
          _hb_cmp_method<T, Type, Ts...>,
448
17.5k
          std::forward<Ts> (ds)...);
449
17.5k
  }
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::Feature> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<AAT::KernPair const>::bsearch_impl<AAT::hb_glyph_pair_t>(AAT::hb_glyph_pair_t const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::ClipRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseGlyphRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseGlyphPaintRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::SVGDocumentIndexEntry const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::VertOriginMetric const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<AAT::FeatureName const>::bsearch_impl<hb_aat_layout_feature_type_t>(hb_aat_layout_feature_type_t const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<hb_aat_feature_mapping_t const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<hb_aat_map_builder_t::feature_info_t const>::bsearch_impl<hb_aat_map_builder_t::feature_info_t>(hb_aat_map_builder_t::feature_info_t const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<sid_to_gid_t const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseScriptRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::BaseLangSysRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::FeatMinMaxRecord const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Tag const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::JstfLangSys> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Unexecuted instantiation: bool hb_sorted_array_t<OT::Record<OT::JstfScript> const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
bool hb_sorted_array_t<LangTag const>::bsearch_impl<unsigned int>(unsigned int const&, unsigned int*) const
Line
Count
Source
441
904
  {
442
904
    return hb_bsearch_impl (pos,
443
904
          x,
444
904
          this->arrayZ,
445
904
          this->length,
446
904
          sizeof (Type),
447
904
          _hb_cmp_method<T, Type, Ts...>,
448
904
          std::forward<Ts> (ds)...);
449
904
  }
450
};
451
template <typename T> inline hb_sorted_array_t<T>
452
hb_sorted_array (T *array, unsigned int length)
453
25.7k
{ return hb_sorted_array_t<T> (array, length); }
Unexecuted instantiation: hb_sorted_array_t<OT::TableRecord const> hb_sorted_array<OT::TableRecord const>(OT::TableRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::VariationSelectorRecord const> hb_sorted_array<OT::VariationSelectorRecord const>(OT::VariationSelectorRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::UVSMapping const> hb_sorted_array<OT::UVSMapping const>(OT::UVSMapping const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::EncodingRecord const> hb_sorted_array<OT::EncodingRecord const>(OT::EncodingRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::CmapSubtableLongGroup const> hb_sorted_array<OT::CmapSubtableLongGroup const>(OT::CmapSubtableLongGroup const*, unsigned int)
hb_sorted_array_t<OT::HBGlyphID16 const> hb_sorted_array<OT::HBGlyphID16 const>(OT::HBGlyphID16 const*, unsigned int)
Line
Count
Source
453
100
{ return hb_sorted_array_t<T> (array, length); }
hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const> hb_sorted_array<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const>(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int)
Line
Count
Source
453
24
{ return hb_sorted_array_t<T> (array, length); }
Unexecuted instantiation: hb_sorted_array_t<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> > hb_sorted_array<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::Feature> const> hb_sorted_array<OT::Record<OT::Feature> const>(OT::Record<OT::Feature> const*, unsigned int)
hb_sorted_array_t<OT::Record<OT::LangSys> const> hb_sorted_array<OT::Record<OT::LangSys> const>(OT::Record<OT::LangSys> const*, unsigned int)
Line
Count
Source
453
7.09k
{ return hb_sorted_array_t<T> (array, length); }
hb_sorted_array_t<OT::Record<OT::Script> const> hb_sorted_array<OT::Record<OT::Script> const>(OT::Record<OT::Script> const*, unsigned int)
Line
Count
Source
453
17.5k
{ return hb_sorted_array_t<T> (array, length); }
Unexecuted instantiation: hb_sorted_array_t<OT::UnicodeValueRange const> hb_sorted_array<OT::UnicodeValueRange const>(OT::UnicodeValueRange const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::VariationSelectorRecord> hb_sorted_array<OT::VariationSelectorRecord>(OT::VariationSelectorRecord*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<AAT::KernPair const> hb_sorted_array<AAT::KernPair const>(AAT::KernPair const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::ClipRecord const> hb_sorted_array<OT::ClipRecord const>(OT::ClipRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphPaintRecord const> hb_sorted_array<OT::BaseGlyphPaintRecord const>(OT::BaseGlyphPaintRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseGlyphRecord const> hb_sorted_array<OT::BaseGlyphRecord const>(OT::BaseGlyphRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::SVGDocumentIndexEntry const> hb_sorted_array<OT::SVGDocumentIndexEntry const>(OT::SVGDocumentIndexEntry const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::VertOriginMetric const> hb_sorted_array<OT::VertOriginMetric const>(OT::VertOriginMetric const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<AAT::FeatureName const> hb_sorted_array<AAT::FeatureName const>(AAT::FeatureName const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseScriptRecord const> hb_sorted_array<OT::BaseScriptRecord const>(OT::BaseScriptRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::BaseLangSysRecord const> hb_sorted_array<OT::BaseLangSysRecord const>(OT::BaseLangSysRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::FeatMinMaxRecord const> hb_sorted_array<OT::FeatMinMaxRecord const>(OT::FeatMinMaxRecord const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Tag const> hb_sorted_array<OT::Tag const>(OT::Tag const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::JstfLangSys> const> hb_sorted_array<OT::Record<OT::JstfLangSys> const>(OT::Record<OT::JstfLangSys> const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::Record<OT::JstfScript> const> hb_sorted_array<OT::Record<OT::JstfScript> const>(OT::Record<OT::JstfScript> const*, unsigned int)
Unexecuted instantiation: hb_sorted_array_t<OT::HBGlyphID16> hb_sorted_array<OT::HBGlyphID16>(OT::HBGlyphID16*, unsigned int)
hb_sorted_array_t<LangTag const> hb_sorted_array<LangTag const>(LangTag const*, unsigned int)
Line
Count
Source
453
904
{ return hb_sorted_array_t<T> (array, length); }
454
template <typename T, unsigned int length_> inline hb_sorted_array_t<T>
455
hb_sorted_array (T (&array_)[length_])
456
0
{ return hb_sorted_array_t<T> (array_); }
Unexecuted instantiation: hb_sorted_array_t<OT::OS2Range const> hb_sorted_array<OT::OS2Range const, 169u>(OT::OS2Range const (&) [169u])
Unexecuted instantiation: hb_sorted_array_t<hb_aat_feature_mapping_t const> hb_sorted_array<hb_aat_feature_mapping_t const, 78u>(hb_aat_feature_mapping_t const (&) [78u])
Unexecuted instantiation: hb_sorted_array_t<sid_to_gid_t const> hb_sorted_array<sid_to_gid_t const, 165u>(sid_to_gid_t const (&) [165u])
Unexecuted instantiation: hb_sorted_array_t<sid_to_gid_t const> hb_sorted_array<sid_to_gid_t const, 86u>(sid_to_gid_t const (&) [86u])
457
458
template <typename T>
459
inline bool hb_array_t<T>::operator == (const hb_array_t<T> &o) const
460
0
{
461
0
  if (o.length != this->length) return false;
462
0
  for (unsigned int i = 0; i < this->length; i++) {
463
0
    if (this->arrayZ[i] != o.arrayZ[i]) return false;
464
0
  }
465
0
  return true;
466
0
}
467
template <>
468
inline bool hb_array_t<const char>::operator == (const hb_array_t<const char> &o) const
469
0
{
470
0
  if (o.length != this->length) return false;
471
0
  return 0 == hb_memcmp (arrayZ, o.arrayZ, length);
472
0
}
473
template <>
474
inline bool hb_array_t<const unsigned char>::operator == (const hb_array_t<const unsigned char> &o) const
475
0
{
476
0
  if (o.length != this->length) return false;
477
0
  return 0 == hb_memcmp (arrayZ, o.arrayZ, length);
478
0
}
479
480
481
/* Specialize hash() for byte arrays. */
482
483
#ifndef HB_OPTIMIZE_SIZE_MORE
484
template <>
485
inline uint32_t hb_array_t<const char>::hash () const
486
0
{
487
  // https://github.com/harfbuzz/harfbuzz/pull/4228
488
0
  return fasthash32(arrayZ, length, 0xf437ffe6 /* magic? */);
489
0
}
490
491
template <>
492
inline uint32_t hb_array_t<const unsigned char>::hash () const
493
0
{
494
0
  // https://github.com/harfbuzz/harfbuzz/pull/4228
495
0
  return fasthash32(arrayZ, length, 0xf437ffe6 /* magic? */);
496
0
}
497
#endif
498
499
500
typedef hb_array_t<const char> hb_bytes_t;
501
typedef hb_array_t<const unsigned char> hb_ubytes_t;
502
503
504
505
#endif /* HB_ARRAY_HH */