Coverage Report

Created: 2026-07-10 11:04

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/workdir/UnpackedTarball/harfbuzz/src/hb-sanitize.hh
Line
Count
Source
1
/*
2
 * Copyright © 2007,2008,2009,2010  Red Hat, Inc.
3
 * Copyright © 2012,2018  Google, Inc.
4
 *
5
 *  This is part of HarfBuzz, a text shaping library.
6
 *
7
 * Permission is hereby granted, without written agreement and without
8
 * license or royalty fees, to use, copy, modify, and distribute this
9
 * software and its documentation for any purpose, provided that the
10
 * above copyright notice and the following two paragraphs appear in
11
 * all copies of this software.
12
 *
13
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16
 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17
 * DAMAGE.
18
 *
19
 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
22
 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24
 *
25
 * Red Hat Author(s): Behdad Esfahbod
26
 * Google Author(s): Behdad Esfahbod
27
 */
28
29
#ifndef HB_SANITIZE_HH
30
#define HB_SANITIZE_HH
31
32
#include "hb.hh"
33
#include "hb-blob.hh"
34
#include "hb-dispatch.hh"
35
36
37
/*
38
 * Sanitize
39
 *
40
 *
41
 * === Introduction ===
42
 *
43
 * The sanitize machinery is at the core of our zero-cost font loading.  We
44
 * mmap() font file into memory and create a blob out of it.  Font subtables
45
 * are returned as a readonly sub-blob of the main font blob.  These table
46
 * blobs are then sanitized before use, to ensure invalid memory access does
47
 * not happen.  The toplevel sanitize API use is like, eg. to load the 'head'
48
 * table:
49
 *
50
 *   hb_blob_t *head_blob = hb_sanitize_context_t ().reference_table<OT::head> (face);
51
 *
52
 * The blob then can be converted to a head table struct with:
53
 *
54
 *   const head *head_table = head_blob->as<head> ();
55
 *
56
 * What the reference_table does is, to call hb_face_reference_table() to load
57
 * the table blob, sanitize it and return either the sanitized blob, or empty
58
 * blob if sanitization failed.  The blob->as() function returns the null
59
 * object of its template type argument if the blob is empty.  Otherwise, it
60
 * just casts the blob contents to the desired type.
61
 *
62
 * Sanitizing a blob of data with a type T works as follows (with minor
63
 * simplification):
64
 *
65
 *   - Cast blob content to T*, call sanitize() method of it,
66
 *   - If sanitize succeeded, return blob.
67
 *   - Return empty blob otherwise.
68
 *
69
 *
70
 * === The sanitize() contract ===
71
 *
72
 * The sanitize() method of each object type shall return `true` if it's safe to
73
 * call other methods of the object, and `false` otherwise.
74
 *
75
 * Note that what sanitize() checks for might align with what the specification
76
 * describes as valid table data, but does not have to be.  In particular, we
77
 * do NOT want to be pedantic and concern ourselves with validity checks that
78
 * are irrelevant to our use of the table.  On the contrary, we want to be
79
 * lenient with error handling and accept invalid data to the extent that it
80
 * does not impose extra burden on us.
81
 *
82
 * Based on the sanitize contract, one can see that what we check for depends
83
 * on how we use the data in other table methods.  Ie. if other table methods
84
 * assume that offsets do NOT point out of the table data block, then that's
85
 * something sanitize() must check for (GSUB/GPOS/GDEF/etc work this way).  On
86
 * the other hand, if other methods do such checks themselves, then sanitize()
87
 * does not have to bother with them (glyf/local work this way).  The choice
88
 * depends on the table structure and sanitize() performance.  For example, to
89
 * check glyf/loca offsets in sanitize() would cost O(num-glyphs).  We try hard
90
 * to avoid such costs during font loading.  By postponing such checks to the
91
 * actual glyph loading, we reduce the sanitize cost to O(1) and total runtime
92
 * cost to O(used-glyphs).  As such, this is preferred.
93
 *
94
 * The same argument can be made re GSUB/GPOS/GDEF, but there, the table
95
 * structure is so complicated that by checking all offsets at sanitize() time,
96
 * we make the code much simpler in other methods, as offsets and referenced
97
 * objects do not need to be validated at each use site.
98
 *
99
 * Note:
100
 * Sanitize was named so because it used to try to recover from errors by
101
 * modifying the data to make it valid.  This is no longer the case, as it
102
 * could make HarfBuzz hallucinate new rules if there was aliasing in the
103
 * data.  However, the name stuck.  See: https://behdad.github.io/harfbust/
104
 */
105
106
/* This limits sanitizing time on really broken fonts. */
107
#ifndef HB_SANITIZE_MAX_EDITS
108
#define HB_SANITIZE_MAX_EDITS 32
109
#endif
110
#ifndef HB_SANITIZE_MAX_OPS_FACTOR
111
#define HB_SANITIZE_MAX_OPS_FACTOR 64
112
#endif
113
#ifndef HB_SANITIZE_MAX_OPS_MIN
114
59.0M
#define HB_SANITIZE_MAX_OPS_MIN 16384
115
#endif
116
#ifndef HB_SANITIZE_MAX_OPS_MAX
117
74.7M
#define HB_SANITIZE_MAX_OPS_MAX 0x3FFFFFFF
118
#endif
119
#ifndef HB_SANITIZE_MAX_SUBTABLES
120
2.98k
#define HB_SANITIZE_MAX_SUBTABLES 0x4000
121
#endif
122
123
struct hb_sanitize_context_t :
124
       hb_dispatch_context_t<hb_sanitize_context_t, bool, HB_DEBUG_SANITIZE>
125
{
126
  hb_sanitize_context_t (const char *start_ = nullptr, const char *end_ = nullptr) :
127
59.0M
  start (start_), end (end_),
128
59.0M
  length (0),
129
59.0M
  max_ops (0), max_subtables (0),
130
59.0M
        recursion_depth (0),
131
59.0M
  writable (false),
132
59.0M
  blob (nullptr),
133
59.0M
  num_glyphs (65536),
134
59.0M
  num_glyphs_set (false),
135
59.0M
  lazy_some_gpos (false) {}
136
137
0
  const char *get_name () { return "SANITIZE"; }
138
  template <typename T, typename F>
139
  bool may_dispatch (const T *obj HB_UNUSED, const F *format)
140
5.15k
  {
141
5.15k
    return format->sanitize (this) &&
142
5.15k
     hb_barrier ();
143
5.15k
  }
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::SingleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::SingleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
151
  {
141
151
    return format->sanitize (this) &&
142
151
     hb_barrier ();
143
151
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::MultipleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::MultipleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::AlternateSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::AlternateSubst const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::LigatureSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::LigatureSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
272
  {
141
272
    return format->sanitize (this) &&
142
272
     hb_barrier ();
143
272
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Context, OT::NumType<true, unsigned short, 2u> >(OT::Context const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::ChainContext, OT::NumType<true, unsigned short, 2u> >(OT::ChainContext const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
2.78k
  {
141
2.78k
    return format->sanitize (this) &&
142
2.78k
     hb_barrier ();
143
2.78k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst>, OT::NumType<true, unsigned short, 2u> >(OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst> const*, OT::NumType<true, unsigned short, 2u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>, OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*, OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::ReverseChainSingleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::ReverseChainSingleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::SinglePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::SinglePos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
204
  {
141
204
    return format->sanitize (this) &&
142
204
     hb_barrier ();
143
204
  }
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::PairPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::PairPos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
204
  {
141
204
    return format->sanitize (this) &&
142
204
     hb_barrier ();
143
204
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::CursivePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::CursivePos const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkBasePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkBasePos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
1.40k
  {
141
1.40k
    return format->sanitize (this) &&
142
1.40k
     hb_barrier ();
143
1.40k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkLigPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkLigPos const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkMarkPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkMarkPos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
140
136
  {
141
136
    return format->sanitize (this) &&
142
136
     hb_barrier ();
143
136
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GPOS_impl::ExtensionPos>, OT::NumType<true, unsigned short, 2u> >(OT::Extension<OT::Layout::GPOS_impl::ExtensionPos> const*, OT::NumType<true, unsigned short, 2u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>, OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*, OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Paint, OT::NumType<true, unsigned char, 1u> >(OT::Paint const*, OT::NumType<true, unsigned char, 1u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ClipBox, OT::NumType<true, unsigned char, 1u> >(OT::ClipBox const*, OT::NumType<true, unsigned char, 1u> const*)
144
0
  static return_t default_return_value () { return true; }
145
0
  static return_t no_dispatch_return_value () { return false; }
146
0
  bool stop_sublookup_iteration (const return_t r) const { return !r; }
147
148
  bool visit_subtables (unsigned count)
149
2.98k
  {
150
2.98k
    max_subtables += count;
151
2.98k
    return max_subtables < HB_SANITIZE_MAX_SUBTABLES;
152
2.98k
  }
153
154
  private:
155
  template <typename T, typename ...Ts> auto
156
  _dispatch (const T &obj, hb_priority<1>, Ts&&... ds) HB_AUTO_RETURN
157
  ( obj.sanitize (this, std::forward<Ts> (ds)...) )
158
  template <typename T, typename ...Ts> auto
159
  _dispatch (const T &obj, hb_priority<0>, Ts&&... ds) HB_AUTO_RETURN
160
  ( obj.dispatch (this, std::forward<Ts> (ds)...) )
161
  public:
162
  template <typename T, typename ...Ts> auto
163
  dispatch (const T &obj, Ts&&... ds) HB_AUTO_RETURN
164
  ( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) )
165
166
43.2M
  hb_sanitize_context_t (hb_blob_t *b) : hb_sanitize_context_t ()
167
43.2M
  {
168
43.2M
    init (b);
169
170
43.2M
    if (blob)
171
43.2M
      start_processing ();
172
43.2M
  }
173
174
  ~hb_sanitize_context_t ()
175
59.0M
  {
176
59.0M
    if (blob)
177
43.2M
      end_processing ();
178
59.0M
  }
179
180
  void init (hb_blob_t *b)
181
59.0M
  {
182
59.0M
    this->blob = hb_blob_reference (b);
183
59.0M
    this->writable = false;
184
59.0M
  }
185
186
  void set_num_glyphs (unsigned int num_glyphs_)
187
15.8M
  {
188
15.8M
    num_glyphs = num_glyphs_;
189
15.8M
    num_glyphs_set = true;
190
15.8M
  }
191
0
  unsigned int get_num_glyphs () { return num_glyphs; }
192
193
15.6M
  void set_max_ops (int max_ops_) { max_ops = max_ops_; }
194
195
  template <typename T>
196
  void set_object (const T *obj)
197
1.65M
  {
198
1.65M
    reset_object ();
199
200
1.65M
    if (!obj) return;
201
202
0
    const char *obj_start = (const char *) obj;
203
0
    if (unlikely (obj_start < this->start || this->end <= obj_start))
204
0
    {
205
0
      this->start = this->end = nullptr;
206
0
      this->length = 0;
207
0
    }
208
0
    else
209
0
    {
210
0
      this->start = obj_start;
211
0
      this->end   = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ());
212
0
      this->length = this->end - this->start;
213
0
    }
214
0
  }
Unexecuted instantiation: void hb_sanitize_context_t::set_object<AAT::KerxSubTable>(AAT::KerxSubTable const*)
void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernOTSubTableHeader> >(OT::KernSubTable<OT::KernOTSubTableHeader> const*)
Line
Count
Source
197
1.65M
  {
198
1.65M
    reset_object ();
199
200
1.65M
    if (!obj) return;
201
202
0
    const char *obj_start = (const char *) obj;
203
0
    if (unlikely (obj_start < this->start || this->end <= obj_start))
204
0
    {
205
0
      this->start = this->end = nullptr;
206
0
      this->length = 0;
207
0
    }
208
0
    else
209
0
    {
210
0
      this->start = obj_start;
211
0
      this->end   = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ());
212
0
      this->length = this->end - this->start;
213
0
    }
214
0
  }
Unexecuted instantiation: void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernAATSubTableHeader> >(OT::KernSubTable<OT::KernAATSubTableHeader> const*)
215
216
  void reset_object ()
217
62.4M
  {
218
62.4M
    if (this->blob)
219
62.4M
    {
220
62.4M
      this->start = this->blob->data;
221
62.4M
      this->end = this->start + this->blob->length;
222
62.4M
    }
223
62.4M
    this->length = this->end - this->start;
224
62.4M
    assert (this->start <= this->end); /* Must not overflow. */
225
62.4M
  }
226
227
  void start_processing (const char *start_ = nullptr, const char *end_ = nullptr)
228
59.0M
  {
229
59.0M
    if (start_)
230
0
    {
231
0
      this->start = start_;
232
0
      this->end = end_;
233
0
    }
234
59.0M
    reset_object ();
235
59.0M
    unsigned m;
236
59.0M
    if (unlikely (hb_unsigned_mul_overflows (this->end - this->start, HB_SANITIZE_MAX_OPS_FACTOR, &m)))
237
0
      this->max_ops = HB_SANITIZE_MAX_OPS_MAX;
238
59.0M
    else
239
59.0M
      this->max_ops = hb_clamp (m,
240
59.0M
        (unsigned) HB_SANITIZE_MAX_OPS_MIN,
241
59.0M
        (unsigned) HB_SANITIZE_MAX_OPS_MAX);
242
59.0M
    this->debug_depth = 0;
243
59.0M
    this->recursion_depth = 0;
244
245
59.0M
    DEBUG_MSG_LEVEL (SANITIZE, start, 0, +1,
246
59.0M
         "start [%p..%p] (%lu bytes)",
247
59.0M
         this->start, this->end,
248
59.0M
         (unsigned long) (this->end - this->start));
249
59.0M
  }
250
251
  void end_processing ()
252
59.0M
  {
253
59.0M
    DEBUG_MSG_LEVEL (SANITIZE, this->start, 0, -1,
254
59.0M
         "end [%p..%p]",
255
59.0M
         this->start, this->end);
256
257
59.0M
    hb_blob_destroy (this->blob);
258
59.0M
    this->blob = nullptr;
259
59.0M
    this->start = this->end = nullptr;
260
59.0M
    this->length = 0;
261
59.0M
  }
262
263
  bool check_ops(unsigned count)
264
272
  {
265
    /* Avoid underflow */
266
272
    if (unlikely (this->max_ops < 0 || count >= (unsigned) this->max_ops))
267
0
    {
268
0
      this->max_ops = -1;
269
0
      return false;
270
0
    }
271
272
    this->max_ops -= (int) count;
272
272
    return true;
273
272
  }
274
275
#ifndef HB_OPTIMIZE_SIZE
276
  HB_ALWAYS_INLINE
277
#endif
278
  bool check_range (const void *base,
279
        unsigned int len) const
280
382k
  {
281
382k
    const char *p = (const char *) base;
282
382k
    bool ok = (uintptr_t) (p - this->start) <= this->length &&
283
382k
        (unsigned int) (this->end - p) >= len &&
284
382k
        ((this->max_ops -= len) > 0);
285
286
382k
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
287
382k
         "check_range [%p..%p]"
288
382k
         " (%u bytes) in [%p..%p] -> %s",
289
382k
         p, p + len, len,
290
382k
         this->start, this->end,
291
382k
         ok ? "OK" : "OUT-OF-RANGE");
292
293
382k
    return likely (ok);
294
382k
  }
295
#ifndef HB_OPTIMIZE_SIZE
296
  HB_ALWAYS_INLINE
297
#endif
298
  bool check_range_fast (const void *base,
299
       unsigned int len) const
300
0
  {
301
0
    const char *p = (const char *) base;
302
0
    bool ok = ((uintptr_t) (p - this->start) <= this->length &&
303
0
         (unsigned int) (this->end - p) >= len);
304
0
305
0
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
306
0
         "check_range_fast [%p..%p]"
307
0
         " (%u bytes) in [%p..%p] -> %s",
308
0
         p, p + len, len,
309
0
         this->start, this->end,
310
0
         ok ? "OK" : "OUT-OF-RANGE");
311
0
312
0
    return likely (ok);
313
0
  }
314
315
#ifndef HB_OPTIMIZE_SIZE
316
  HB_ALWAYS_INLINE
317
#endif
318
  bool check_point (const void *base) const
319
1.14M
  {
320
1.14M
    const char *p = (const char *) base;
321
1.14M
    bool ok = (uintptr_t) (p - this->start) <= this->length;
322
323
1.14M
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
324
1.14M
         "check_point [%p]"
325
1.14M
         " in [%p..%p] -> %s",
326
1.14M
         p,
327
1.14M
         this->start, this->end,
328
1.14M
         ok ? "OK" : "OUT-OF-RANGE");
329
330
1.14M
    return likely (ok);
331
1.14M
  }
332
333
  template <typename T>
334
  bool check_range (const T *base,
335
        unsigned int a,
336
        unsigned int b) const
337
260k
  {
338
260k
    unsigned m;
339
260k
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
260k
     this->check_range (base, m);
341
260k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
Line
Count
Source
337
233k
  {
338
233k
    unsigned m;
339
233k
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
233k
     this->check_range (base, m);
341
233k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::LookupRecord>(OT::LookupRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Feature>(AAT::Feature const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int, unsigned int) const
Line
Count
Source
337
68
  {
338
68
    unsigned m;
339
68
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
68
     this->check_range (base, m);
341
68
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<void> >(AAT::Entry<void> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::LigatureEntry<true>::EntryData> >(AAT::Entry<AAT::LigatureEntry<true>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > >(OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::Format1Entry<true>::EntryData> >(AAT::Entry<AAT::Format1Entry<true>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::FeatureName>(AAT::FeatureName const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::SettingName>(AAT::SettingName const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*, unsigned int, unsigned int) const
Line
Count
Source
337
1.53k
  {
338
1.53k
    unsigned m;
339
1.53k
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
1.53k
     this->check_range (base, m);
341
1.53k
  }
bool hb_sanitize_context_t::check_range<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> const*, unsigned int, unsigned int) const
Line
Count
Source
337
10.5k
  {
338
10.5k
    unsigned m;
339
10.5k
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
10.5k
     this->check_range (base, m);
341
10.5k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<void>(void const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::AxisValueRecord>(OT::AxisValueRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::StatAxisRecord>(OT::StatAxisRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::ResourceRecord>(OT::ResourceRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::AxisRecord>(OT::AxisRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::InstanceRecord>(OT::InstanceRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Index>(OT::Index const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::LayerRecord>(OT::LayerRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Offset<OT::NumType<true, unsigned int, 4u>, true> >(OT::Offset<OT::NumType<true, unsigned int, 4u>, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<unsigned char>(unsigned char const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<OT::NameRecord>(OT::NameRecord const*, unsigned int, unsigned int) const
Line
Count
Source
337
15.5k
  {
338
15.5k
    unsigned m;
339
15.5k
    return !hb_unsigned_mul_overflows (a, b, &m) &&
340
15.5k
     this->check_range (base, m);
341
15.5k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::MathValueRecord>(OT::MathValueRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
342
343
  template <typename T>
344
  bool check_range (const T *base,
345
        unsigned int a,
346
        unsigned int b,
347
        unsigned int c) const
348
0
  {
349
0
    unsigned m;
350
0
    return !hb_unsigned_mul_overflows (a, b, &m) &&
351
0
     this->check_range (base, m, c);
352
0
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int, unsigned int) const
353
354
  template <typename T>
355
  HB_ALWAYS_INLINE
356
  bool check_array_sized (const T *base, unsigned int len, unsigned len_size) const
357
85.9k
  {
358
85.9k
    if (len_size >= 4)
359
1.22k
    {
360
1.22k
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
1.22k
    }
363
84.7k
    else
364
84.7k
      len = len * hb_static_size (T);
365
85.9k
    return this->check_range (base, len);
366
85.9k
  }
bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int, unsigned int) const
Line
Count
Source
357
6.88k
  {
358
6.88k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
6.88k
    else
364
6.88k
      len = len * hb_static_size (T);
365
6.88k
    return this->check_range (base, len);
366
6.88k
  }
bool hb_sanitize_context_t::check_array_sized<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int, unsigned int) const
Line
Count
Source
357
3.30k
  {
358
3.30k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
3.30k
    else
364
3.30k
      len = len * hb_static_size (T);
365
3.30k
    return this->check_range (base, len);
366
3.30k
  }
bool hb_sanitize_context_t::check_array_sized<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) const
Line
Count
Source
357
35.8k
  {
358
35.8k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
35.8k
    else
364
35.8k
      len = len * hb_static_size (T);
365
35.8k
    return this->check_range (base, len);
366
35.8k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
68
  {
358
68
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
68
    else
364
68
      len = len * hb_static_size (T);
365
68
    return this->check_range (base, len);
366
68
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::Script> >(OT::Record<OT::Script> const*, unsigned int, unsigned int) const
Line
Count
Source
357
136
  {
358
136
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
136
    else
364
136
      len = len * hb_static_size (T);
365
136
    return this->check_range (base, len);
366
136
  }
bool hb_sanitize_context_t::check_array_sized<OT::Index>(OT::Index const*, unsigned int, unsigned int) const
Line
Count
Source
357
1.93k
  {
358
1.93k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
1.93k
    else
364
1.93k
      len = len * hb_static_size (T);
365
1.93k
    return this->check_range (base, len);
366
1.93k
  }
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*, unsigned int, unsigned int) const
Line
Count
Source
357
952
  {
358
952
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
952
    else
364
952
      len = len * hb_static_size (T);
365
952
    return this->check_range (base, len);
366
952
  }
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*, unsigned int, unsigned int) const
Line
Count
Source
357
136
  {
358
136
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
136
    else
364
136
      len = len * hb_static_size (T);
365
136
    return this->check_range (base, len);
366
136
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned int, 3u> >(OT::NumType<true, unsigned int, 3u> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
68
  {
358
68
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
68
    else
364
68
      len = len * hb_static_size (T);
365
68
    return this->check_range (base, len);
366
68
  }
bool hb_sanitize_context_t::check_array_sized<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
2.98k
  {
358
2.98k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
2.98k
    else
364
2.98k
      len = len * hb_static_size (T);
365
2.98k
    return this->check_range (base, len);
366
2.98k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
491
  {
358
491
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
491
    else
364
491
      len = len * hb_static_size (T);
365
491
    return this->check_range (base, len);
366
491
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
272
  {
358
272
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
272
    else
364
272
      len = len * hb_static_size (T);
365
272
    return this->check_range (base, len);
366
272
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
2.44k
  {
358
2.44k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
2.44k
    else
364
2.44k
      len = len * hb_static_size (T);
365
2.44k
    return this->check_range (base, len);
366
2.44k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::LookupRecord>(OT::LookupRecord const*, unsigned int, unsigned int) const
Line
Count
Source
357
2.78k
  {
358
2.78k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
2.78k
    else
364
2.78k
      len = len * hb_static_size (T);
365
2.78k
    return this->check_range (base, len);
366
2.78k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
8.36k
  {
358
8.36k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
8.36k
    else
364
8.36k
      len = len * hb_static_size (T);
365
8.36k
    return this->check_range (base, len);
366
8.36k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatureVariationRecord>(OT::FeatureVariationRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::FTStringRange>(AAT::FTStringRange const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<AAT::KernPair>(AAT::KernPair const*, unsigned int, unsigned int) const
Line
Count
Source
357
68
  {
358
68
    if (len_size >= 4)
359
68
    {
360
68
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
68
    }
363
0
    else
364
0
      len = len * hb_static_size (T);
365
68
    return this->check_range (base, len);
366
68
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::Anchor>(AAT::Anchor const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::SparseVarRegionAxis>(OT::SparseVarRegionAxis const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Layout::GPOS_impl::EntryExitRecord>(OT::Layout::GPOS_impl::EntryExitRecord const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*, unsigned int, unsigned int) const
Line
Count
Source
357
1.53k
  {
358
1.53k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
1.53k
    else
364
1.53k
      len = len * hb_static_size (T);
365
1.53k
    return this->check_range (base, len);
366
1.53k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
2.48k
  {
358
2.48k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
2.48k
    else
364
2.48k
      len = len * hb_static_size (T);
365
2.48k
    return this->check_range (base, len);
366
2.48k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
204
  {
358
204
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
204
    else
364
204
      len = len * hb_static_size (T);
365
204
    return this->check_range (base, len);
366
204
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
357
68
  {
358
68
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
68
    else
364
68
      len = len * hb_static_size (T);
365
68
    return this->check_range (base, len);
366
68
  }
bool hb_sanitize_context_t::check_array_sized<OT::TableRecord>(OT::TableRecord const*, unsigned int, unsigned int) const
Line
Count
Source
357
1.15k
  {
358
1.15k
    if (len_size >= 4)
359
1.15k
    {
360
1.15k
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
1.15k
    }
363
0
    else
364
0
      len = len * hb_static_size (T);
365
1.15k
    return this->check_range (base, len);
366
1.15k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::ResourceTypeRecord>(OT::ResourceTypeRecord const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::EncodingRecord>(OT::EncodingRecord const*, unsigned int, unsigned int) const
Line
Count
Source
357
13.7k
  {
358
13.7k
    if (len_size >= 4)
359
0
    {
360
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
361
0
  return false;
362
0
    }
363
13.7k
    else
364
13.7k
      len = len * hb_static_size (T);
365
13.7k
    return this->check_range (base, len);
366
13.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::UnicodeValueRange>(OT::UnicodeValueRange const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::UVSMapping>(OT::UVSMapping const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::AxisValueMap>(OT::AxisValueMap const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::ClipRecord>(OT::ClipRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BitmapSizeTable>(OT::BitmapSizeTable const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::Encoding1_Range>(CFF::Encoding1_Range const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::SuppEncoding>(CFF::SuppEncoding const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::DataMap>(OT::DataMap const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::VertOriginMetric>(OT::VertOriginMetric const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Tag>(OT::Tag const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseScriptRecord>(OT::BaseScriptRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::MathValueRecord>(OT::MathValueRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::MathKernInfoRecord>(OT::MathKernInfoRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::MathGlyphPartRecord>(OT::MathGlyphPartRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::MathGlyphVariantRecord>(OT::MathGlyphVariantRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::GaspRange>(OT::GaspRange const*, unsigned int, unsigned int) const
367
368
  template <typename T>
369
  bool check_array (const T *base, unsigned int len) const
370
250k
  {
371
250k
    return this->check_range (base, len, hb_static_size (T));
372
250k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::LookupRecord>(OT::LookupRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Feature>(AAT::Feature const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int) const
bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int) const
Line
Count
Source
370
233k
  {
371
233k
    return this->check_range (base, len, hb_static_size (T));
372
233k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<void> >(AAT::Entry<void> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::LigatureEntry<true>::EntryData> >(AAT::Entry<AAT::LigatureEntry<true>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > >(OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::Format1Entry<true>::EntryData> >(AAT::Entry<AAT::Format1Entry<true>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::FeatureName>(AAT::FeatureName const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::SettingName>(AAT::SettingName const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*, unsigned int) const
Line
Count
Source
370
1.53k
  {
371
1.53k
    return this->check_range (base, len, hb_static_size (T));
372
1.53k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::AxisValueRecord>(OT::AxisValueRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::StatAxisRecord>(OT::StatAxisRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::ResourceRecord>(OT::ResourceRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::AxisRecord>(OT::AxisRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Index>(OT::Index const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::LayerRecord>(OT::LayerRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Offset<OT::NumType<true, unsigned int, 4u>, true> >(OT::Offset<OT::NumType<true, unsigned int, 4u>, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<unsigned char>(unsigned char const*, unsigned int) const
bool hb_sanitize_context_t::check_array<OT::NameRecord>(OT::NameRecord const*, unsigned int) const
Line
Count
Source
370
15.5k
  {
371
15.5k
    return this->check_range (base, len, hb_static_size (T));
372
15.5k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::MathValueRecord>(OT::MathValueRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
373
374
  template <typename T>
375
  bool check_array (const T *base,
376
        unsigned int a,
377
        unsigned int b) const
378
0
  {
379
0
    return this->check_range (base, hb_static_size (T), a, b);
380
0
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
381
382
  bool check_start_recursion (int max_depth)
383
0
  {
384
0
    if (unlikely (recursion_depth >= max_depth)) return false;
385
0
    return ++recursion_depth;
386
0
  }
387
388
  bool end_recursion (bool result)
389
0
  {
390
0
    recursion_depth--;
391
0
    return result;
392
0
  }
393
394
  template <typename Type>
395
#ifndef HB_OPTIMIZE_SIZE
396
  HB_ALWAYS_INLINE
397
#endif
398
  bool check_struct (const Type *obj) const
399
1.14M
  {
400
1.14M
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.14M
    else
403
1.14M
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.14M
  }
bool hb_sanitize_context_t::check_struct<OT::FixedVersion<OT::NumType<true, unsigned short, 2u> > >(OT::FixedVersion<OT::NumType<true, unsigned short, 2u> > const*) const
Line
Count
Source
399
272
  {
400
272
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
272
    else
403
272
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
272
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*) const
Line
Count
Source
399
218k
  {
400
218k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
218k
    else
403
218k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
218k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(OT::ClassDefFormat1_3<OT::Layout::SmallTypes> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
68
  {
400
68
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
68
    else
403
68
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
68
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
12.8k
  {
400
12.8k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
12.8k
    else
403
12.8k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
12.8k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
68
  {
400
68
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
68
    else
403
68
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
68
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat1>(OT::CaretValueFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat2>(OT::CaretValueFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat3>(OT::CaretValueFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::HintingDevice>(OT::HintingDevice const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationDevice>(OT::VariationDevice const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ItemVariationStore>(OT::ItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarRegionList>(OT::VarRegionList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarData>(OT::VarData const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Script> >(OT::Record<OT::Script> const*) const
Line
Count
Source
399
952
  {
400
952
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
952
    else
403
952
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
952
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
952
  {
400
952
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
952
    else
403
952
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
952
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
1.17k
  {
400
1.17k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.17k
    else
403
1.17k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.17k
  }
bool hb_sanitize_context_t::check_struct<OT::LangSys>(OT::LangSys const*) const
Line
Count
Source
399
1.17k
  {
400
1.17k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.17k
    else
403
1.17k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.17k
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*) const
Line
Count
Source
399
224
  {
400
224
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
224
    else
403
224
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
224
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*) const
Line
Count
Source
399
763
  {
400
763
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
763
    else
403
763
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
763
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
763
  {
400
763
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
763
    else
403
763
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
763
  }
bool hb_sanitize_context_t::check_struct<OT::Feature>(OT::Feature const*) const
Line
Count
Source
399
763
  {
400
763
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
763
    else
403
763
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
763
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
763
  {
400
763
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
763
    else
403
763
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
763
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsSize>(OT::FeatureParamsSize const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsStylisticSet>(OT::FeatureParamsStylisticSet const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsCharacterVariants>(OT::FeatureParamsCharacterVariants const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
68
  {
400
68
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
68
    else
403
68
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
68
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
491
  {
400
491
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
491
    else
403
491
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
491
  }
bool hb_sanitize_context_t::check_struct<OT::Lookup>(OT::Lookup const*) const
Line
Count
Source
399
2.98k
  {
400
2.98k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
2.98k
    else
403
2.98k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
2.98k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
491
  {
400
491
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
491
    else
403
491
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
491
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
2.44k
  {
400
2.44k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
2.44k
    else
403
2.44k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
2.44k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
12.5k
  {
400
12.5k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
12.5k
    else
403
12.5k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
12.5k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Rule<OT::Layout::SmallTypes> >(OT::Rule<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ContextFormat3>(OT::ContextFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*) const
Line
Count
Source
399
1.23k
  {
400
1.23k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.23k
    else
403
1.23k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.23k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ConditionAxisRange>(OT::ConditionAxisRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ConditionValue>(OT::ConditionValue const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, void> >(AAT::StateTable<AAT::ExtendedTypes, void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarSizedBinSearchHeader>(OT::VarSizedBinSearchHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSegmentArray<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupFormat8<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupFormat10<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::HBGlyphID16> >(AAT::LookupSegmentArray<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::HBGlyphID16> >(AAT::LookupFormat8<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::HBGlyphID16> >(AAT::LookupFormat10<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LigatureSubtable<AAT::ExtendedTypes> >(AAT::LigatureSubtable<AAT::ExtendedTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::LigatureEntry<true>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::LigatureEntry<true>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::InsertionSubtable<AAT::ExtendedTypes> >(AAT::InsertionSubtable<AAT::ExtendedTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ltag>(AAT::ltag const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::FTStringRange>(AAT::FTStringRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, void> >(AAT::StateTable<AAT::ObsoleteTypes, void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> > >(AAT::ClassTable<OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::StateTable<AAT::ObsoleteTypes, AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LigatureSubtable<AAT::ObsoleteTypes> >(AAT::LigatureSubtable<AAT::ObsoleteTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::InsertionSubtable<AAT::ObsoleteTypes> >(AAT::InsertionSubtable<AAT::ObsoleteTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::StateTable<AAT::ObsoleteTypes, AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableHeader>(AAT::KerxSubTableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BinSearchHeader<OT::NumType<true, unsigned int, 4u> > >(OT::BinSearchHeader<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat1<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::Format1Entry<true>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::Format1Entry<true>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat2<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat6<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat6<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSegmentArray<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupFormat8<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupFormat10<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ankr>(AAT::ankr const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, int, 4u> >(OT::NumType<true, int, 4u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::trak>(AAT::trak const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::TrackData>(AAT::TrackData const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::TrackTableEntry>(AAT::TrackTableEntry const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::feat>(AAT::feat const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::FeatureName>(AAT::FeatureName const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LONGDATETIME>(OT::LONGDATETIME const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned int, 3u> >(OT::NumType<true, unsigned int, 3u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarRegionAxis>(OT::VarRegionAxis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SparseVarRegionAxis>(OT::SparseVarRegionAxis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CFFIndex<OT::NumType<true, unsigned int, 4u> > >(OT::CFFIndex<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MultiItemVariationStore>(OT::MultiItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Entry<void> >(AAT::Entry<void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Anchor>(AAT::Anchor const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat0Part>(AAT::BaselineTableFormat0Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat1Part>(AAT::BaselineTableFormat1Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSegmentSingle<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSingle<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat2Part>(AAT::BaselineTableFormat2Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat3Part>(AAT::BaselineTableFormat3Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::bsln>(AAT::bsln const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::SettingName>(AAT::SettingName const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Feature>(AAT::Feature const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::HBGlyphID16> >(AAT::LookupSegmentSingle<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::HBGlyphID16> >(AAT::LookupSingle<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ActionSubrecordHeader>(AAT::ActionSubrecordHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::DecompositionAction>(AAT::DecompositionAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::UnconditionalAddGlyphAction>(AAT::UnconditionalAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ConditionalAddGlyphAction>(AAT::ConditionalAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::DuctileGlyphAction>(AAT::DuctileGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::RepeatedAddGlyphAction>(AAT::RepeatedAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ActionSubrecord>(AAT::ActionSubrecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::PostcompensationActionChain>(AAT::PostcompensationActionChain const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::JustificationCategory>(AAT::JustificationCategory const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::JustificationHeader>(AAT::JustificationHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::just>(AAT::just const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LookupRecord>(OT::LookupRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true> >(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::SinglePosFormat1>(OT::Layout::GPOS_impl::SinglePosFormat1 const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::SinglePosFormat2>(OT::Layout::GPOS_impl::SinglePosFormat2 const*) const
Line
Count
Source
399
68
  {
400
68
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
68
    else
403
68
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
68
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat1>(OT::Layout::GPOS_impl::AnchorFormat1 const*) const
Line
Count
Source
399
61.7k
  {
400
61.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
61.7k
    else
403
61.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
61.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat2>(OT::Layout::GPOS_impl::AnchorFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat3>(OT::Layout::GPOS_impl::AnchorFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix const*) const
Line
Count
Source
399
1.53k
  {
400
1.53k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.53k
    else
403
1.53k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.53k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*) const
Line
Count
Source
399
37.6k
  {
400
37.6k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
37.6k
    else
403
37.6k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
37.6k
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*) const
Line
Count
Source
399
24.0k
  {
400
24.0k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
24.0k
    else
403
24.0k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
24.0k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
24.0k
  {
400
24.0k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
24.0k
    else
403
24.0k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
24.0k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
4.66k
  {
400
4.66k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
4.66k
    else
403
4.66k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
4.66k
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> const*) const
Line
Count
Source
399
204
  {
400
204
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
204
    else
403
204
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
204
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
10.5k
  {
400
10.5k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
10.5k
    else
403
10.5k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
10.5k
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> const*) const
Line
Count
Source
399
10.5k
  {
400
10.5k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
10.5k
    else
403
10.5k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
10.5k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> const*) const
Line
Count
Source
399
1.40k
  {
400
1.40k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.40k
    else
403
1.40k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.40k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
1.53k
  {
400
1.53k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.53k
    else
403
1.53k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.53k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
1.53k
  {
400
1.53k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.53k
    else
403
1.53k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.53k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
68
  {
400
68
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
68
    else
403
68
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
68
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
399
2.48k
  {
400
2.48k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
2.48k
    else
403
2.48k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
2.48k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KernPair>(AAT::KernPair const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSegmentSingle<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSingle<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::StatAxisRecord>(OT::StatAxisRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat1>(OT::AxisValueFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat2>(OT::AxisValueFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat3>(OT::AxisValueFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueRecord>(OT::AxisValueRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat4>(OT::AxisValueFormat4 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValue>(OT::AxisValue const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::STAT>(OT::STAT const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OpenTypeOffsetTable>(OT::OpenTypeOffsetTable const*) const
Line
Count
Source
399
1.15k
  {
400
1.15k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.15k
    else
403
1.15k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.15k
  }
bool hb_sanitize_context_t::check_struct<OT::BinSearchHeader<OT::NumType<true, unsigned short, 2u> > >(OT::BinSearchHeader<OT::NumType<true, unsigned short, 2u> > const*) const
Line
Count
Source
399
1.22k
  {
400
1.22k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
1.22k
    else
403
1.22k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
1.22k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceForkHeader>(OT::ResourceForkHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceMap>(OT::ResourceMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceTypeRecord>(OT::ResourceTypeRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceRecord>(OT::ResourceRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false> >(OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false> const*) const
bool hb_sanitize_context_t::check_struct<OT::cmap>(OT::cmap const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
bool hb_sanitize_context_t::check_struct<OT::EncodingRecord>(OT::EncodingRecord const*) const
Line
Count
Source
399
41.1k
  {
400
41.1k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
41.1k
    else
403
41.1k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
41.1k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Line
Count
Source
399
41.1k
  {
400
41.1k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
41.1k
    else
403
41.1k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
41.1k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat0>(OT::CmapSubtableFormat0 const*) const
bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat4>(OT::CmapSubtableFormat4 const*) const
Line
Count
Source
399
27.4k
  {
400
27.4k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
27.4k
    else
403
27.4k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
27.4k
  }
bool hb_sanitize_context_t::check_struct<OT::CmapSubtableTrimmed<OT::NumType<true, unsigned short, 2u> > >(OT::CmapSubtableTrimmed<OT::NumType<true, unsigned short, 2u> > const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableTrimmed<OT::NumType<true, unsigned int, 4u> > >(OT::CmapSubtableTrimmed<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat12> >(OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat12> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat13> >(OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat13> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat14>(OT::CmapSubtableFormat14 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OS2>(OT::OS2 const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
bool hb_sanitize_context_t::check_struct<OT::OS2V1Tail>(OT::OS2V1Tail const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
bool hb_sanitize_context_t::check_struct<OT::OS2V2Tail>(OT::OS2V2Tail const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OS2V5Tail>(OT::OS2V5Tail const*) const
bool hb_sanitize_context_t::check_struct<OT::head>(OT::head const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::TableRecord>(OT::TableRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationValueRecord>(OT::VariationValueRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MVAR>(OT::MVAR const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::UnicodeValueRange>(OT::UnicodeValueRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::UVSMapping>(OT::UVSMapping const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::fvar>(OT::fvar const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueMap>(OT::AxisValueMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::avar>(OT::avar const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::InstanceRecord>(OT::InstanceRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisRecord>(OT::AxisRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CPAL>(OT::CPAL const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CPALV1Tail>(OT::CPALV1Tail const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::COLR>(OT::COLR const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintColrLayers>(OT::PaintColrLayers const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSolid> >(OT::NoVariable<OT::PaintSolid> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSolid>(OT::PaintSolid const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSolid> >(OT::Variable<OT::PaintSolid> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintLinearGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintLinearGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintLinearGradient<OT::NoVariable> >(OT::PaintLinearGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorLine<OT::NoVariable> >(OT::ColorLine<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintLinearGradient<OT::Variable> > >(OT::Variable<OT::PaintLinearGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintLinearGradient<OT::Variable> >(OT::PaintLinearGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorLine<OT::Variable> >(OT::ColorLine<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRadialGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintRadialGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRadialGradient<OT::NoVariable> >(OT::PaintRadialGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRadialGradient<OT::Variable> > >(OT::Variable<OT::PaintRadialGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRadialGradient<OT::Variable> >(OT::PaintRadialGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSweepGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintSweepGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSweepGradient<OT::NoVariable> >(OT::PaintSweepGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSweepGradient<OT::Variable> > >(OT::Variable<OT::PaintSweepGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSweepGradient<OT::Variable> >(OT::PaintSweepGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintGlyph>(OT::PaintGlyph const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintColrGlyph>(OT::PaintColrGlyph const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTransform<OT::NoVariable> >(OT::PaintTransform<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::Affine2x3> >(OT::NoVariable<OT::Affine2x3> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Affine2x3>(OT::Affine2x3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTransform<OT::Variable> >(OT::PaintTransform<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::Affine2x3> >(OT::Variable<OT::Affine2x3> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintTranslate> >(OT::NoVariable<OT::PaintTranslate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTranslate>(OT::PaintTranslate const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintTranslate> >(OT::Variable<OT::PaintTranslate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScale> >(OT::NoVariable<OT::PaintScale> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScale>(OT::PaintScale const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScale> >(OT::Variable<OT::PaintScale> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleAroundCenter> >(OT::NoVariable<OT::PaintScaleAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleAroundCenter>(OT::PaintScaleAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleAroundCenter> >(OT::Variable<OT::PaintScaleAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleUniform> >(OT::NoVariable<OT::PaintScaleUniform> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleUniform>(OT::PaintScaleUniform const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleUniform> >(OT::Variable<OT::PaintScaleUniform> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleUniformAroundCenter> >(OT::NoVariable<OT::PaintScaleUniformAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleUniformAroundCenter>(OT::PaintScaleUniformAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleUniformAroundCenter> >(OT::Variable<OT::PaintScaleUniformAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRotate> >(OT::NoVariable<OT::PaintRotate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRotate>(OT::PaintRotate const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRotate> >(OT::Variable<OT::PaintRotate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRotateAroundCenter> >(OT::NoVariable<OT::PaintRotateAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRotateAroundCenter>(OT::PaintRotateAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRotateAroundCenter> >(OT::Variable<OT::PaintRotateAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSkew> >(OT::NoVariable<OT::PaintSkew> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSkew>(OT::PaintSkew const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSkew> >(OT::Variable<OT::PaintSkew> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSkewAroundCenter> >(OT::NoVariable<OT::PaintSkewAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSkewAroundCenter>(OT::PaintSkewAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSkewAroundCenter> >(OT::Variable<OT::PaintSkewAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintComposite>(OT::PaintComposite const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipList>(OT::ClipList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipRecord>(OT::ClipRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipBoxFormat1>(OT::ClipBoxFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::ClipBoxFormat1> >(OT::Variable<OT::ClipBoxFormat1> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SVG>(OT::SVG const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CBLC>(OT::CBLC const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BitmapSizeTable>(OT::BitmapSizeTable const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableHeader>(OT::IndexSubtableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned int, 4u> > >(OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned short, 2u> > >(OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SBitLineMetrics>(OT::SBitLineMetrics const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CBDT>(OT::CBDT const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::sbix>(OT::sbix const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SBIXStrike>(OT::SBIXStrike const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SmallGlyphMetrics>(OT::SmallGlyphMetrics const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LayerRecord>(OT::LayerRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorStop>(OT::ColorStop const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*) const
bool hb_sanitize_context_t::check_struct<OT::maxpV1Tail>(OT::maxpV1Tail const*) const
Line
Count
Source
399
7.97k
  {
400
7.97k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
7.97k
    else
403
7.97k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
7.97k
  }
bool hb_sanitize_context_t::check_struct<OT::maxp>(OT::maxp const*) const
Line
Count
Source
399
7.97k
  {
400
7.97k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
7.97k
    else
403
7.97k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
7.97k
  }
bool hb_sanitize_context_t::check_struct<OT::_hea<OT::hhea> >(OT::_hea<OT::hhea> const*) const
Line
Count
Source
399
13.7k
  {
400
13.7k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
13.7k
    else
403
13.7k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
13.7k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::_hea<OT::vhea> >(OT::_hea<OT::vhea> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect0>(CFF::FDSelect0 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect>(CFF::FDSelect const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Encoding1_Range>(CFF::Encoding1_Range const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::SuppEncoding>(CFF::SuppEncoding const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Encoding>(CFF::Encoding const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset>(CFF::Charset const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::NumType<true, unsigned char, 1u> > >(CFF::Charset_Range<OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::NumType<true, unsigned short, 2u> > >(CFF::Charset_Range<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cff1>(OT::cff1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CFFIndex<OT::NumType<true, unsigned short, 2u> > >(OT::CFFIndex<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::CFF2FDSelect>(CFF::CFF2FDSelect const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::CFF2ItemVariationStore>(CFF::CFF2ItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cff2>(OT::cff2 const*) const
bool hb_sanitize_context_t::check_struct<OT::KernOTSubTableHeader>(OT::KernOTSubTableHeader const*) const
Line
Count
Source
399
136
  {
400
136
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
136
    else
403
136
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
136
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernAATSubTableHeader>(OT::KernAATSubTableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<OT::KernOTSubTableHeader> >(AAT::KerxSubTableFormat1<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<OT::KernOTSubTableHeader> >(AAT::KerxSubTableFormat2<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> > >(AAT::ClassTable<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernSubTableFormat3<OT::KernOTSubTableHeader> >(OT::KernSubTableFormat3<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<OT::KernAATSubTableHeader> >(AAT::KerxSubTableFormat1<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<OT::KernAATSubTableHeader> >(AAT::KerxSubTableFormat2<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernSubTableFormat3<OT::KernAATSubTableHeader> >(OT::KernSubTableFormat3<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DataMap>(OT::DataMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::meta>(OT::meta const*) const
bool hb_sanitize_context_t::check_struct<OT::NameRecord>(OT::NameRecord const*) const
Line
Count
Source
399
233k
  {
400
233k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
233k
    else
403
233k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
233k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Line
Count
Source
399
233k
  {
400
233k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
233k
    else
403
233k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
233k
  }
bool hb_sanitize_context_t::check_struct<OT::name>(OT::name const*) const
Line
Count
Source
399
7.77k
  {
400
7.77k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
7.77k
    else
403
7.77k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
7.77k
  }
bool hb_sanitize_context_t::check_struct<OT::post>(OT::post const*) const
Line
Count
Source
399
6.88k
  {
400
6.88k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
401
0
      return likely (this->check_range_fast (obj, obj->min_size));
402
6.88k
    else
403
6.88k
      return likely (this->check_point ((const char *) obj + obj->min_size));
404
6.88k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MultiItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::MultiItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ConditionList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ConditionList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::TupleList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::TupleList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CFFIndex<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::CFFIndex<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VORG>(OT::VORG const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VertOriginMetric>(OT::VertOriginMetric const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BASE>(OT::BASE const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Axis>(OT::Axis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScriptList>(OT::BaseScriptList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScriptRecord>(OT::BaseScriptRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScript>(OT::BaseScript const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseValues>(OT::BaseValues const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat1>(OT::BaseCoordFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat2>(OT::BaseCoordFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat3>(OT::BaseCoordFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MinMax>(OT::MinMax const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::JstfPriority>(OT::JstfPriority const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::OpticalBounds>(AAT::OpticalBounds const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbdFormat0>(AAT::opbdFormat0 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbdFormat1>(AAT::opbdFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbd>(AAT::opbd const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathConstants, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathConstants, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathConstants>(OT::MathConstants const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathValueRecord>(OT::MathValueRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathGlyphInfo, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathGlyphInfo, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathGlyphInfo>(OT::MathGlyphInfo const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathItalicsCorrectionInfo, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathItalicsCorrectionInfo, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathItalicsCorrectionInfo>(OT::MathItalicsCorrectionInfo const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathTopAccentAttachment, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathTopAccentAttachment, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathTopAccentAttachment>(OT::MathTopAccentAttachment const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathKernInfo, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathKernInfo, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathKernInfo>(OT::MathKernInfo const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathKern, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathKern, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathKern>(OT::MathKern const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathVariants, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathVariants, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathVariants>(OT::MathVariants const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathGlyphConstruction, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathGlyphConstruction>(OT::MathGlyphConstruction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MathGlyphAssembly, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MathGlyphAssembly, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathGlyphAssembly>(OT::MathGlyphAssembly const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathGlyphVariantRecord>(OT::MathGlyphVariantRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MathGlyphPartRecord>(OT::MathGlyphPartRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::GaspRange>(OT::GaspRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gasp>(OT::gasp const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cvar>(OT::cvar const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::TupleVariationData<OT::NumType<true, unsigned short, 2u> > >(OT::TupleVariationData<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::hdmx>(OT::hdmx const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeviceRecord>(OT::DeviceRecord const*) const
405
406
  template <typename Type>
407
  hb_blob_t *sanitize_blob (hb_blob_t *blob)
408
148k
  {
409
148k
    bool sane;
410
411
148k
    init (blob);
412
413
148k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
148k
    start_processing ();
416
417
148k
    if (unlikely (!start))
418
35.2k
    {
419
35.2k
      end_processing ();
420
35.2k
      return blob;
421
35.2k
    }
422
423
113k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
113k
    sane = t->sanitize (this);
426
427
113k
    end_processing ();
428
429
113k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
113k
    if (sane)
431
113k
    {
432
113k
      hb_blob_make_immutable (blob);
433
113k
      return blob;
434
113k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
113k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::GDEF>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
68
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
68
    sane = t->sanitize (this);
426
427
68
    end_processing ();
428
429
68
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
68
    if (sane)
431
68
    {
432
68
      hb_blob_make_immutable (blob);
433
68
      return blob;
434
68
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
68
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GSUB>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
68
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
68
    sane = t->sanitize (this);
426
427
68
    end_processing ();
428
429
68
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
68
    if (sane)
431
68
    {
432
68
      hb_blob_make_immutable (blob);
433
68
      return blob;
434
68
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
68
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::morx>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
68
    {
419
68
      end_processing ();
420
68
      return blob;
421
68
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::ltag>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::mort>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
68
    {
419
68
      end_processing ();
420
68
      return blob;
421
68
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::kerx>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
68
    {
419
68
      end_processing ();
420
68
      return blob;
421
68
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::ankr>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::trak>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
68
    {
419
68
      end_processing ();
420
68
      return blob;
421
68
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::feat>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GPOS>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
68
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
68
    sane = t->sanitize (this);
426
427
68
    end_processing ();
428
429
68
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
68
    if (sane)
431
68
    {
432
68
      hb_blob_make_immutable (blob);
433
68
      return blob;
434
68
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
68
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::STAT>(hb_blob_t*)
Line
Count
Source
408
11
  {
409
11
    bool sane;
410
411
11
    init (blob);
412
413
11
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
11
    start_processing ();
416
417
11
    if (unlikely (!start))
418
11
    {
419
11
      end_processing ();
420
11
      return blob;
421
11
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::OpenTypeFontFile>(hb_blob_t*)
Line
Count
Source
408
1.16k
  {
409
1.16k
    bool sane;
410
411
1.16k
    init (blob);
412
413
1.16k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
1.16k
    start_processing ();
416
417
1.16k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
1.16k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
1.16k
    sane = t->sanitize (this);
426
427
1.16k
    end_processing ();
428
429
1.16k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
1.16k
    if (sane)
431
1.16k
    {
432
1.16k
      hb_blob_make_immutable (blob);
433
1.16k
      return blob;
434
1.16k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
1.16k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cmap>(hb_blob_t*)
Line
Count
Source
408
13.7k
  {
409
13.7k
    bool sane;
410
411
13.7k
    init (blob);
412
413
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
13.7k
    start_processing ();
416
417
13.7k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
13.7k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
13.7k
    sane = t->sanitize (this);
426
427
13.7k
    end_processing ();
428
429
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
13.7k
    if (sane)
431
13.7k
    {
432
13.7k
      hb_blob_make_immutable (blob);
433
13.7k
      return blob;
434
13.7k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
13.7k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::OS2>(hb_blob_t*)
Line
Count
Source
408
6.89k
  {
409
6.89k
    bool sane;
410
411
6.89k
    init (blob);
412
413
6.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.89k
    start_processing ();
416
417
6.89k
    if (unlikely (!start))
418
10
    {
419
10
      end_processing ();
420
10
      return blob;
421
10
    }
422
423
6.88k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.88k
    sane = t->sanitize (this);
426
427
6.88k
    end_processing ();
428
429
6.88k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.88k
    if (sane)
431
6.88k
    {
432
6.88k
      hb_blob_make_immutable (blob);
433
6.88k
      return blob;
434
6.88k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.88k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::MVAR>(hb_blob_t*)
Line
Count
Source
408
6.88k
  {
409
6.88k
    bool sane;
410
411
6.88k
    init (blob);
412
413
6.88k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.88k
    start_processing ();
416
417
6.88k
    if (unlikely (!start))
418
6.88k
    {
419
6.88k
      end_processing ();
420
6.88k
      return blob;
421
6.88k
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::fvar>(hb_blob_t*)
Line
Count
Source
408
6.89k
  {
409
6.89k
    bool sane;
410
411
6.89k
    init (blob);
412
413
6.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.89k
    start_processing ();
416
417
6.89k
    if (unlikely (!start))
418
6.89k
    {
419
6.89k
      end_processing ();
420
6.89k
      return blob;
421
6.89k
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CPAL>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::COLR>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::SVG>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CBLC>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CBDT>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::sbix>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hmtxvmtx<OT::hmtx, OT::hhea, OT::HVAR> >(hb_blob_t*)
Line
Count
Source
408
6.88k
  {
409
6.88k
    bool sane;
410
411
6.88k
    init (blob);
412
413
6.88k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.88k
    start_processing ();
416
417
6.88k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.88k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.88k
    sane = t->sanitize (this);
426
427
6.88k
    end_processing ();
428
429
6.88k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.88k
    if (sane)
431
6.88k
    {
432
6.88k
      hb_blob_make_immutable (blob);
433
6.88k
      return blob;
434
6.88k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.88k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::HVAR>(hb_blob_t*)
Line
Count
Source
408
6.88k
  {
409
6.88k
    bool sane;
410
411
6.88k
    init (blob);
412
413
6.88k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.88k
    start_processing ();
416
417
6.88k
    if (unlikely (!start))
418
6.88k
    {
419
6.88k
      end_processing ();
420
6.88k
      return blob;
421
6.88k
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hhea>(hb_blob_t*)
Line
Count
Source
408
13.7k
  {
409
13.7k
    bool sane;
410
411
13.7k
    init (blob);
412
413
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
13.7k
    start_processing ();
416
417
13.7k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
13.7k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
13.7k
    sane = t->sanitize (this);
426
427
13.7k
    end_processing ();
428
429
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
13.7k
    if (sane)
431
13.7k
    {
432
13.7k
      hb_blob_make_immutable (blob);
433
13.7k
      return blob;
434
13.7k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
13.7k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::vhea>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::maxp>(hb_blob_t*)
Line
Count
Source
408
1.15k
  {
409
1.15k
    bool sane;
410
411
1.15k
    init (blob);
412
413
1.15k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
1.15k
    start_processing ();
416
417
1.15k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
1.15k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
1.15k
    sane = t->sanitize (this);
426
427
1.15k
    end_processing ();
428
429
1.15k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
1.15k
    if (sane)
431
1.15k
    {
432
1.15k
      hb_blob_make_immutable (blob);
433
1.15k
      return blob;
434
1.15k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
1.15k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hmtxvmtx<OT::vmtx, OT::vhea, OT::VVAR> >(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VVAR>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::head>(hb_blob_t*)
Line
Count
Source
408
13.7k
  {
409
13.7k
    bool sane;
410
411
13.7k
    init (blob);
412
413
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
13.7k
    start_processing ();
416
417
13.7k
    if (unlikely (!start))
418
10
    {
419
10
      end_processing ();
420
10
      return blob;
421
10
    }
422
423
13.7k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
13.7k
    sane = t->sanitize (this);
426
427
13.7k
    end_processing ();
428
429
13.7k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
13.7k
    if (sane)
431
13.7k
    {
432
13.7k
      hb_blob_make_immutable (blob);
433
13.7k
      return blob;
434
13.7k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
13.7k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::loca>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
38
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
38
    sane = t->sanitize (this);
426
427
38
    end_processing ();
428
429
38
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
38
    if (sane)
431
38
    {
432
38
      hb_blob_make_immutable (blob);
433
38
      return blob;
434
38
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
38
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::glyf>(hb_blob_t*)
Line
Count
Source
408
13.6k
  {
409
13.6k
    bool sane;
410
411
13.6k
    init (blob);
412
413
13.6k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
13.6k
    start_processing ();
416
417
13.6k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
13.6k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
13.6k
    sane = t->sanitize (this);
426
427
13.6k
    end_processing ();
428
429
13.6k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
13.6k
    if (sane)
431
13.6k
    {
432
13.6k
      hb_blob_make_immutable (blob);
433
13.6k
      return blob;
434
13.6k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
13.6k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cff1>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
6.81k
    {
419
6.81k
      end_processing ();
420
6.81k
      return blob;
421
6.81k
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cff2>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::kern>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
68
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
68
    sane = t->sanitize (this);
426
427
68
    end_processing ();
428
429
68
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
68
    if (sane)
431
68
    {
432
68
      hb_blob_make_immutable (blob);
433
68
      return blob;
434
68
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::meta>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::name>(hb_blob_t*)
Line
Count
Source
408
1.10k
  {
409
1.10k
    bool sane;
410
411
1.10k
    init (blob);
412
413
1.10k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
1.10k
    start_processing ();
416
417
1.10k
    if (unlikely (!start))
418
150
    {
419
150
      end_processing ();
420
150
      return blob;
421
150
    }
422
423
953
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
953
    sane = t->sanitize (this);
426
427
953
    end_processing ();
428
429
953
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
953
    if (sane)
431
953
    {
432
953
      hb_blob_make_immutable (blob);
433
953
      return blob;
434
953
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
953
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::post>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
68
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
68
    sane = t->sanitize (this);
426
427
68
    end_processing ();
428
429
68
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
68
    if (sane)
431
68
    {
432
68
      hb_blob_make_immutable (blob);
433
68
      return blob;
434
68
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
68
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VARC>(hb_blob_t*)
Line
Count
Source
408
38
  {
409
38
    bool sane;
410
411
38
    init (blob);
412
413
38
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
38
    start_processing ();
416
417
38
    if (unlikely (!start))
418
38
    {
419
38
      end_processing ();
420
38
      return blob;
421
38
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VORG>(hb_blob_t*)
Line
Count
Source
408
9
  {
409
9
    bool sane;
410
411
9
    init (blob);
412
413
9
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
9
    start_processing ();
416
417
9
    if (unlikely (!start))
418
9
    {
419
9
      end_processing ();
420
9
      return blob;
421
9
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::BASE>(hb_blob_t*)
Line
Count
Source
408
68
  {
409
68
    bool sane;
410
411
68
    init (blob);
412
413
68
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
68
    start_processing ();
416
417
68
    if (unlikely (!start))
418
68
    {
419
68
      end_processing ();
420
68
      return blob;
421
68
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::MATH>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::avar>(hb_blob_t*)
Line
Count
Source
408
6.89k
  {
409
6.89k
    bool sane;
410
411
6.89k
    init (blob);
412
413
6.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.89k
    start_processing ();
416
417
6.89k
    if (unlikely (!start))
418
6.89k
    {
419
6.89k
      end_processing ();
420
6.89k
      return blob;
421
6.89k
    }
422
423
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
0
    sane = t->sanitize (this);
426
427
0
    end_processing ();
428
429
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
0
    if (sane)
431
0
    {
432
0
      hb_blob_make_immutable (blob);
433
0
      return blob;
434
0
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::head const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::STAT const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cvar>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::GDEF const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GSUB const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GPOS const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::BASE const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::MATH const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::HVAR const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VVAR const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::fvar const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::avar const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cvar const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::MVAR const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VORG const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::sbix const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::COLR const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CPAL const>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CBLC const>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::glyf const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hdmx const>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::name const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hmtx const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::vmtx const>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::maxp const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cmap const>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::OS2 const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::post const>(hb_blob_t*)
Line
Count
Source
408
6.81k
  {
409
6.81k
    bool sane;
410
411
6.81k
    init (blob);
412
413
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
414
415
6.81k
    start_processing ();
416
417
6.81k
    if (unlikely (!start))
418
0
    {
419
0
      end_processing ();
420
0
      return blob;
421
0
    }
422
423
6.81k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
424
425
6.81k
    sane = t->sanitize (this);
426
427
6.81k
    end_processing ();
428
429
6.81k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
430
6.81k
    if (sane)
431
6.81k
    {
432
6.81k
      hb_blob_make_immutable (blob);
433
6.81k
      return blob;
434
6.81k
    }
435
0
    else
436
0
    {
437
0
      hb_blob_destroy (blob);
438
0
      return hb_blob_get_empty ();
439
0
    }
440
6.81k
  }
441
442
  template <typename Type>
443
  hb_blob_t *reference_table (const hb_face_t *face, hb_tag_t tableTag = Type::tableTag)
444
147k
  {
445
147k
    if (!num_glyphs_set)
446
104k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
147k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
147k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::GDEF>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GSUB>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::morx>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::ltag>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::mort>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::kerx>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::ankr>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::trak>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::feat>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GPOS>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::STAT>(hb_face_t const*, unsigned int)
Line
Count
Source
444
11
  {
445
11
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
11
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
11
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::cmap>(hb_face_t const*, unsigned int)
Line
Count
Source
444
13.7k
  {
445
13.7k
    if (!num_glyphs_set)
446
13.7k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
13.7k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
13.7k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::OS2>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.89k
  {
445
6.89k
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::MVAR>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.88k
  {
445
6.88k
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.88k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.88k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::fvar>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.89k
  {
445
6.89k
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CPAL>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::COLR>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::SVG>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::CBLC>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::CBDT>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::sbix>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::hmtxvmtx<OT::hmtx, OT::hhea, OT::HVAR> >(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.88k
  {
445
6.88k
    if (!num_glyphs_set)
446
6.88k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.88k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.88k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::HVAR>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.88k
  {
445
6.88k
    if (!num_glyphs_set)
446
6.88k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.88k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.88k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::hhea>(hb_face_t const*, unsigned int)
Line
Count
Source
444
13.7k
  {
445
13.7k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
13.7k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
13.7k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::vhea>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::maxp>(hb_face_t const*, unsigned int)
Line
Count
Source
444
1.15k
  {
445
1.15k
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
1.15k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
1.15k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::hmtxvmtx<OT::vmtx, OT::vhea, OT::VVAR> >(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::VVAR>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::head>(hb_face_t const*, unsigned int)
Line
Count
Source
444
13.7k
  {
445
13.7k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
13.7k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
13.7k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::loca>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::glyf>(hb_face_t const*, unsigned int)
Line
Count
Source
444
13.6k
  {
445
13.6k
    if (!num_glyphs_set)
446
13.6k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
13.6k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
13.6k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::cff1>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cff2>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::kern>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::meta>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::name>(hb_face_t const*, unsigned int)
Line
Count
Source
444
1.10k
  {
445
1.10k
    if (!num_glyphs_set)
446
1.10k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
1.10k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
1.10k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::post>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
68
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::VARC>(hb_face_t const*, unsigned int)
Line
Count
Source
444
38
  {
445
38
    if (!num_glyphs_set)
446
38
      set_num_glyphs (hb_face_get_glyph_count (face));
447
38
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
38
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::VORG>(hb_face_t const*, unsigned int)
Line
Count
Source
444
9
  {
445
9
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
9
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
9
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::BASE>(hb_face_t const*, unsigned int)
Line
Count
Source
444
68
  {
445
68
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
68
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
68
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::MATH>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::avar>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.89k
  {
445
6.89k
    if (!num_glyphs_set)
446
0
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::head const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::STAT const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cvar>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::GDEF const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GSUB const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GPOS const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::BASE const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::MATH const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::HVAR const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::VVAR const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::fvar const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::avar const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cvar const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::MVAR const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::VORG const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::sbix const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::COLR const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CPAL const>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CBLC const>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::glyf const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::hdmx const>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::name const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::hmtx const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::vmtx const>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::maxp const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cmap const>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::OS2 const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::post const>(hb_face_t const*, unsigned int)
Line
Count
Source
444
6.81k
  {
445
6.81k
    if (!num_glyphs_set)
446
6.81k
      set_num_glyphs (hb_face_get_glyph_count (face));
447
6.81k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
448
6.81k
  }
449
450
  const char *start, *end;
451
  unsigned length;
452
  mutable int max_ops, max_subtables;
453
  private:
454
  int recursion_depth;
455
  bool writable;
456
  hb_blob_t *blob;
457
  unsigned int num_glyphs;
458
  bool  num_glyphs_set;
459
  public:
460
  bool lazy_some_gpos;
461
};
462
463
struct hb_sanitize_with_object_t
464
{
465
  template <typename T>
466
1.65M
  hb_sanitize_with_object_t (hb_sanitize_context_t *c, const T& obj) : c (c)
467
1.65M
  { c->set_object (obj); }
Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<AAT::KerxSubTable const*>(hb_sanitize_context_t*, AAT::KerxSubTable const* const&)
hb_sanitize_with_object_t::hb_sanitize_with_object_t<OT::KernSubTable<OT::KernOTSubTableHeader> const*>(hb_sanitize_context_t*, OT::KernSubTable<OT::KernOTSubTableHeader> const* const&)
Line
Count
Source
466
1.65M
  hb_sanitize_with_object_t (hb_sanitize_context_t *c, const T& obj) : c (c)
467
1.65M
  { c->set_object (obj); }
Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<OT::KernSubTable<OT::KernAATSubTableHeader> const*>(hb_sanitize_context_t*, OT::KernSubTable<OT::KernAATSubTableHeader> const* const&)
468
  ~hb_sanitize_with_object_t ()
469
1.65M
  { c->reset_object (); }
470
471
  private:
472
  hb_sanitize_context_t *c;
473
};
474
475
476
#endif /* HB_SANITIZE_HH */