Coverage Report

Created: 2023-06-07 06:14

/src/harfbuzz/src/hb-serialize.hh
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright © 2007,2008,2009,2010  Red Hat, Inc.
3
 * Copyright © 2012,2018  Google, Inc.
4
 * Copyright © 2019  Facebook, Inc.
5
 *
6
 *  This is part of HarfBuzz, a text shaping library.
7
 *
8
 * Permission is hereby granted, without written agreement and without
9
 * license or royalty fees, to use, copy, modify, and distribute this
10
 * software and its documentation for any purpose, provided that the
11
 * above copyright notice and the following two paragraphs appear in
12
 * all copies of this software.
13
 *
14
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
15
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
16
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
17
 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
18
 * DAMAGE.
19
 *
20
 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
21
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22
 * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
23
 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
24
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
25
 *
26
 * Red Hat Author(s): Behdad Esfahbod
27
 * Google Author(s): Behdad Esfahbod
28
 * Facebook Author(s): Behdad Esfahbod
29
 */
30
31
#ifndef HB_SERIALIZE_HH
32
#define HB_SERIALIZE_HH
33
34
#include "hb.hh"
35
#include "hb-blob.hh"
36
#include "hb-map.hh"
37
#include "hb-pool.hh"
38
39
#ifdef HB_EXPERIMENTAL_API
40
#include "hb-subset-repacker.h"
41
#endif
42
43
/*
44
 * Serialize
45
 */
46
47
enum hb_serialize_error_t {
48
  HB_SERIALIZE_ERROR_NONE =            0x00000000u,
49
  HB_SERIALIZE_ERROR_OTHER =           0x00000001u,
50
  HB_SERIALIZE_ERROR_OFFSET_OVERFLOW = 0x00000002u,
51
  HB_SERIALIZE_ERROR_OUT_OF_ROOM =     0x00000004u,
52
  HB_SERIALIZE_ERROR_INT_OVERFLOW =    0x00000008u,
53
  HB_SERIALIZE_ERROR_ARRAY_OVERFLOW =  0x00000010u
54
};
55
HB_MARK_AS_FLAG_T (hb_serialize_error_t);
56
57
struct hb_serialize_context_t
58
{
59
  typedef unsigned objidx_t;
60
61
  enum whence_t {
62
     Head,  /* Relative to the current object head (default). */
63
     Tail,  /* Relative to the current object tail after packed. */
64
     Absolute /* Absolute: from the start of the serialize buffer. */
65
   };
66
67
68
69
  struct object_t
70
  {
71
0
    void fini () {
72
0
      real_links.fini ();
73
0
      virtual_links.fini ();
74
0
    }
75
76
    object_t () = default;
77
78
#ifdef HB_EXPERIMENTAL_API
79
    object_t (const hb_object_t &o)
80
    {
81
      head = o.head;
82
      tail = o.tail;
83
      next = nullptr;
84
      real_links.alloc (o.num_real_links, true);
85
      for (unsigned i = 0 ; i < o.num_real_links; i++)
86
        real_links.push (o.real_links[i]);
87
88
      virtual_links.alloc (o.num_virtual_links, true);
89
      for (unsigned i = 0; i < o.num_virtual_links; i++)
90
        virtual_links.push (o.virtual_links[i]);
91
    }
92
#endif
93
94
    friend void swap (object_t& a, object_t& b)
95
0
    {
96
0
      hb_swap (a.head, b.head);
97
0
      hb_swap (a.tail, b.tail);
98
0
      hb_swap (a.next, b.next);
99
0
      hb_swap (a.real_links, b.real_links);
100
0
      hb_swap (a.virtual_links, b.virtual_links);
101
0
    }
102
103
    bool operator == (const object_t &o) const
104
0
    {
105
      // Virtual links aren't considered for equality since they don't affect the functionality
106
      // of the object.
107
0
      return (tail - head == o.tail - o.head)
108
0
    && (real_links.length == o.real_links.length)
109
0
    && 0 == hb_memcmp (head, o.head, tail - head)
110
0
    && real_links.as_bytes () == o.real_links.as_bytes ();
111
0
    }
112
    uint32_t hash () const
113
0
    {
114
      // Virtual links aren't considered for equality since they don't affect the functionality
115
      // of the object.
116
0
      return hb_bytes_t (head, tail - head).hash () ^
117
0
          real_links.as_bytes ().hash ();
118
0
    }
119
120
    struct link_t
121
    {
122
      unsigned width: 3;
123
      unsigned is_signed: 1;
124
      unsigned whence: 2;
125
      unsigned bias : 26;
126
      unsigned position;
127
      objidx_t objidx;
128
129
      link_t () = default;
130
131
#ifdef HB_EXPERIMENTAL_API
132
      link_t (const hb_link_t &o)
133
      {
134
        width = o.width;
135
        is_signed = 0;
136
        whence = 0;
137
        position = o.position;
138
        bias = 0;
139
        objidx = o.objidx;
140
      }
141
#endif
142
143
      HB_INTERNAL static int cmp (const void* a, const void* b)
144
0
      {
145
0
        int cmp = ((const link_t*)a)->position - ((const link_t*)b)->position;
146
0
        if (cmp) return cmp;
147
0
148
0
        return ((const link_t*)a)->objidx - ((const link_t*)b)->objidx;
149
0
      }
150
    };
151
152
    char *head;
153
    char *tail;
154
    hb_vector_t<link_t> real_links;
155
    hb_vector_t<link_t> virtual_links;
156
    object_t *next;
157
158
    auto all_links () const HB_AUTO_RETURN
159
        (( hb_concat (this->real_links, this->virtual_links) ));
160
    auto all_links_writer () HB_AUTO_RETURN
161
        (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) ));
162
  };
163
164
  struct snapshot_t
165
  {
166
    char *head;
167
    char *tail;
168
    object_t *current; // Just for sanity check
169
    unsigned num_real_links;
170
    unsigned num_virtual_links;
171
    hb_serialize_error_t errors;
172
  };
173
174
  snapshot_t snapshot ()
175
0
  {
176
0
    return snapshot_t {
177
0
      head, tail, current,
178
0
      current ? current->real_links.length : 0,
179
0
      current ? current->virtual_links.length : 0,
180
0
      errors
181
0
     };
182
0
  }
183
184
  hb_serialize_context_t (void *start_, unsigned int size) :
185
    start ((char *) start_),
186
    end (start + size),
187
    current (nullptr)
188
0
  { reset (); }
189
0
  ~hb_serialize_context_t () { fini (); }
190
191
  void fini ()
192
0
  {
193
0
    for (object_t *_ : ++hb_iter (packed)) _->fini ();
194
0
    packed.fini ();
195
0
    this->packed_map.fini ();
196
197
0
    while (current)
198
0
    {
199
0
      auto *_ = current;
200
0
      current = current->next;
201
0
      _->fini ();
202
0
    }
203
0
  }
204
205
0
  bool in_error () const { return bool (errors); }
206
207
0
  bool successful () const { return !bool (errors); }
208
209
0
  HB_NODISCARD bool ran_out_of_room () const { return errors & HB_SERIALIZE_ERROR_OUT_OF_ROOM; }
210
0
  HB_NODISCARD bool offset_overflow () const { return errors & HB_SERIALIZE_ERROR_OFFSET_OVERFLOW; }
211
0
  HB_NODISCARD bool only_offset_overflow () const { return errors == HB_SERIALIZE_ERROR_OFFSET_OVERFLOW; }
212
  HB_NODISCARD bool only_overflow () const
213
0
  {
214
0
    return errors == HB_SERIALIZE_ERROR_OFFSET_OVERFLOW
215
0
        || errors == HB_SERIALIZE_ERROR_INT_OVERFLOW
216
0
        || errors == HB_SERIALIZE_ERROR_ARRAY_OVERFLOW;
217
0
  }
218
219
  void reset (void *start_, unsigned int size)
220
0
  {
221
0
    start = (char*) start_;
222
0
    end = start + size;
223
0
    reset ();
224
0
    current = nullptr;
225
0
  }
226
227
  void reset ()
228
0
  {
229
0
    this->errors = HB_SERIALIZE_ERROR_NONE;
230
0
    this->head = this->start;
231
0
    this->tail = this->end;
232
0
    this->zerocopy = nullptr;
233
0
    this->debug_depth = 0;
234
235
0
    fini ();
236
0
    this->packed.push (nullptr);
237
0
    this->packed_map.init ();
238
0
  }
239
240
  bool check_success (bool success,
241
                      hb_serialize_error_t err_type = HB_SERIALIZE_ERROR_OTHER)
242
0
  {
243
0
    return successful ()
244
0
        && (success || err (err_type));
245
0
  }
246
247
  template <typename T1, typename T2>
248
  bool check_equal (T1 &&v1, T2 &&v2, hb_serialize_error_t err_type)
249
0
  {
250
0
    if ((long long) v1 != (long long) v2)
251
0
    {
252
0
      return err (err_type);
253
0
    }
254
0
    return true;
255
0
  }
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<BEInt<int, 4>&, unsigned int&>(BEInt<int, 4>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<BEInt<short, 2>&, unsigned int&>(BEInt<short, 2>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<BEInt<unsigned int, 4>&, unsigned int&>(BEInt<unsigned int, 4>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<BEInt<unsigned int, 3>&, unsigned int&>(BEInt<unsigned int, 3>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<BEInt<unsigned short, 2>&, unsigned int&>(BEInt<unsigned short, 2>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<short, 2u>&, int&>(OT::IntType<short, 2u>&, int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned short, 2u>&, unsigned int&>(OT::IntType<unsigned short, 2u>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned short, 2u>&, unsigned int const&>(OT::IntType<unsigned short, 2u>&, unsigned int const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<short, 2u>&, float&>(OT::IntType<short, 2u>&, float&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned short, 2u>&, float&>(OT::IntType<unsigned short, 2u>&, float&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned int, 4u>&, unsigned int&>(OT::IntType<unsigned int, 4u>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, true>&, unsigned int&>(OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, true>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<int, 4u>&, int&>(OT::IntType<int, 4u>&, int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned short, 2u>&, int&>(OT::IntType<unsigned short, 2u>&, int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::Layout::GPOS_impl::ValueFormat&, OT::Layout::GPOS_impl::ValueFormat&>(OT::Layout::GPOS_impl::ValueFormat&, OT::Layout::GPOS_impl::ValueFormat&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false>&, unsigned int&>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned int, 4u>&, unsigned int const&>(OT::IntType<unsigned int, 4u>&, unsigned int const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::Extend&, OT::Extend const&>(OT::Extend&, OT::Extend const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned short, 2u>&, OT::IntType<unsigned short, 2u> const&>(OT::IntType<unsigned short, 2u>&, OT::IntType<unsigned short, 2u> const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<unsigned char, 1u>&, OT::IntType<unsigned char, 1u> const&>(OT::IntType<unsigned char, 1u>&, OT::IntType<unsigned char, 1u> const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::HBGlyphID16&, unsigned int const&>(OT::HBGlyphID16&, unsigned int const&, hb_serialize_error_t)
256
257
  template <typename T1, typename T2>
258
  bool check_assign (T1 &v1, T2 &&v2, hb_serialize_error_t err_type)
259
0
  { return check_equal (v1 = v2, v2, err_type); }
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<BEInt<int, 4>, unsigned int&>(BEInt<int, 4>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<BEInt<short, 2>, unsigned int&>(BEInt<short, 2>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<BEInt<unsigned int, 4>, unsigned int&>(BEInt<unsigned int, 4>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<BEInt<unsigned int, 3>, unsigned int&>(BEInt<unsigned int, 3>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<BEInt<unsigned short, 2>, unsigned int&>(BEInt<unsigned short, 2>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<short, 2u>, int&>(OT::IntType<short, 2u>&, int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, unsigned int&>(OT::IntType<unsigned short, 2u>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, unsigned int const&>(OT::IntType<unsigned short, 2u>&, unsigned int const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<short, 2u>, float>(OT::IntType<short, 2u>&, float&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, float>(OT::IntType<unsigned short, 2u>&, float&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned int, 4u>, unsigned int>(OT::IntType<unsigned int, 4u>&, unsigned int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, unsigned int>(OT::IntType<unsigned short, 2u>&, unsigned int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, true>, unsigned int>(OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, true>&, unsigned int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<int, 4u>, int&>(OT::IntType<int, 4u>&, int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<short, 2u>, int>(OT::IntType<short, 2u>&, int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, int>(OT::IntType<unsigned short, 2u>&, int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::Layout::GPOS_impl::ValueFormat, OT::Layout::GPOS_impl::ValueFormat&>(OT::Layout::GPOS_impl::ValueFormat&, OT::Layout::GPOS_impl::ValueFormat&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false>, unsigned int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false>&, unsigned int&&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned int, 4u>, unsigned int const&>(OT::IntType<unsigned int, 4u>&, unsigned int const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::Extend, OT::Extend const&>(OT::Extend&, OT::Extend const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> const&>(OT::IntType<unsigned short, 2u>&, OT::IntType<unsigned short, 2u> const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned char, 1u>, OT::IntType<unsigned char, 1u> const&>(OT::IntType<unsigned char, 1u>&, OT::IntType<unsigned char, 1u> const&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<unsigned int, 4u>, unsigned int&>(OT::IntType<unsigned int, 4u>&, unsigned int&, hb_serialize_error_t)
Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::HBGlyphID16, unsigned int const&>(OT::HBGlyphID16&, unsigned int const&, hb_serialize_error_t)
260
261
  template <typename T> bool propagate_error (T &&obj)
262
0
  { return check_success (!hb_deref (obj).in_error ()); }
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_vector_t<hb_serialize_context_t::object_t*, false>&>(hb_vector_t<hb_serialize_context_t::object_t*, false>&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>&>(hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_vector_t<hb_pair_t<unsigned int, unsigned int>, true>&>(hb_vector_t<hb_pair_t<unsigned int, unsigned int>, true>&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_set_t const&>(hb_set_t const&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_map_t&>(hb_map_t&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_vector_t<hb_pair_t<unsigned int, OT::IndexSubtableRecord const*>, false>&>(hb_vector_t<hb_pair_t<unsigned int, OT::IndexSubtableRecord const*>, false>&)
263
264
  template <typename T1, typename... Ts> bool propagate_error (T1 &&o1, Ts&&... os)
265
0
  { return propagate_error (std::forward<T1> (o1)) &&
266
0
     propagate_error (std::forward<Ts> (os)...); }
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_vector_t<hb_serialize_context_t::object_t*, false>&, hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>&>(hb_vector_t<hb_serialize_context_t::object_t*, false>&, hb_hashmap_t<hb_serialize_context_t::object_t const*, unsigned int, false>&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_vector_t<hb_pair_t<unsigned int, unsigned int>, true>&, hb_set_t const&>(hb_vector_t<hb_pair_t<unsigned int, unsigned int>, true>&, hb_set_t const&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_map_t&, hb_map_t&, hb_map_t&>(hb_map_t&, hb_map_t&, hb_map_t&)
Unexecuted instantiation: bool hb_serialize_context_t::propagate_error<hb_map_t&, hb_map_t&>(hb_map_t&, hb_map_t&)
267
268
  /* To be called around main operation. */
269
  template <typename Type>
270
  __attribute__((returns_nonnull))
271
  Type *start_serialize ()
272
0
  {
273
0
    DEBUG_MSG_LEVEL (SERIALIZE, this->start, 0, +1,
274
0
         "start [%p..%p] (%lu bytes)",
275
0
         this->start, this->end,
276
0
         (unsigned long) (this->end - this->start));
277
278
0
    assert (!current);
279
0
    return push<Type> ();
280
0
  }
281
  void end_serialize ()
282
0
  {
283
0
    DEBUG_MSG_LEVEL (SERIALIZE, this->start, 0, -1,
284
0
         "end [%p..%p] serialized %u bytes; %s",
285
0
         this->start, this->end,
286
0
         (unsigned) (this->head - this->start),
287
0
         successful () ? "successful" : "UNSUCCESSFUL");
288
289
0
    propagate_error (packed, packed_map);
290
291
0
    if (unlikely (!current)) return;
292
0
    if (unlikely (in_error()))
293
0
    {
294
      // Offset overflows that occur before link resolution cannot be handled
295
      // by repacking, so set a more general error.
296
0
      if (offset_overflow ()) err (HB_SERIALIZE_ERROR_OTHER);
297
0
      return;
298
0
    }
299
300
0
    assert (!current->next);
301
302
    /* Only "pack" if there exist other objects... Otherwise, don't bother.
303
     * Saves a move. */
304
0
    if (packed.length <= 1)
305
0
      return;
306
307
0
    pop_pack (false);
308
309
0
    resolve_links ();
310
0
  }
311
312
  template <typename Type = void>
313
  __attribute__((returns_nonnull))
314
  Type *push ()
315
0
  {
316
0
    if (unlikely (in_error ())) return start_embed<Type> ();
317
318
0
    object_t *obj = object_pool.alloc ();
319
0
    if (unlikely (!obj))
320
0
      check_success (false);
321
0
    else
322
0
    {
323
0
      obj->head = head;
324
0
      obj->tail = tail;
325
0
      obj->next = current;
326
0
      current = obj;
327
0
    }
328
0
    return start_embed<Type> ();
329
0
  }
Unexecuted instantiation: void* hb_serialize_context_t::push<void>()
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::push<OT::VarRegionList>()
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::push<OT::VarData>()
Unexecuted instantiation: OT::CmapSubtable* hb_serialize_context_t::push<OT::CmapSubtable>()
Unexecuted instantiation: OT::DeltaSetIndexMap* hb_serialize_context_t::push<OT::DeltaSetIndexMap>()
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::push<OT::VariationStore>()
Unexecuted instantiation: OT::Layout::Common::Coverage* hb_serialize_context_t::push<OT::Layout::Common::Coverage>()
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>* hb_serialize_context_t::push<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes> >()
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::push<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >()
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::push<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >()
Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookupSubTable* hb_serialize_context_t::push<OT::Layout::GSUB_impl::SubstLookupSubTable>()
Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookup* hb_serialize_context_t::push<OT::Layout::GSUB_impl::SubstLookup>()
330
  void pop_discard ()
331
0
  {
332
0
    object_t *obj = current;
333
0
    if (unlikely (!obj)) return;
334
    // Allow cleanup when we've error'd out on int overflows which don't compromise
335
    // the serializer state.
336
0
    if (unlikely (in_error() && !only_overflow ())) return;
337
338
0
    current = current->next;
339
0
    revert (zerocopy ? zerocopy : obj->head, obj->tail);
340
0
    zerocopy = nullptr;
341
0
    obj->fini ();
342
0
    object_pool.release (obj);
343
0
  }
344
345
  /* Set share to false when an object is unlikely shareable with others
346
   * so not worth an attempt, or a contiguous table is serialized as
347
   * multiple consecutive objects in the reverse order so can't be shared.
348
   */
349
  objidx_t pop_pack (bool share=true)
350
0
  {
351
0
    object_t *obj = current;
352
0
    if (unlikely (!obj)) return 0;
353
    // Allow cleanup when we've error'd out on int overflows which don't compromise
354
    // the serializer state.
355
0
    if (unlikely (in_error()  && !only_overflow ())) return 0;
356
357
0
    current = current->next;
358
0
    obj->tail = head;
359
0
    obj->next = nullptr;
360
0
    assert (obj->head <= obj->tail);
361
0
    unsigned len = obj->tail - obj->head;
362
0
    head = zerocopy ? zerocopy : obj->head; /* Rewind head. */
363
0
    bool was_zerocopy = zerocopy;
364
0
    zerocopy = nullptr;
365
366
0
    if (!len)
367
0
    {
368
0
      assert (!obj->real_links.length);
369
0
      assert (!obj->virtual_links.length);
370
0
      return 0;
371
0
    }
372
373
0
    objidx_t objidx;
374
0
    uint32_t hash = 0;
375
0
    if (share)
376
0
    {
377
0
      hash = hb_hash (obj);
378
0
      objidx = packed_map.get_with_hash (obj, hash);
379
0
      if (objidx)
380
0
      {
381
0
        merge_virtual_links (obj, objidx);
382
0
  obj->fini ();
383
0
  return objidx;
384
0
      }
385
0
    }
386
387
0
    tail -= len;
388
0
    if (was_zerocopy)
389
0
      assert (tail == obj->head);
390
0
    else
391
0
      memmove (tail, obj->head, len);
392
393
0
    obj->head = tail;
394
0
    obj->tail = tail + len;
395
396
0
    packed.push (obj);
397
398
0
    if (unlikely (!propagate_error (packed)))
399
0
    {
400
      /* Obj wasn't successfully added to packed, so clean it up otherwise its
401
       * links will be leaked. When we use constructor/destructors properly, we
402
       * can remove these. */
403
0
      obj->fini ();
404
0
      return 0;
405
0
    }
406
407
0
    objidx = packed.length - 1;
408
409
0
    if (share) packed_map.set_with_hash (obj, hash, objidx);
410
0
    propagate_error (packed_map);
411
412
0
    return objidx;
413
0
  }
414
415
  void revert (snapshot_t snap)
416
0
  {
417
0
    // Overflows that happened after the snapshot will be erased by the revert.
418
0
    if (unlikely (in_error () && !only_overflow ())) return;
419
0
    assert (snap.current == current);
420
0
    if (current)
421
0
    {
422
0
      current->real_links.shrink (snap.num_real_links);
423
0
      current->virtual_links.shrink (snap.num_virtual_links);
424
0
    }
425
0
    errors = snap.errors;
426
0
    revert (snap.head, snap.tail);
427
0
  }
428
429
  void revert (char *snap_head,
430
         char *snap_tail)
431
0
  {
432
0
    if (unlikely (in_error ())) return;
433
0
    assert (snap_head <= head);
434
0
    assert (tail <= snap_tail);
435
0
    head = snap_head;
436
0
    tail = snap_tail;
437
0
    discard_stale_objects ();
438
0
  }
439
440
  void discard_stale_objects ()
441
0
  {
442
0
    if (unlikely (in_error ())) return;
443
0
    while (packed.length > 1 &&
444
0
     packed.tail ()->head < tail)
445
0
    {
446
0
      packed_map.del (packed.tail ());
447
0
      assert (!packed.tail ()->next);
448
0
      packed.tail ()->fini ();
449
0
      packed.pop ();
450
0
    }
451
0
    if (packed.length > 1)
452
0
      assert (packed.tail ()->head == tail);
453
0
  }
454
455
  // Adds a virtual link from the current object to objidx. A virtual link is not associated with
456
  // an actual offset field. They are solely used to enforce ordering constraints between objects.
457
  // Adding a virtual link from object a to object b will ensure that object b is always packed after
458
  // object a in the final serialized order.
459
  //
460
  // This is useful in certain situations where there needs to be a specific ordering in the
461
  // final serialization. Such as when platform bugs require certain orderings, or to provide
462
  //  guidance to the repacker for better offset overflow resolution.
463
  void add_virtual_link (objidx_t objidx)
464
0
  {
465
0
    if (unlikely (in_error ())) return;
466
0
467
0
    if (!objidx)
468
0
      return;
469
0
470
0
    assert (current);
471
0
472
0
    auto& link = *current->virtual_links.push ();
473
0
    if (current->virtual_links.in_error ())
474
0
      err (HB_SERIALIZE_ERROR_OTHER);
475
0
476
0
    link.width = 0;
477
0
    link.objidx = objidx;
478
0
    link.is_signed = 0;
479
0
    link.whence = 0;
480
0
    link.position = 0;
481
0
    link.bias = 0;
482
0
  }
483
484
  template <typename T>
485
  void add_link (T &ofs, objidx_t objidx,
486
     whence_t whence = Head,
487
     unsigned bias = 0)
488
0
  {
489
0
    if (unlikely (in_error ())) return;
490
491
0
    if (!objidx)
492
0
      return;
493
494
0
    assert (current);
495
0
    assert (current->head <= (const char *) &ofs);
496
497
0
    auto& link = *current->real_links.push ();
498
0
    if (current->real_links.in_error ())
499
0
      err (HB_SERIALIZE_ERROR_OTHER);
500
501
0
    link.width = sizeof (T);
502
0
    link.objidx = objidx;
503
0
    if (unlikely (!sizeof (T)))
504
0
    {
505
      // This link is not associated with an actual offset and exists merely to enforce
506
      // an ordering constraint.
507
0
      link.is_signed = 0;
508
0
      link.whence = 0;
509
0
      link.position = 0;
510
0
      link.bias = 0;
511
0
      return;
512
0
    }
513
514
0
    link.is_signed = std::is_signed<hb_unwrap_type (T)>::value;
515
0
    link.whence = (unsigned) whence;
516
0
    link.position = (const char *) &ofs - current->head;
517
0
    link.bias = bias;
518
0
  }
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::IntType<int, 4u> >(OT::IntType<int, 4u>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::IntType<short, 2u> >(OT::IntType<short, 2u>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::RecordListOfFeature, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RecordListOfFeature, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::SortedUnsizedArrayOf<OT::BaseGlyphRecord>, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::SortedUnsizedArrayOf<OT::BaseGlyphRecord>, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::UnsizedArrayOf<OT::LayerRecord>, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::LayerRecord>, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::UnsizedArrayOf<OT::Index>, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::Index>, OT::IntType<unsigned int, 4u>, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> const>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> const&, unsigned int, hb_serialize_context_t::whence_t, unsigned int)
519
520
  unsigned to_bias (const void *base) const
521
0
  {
522
0
    if (unlikely (in_error ())) return 0;
523
0
    if (!base) return 0;
524
0
    assert (current);
525
0
    assert (current->head <= (const char *) base);
526
0
    return (const char *) base - current->head;
527
0
  }
528
529
  void resolve_links ()
530
0
  {
531
0
    if (unlikely (in_error ())) return;
532
533
0
    assert (!current);
534
0
    assert (packed.length > 1);
535
536
0
    for (const object_t* parent : ++hb_iter (packed))
537
0
      for (const object_t::link_t &link : parent->real_links)
538
0
      {
539
0
  const object_t* child = packed[link.objidx];
540
0
  if (unlikely (!child)) { err (HB_SERIALIZE_ERROR_OTHER); return; }
541
0
  unsigned offset = 0;
542
0
  switch ((whence_t) link.whence) {
543
0
  case Head:     offset = child->head - parent->head; break;
544
0
  case Tail:     offset = child->head - parent->tail; break;
545
0
  case Absolute: offset = (head - start) + (child->head - tail); break;
546
0
  }
547
548
0
  assert (offset >= link.bias);
549
0
  offset -= link.bias;
550
0
  if (link.is_signed)
551
0
  {
552
0
    assert (link.width == 2 || link.width == 4);
553
0
    if (link.width == 4)
554
0
      assign_offset<int32_t> (parent, link, offset);
555
0
    else
556
0
      assign_offset<int16_t> (parent, link, offset);
557
0
  }
558
0
  else
559
0
  {
560
0
    assert (link.width == 2 || link.width == 3 || link.width == 4);
561
0
    if (link.width == 4)
562
0
      assign_offset<uint32_t> (parent, link, offset);
563
0
    else if (link.width == 3)
564
0
      assign_offset<uint32_t, 3> (parent, link, offset);
565
0
    else
566
0
      assign_offset<uint16_t> (parent, link, offset);
567
0
  }
568
0
      }
569
0
  }
570
571
  unsigned int length () const
572
0
  {
573
0
    if (unlikely (!current)) return 0;
574
0
    return this->head - current->head;
575
0
  }
576
577
  void align (unsigned int alignment)
578
0
  {
579
0
    unsigned int l = length () % alignment;
580
0
    if (l)
581
0
      (void) allocate_size<void> (alignment - l);
582
0
  }
583
584
  template <typename Type = void>
585
  __attribute__((returns_nonnull))
586
  Type *start_embed (const Type *obj HB_UNUSED = nullptr) const
587
0
  { return reinterpret_cast<Type *> (this->head); }
Unexecuted instantiation: OT::Layout::Common::Coverage* hb_serialize_context_t::start_embed<OT::Layout::Common::Coverage>(OT::Layout::Common::Coverage const*) const
Unexecuted instantiation: OT::Feature* hb_serialize_context_t::start_embed<OT::Feature>(OT::Feature const*) const
Unexecuted instantiation: OT::RecordListOfFeature* hb_serialize_context_t::start_embed<OT::RecordListOfFeature>(OT::RecordListOfFeature const*) const
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::start_embed<OT::LangSys>(OT::LangSys const*) const
Unexecuted instantiation: OT::Script* hb_serialize_context_t::start_embed<OT::Script>(OT::Script const*) const
Unexecuted instantiation: void* hb_serialize_context_t::start_embed<void>(void const*) const
Unexecuted instantiation: OT::RecordListOfScript* hb_serialize_context_t::start_embed<OT::RecordListOfScript>(OT::RecordListOfScript const*) const
Unexecuted instantiation: OT::ClassDef* hb_serialize_context_t::start_embed<OT::ClassDef>(OT::ClassDef const*) const
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::start_embed<OT::VarRegionList>(OT::VarRegionList const*) const
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::start_embed<OT::VarData>(OT::VarData const*) const
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::start_embed<OT::VariationStore>(OT::VariationStore const*) const
Unexecuted instantiation: OT::ConditionSet* hb_serialize_context_t::start_embed<OT::ConditionSet>(OT::ConditionSet const*) const
Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::start_embed<OT::FeatureTableSubstitution>(OT::FeatureTableSubstitution const*) const
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::start_embed<OT::FeatureVariations>(OT::FeatureVariations const*) const
Unexecuted instantiation: OT::DefaultUVS* hb_serialize_context_t::start_embed<OT::DefaultUVS>(OT::DefaultUVS const*) const
Unexecuted instantiation: OT::NonDefaultUVS* hb_serialize_context_t::start_embed<OT::NonDefaultUVS>(OT::NonDefaultUVS const*) const
Unexecuted instantiation: OT::cmap* hb_serialize_context_t::start_embed<OT::cmap>(OT::cmap const*) const
Unexecuted instantiation: OT::CmapSubtable* hb_serialize_context_t::start_embed<OT::CmapSubtable>(OT::CmapSubtable const*) const
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::start_embed<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const*) const
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > const*) const
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::start_embed<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > const*) const
Unexecuted instantiation: OT::DeltaSetIndexMap* hb_serialize_context_t::start_embed<OT::DeltaSetIndexMap>(OT::DeltaSetIndexMap const*) const
Unexecuted instantiation: char* hb_serialize_context_t::start_embed<char>(char const*) const
Unexecuted instantiation: OT::glyf* hb_serialize_context_t::start_embed<OT::glyf>(OT::glyf const*) const
Unexecuted instantiation: unsigned char* hb_serialize_context_t::start_embed<unsigned char>(unsigned char const*) const
Unexecuted instantiation: OT::AttachPoint* hb_serialize_context_t::start_embed<OT::AttachPoint>(OT::AttachPoint const*) const
Unexecuted instantiation: OT::AttachList* hb_serialize_context_t::start_embed<OT::AttachList>(OT::AttachList const*) const
Unexecuted instantiation: OT::CaretValueFormat3* hb_serialize_context_t::start_embed<OT::CaretValueFormat3>(OT::CaretValueFormat3 const*) const
Unexecuted instantiation: OT::LigGlyph* hb_serialize_context_t::start_embed<OT::LigGlyph>(OT::LigGlyph const*) const
Unexecuted instantiation: OT::LigCaretList* hb_serialize_context_t::start_embed<OT::LigCaretList>(OT::LigCaretList const*) const
Unexecuted instantiation: OT::MarkGlyphSetsFormat1* hb_serialize_context_t::start_embed<OT::MarkGlyphSetsFormat1>(OT::MarkGlyphSetsFormat1 const*) const
Unexecuted instantiation: OT::ContextFormat3* hb_serialize_context_t::start_embed<OT::ContextFormat3>(OT::ContextFormat3 const*) const
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePos* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::SinglePos>(OT::Layout::GPOS_impl::SinglePos const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat3* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::AnchorFormat3>(OT::Layout::GPOS_impl::AnchorFormat3 const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1 const*) const
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::start_embed<OT::Lookup>(OT::Lookup const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkArray* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkArray>(OT::Layout::GPOS_impl::MarkArray const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorMatrix* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::LigatureArray* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::LigatureArray>(OT::Layout::GPOS_impl::LigatureArray const*) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ContextFormat1_4<OT::Layout::SmallTypes> >(OT::ContextFormat1_4<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::RuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::RuleSet<OT::Layout::SmallTypes> >(OT::RuleSet<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Rule<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Rule<OT::Layout::SmallTypes> >(OT::Rule<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ContextFormat2_5<OT::Layout::SmallTypes> >(OT::ContextFormat2_5<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ChainContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainContextFormat1_4<OT::Layout::SmallTypes> >(OT::ChainContextFormat1_4<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ChainRuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainRuleSet<OT::Layout::SmallTypes> >(OT::ChainRuleSet<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ChainContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainContextFormat2_5<OT::Layout::SmallTypes> >(OT::ChainContextFormat2_5<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>* hb_serialize_context_t::start_embed<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*) const
Unexecuted instantiation: OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes> >(OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> > const*) const
Unexecuted instantiation: OT::name* hb_serialize_context_t::start_embed<OT::name>(OT::name const*) const
Unexecuted instantiation: OT::post* hb_serialize_context_t::start_embed<OT::post>(OT::post const*) const
Unexecuted instantiation: OT::IndexSubtable* hb_serialize_context_t::start_embed<OT::IndexSubtable>(OT::IndexSubtable const*) const
Unexecuted instantiation: OT::CBLC* hb_serialize_context_t::start_embed<OT::CBLC>(OT::CBLC const*) const
Unexecuted instantiation: OT::SBIXGlyph* hb_serialize_context_t::start_embed<OT::SBIXGlyph>(OT::SBIXGlyph const*) const
Unexecuted instantiation: OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >* hb_serialize_context_t::start_embed<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> > >(OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> > const*) const
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::start_embed<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*) const
Unexecuted instantiation: OT::SBIXStrike* hb_serialize_context_t::start_embed<OT::SBIXStrike>(OT::SBIXStrike const*) const
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::start_embed<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::ReverseChainSingleSubstFormat1* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::ReverseChainSingleSubstFormat1>(OT::Layout::GSUB_impl::ReverseChainSingleSubstFormat1 const*) const
Unexecuted instantiation: OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookupSubTable* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::SubstLookupSubTable>(OT::Layout::GSUB_impl::SubstLookupSubTable const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubst* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::SingleSubst>(OT::Layout::GSUB_impl::SingleSubst const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>* hb_serialize_context_t::start_embed<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*) const
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> > const*) const
Unexecuted instantiation: OT::VORG* hb_serialize_context_t::start_embed<OT::VORG>(OT::VORG const*) const
Unexecuted instantiation: OT::ColorLine<OT::NoVariable>* hb_serialize_context_t::start_embed<OT::ColorLine<OT::NoVariable> >(OT::ColorLine<OT::NoVariable> const*) const
Unexecuted instantiation: OT::ColorLine<OT::Variable>* hb_serialize_context_t::start_embed<OT::ColorLine<OT::Variable> >(OT::ColorLine<OT::Variable> const*) const
Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::start_embed<OT::ClipList>(OT::ClipList const*) const
Unexecuted instantiation: OT::BaseGlyphList* hb_serialize_context_t::start_embed<OT::BaseGlyphList>(OT::BaseGlyphList const*) const
Unexecuted instantiation: OT::LayerList* hb_serialize_context_t::start_embed<OT::LayerList>(OT::LayerList const*) const
Unexecuted instantiation: OT::COLR* hb_serialize_context_t::start_embed<OT::COLR>(OT::COLR const*) const
Unexecuted instantiation: OT::LayerRecord* hb_serialize_context_t::start_embed<OT::LayerRecord>(OT::LayerRecord const*) const
Unexecuted instantiation: OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::start_embed<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> > >(OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> > const*) const
Unexecuted instantiation: OT::IntType<unsigned int, 4u>* hb_serialize_context_t::start_embed<OT::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u> const*) const
Unexecuted instantiation: OT::UnsizedArrayOf<OT::Index>* hb_serialize_context_t::start_embed<OT::UnsizedArrayOf<OT::Index> >(OT::UnsizedArrayOf<OT::Index> const*) const
Unexecuted instantiation: OT::Index* hb_serialize_context_t::start_embed<OT::Index>(OT::Index const*) const
Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::start_embed<OT::CPAL>(OT::CPAL const*) const
Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookup* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::SubstLookup>(OT::Layout::GSUB_impl::SubstLookup const*) const
588
  template <typename Type>
589
  __attribute__((returns_nonnull))
590
  Type *start_embed (const Type &obj) const
591
0
  { return start_embed (std::addressof (obj)); }
Unexecuted instantiation: OT::Feature* hb_serialize_context_t::start_embed<OT::Feature>(OT::Feature const&) const
Unexecuted instantiation: OT::RecordListOfFeature* hb_serialize_context_t::start_embed<OT::RecordListOfFeature>(OT::RecordListOfFeature const&) const
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::start_embed<OT::LangSys>(OT::LangSys const&) const
Unexecuted instantiation: OT::Script* hb_serialize_context_t::start_embed<OT::Script>(OT::Script const&) const
Unexecuted instantiation: OT::RecordListOfScript* hb_serialize_context_t::start_embed<OT::RecordListOfScript>(OT::RecordListOfScript const&) const
Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::start_embed<OT::FeatureTableSubstitution>(OT::FeatureTableSubstitution const&) const
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::start_embed<OT::FeatureVariations>(OT::FeatureVariations const&) const
Unexecuted instantiation: OT::AttachPoint* hb_serialize_context_t::start_embed<OT::AttachPoint>(OT::AttachPoint const&) const
Unexecuted instantiation: OT::AttachList* hb_serialize_context_t::start_embed<OT::AttachList>(OT::AttachList const&) const
Unexecuted instantiation: OT::CaretValueFormat3* hb_serialize_context_t::start_embed<OT::CaretValueFormat3>(OT::CaretValueFormat3 const&) const
Unexecuted instantiation: OT::LigGlyph* hb_serialize_context_t::start_embed<OT::LigGlyph>(OT::LigGlyph const&) const
Unexecuted instantiation: OT::LigCaretList* hb_serialize_context_t::start_embed<OT::LigCaretList>(OT::LigCaretList const&) const
Unexecuted instantiation: OT::MarkGlyphSetsFormat1* hb_serialize_context_t::start_embed<OT::MarkGlyphSetsFormat1>(OT::MarkGlyphSetsFormat1 const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat3* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::AnchorFormat3>(OT::Layout::GPOS_impl::AnchorFormat3 const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1 const&) const
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::start_embed<OT::Lookup>(OT::Lookup const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ContextFormat1_4<OT::Layout::SmallTypes> >(OT::ContextFormat1_4<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::RuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::RuleSet<OT::Layout::SmallTypes> >(OT::RuleSet<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ContextFormat2_5<OT::Layout::SmallTypes> >(OT::ContextFormat2_5<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ChainContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainContextFormat1_4<OT::Layout::SmallTypes> >(OT::ChainContextFormat1_4<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ChainRuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainRuleSet<OT::Layout::SmallTypes> >(OT::ChainRuleSet<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ChainContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::ChainContextFormat2_5<OT::Layout::SmallTypes> >(OT::ChainContextFormat2_5<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> const&) const
Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::start_embed<OT::ClipList>(OT::ClipList const&) const
Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::start_embed<OT::CPAL>(OT::CPAL const&) const
592
593
  bool err (hb_serialize_error_t err_type)
594
0
  {
595
0
    return !bool ((errors = (errors | err_type)));
596
0
  }
597
598
  bool start_zerocopy (size_t size)
599
0
  {
600
0
    if (unlikely (in_error ())) return false;
601
0
602
0
    if (unlikely (size > INT_MAX || this->tail - this->head < ptrdiff_t (size)))
603
0
    {
604
0
      err (HB_SERIALIZE_ERROR_OUT_OF_ROOM);
605
0
      return false;
606
0
    }
607
0
608
0
    assert (!this->zerocopy);
609
0
    this->zerocopy = this->head;
610
0
611
0
    assert (this->current->head == this->head);
612
0
    this->current->head = this->current->tail = this->head = this->tail - size;
613
0
    return true;
614
0
  }
615
616
  template <typename Type>
617
  HB_NODISCARD
618
  Type *allocate_size (size_t size, bool clear = true)
619
0
  {
620
0
    if (unlikely (in_error ())) return nullptr;
621
622
0
    if (unlikely (size > INT_MAX || this->tail - this->head < ptrdiff_t (size)))
623
0
    {
624
0
      err (HB_SERIALIZE_ERROR_OUT_OF_ROOM);
625
0
      return nullptr;
626
0
    }
627
0
    if (clear)
628
0
      hb_memset (this->head, 0, size);
629
0
    char *ret = this->head;
630
0
    this->head += size;
631
0
    return reinterpret_cast<Type *> (ret);
632
0
  }
Unexecuted instantiation: void* hb_serialize_context_t::allocate_size<void>(unsigned long, bool)
Unexecuted instantiation: char* hb_serialize_context_t::allocate_size<char>(unsigned long, bool)
Unexecuted instantiation: OT::head* hb_serialize_context_t::allocate_size<OT::head>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::Common::Coverage* hb_serialize_context_t::allocate_size<OT::Layout::Common::Coverage>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::FeatureParamsSize* hb_serialize_context_t::allocate_size<OT::FeatureParamsSize>(unsigned long, bool)
Unexecuted instantiation: OT::FeatureParamsStylisticSet* hb_serialize_context_t::allocate_size<OT::FeatureParamsStylisticSet>(unsigned long, bool)
Unexecuted instantiation: OT::FeatureParamsCharacterVariants* hb_serialize_context_t::allocate_size<OT::FeatureParamsCharacterVariants>(unsigned long, bool)
Unexecuted instantiation: OT::Feature* hb_serialize_context_t::allocate_size<OT::Feature>(unsigned long, bool)
Unexecuted instantiation: OT::IndexArray* hb_serialize_context_t::allocate_size<OT::IndexArray>(unsigned long, bool)
Unexecuted instantiation: OT::Index* hb_serialize_context_t::allocate_size<OT::Index>(unsigned long, bool)
Unexecuted instantiation: OT::RecordListOfFeature* hb_serialize_context_t::allocate_size<OT::RecordListOfFeature>(unsigned long, bool)
Unexecuted instantiation: OT::Record<OT::Feature>* hb_serialize_context_t::allocate_size<OT::Record<OT::Feature> >(unsigned long, bool)
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::allocate_size<OT::LangSys>(unsigned long, bool)
Unexecuted instantiation: OT::Script* hb_serialize_context_t::allocate_size<OT::Script>(unsigned long, bool)
Unexecuted instantiation: OT::Record<OT::LangSys>* hb_serialize_context_t::allocate_size<OT::Record<OT::LangSys> >(unsigned long, bool)
Unexecuted instantiation: OT::RecordListOfScript* hb_serialize_context_t::allocate_size<OT::RecordListOfScript>(unsigned long, bool)
Unexecuted instantiation: OT::Record<OT::Script>* hb_serialize_context_t::allocate_size<OT::Record<OT::Script> >(unsigned long, bool)
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::allocate_size<OT::Lookup>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ClassDef* hb_serialize_context_t::allocate_size<OT::ClassDef>(unsigned long, bool)
Unexecuted instantiation: OT::ClassDefFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ClassDefFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ClassDefFormat2_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::allocate_size<OT::VarRegionList>(unsigned long, bool)
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::allocate_size<OT::VarData>(unsigned long, bool)
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::allocate_size<OT::VariationStore>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ConditionFormat1* hb_serialize_context_t::allocate_size<OT::ConditionFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::ConditionSet* hb_serialize_context_t::allocate_size<OT::ConditionSet>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::FeatureTableSubstitutionRecord* hb_serialize_context_t::allocate_size<OT::FeatureTableSubstitutionRecord>(unsigned long, bool)
Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::allocate_size<OT::FeatureTableSubstitution>(unsigned long, bool)
Unexecuted instantiation: OT::FeatureVariationRecord* hb_serialize_context_t::allocate_size<OT::FeatureVariationRecord>(unsigned long, bool)
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::allocate_size<OT::FeatureVariations>(unsigned long, bool)
Unexecuted instantiation: OT::HintingDevice* hb_serialize_context_t::allocate_size<OT::HintingDevice>(unsigned long, bool)
Unexecuted instantiation: OT::VariationDevice* hb_serialize_context_t::allocate_size<OT::VariationDevice>(unsigned long, bool)
Unexecuted instantiation: OT::OS2* hb_serialize_context_t::allocate_size<OT::OS2>(unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned int, 4u>* hb_serialize_context_t::allocate_size<OT::IntType<unsigned int, 4u> >(unsigned long, bool)
Unexecuted instantiation: OT::UnicodeValueRange* hb_serialize_context_t::allocate_size<OT::UnicodeValueRange>(unsigned long, bool)
Unexecuted instantiation: OT::UVSMapping* hb_serialize_context_t::allocate_size<OT::UVSMapping>(unsigned long, bool)
Unexecuted instantiation: OT::VariationSelectorRecord* hb_serialize_context_t::allocate_size<OT::VariationSelectorRecord>(unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat14* hb_serialize_context_t::allocate_size<OT::CmapSubtableFormat14>(unsigned long, bool)
Unexecuted instantiation: OT::cmap* hb_serialize_context_t::allocate_size<OT::cmap>(unsigned long, bool)
Unexecuted instantiation: OT::EncodingRecord* hb_serialize_context_t::allocate_size<OT::EncodingRecord>(unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat4* hb_serialize_context_t::allocate_size<OT::CmapSubtableFormat4>(unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::allocate_size<OT::IntType<unsigned short, 2u> >(unsigned long, bool)
Unexecuted instantiation: OT::IntType<short, 2u>* hb_serialize_context_t::allocate_size<OT::IntType<short, 2u> >(unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat12* hb_serialize_context_t::allocate_size<OT::CmapSubtableFormat12>(unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableLongGroup* hb_serialize_context_t::allocate_size<OT::CmapSubtableLongGroup>(unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::allocate_size<OT::IntType<unsigned char, 1u> >(unsigned long, bool)
Unexecuted instantiation: OT::HBFixed<OT::IntType<int, 4u>, 16u>* hb_serialize_context_t::allocate_size<OT::HBFixed<OT::IntType<int, 4u>, 16u> >(unsigned long, bool)
Unexecuted instantiation: OT::fvar* hb_serialize_context_t::allocate_size<OT::fvar>(unsigned long, bool)
Unexecuted instantiation: OT::AxisRecord* hb_serialize_context_t::allocate_size<OT::AxisRecord>(unsigned long, bool)
Unexecuted instantiation: OT::maxp* hb_serialize_context_t::allocate_size<OT::maxp>(unsigned long, bool)
Unexecuted instantiation: OT::maxpV1Tail* hb_serialize_context_t::allocate_size<OT::maxpV1Tail>(unsigned long, bool)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::allocate_size<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(unsigned long, bool)
Unexecuted instantiation: OT::HVAR* hb_serialize_context_t::allocate_size<OT::HVAR>(unsigned long, bool)
Unexecuted instantiation: OT::VVAR* hb_serialize_context_t::allocate_size<OT::VVAR>(unsigned long, bool)
Unexecuted instantiation: OT::gvar* hb_serialize_context_t::allocate_size<OT::gvar>(unsigned long, bool)
Unexecuted instantiation: OT::HBFixed<OT::IntType<short, 2u>, 14u>* hb_serialize_context_t::allocate_size<OT::HBFixed<OT::IntType<short, 2u>, 14u> >(unsigned long, bool)
Unexecuted instantiation: unsigned char* hb_serialize_context_t::allocate_size<unsigned char>(unsigned long, bool)
Unexecuted instantiation: OT::IntType<int, 4u>* hb_serialize_context_t::allocate_size<OT::IntType<int, 4u> >(unsigned long, bool)
Unexecuted instantiation: CFF::FDSelect* hb_serialize_context_t::allocate_size<CFF::FDSelect>(unsigned long, bool)
Unexecuted instantiation: CFF::Encoding* hb_serialize_context_t::allocate_size<CFF::Encoding>(unsigned long, bool)
Unexecuted instantiation: CFF::Encoding0* hb_serialize_context_t::allocate_size<CFF::Encoding0>(unsigned long, bool)
Unexecuted instantiation: CFF::Encoding1* hb_serialize_context_t::allocate_size<CFF::Encoding1>(unsigned long, bool)
Unexecuted instantiation: CFF::CFF1SuppEncData* hb_serialize_context_t::allocate_size<CFF::CFF1SuppEncData>(unsigned long, bool)
Unexecuted instantiation: CFF::Charset* hb_serialize_context_t::allocate_size<CFF::Charset>(unsigned long, bool)
Unexecuted instantiation: CFF::Charset0* hb_serialize_context_t::allocate_size<CFF::Charset0>(unsigned long, bool)
Unexecuted instantiation: CFF::Charset1_2<OT::IntType<unsigned char, 1u> >* hb_serialize_context_t::allocate_size<CFF::Charset1_2<OT::IntType<unsigned char, 1u> > >(unsigned long, bool)
Unexecuted instantiation: CFF::Charset1_2<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<CFF::Charset1_2<OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: CFF::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<CFF::CFFIndex<OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: CFF::CFF2FDSelect* hb_serialize_context_t::allocate_size<CFF::CFF2FDSelect>(unsigned long, bool)
Unexecuted instantiation: CFF::CFF2VariationStore* hb_serialize_context_t::allocate_size<CFF::CFF2VariationStore>(unsigned long, bool)
Unexecuted instantiation: OT::AttachList* hb_serialize_context_t::allocate_size<OT::AttachList>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::CaretValueFormat1* hb_serialize_context_t::allocate_size<OT::CaretValueFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::CaretValueFormat2* hb_serialize_context_t::allocate_size<OT::CaretValueFormat2>(unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::LigGlyph* hb_serialize_context_t::allocate_size<OT::LigGlyph>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::LigCaretList* hb_serialize_context_t::allocate_size<OT::LigCaretList>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::MarkGlyphSetsFormat1* hb_serialize_context_t::allocate_size<OT::MarkGlyphSetsFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::LookupRecord* hb_serialize_context_t::allocate_size<OT::LookupRecord>(unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat3* hb_serialize_context_t::allocate_size<OT::ContextFormat3>(unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat1* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::SinglePosFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat2* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::SinglePosFormat2>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat1* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::AnchorFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat2* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::AnchorFormat2>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::EntryExitRecord* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::EntryExitRecord>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::CursivePosFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkRecord* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::MarkRecord>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkArray* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::MarkArray>(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorMatrix* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::AnchorMatrix>(unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::LigatureArray* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::LigatureArray>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ContextFormat1_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::RuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::RuleSet<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Rule<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Rule<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ContextFormat2_5<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ChainContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ChainContextFormat1_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ChainRuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ChainRuleSet<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ChainContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::ChainContextFormat2_5<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>* hb_serialize_context_t::allocate_size<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(unsigned long, bool)
Unexecuted instantiation: OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::NameRecord* hb_serialize_context_t::allocate_size<OT::NameRecord>(unsigned long, bool)
Unexecuted instantiation: OT::name* hb_serialize_context_t::allocate_size<OT::name>(unsigned long, bool)
Unexecuted instantiation: OT::post* hb_serialize_context_t::allocate_size<OT::post>(unsigned long, bool)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::allocate_size<OT::Offset<OT::IntType<unsigned int, 4u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::allocate_size<OT::Offset<OT::IntType<unsigned short, 2u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::IndexSubtable* hb_serialize_context_t::allocate_size<OT::IndexSubtable>(unsigned long, bool)
Unexecuted instantiation: OT::IndexSubtableRecord* hb_serialize_context_t::allocate_size<OT::IndexSubtableRecord>(unsigned long, bool)
Unexecuted instantiation: OT::BitmapSizeTable* hb_serialize_context_t::allocate_size<OT::BitmapSizeTable>(unsigned long, bool)
Unexecuted instantiation: OT::CBLC* hb_serialize_context_t::allocate_size<OT::CBLC>(unsigned long, bool)
Unexecuted instantiation: OT::SBIXGlyph* hb_serialize_context_t::allocate_size<OT::SBIXGlyph>(unsigned long, bool)
Unexecuted instantiation: OT::SBIXStrike* hb_serialize_context_t::allocate_size<OT::SBIXStrike>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::allocate_size<OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>* hb_serialize_context_t::allocate_size<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(unsigned long, bool)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool)
Unexecuted instantiation: OT::AxisValueFormat1* hb_serialize_context_t::allocate_size<OT::AxisValueFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::AxisValueFormat2* hb_serialize_context_t::allocate_size<OT::AxisValueFormat2>(unsigned long, bool)
Unexecuted instantiation: OT::AxisValueFormat3* hb_serialize_context_t::allocate_size<OT::AxisValueFormat3>(unsigned long, bool)
Unexecuted instantiation: OT::AxisValueFormat4* hb_serialize_context_t::allocate_size<OT::AxisValueFormat4>(unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> >(unsigned long, bool)
Unexecuted instantiation: OT::STAT* hb_serialize_context_t::allocate_size<OT::STAT>(unsigned long, bool)
Unexecuted instantiation: OT::StatAxisRecord* hb_serialize_context_t::allocate_size<OT::StatAxisRecord>(unsigned long, bool)
Unexecuted instantiation: OT::VORG* hb_serialize_context_t::allocate_size<OT::VORG>(unsigned long, bool)
Unexecuted instantiation: OT::VertOriginMetric* hb_serialize_context_t::allocate_size<OT::VertOriginMetric>(unsigned long, bool)
Unexecuted instantiation: OT::ColorStop* hb_serialize_context_t::allocate_size<OT::ColorStop>(unsigned long, bool)
Unexecuted instantiation: OT::Affine2x3* hb_serialize_context_t::allocate_size<OT::Affine2x3>(unsigned long, bool)
Unexecuted instantiation: OT::PaintColrLayers* hb_serialize_context_t::allocate_size<OT::PaintColrLayers>(unsigned long, bool)
Unexecuted instantiation: OT::PaintSolid* hb_serialize_context_t::allocate_size<OT::PaintSolid>(unsigned long, bool)
Unexecuted instantiation: OT::PaintGlyph* hb_serialize_context_t::allocate_size<OT::PaintGlyph>(unsigned long, bool)
Unexecuted instantiation: OT::VarIdx* hb_serialize_context_t::allocate_size<OT::VarIdx>(unsigned long, bool)
Unexecuted instantiation: OT::PaintLinearGradient<OT::NoVariable>* hb_serialize_context_t::allocate_size<OT::PaintLinearGradient<OT::NoVariable> >(unsigned long, bool)
Unexecuted instantiation: OT::ColorLine<OT::NoVariable>* hb_serialize_context_t::allocate_size<OT::ColorLine<OT::NoVariable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintLinearGradient<OT::Variable>* hb_serialize_context_t::allocate_size<OT::PaintLinearGradient<OT::Variable> >(unsigned long, bool)
Unexecuted instantiation: OT::ColorLine<OT::Variable>* hb_serialize_context_t::allocate_size<OT::ColorLine<OT::Variable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintRadialGradient<OT::NoVariable>* hb_serialize_context_t::allocate_size<OT::PaintRadialGradient<OT::NoVariable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintRadialGradient<OT::Variable>* hb_serialize_context_t::allocate_size<OT::PaintRadialGradient<OT::Variable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintSweepGradient<OT::NoVariable>* hb_serialize_context_t::allocate_size<OT::PaintSweepGradient<OT::NoVariable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintSweepGradient<OT::Variable>* hb_serialize_context_t::allocate_size<OT::PaintSweepGradient<OT::Variable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintTransform<OT::NoVariable>* hb_serialize_context_t::allocate_size<OT::PaintTransform<OT::NoVariable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintTransform<OT::Variable>* hb_serialize_context_t::allocate_size<OT::PaintTransform<OT::Variable> >(unsigned long, bool)
Unexecuted instantiation: OT::PaintColrGlyph* hb_serialize_context_t::allocate_size<OT::PaintColrGlyph>(unsigned long, bool)
Unexecuted instantiation: OT::PaintTranslate* hb_serialize_context_t::allocate_size<OT::PaintTranslate>(unsigned long, bool)
Unexecuted instantiation: OT::PaintScale* hb_serialize_context_t::allocate_size<OT::PaintScale>(unsigned long, bool)
Unexecuted instantiation: OT::PaintScaleAroundCenter* hb_serialize_context_t::allocate_size<OT::PaintScaleAroundCenter>(unsigned long, bool)
Unexecuted instantiation: OT::PaintScaleUniform* hb_serialize_context_t::allocate_size<OT::PaintScaleUniform>(unsigned long, bool)
Unexecuted instantiation: OT::PaintScaleUniformAroundCenter* hb_serialize_context_t::allocate_size<OT::PaintScaleUniformAroundCenter>(unsigned long, bool)
Unexecuted instantiation: OT::PaintRotate* hb_serialize_context_t::allocate_size<OT::PaintRotate>(unsigned long, bool)
Unexecuted instantiation: OT::PaintRotateAroundCenter* hb_serialize_context_t::allocate_size<OT::PaintRotateAroundCenter>(unsigned long, bool)
Unexecuted instantiation: OT::PaintSkew* hb_serialize_context_t::allocate_size<OT::PaintSkew>(unsigned long, bool)
Unexecuted instantiation: OT::PaintSkewAroundCenter* hb_serialize_context_t::allocate_size<OT::PaintSkewAroundCenter>(unsigned long, bool)
Unexecuted instantiation: OT::PaintComposite* hb_serialize_context_t::allocate_size<OT::PaintComposite>(unsigned long, bool)
Unexecuted instantiation: OT::ClipBoxFormat1* hb_serialize_context_t::allocate_size<OT::ClipBoxFormat1>(unsigned long, bool)
Unexecuted instantiation: OT::ClipRecord* hb_serialize_context_t::allocate_size<OT::ClipRecord>(unsigned long, bool)
Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::allocate_size<OT::ClipList>(unsigned long, bool)
Unexecuted instantiation: OT::BaseGlyphPaintRecord* hb_serialize_context_t::allocate_size<OT::BaseGlyphPaintRecord>(unsigned long, bool)
Unexecuted instantiation: OT::BaseGlyphList* hb_serialize_context_t::allocate_size<OT::BaseGlyphList>(unsigned long, bool)
Unexecuted instantiation: OT::LayerList* hb_serialize_context_t::allocate_size<OT::LayerList>(unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(unsigned long, bool)
Unexecuted instantiation: OT::COLR* hb_serialize_context_t::allocate_size<OT::COLR>(unsigned long, bool)
Unexecuted instantiation: OT::BaseGlyphRecord* hb_serialize_context_t::allocate_size<OT::BaseGlyphRecord>(unsigned long, bool)
Unexecuted instantiation: OT::LayerRecord* hb_serialize_context_t::allocate_size<OT::LayerRecord>(unsigned long, bool)
Unexecuted instantiation: OT::CPALV1Tail* hb_serialize_context_t::allocate_size<OT::CPALV1Tail>(unsigned long, bool)
Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::allocate_size<OT::CPAL>(unsigned long, bool)
633
634
  template <typename Type>
635
  Type *allocate_min ()
636
0
  { return this->allocate_size<Type> (Type::min_size); }
Unexecuted instantiation: OT::HVAR* hb_serialize_context_t::allocate_min<OT::HVAR>()
Unexecuted instantiation: OT::VVAR* hb_serialize_context_t::allocate_min<OT::VVAR>()
Unexecuted instantiation: OT::gvar* hb_serialize_context_t::allocate_min<OT::gvar>()
Unexecuted instantiation: OT::post* hb_serialize_context_t::allocate_min<OT::post>()
637
638
  template <typename Type>
639
  HB_NODISCARD
640
  Type *embed (const Type *obj)
641
0
  {
642
0
    unsigned int size = obj->get_size ();
643
0
    Type *ret = this->allocate_size<Type> (size, false);
644
0
    if (unlikely (!ret)) return nullptr;
645
0
    hb_memcpy (ret, obj, size);
646
0
    return ret;
647
0
  }
Unexecuted instantiation: OT::head* hb_serialize_context_t::embed<OT::head>(OT::head const*)
Unexecuted instantiation: OT::FeatureParamsSize* hb_serialize_context_t::embed<OT::FeatureParamsSize>(OT::FeatureParamsSize const*)
Unexecuted instantiation: OT::FeatureParamsStylisticSet* hb_serialize_context_t::embed<OT::FeatureParamsStylisticSet>(OT::FeatureParamsStylisticSet const*)
Unexecuted instantiation: OT::FeatureParamsCharacterVariants* hb_serialize_context_t::embed<OT::FeatureParamsCharacterVariants>(OT::FeatureParamsCharacterVariants const*)
Unexecuted instantiation: OT::Record<OT::Feature>* hb_serialize_context_t::embed<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*)
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::embed<OT::LangSys>(OT::LangSys const*)
Unexecuted instantiation: OT::Record<OT::LangSys>* hb_serialize_context_t::embed<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*)
Unexecuted instantiation: OT::Record<OT::Script>* hb_serialize_context_t::embed<OT::Record<OT::Script> >(OT::Record<OT::Script> const*)
Unexecuted instantiation: OT::ConditionFormat1* hb_serialize_context_t::embed<OT::ConditionFormat1>(OT::ConditionFormat1 const*)
Unexecuted instantiation: OT::FeatureTableSubstitutionRecord* hb_serialize_context_t::embed<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*)
Unexecuted instantiation: OT::FeatureVariationRecord* hb_serialize_context_t::embed<OT::FeatureVariationRecord>(OT::FeatureVariationRecord const*)
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::embed<OT::FeatureVariations>(OT::FeatureVariations const*)
Unexecuted instantiation: OT::HintingDevice* hb_serialize_context_t::embed<OT::HintingDevice>(OT::HintingDevice const*)
Unexecuted instantiation: OT::VariationDevice* hb_serialize_context_t::embed<OT::VariationDevice>(OT::VariationDevice const*)
Unexecuted instantiation: OT::OS2* hb_serialize_context_t::embed<OT::OS2>(OT::OS2 const*)
Unexecuted instantiation: OT::VariationSelectorRecord* hb_serialize_context_t::embed<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*)
Unexecuted instantiation: OT::EncodingRecord* hb_serialize_context_t::embed<OT::EncodingRecord>(OT::EncodingRecord const*)
Unexecuted instantiation: OT::Index* hb_serialize_context_t::embed<OT::Index>(OT::Index const*)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::embed<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const*)
Unexecuted instantiation: OT::HBFixed<OT::IntType<int, 4u>, 16u>* hb_serialize_context_t::embed<OT::HBFixed<OT::IntType<int, 4u>, 16u> >(OT::HBFixed<OT::IntType<int, 4u>, 16u> const*)
Unexecuted instantiation: OT::fvar* hb_serialize_context_t::embed<OT::fvar>(OT::fvar const*)
Unexecuted instantiation: OT::AxisRecord* hb_serialize_context_t::embed<OT::AxisRecord>(OT::AxisRecord const*)
Unexecuted instantiation: OT::maxp* hb_serialize_context_t::embed<OT::maxp>(OT::maxp const*)
Unexecuted instantiation: OT::maxpV1Tail* hb_serialize_context_t::embed<OT::maxpV1Tail>(OT::maxpV1Tail const*)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::embed<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*)
Unexecuted instantiation: OT::CaretValueFormat1* hb_serialize_context_t::embed<OT::CaretValueFormat1>(OT::CaretValueFormat1 const*)
Unexecuted instantiation: OT::CaretValueFormat2* hb_serialize_context_t::embed<OT::CaretValueFormat2>(OT::CaretValueFormat2 const*)
Unexecuted instantiation: OT::IntType<short, 2u>* hb_serialize_context_t::embed<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const*)
Unexecuted instantiation: OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> const*)
Unexecuted instantiation: OT::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::embed<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes> const*)
Unexecuted instantiation: OT::LookupRecord* hb_serialize_context_t::embed<OT::LookupRecord>(OT::LookupRecord const*)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat1* hb_serialize_context_t::embed<OT::Layout::GPOS_impl::AnchorFormat1>(OT::Layout::GPOS_impl::AnchorFormat1 const*)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorFormat2* hb_serialize_context_t::embed<OT::Layout::GPOS_impl::AnchorFormat2>(OT::Layout::GPOS_impl::AnchorFormat2 const*)
Unexecuted instantiation: OT::Layout::GPOS_impl::EntryExitRecord* hb_serialize_context_t::embed<OT::Layout::GPOS_impl::EntryExitRecord>(OT::Layout::GPOS_impl::EntryExitRecord const*)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkRecord* hb_serialize_context_t::embed<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const*)
Unexecuted instantiation: OT::NameRecord* hb_serialize_context_t::embed<OT::NameRecord>(OT::NameRecord const*)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::embed<OT::Offset<OT::IntType<unsigned int, 4u>, true> >(OT::Offset<OT::IntType<unsigned int, 4u>, true> const*)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::Offset<OT::IntType<unsigned short, 2u>, true> >(OT::Offset<OT::IntType<unsigned short, 2u>, true> const*)
Unexecuted instantiation: OT::IndexSubtableRecord* hb_serialize_context_t::embed<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*)
Unexecuted instantiation: OT::BitmapSizeTable* hb_serialize_context_t::embed<OT::BitmapSizeTable>(OT::BitmapSizeTable const*)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const*)
Unexecuted instantiation: OT::AxisValueFormat1* hb_serialize_context_t::embed<OT::AxisValueFormat1>(OT::AxisValueFormat1 const*)
Unexecuted instantiation: OT::AxisValueFormat2* hb_serialize_context_t::embed<OT::AxisValueFormat2>(OT::AxisValueFormat2 const*)
Unexecuted instantiation: OT::AxisValueFormat3* hb_serialize_context_t::embed<OT::AxisValueFormat3>(OT::AxisValueFormat3 const*)
Unexecuted instantiation: OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> const*)
Unexecuted instantiation: OT::STAT* hb_serialize_context_t::embed<OT::STAT>(OT::STAT const*)
Unexecuted instantiation: OT::StatAxisRecord* hb_serialize_context_t::embed<OT::StatAxisRecord>(OT::StatAxisRecord const*)
Unexecuted instantiation: OT::ColorStop* hb_serialize_context_t::embed<OT::ColorStop>(OT::ColorStop const*)
Unexecuted instantiation: OT::Affine2x3* hb_serialize_context_t::embed<OT::Affine2x3>(OT::Affine2x3 const*)
Unexecuted instantiation: OT::PaintColrLayers* hb_serialize_context_t::embed<OT::PaintColrLayers>(OT::PaintColrLayers const*)
Unexecuted instantiation: OT::PaintSolid* hb_serialize_context_t::embed<OT::PaintSolid>(OT::PaintSolid const*)
Unexecuted instantiation: OT::PaintGlyph* hb_serialize_context_t::embed<OT::PaintGlyph>(OT::PaintGlyph const*)
Unexecuted instantiation: OT::VarIdx* hb_serialize_context_t::embed<OT::VarIdx>(OT::VarIdx const*)
Unexecuted instantiation: OT::PaintLinearGradient<OT::NoVariable>* hb_serialize_context_t::embed<OT::PaintLinearGradient<OT::NoVariable> >(OT::PaintLinearGradient<OT::NoVariable> const*)
Unexecuted instantiation: OT::PaintLinearGradient<OT::Variable>* hb_serialize_context_t::embed<OT::PaintLinearGradient<OT::Variable> >(OT::PaintLinearGradient<OT::Variable> const*)
Unexecuted instantiation: OT::PaintRadialGradient<OT::NoVariable>* hb_serialize_context_t::embed<OT::PaintRadialGradient<OT::NoVariable> >(OT::PaintRadialGradient<OT::NoVariable> const*)
Unexecuted instantiation: OT::PaintRadialGradient<OT::Variable>* hb_serialize_context_t::embed<OT::PaintRadialGradient<OT::Variable> >(OT::PaintRadialGradient<OT::Variable> const*)
Unexecuted instantiation: OT::PaintSweepGradient<OT::NoVariable>* hb_serialize_context_t::embed<OT::PaintSweepGradient<OT::NoVariable> >(OT::PaintSweepGradient<OT::NoVariable> const*)
Unexecuted instantiation: OT::PaintSweepGradient<OT::Variable>* hb_serialize_context_t::embed<OT::PaintSweepGradient<OT::Variable> >(OT::PaintSweepGradient<OT::Variable> const*)
Unexecuted instantiation: OT::PaintTransform<OT::NoVariable>* hb_serialize_context_t::embed<OT::PaintTransform<OT::NoVariable> >(OT::PaintTransform<OT::NoVariable> const*)
Unexecuted instantiation: OT::PaintTransform<OT::Variable>* hb_serialize_context_t::embed<OT::PaintTransform<OT::Variable> >(OT::PaintTransform<OT::Variable> const*)
Unexecuted instantiation: OT::PaintColrGlyph* hb_serialize_context_t::embed<OT::PaintColrGlyph>(OT::PaintColrGlyph const*)
Unexecuted instantiation: OT::PaintTranslate* hb_serialize_context_t::embed<OT::PaintTranslate>(OT::PaintTranslate const*)
Unexecuted instantiation: OT::PaintScale* hb_serialize_context_t::embed<OT::PaintScale>(OT::PaintScale const*)
Unexecuted instantiation: OT::PaintScaleAroundCenter* hb_serialize_context_t::embed<OT::PaintScaleAroundCenter>(OT::PaintScaleAroundCenter const*)
Unexecuted instantiation: OT::PaintScaleUniform* hb_serialize_context_t::embed<OT::PaintScaleUniform>(OT::PaintScaleUniform const*)
Unexecuted instantiation: OT::PaintScaleUniformAroundCenter* hb_serialize_context_t::embed<OT::PaintScaleUniformAroundCenter>(OT::PaintScaleUniformAroundCenter const*)
Unexecuted instantiation: OT::PaintRotate* hb_serialize_context_t::embed<OT::PaintRotate>(OT::PaintRotate const*)
Unexecuted instantiation: OT::PaintRotateAroundCenter* hb_serialize_context_t::embed<OT::PaintRotateAroundCenter>(OT::PaintRotateAroundCenter const*)
Unexecuted instantiation: OT::PaintSkew* hb_serialize_context_t::embed<OT::PaintSkew>(OT::PaintSkew const*)
Unexecuted instantiation: OT::PaintSkewAroundCenter* hb_serialize_context_t::embed<OT::PaintSkewAroundCenter>(OT::PaintSkewAroundCenter const*)
Unexecuted instantiation: OT::PaintComposite* hb_serialize_context_t::embed<OT::PaintComposite>(OT::PaintComposite const*)
Unexecuted instantiation: OT::ClipBoxFormat1* hb_serialize_context_t::embed<OT::ClipBoxFormat1>(OT::ClipBoxFormat1 const*)
Unexecuted instantiation: OT::ClipRecord* hb_serialize_context_t::embed<OT::ClipRecord>(OT::ClipRecord const*)
Unexecuted instantiation: OT::BaseGlyphPaintRecord* hb_serialize_context_t::embed<OT::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*)
Unexecuted instantiation: OT::BaseGlyphRecord* hb_serialize_context_t::embed<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*)
648
  template <typename Type>
649
  HB_NODISCARD
650
  Type *embed (const Type &obj)
651
0
  { return embed (std::addressof (obj)); }
Unexecuted instantiation: OT::FeatureParamsSize* hb_serialize_context_t::embed<OT::FeatureParamsSize>(OT::FeatureParamsSize const&)
Unexecuted instantiation: OT::FeatureParamsStylisticSet* hb_serialize_context_t::embed<OT::FeatureParamsStylisticSet>(OT::FeatureParamsStylisticSet const&)
Unexecuted instantiation: OT::FeatureParamsCharacterVariants* hb_serialize_context_t::embed<OT::FeatureParamsCharacterVariants>(OT::FeatureParamsCharacterVariants const&)
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::embed<OT::LangSys>(OT::LangSys const&)
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::embed<OT::FeatureVariations>(OT::FeatureVariations const&)
Unexecuted instantiation: OT::VariationSelectorRecord* hb_serialize_context_t::embed<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const&)
Unexecuted instantiation: OT::Index* hb_serialize_context_t::embed<OT::Index>(OT::Index const&)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::embed<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const&)
Unexecuted instantiation: OT::HBFixed<OT::IntType<int, 4u>, 16u>* hb_serialize_context_t::embed<OT::HBFixed<OT::IntType<int, 4u>, 16u> >(OT::HBFixed<OT::IntType<int, 4u>, 16u> const&)
Unexecuted instantiation: OT::AxisRecord* hb_serialize_context_t::embed<OT::AxisRecord>(OT::AxisRecord const&)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::embed<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const&)
Unexecuted instantiation: OT::IntType<short, 2u>* hb_serialize_context_t::embed<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const&)
Unexecuted instantiation: OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> const&)
Unexecuted instantiation: OT::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::embed<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes> const&)
Unexecuted instantiation: OT::LookupRecord* hb_serialize_context_t::embed<OT::LookupRecord>(OT::LookupRecord const&)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const&)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::embed<OT::Offset<OT::IntType<unsigned int, 4u>, true> >(OT::Offset<OT::IntType<unsigned int, 4u>, true> const&)
Unexecuted instantiation: OT::Offset<OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::Offset<OT::IntType<unsigned short, 2u>, true> >(OT::Offset<OT::IntType<unsigned short, 2u>, true> const&)
Unexecuted instantiation: OT::IndexSubtableRecord* hb_serialize_context_t::embed<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const&)
Unexecuted instantiation: OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const&)
Unexecuted instantiation: OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> const&)
Unexecuted instantiation: OT::StatAxisRecord* hb_serialize_context_t::embed<OT::StatAxisRecord>(OT::StatAxisRecord const&)
Unexecuted instantiation: OT::ColorStop* hb_serialize_context_t::embed<OT::ColorStop>(OT::ColorStop const&)
Unexecuted instantiation: OT::Affine2x3* hb_serialize_context_t::embed<OT::Affine2x3>(OT::Affine2x3 const&)
Unexecuted instantiation: OT::PaintSolid* hb_serialize_context_t::embed<OT::PaintSolid>(OT::PaintSolid const&)
Unexecuted instantiation: OT::VarIdx* hb_serialize_context_t::embed<OT::VarIdx>(OT::VarIdx const&)
Unexecuted instantiation: OT::ClipBoxFormat1* hb_serialize_context_t::embed<OT::ClipBoxFormat1>(OT::ClipBoxFormat1 const&)
Unexecuted instantiation: OT::ClipRecord* hb_serialize_context_t::embed<OT::ClipRecord>(OT::ClipRecord const&)
Unexecuted instantiation: OT::BaseGlyphRecord* hb_serialize_context_t::embed<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const&)
652
  char *embed (const char *obj, unsigned size)
653
0
  {
654
0
    char *ret = this->allocate_size<char> (size, false);
655
0
    if (unlikely (!ret)) return nullptr;
656
0
    hb_memcpy (ret, obj, size);
657
0
    return ret;
658
0
  }
659
660
  template <typename Type, typename ...Ts> auto
661
  _copy (const Type &src, hb_priority<1>, Ts&&... ds) HB_RETURN
662
  (Type *, src.copy (this, std::forward<Ts> (ds)...))
663
664
  template <typename Type> auto
665
  _copy (const Type &src, hb_priority<0>) -> decltype (&(hb_declval<Type> () = src))
666
0
  {
667
0
    Type *ret = this->allocate_size<Type> (sizeof (Type));
668
0
    if (unlikely (!ret)) return nullptr;
669
0
    *ret = src;
670
0
    return ret;
671
0
  }
Unexecuted instantiation: decltype (&(((hb_declval<OT::Index>)())={parm#1})) hb_serialize_context_t::_copy<OT::Index>(OT::Index const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >)())={parm#1})) hb_serialize_context_t::_copy<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::IntType<unsigned int, 4u> >)())={parm#1})) hb_serialize_context_t::_copy<OT::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u> const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::UnicodeValueRange>)())={parm#1})) hb_serialize_context_t::_copy<OT::UnicodeValueRange>(OT::UnicodeValueRange const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::UVSMapping>)())={parm#1})) hb_serialize_context_t::_copy<OT::UVSMapping>(OT::UVSMapping const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::IntType<unsigned short, 2u> >)())={parm#1})) hb_serialize_context_t::_copy<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::CmapSubtableLongGroup>)())={parm#1})) hb_serialize_context_t::_copy<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::IntType<unsigned char, 1u> >)())={parm#1})) hb_serialize_context_t::_copy<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const&, hb_priority<0u>)
Unexecuted instantiation: decltype (&(((hb_declval<OT::VertOriginMetric>)())={parm#1})) hb_serialize_context_t::_copy<OT::VertOriginMetric>(OT::VertOriginMetric const&, hb_priority<0u>)
672
673
  /* Like embed, but active: calls obj.operator=() or obj.copy() to transfer data
674
   * instead of hb_memcpy(). */
675
  template <typename Type, typename ...Ts>
676
  Type *copy (const Type &src, Ts&&... ds)
677
0
  { return _copy (src, hb_prioritize, std::forward<Ts> (ds)...); }
Unexecuted instantiation: OT::Index* hb_serialize_context_t::copy<OT::Index>(OT::Index const&)
Unexecuted instantiation: OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::copy<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>>(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const&)
Unexecuted instantiation: OT::IntType<unsigned int, 4u>* hb_serialize_context_t::copy<OT::IntType<unsigned int, 4u>>(OT::IntType<unsigned int, 4u> const&)
Unexecuted instantiation: OT::UnicodeValueRange* hb_serialize_context_t::copy<OT::UnicodeValueRange>(OT::UnicodeValueRange const&)
Unexecuted instantiation: OT::UVSMapping* hb_serialize_context_t::copy<OT::UVSMapping>(OT::UVSMapping const&)
Unexecuted instantiation: OT::NonDefaultUVS* hb_serialize_context_t::copy<OT::NonDefaultUVS, hb_set_t const*&, hb_set_t const*&, hb_map_t const*&>(OT::NonDefaultUVS const&, hb_set_t const*&, hb_set_t const*&, hb_map_t const*&)
Unexecuted instantiation: OT::DefaultUVS* hb_serialize_context_t::copy<OT::DefaultUVS, hb_set_t const*&>(OT::DefaultUVS const&, hb_set_t const*&)
Unexecuted instantiation: hb-face.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>&&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::copy<OT::IntType<unsigned short, 2u>>(OT::IntType<unsigned short, 2u> const&)
Unexecuted instantiation: OT::CmapSubtableLongGroup* hb_serialize_context_t::copy<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const&)
Unexecuted instantiation: hb-face.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: hb-ot-face.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_11 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_11 const&)0>, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_11 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_11 const&)0>&&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: hb-ot-face.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_11 const&, (void*)0>&, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_11 const&, (void*)0>&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::copy<OT::IntType<unsigned char, 1u>>(OT::IntType<unsigned char, 1u> const&)
Unexecuted instantiation: OT::Device* hb_serialize_context_t::copy<OT::Device, hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>*>(OT::Device const&, hb_hashmap_t<unsigned int, hb_pair_t<unsigned int, int>, false>*&&)
Unexecuted instantiation: OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >* hb_serialize_context_t::copy<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u> const&>(OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> > const&, OT::IntType<unsigned short, 2u> const&)
Unexecuted instantiation: OT::NameRecord* hb_serialize_context_t::copy<OT::NameRecord, void const*&>(OT::NameRecord const&, void const*&)
Unexecuted instantiation: hb-ot-font.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>&&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: hb-ot-font.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: OT::VertOriginMetric* hb_serialize_context_t::copy<OT::VertOriginMetric>(OT::VertOriginMetric const&)
Unexecuted instantiation: OT::DeltaSetIndexMap* hb_serialize_context_t::copy<OT::DeltaSetIndexMap>(OT::DeltaSetIndexMap const&)
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::copy<OT::VariationStore>(OT::VariationStore const&)
Unexecuted instantiation: hb-static.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>, hb_set_t const&, $_5 const&, ($_10 const&)0>&&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: hb-static.cc:OT::EncodingRecord* hb_serialize_context_t::copy<OT::EncodingRecord, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int, void const*&, hb_subset_plan_t*&, unsigned int*>(unsigned int* const&, hb_filter_iter_t<hb_sorted_array_t<hb_pair_t<unsigned int, unsigned int> const>, OT::cmap::subset(hb_subset_context_t*) const::{lambda(hb_pair_t<unsigned int, unsigned int>)#1}, $_10 const&, (void*)0>&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&)
Unexecuted instantiation: OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::copy<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, unsigned int&>(OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> > const&, unsigned int&)
Unexecuted instantiation: OT::UnsizedArrayOf<OT::Index>* hb_serialize_context_t::copy<OT::UnsizedArrayOf<OT::Index>, unsigned int&>(OT::UnsizedArrayOf<OT::Index> const&, unsigned int&)
678
  template <typename Type, typename ...Ts>
679
  Type *copy (const Type *src, Ts&&... ds)
680
  { return copy (*src, std::forward<Ts> (ds)...); }
681
682
  template<typename Iterator,
683
     hb_requires (hb_is_iterator (Iterator)),
684
     typename ...Ts>
685
  void copy_all (Iterator it, Ts&&... ds)
686
0
  { for (decltype (*it) _ : it) copy (_, std::forward<Ts> (ds)...); }
Unexecuted instantiation: void hb_serialize_context_t::copy_all<hb_array_t<OT::NameRecord>, (void*)0, void const*&>(hb_array_t<OT::NameRecord>, void const*&)
Unexecuted instantiation: void hb_serialize_context_t::copy_all<hb_map_iter_t<hb_filter_iter_t<hb_sorted_array_t<OT::VertOriginMetric const>, hb_set_t const*, OT::HBGlyphID16 OT::VertOriginMetric::*, (void*)0>, OT::VORG::subset(hb_subset_context_t*) const::{lambda(OT::VertOriginMetric const&)#1}, (hb_function_sortedness_t)0, (void*)0>, (void*)0>(hb_map_iter_t<hb_filter_iter_t<hb_sorted_array_t<OT::VertOriginMetric const>, hb_set_t const*, OT::HBGlyphID16 OT::VertOriginMetric::*, (void*)0>, OT::VORG::subset(hb_subset_context_t*) const::{lambda(OT::VertOriginMetric const&)#1}, (hb_function_sortedness_t)0, (void*)0>)
687
688
  template <typename Type>
689
  hb_serialize_context_t& operator << (const Type &obj) & { embed (obj); return *this; }
690
691
  template <typename Type>
692
  Type *extend_size (Type *obj, size_t size, bool clear = true)
693
0
  {
694
0
    if (unlikely (in_error ())) return nullptr;
695
696
0
    assert (this->start <= (char *) obj);
697
0
    assert ((char *) obj <= this->head);
698
0
    assert ((size_t) (this->head - (char *) obj) <= size);
699
0
    if (unlikely (((char *) obj + size < (char *) obj) ||
700
0
      !this->allocate_size<Type> (((char *) obj) + size - this->head, clear))) return nullptr;
701
0
    return reinterpret_cast<Type *> (obj);
702
0
  }
Unexecuted instantiation: OT::Layout::Common::Coverage* hb_serialize_context_t::extend_size<OT::Layout::Common::Coverage>(OT::Layout::Common::Coverage*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Feature* hb_serialize_context_t::extend_size<OT::Feature>(OT::Feature*, unsigned long, bool)
Unexecuted instantiation: OT::IndexArray* hb_serialize_context_t::extend_size<OT::IndexArray>(OT::IndexArray*, unsigned long, bool)
Unexecuted instantiation: OT::RecordListOfFeature* hb_serialize_context_t::extend_size<OT::RecordListOfFeature>(OT::RecordListOfFeature*, unsigned long, bool)
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::extend_size<OT::LangSys>(OT::LangSys*, unsigned long, bool)
Unexecuted instantiation: OT::Script* hb_serialize_context_t::extend_size<OT::Script>(OT::Script*, unsigned long, bool)
Unexecuted instantiation: OT::RecordListOfScript* hb_serialize_context_t::extend_size<OT::RecordListOfScript>(OT::RecordListOfScript*, unsigned long, bool)
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::extend_size<OT::Lookup>(OT::Lookup*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ClassDef* hb_serialize_context_t::extend_size<OT::ClassDef>(OT::ClassDef*, unsigned long, bool)
Unexecuted instantiation: OT::ClassDefFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(OT::ClassDefFormat1_3<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ClassDefFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ClassDefFormat2_4<OT::Layout::SmallTypes> >(OT::ClassDefFormat2_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::extend_size<OT::VarRegionList>(OT::VarRegionList*, unsigned long, bool)
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::extend_size<OT::VarData>(OT::VarData*, unsigned long, bool)
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::extend_size<OT::VariationStore>(OT::VariationStore*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ConditionSet* hb_serialize_context_t::extend_size<OT::ConditionSet>(OT::ConditionSet*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::extend_size<OT::FeatureTableSubstitution>(OT::FeatureTableSubstitution*, unsigned long, bool)
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::extend_size<OT::FeatureVariations>(OT::FeatureVariations*, unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat14* hb_serialize_context_t::extend_size<OT::CmapSubtableFormat14>(OT::CmapSubtableFormat14*, unsigned long, bool)
Unexecuted instantiation: OT::cmap* hb_serialize_context_t::extend_size<OT::cmap>(OT::cmap*, unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat4* hb_serialize_context_t::extend_size<OT::CmapSubtableFormat4>(OT::CmapSubtableFormat4*, unsigned long, bool)
Unexecuted instantiation: OT::CmapSubtableFormat12* hb_serialize_context_t::extend_size<OT::CmapSubtableFormat12>(OT::CmapSubtableFormat12*, unsigned long, bool)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_size<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >*, unsigned long, bool)
Unexecuted instantiation: char* hb_serialize_context_t::extend_size<char>(char*, unsigned long, bool)
Unexecuted instantiation: CFF::Encoding* hb_serialize_context_t::extend_size<CFF::Encoding>(CFF::Encoding*, unsigned long, bool)
Unexecuted instantiation: CFF::Charset* hb_serialize_context_t::extend_size<CFF::Charset>(CFF::Charset*, unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::extend_size<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u>*, unsigned long, bool)
Unexecuted instantiation: CFF::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<CFF::CFFIndex<OT::IntType<unsigned short, 2u> > >(CFF::CFFIndex<OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::extend_size<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u>*, unsigned long, bool)
Unexecuted instantiation: unsigned char* hb_serialize_context_t::extend_size<unsigned char>(unsigned char*, unsigned long, bool)
Unexecuted instantiation: OT::AttachList* hb_serialize_context_t::extend_size<OT::AttachList>(OT::AttachList*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::LigGlyph* hb_serialize_context_t::extend_size<OT::LigGlyph>(OT::LigGlyph*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::LigCaretList* hb_serialize_context_t::extend_size<OT::LigCaretList>(OT::LigCaretList*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::MarkGlyphSetsFormat1* hb_serialize_context_t::extend_size<OT::MarkGlyphSetsFormat1>(OT::MarkGlyphSetsFormat1*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat3* hb_serialize_context_t::extend_size<OT::ContextFormat3>(OT::ContextFormat3*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat1* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::SinglePosFormat1>(OT::Layout::GPOS_impl::SinglePosFormat1*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat2* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::SinglePosFormat2>(OT::Layout::GPOS_impl::SinglePosFormat2*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkArray* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::MarkArray>(OT::Layout::GPOS_impl::MarkArray*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorMatrix* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::LigatureArray* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::LigatureArray>(OT::Layout::GPOS_impl::LigatureArray*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ContextFormat1_4<OT::Layout::SmallTypes> >(OT::ContextFormat1_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::RuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::RuleSet<OT::Layout::SmallTypes> >(OT::RuleSet<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Rule<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Rule<OT::Layout::SmallTypes> >(OT::Rule<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ContextFormat2_5<OT::Layout::SmallTypes> >(OT::ContextFormat2_5<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ChainContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ChainContextFormat1_4<OT::Layout::SmallTypes> >(OT::ChainContextFormat1_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ChainRuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ChainRuleSet<OT::Layout::SmallTypes> >(OT::ChainRuleSet<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ChainContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::ChainContextFormat2_5<OT::Layout::SmallTypes> >(OT::ChainContextFormat2_5<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>* hb_serialize_context_t::extend_size<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>*, unsigned long, bool)
Unexecuted instantiation: OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes> >(OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::extend_size<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>*, unsigned long, bool)
Unexecuted instantiation: OT::name* hb_serialize_context_t::extend_size<OT::name>(OT::name*, unsigned long, bool)
Unexecuted instantiation: OT::IndexSubtable* hb_serialize_context_t::extend_size<OT::IndexSubtable>(OT::IndexSubtable*, unsigned long, bool)
Unexecuted instantiation: OT::CBLC* hb_serialize_context_t::extend_size<OT::CBLC>(OT::CBLC*, unsigned long, bool)
Unexecuted instantiation: OT::SBIXGlyph* hb_serialize_context_t::extend_size<OT::SBIXGlyph>(OT::SBIXGlyph*, unsigned long, bool)
Unexecuted instantiation: OT::SBIXStrike* hb_serialize_context_t::extend_size<OT::SBIXStrike>(OT::SBIXStrike*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>* hb_serialize_context_t::extend_size<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>*, unsigned long, bool)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool)
Unexecuted instantiation: OT::VORG* hb_serialize_context_t::extend_size<OT::VORG>(OT::VORG*, unsigned long, bool)
Unexecuted instantiation: OT::ColorLine<OT::NoVariable>* hb_serialize_context_t::extend_size<OT::ColorLine<OT::NoVariable> >(OT::ColorLine<OT::NoVariable>*, unsigned long, bool)
Unexecuted instantiation: OT::ColorLine<OT::Variable>* hb_serialize_context_t::extend_size<OT::ColorLine<OT::Variable> >(OT::ColorLine<OT::Variable>*, unsigned long, bool)
Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::extend_size<OT::ClipList>(OT::ClipList*, unsigned long, bool)
Unexecuted instantiation: OT::BaseGlyphList* hb_serialize_context_t::extend_size<OT::BaseGlyphList>(OT::BaseGlyphList*, unsigned long, bool)
Unexecuted instantiation: OT::LayerList* hb_serialize_context_t::extend_size<OT::LayerList>(OT::LayerList*, unsigned long, bool)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >*, unsigned long, bool)
Unexecuted instantiation: OT::COLR* hb_serialize_context_t::extend_size<OT::COLR>(OT::COLR*, unsigned long, bool)
Unexecuted instantiation: OT::LayerRecord* hb_serialize_context_t::extend_size<OT::LayerRecord>(OT::LayerRecord*, unsigned long, bool)
Unexecuted instantiation: OT::IntType<unsigned int, 4u>* hb_serialize_context_t::extend_size<OT::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u>*, unsigned long, bool)
Unexecuted instantiation: OT::Index* hb_serialize_context_t::extend_size<OT::Index>(OT::Index*, unsigned long, bool)
Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::extend_size<OT::CPAL>(OT::CPAL*, unsigned long, bool)
703
  template <typename Type>
704
  Type *extend_size (Type &obj, size_t size, bool clear = true)
705
  { return extend_size (std::addressof (obj), size, clear); }
706
707
  template <typename Type>
708
0
  Type *extend_min (Type *obj) { return extend_size (obj, obj->min_size); }
Unexecuted instantiation: OT::Layout::Common::Coverage* hb_serialize_context_t::extend_min<OT::Layout::Common::Coverage>(OT::Layout::Common::Coverage*)
Unexecuted instantiation: OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::Common::CoverageFormat2_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Feature* hb_serialize_context_t::extend_min<OT::Feature>(OT::Feature*)
Unexecuted instantiation: OT::IndexArray* hb_serialize_context_t::extend_min<OT::IndexArray>(OT::IndexArray*)
Unexecuted instantiation: OT::RecordListOfFeature* hb_serialize_context_t::extend_min<OT::RecordListOfFeature>(OT::RecordListOfFeature*)
Unexecuted instantiation: OT::LangSys* hb_serialize_context_t::extend_min<OT::LangSys>(OT::LangSys*)
Unexecuted instantiation: OT::Script* hb_serialize_context_t::extend_min<OT::Script>(OT::Script*)
Unexecuted instantiation: OT::RecordListOfScript* hb_serialize_context_t::extend_min<OT::RecordListOfScript>(OT::RecordListOfScript*)
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::extend_min<OT::Lookup>(OT::Lookup*)
Unexecuted instantiation: OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Offset<OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ClassDef* hb_serialize_context_t::extend_min<OT::ClassDef>(OT::ClassDef*)
Unexecuted instantiation: OT::ClassDefFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(OT::ClassDefFormat1_3<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ClassDefFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ClassDefFormat2_4<OT::Layout::SmallTypes> >(OT::ClassDefFormat2_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::extend_min<OT::VarRegionList>(OT::VarRegionList*)
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::extend_min<OT::VarData>(OT::VarData*)
Unexecuted instantiation: OT::VariationStore* hb_serialize_context_t::extend_min<OT::VariationStore>(OT::VariationStore*)
Unexecuted instantiation: OT::ConditionSet* hb_serialize_context_t::extend_min<OT::ConditionSet>(OT::ConditionSet*)
Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::extend_min<OT::FeatureTableSubstitution>(OT::FeatureTableSubstitution*)
Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::extend_min<OT::FeatureVariations>(OT::FeatureVariations*)
Unexecuted instantiation: OT::CmapSubtableFormat14* hb_serialize_context_t::extend_min<OT::CmapSubtableFormat14>(OT::CmapSubtableFormat14*)
Unexecuted instantiation: OT::cmap* hb_serialize_context_t::extend_min<OT::cmap>(OT::cmap*)
Unexecuted instantiation: OT::CmapSubtableFormat4* hb_serialize_context_t::extend_min<OT::CmapSubtableFormat4>(OT::CmapSubtableFormat4*)
Unexecuted instantiation: OT::CmapSubtableFormat12* hb_serialize_context_t::extend_min<OT::CmapSubtableFormat12>(OT::CmapSubtableFormat12*)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_min<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >*)
Unexecuted instantiation: CFF::Encoding* hb_serialize_context_t::extend_min<CFF::Encoding>(CFF::Encoding*)
Unexecuted instantiation: CFF::Charset* hb_serialize_context_t::extend_min<CFF::Charset>(CFF::Charset*)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::extend_min<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u>*)
Unexecuted instantiation: CFF::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<CFF::CFFIndex<OT::IntType<unsigned short, 2u> > >(CFF::CFFIndex<OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::AttachList* hb_serialize_context_t::extend_min<OT::AttachList>(OT::AttachList*)
Unexecuted instantiation: OT::LigGlyph* hb_serialize_context_t::extend_min<OT::LigGlyph>(OT::LigGlyph*)
Unexecuted instantiation: OT::LigCaretList* hb_serialize_context_t::extend_min<OT::LigCaretList>(OT::LigCaretList*)
Unexecuted instantiation: OT::MarkGlyphSetsFormat1* hb_serialize_context_t::extend_min<OT::MarkGlyphSetsFormat1>(OT::MarkGlyphSetsFormat1*)
Unexecuted instantiation: OT::ContextFormat3* hb_serialize_context_t::extend_min<OT::ContextFormat3>(OT::ContextFormat3*)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat1* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::SinglePosFormat1>(OT::Layout::GPOS_impl::SinglePosFormat1*)
Unexecuted instantiation: OT::Layout::GPOS_impl::SinglePosFormat2* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::SinglePosFormat2>(OT::Layout::GPOS_impl::SinglePosFormat2*)
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1*)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkArray* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::MarkArray>(OT::Layout::GPOS_impl::MarkArray*)
Unexecuted instantiation: OT::Layout::GPOS_impl::AnchorMatrix* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix*)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GPOS_impl::LigatureArray* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::LigatureArray>(OT::Layout::GPOS_impl::LigatureArray*)
Unexecuted instantiation: OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ContextFormat1_4<OT::Layout::SmallTypes> >(OT::ContextFormat1_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::RuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::RuleSet<OT::Layout::SmallTypes> >(OT::RuleSet<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Rule<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Rule<OT::Layout::SmallTypes> >(OT::Rule<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ContextFormat2_5<OT::Layout::SmallTypes> >(OT::ContextFormat2_5<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ChainContextFormat1_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ChainContextFormat1_4<OT::Layout::SmallTypes> >(OT::ChainContextFormat1_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ChainRuleSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ChainRuleSet<OT::Layout::SmallTypes> >(OT::ChainRuleSet<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ChainContextFormat2_5<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::ChainContextFormat2_5<OT::Layout::SmallTypes> >(OT::ChainContextFormat2_5<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>* hb_serialize_context_t::extend_min<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>*)
Unexecuted instantiation: OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes> >(OT::GSUBGPOSVersion1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>* hb_serialize_context_t::extend_min<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>*)
Unexecuted instantiation: OT::name* hb_serialize_context_t::extend_min<OT::name>(OT::name*)
Unexecuted instantiation: OT::IndexSubtable* hb_serialize_context_t::extend_min<OT::IndexSubtable>(OT::IndexSubtable*)
Unexecuted instantiation: OT::CBLC* hb_serialize_context_t::extend_min<OT::CBLC>(OT::CBLC*)
Unexecuted instantiation: OT::SBIXGlyph* hb_serialize_context_t::extend_min<OT::SBIXGlyph>(OT::SBIXGlyph*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >*)
Unexecuted instantiation: OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::AlternateSubstFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSubstFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> > >(OT::HeadlessArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat2_4<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::MultipleSubstFormat1_2<OT::Layout::SmallTypes>*)
Unexecuted instantiation: OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>* hb_serialize_context_t::extend_min<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>*)
Unexecuted instantiation: OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> > >(OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::VORG* hb_serialize_context_t::extend_min<OT::VORG>(OT::VORG*)
Unexecuted instantiation: OT::ColorLine<OT::NoVariable>* hb_serialize_context_t::extend_min<OT::ColorLine<OT::NoVariable> >(OT::ColorLine<OT::NoVariable>*)
Unexecuted instantiation: OT::ColorLine<OT::Variable>* hb_serialize_context_t::extend_min<OT::ColorLine<OT::Variable> >(OT::ColorLine<OT::Variable>*)
Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::extend_min<OT::ClipList>(OT::ClipList*)
Unexecuted instantiation: OT::BaseGlyphList* hb_serialize_context_t::extend_min<OT::BaseGlyphList>(OT::BaseGlyphList*)
Unexecuted instantiation: OT::LayerList* hb_serialize_context_t::extend_min<OT::LayerList>(OT::LayerList*)
Unexecuted instantiation: OT::COLR* hb_serialize_context_t::extend_min<OT::COLR>(OT::COLR*)
Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::extend_min<OT::CPAL>(OT::CPAL*)
709
  template <typename Type>
710
0
  Type *extend_min (Type &obj) { return extend_min (std::addressof (obj)); }
Unexecuted instantiation: OT::IndexArray* hb_serialize_context_t::extend_min<OT::IndexArray>(OT::IndexArray&)
Unexecuted instantiation: OT::cmap* hb_serialize_context_t::extend_min<OT::cmap>(OT::cmap&)
Unexecuted instantiation: OT::IntType<unsigned short, 2u>* hb_serialize_context_t::extend_min<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u>&)
Unexecuted instantiation: OT::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1&)
Unexecuted instantiation: OT::name* hb_serialize_context_t::extend_min<OT::name>(OT::name&)
Unexecuted instantiation: OT::VORG* hb_serialize_context_t::extend_min<OT::VORG>(OT::VORG&)
711
712
  template <typename Type, typename ...Ts>
713
  Type *extend (Type *obj, Ts&&... ds)
714
0
  { return extend_size (obj, obj->get_size (std::forward<Ts> (ds)...)); }
Unexecuted instantiation: OT::Lookup* hb_serialize_context_t::extend<OT::Lookup>(OT::Lookup*)
Unexecuted instantiation: OT::VarRegionList* hb_serialize_context_t::extend<OT::VarRegionList>(OT::VarRegionList*)
Unexecuted instantiation: OT::VarData* hb_serialize_context_t::extend<OT::VarData>(OT::VarData*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::extend<OT::IntType<unsigned char, 1u>>(OT::IntType<unsigned char, 1u>*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::SBIXStrike* hb_serialize_context_t::extend<OT::SBIXStrike, unsigned int>(OT::SBIXStrike*, unsigned int&&)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >>(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >*)
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >>(OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned int, 4u> >*)
715
  template <typename Type, typename ...Ts>
716
  Type *extend (Type &obj, Ts&&... ds)
717
0
  { return extend (std::addressof (obj), std::forward<Ts> (ds)...); }
Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, OT::IntType<unsigned short, 2u> >&)
Unexecuted instantiation: OT::IntType<unsigned char, 1u>* hb_serialize_context_t::extend<OT::IntType<unsigned char, 1u>>(OT::IntType<unsigned char, 1u>&)
718
719
  /* Output routines. */
720
  hb_bytes_t copy_bytes () const
721
0
  {
722
0
    assert (successful ());
723
    /* Copy both items from head side and tail side... */
724
0
    unsigned int len = (this->head - this->start)
725
0
         + (this->end  - this->tail);
726
727
    // If len is zero don't hb_malloc as the memory won't get properly
728
    // cleaned up later.
729
0
    if (!len) return hb_bytes_t ();
730
731
0
    char *p = (char *) hb_malloc (len);
732
0
    if (unlikely (!p)) return hb_bytes_t ();
733
734
0
    hb_memcpy (p, this->start, this->head - this->start);
735
0
    hb_memcpy (p + (this->head - this->start), this->tail, this->end - this->tail);
736
0
    return hb_bytes_t (p, len);
737
0
  }
738
  template <typename Type>
739
  Type *copy () const
740
0
  { return reinterpret_cast<Type *> ((char *) copy_bytes ().arrayZ); }
741
  hb_blob_t *copy_blob () const
742
0
  {
743
0
    hb_bytes_t b = copy_bytes ();
744
0
    return hb_blob_create (b.arrayZ, b.length,
745
0
         HB_MEMORY_MODE_WRITABLE,
746
0
         (char *) b.arrayZ, hb_free);
747
0
  }
748
749
  const hb_vector_t<object_t *>& object_graph() const
750
0
  { return packed; }
751
752
  private:
753
  template <typename T, unsigned Size = sizeof (T)>
754
  void assign_offset (const object_t* parent, const object_t::link_t &link, unsigned offset)
755
0
  {
756
0
    auto &off = * ((BEInt<T, Size> *) (parent->head + link.position));
757
0
    assert (0 == off);
758
0
    check_assign (off, offset, HB_SERIALIZE_ERROR_OFFSET_OVERFLOW);
759
0
  }
Unexecuted instantiation: void hb_serialize_context_t::assign_offset<int, 4u>(hb_serialize_context_t::object_t const*, hb_serialize_context_t::object_t::link_t const&, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::assign_offset<short, 2u>(hb_serialize_context_t::object_t const*, hb_serialize_context_t::object_t::link_t const&, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::assign_offset<unsigned int, 4u>(hb_serialize_context_t::object_t const*, hb_serialize_context_t::object_t::link_t const&, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::assign_offset<unsigned int, 3u>(hb_serialize_context_t::object_t const*, hb_serialize_context_t::object_t::link_t const&, unsigned int)
Unexecuted instantiation: void hb_serialize_context_t::assign_offset<unsigned short, 2u>(hb_serialize_context_t::object_t const*, hb_serialize_context_t::object_t::link_t const&, unsigned int)
760
761
  public:
762
  char *start, *head, *tail, *end, *zerocopy;
763
  unsigned int debug_depth;
764
  hb_serialize_error_t errors;
765
766
  private:
767
768
0
  void merge_virtual_links (const object_t* from, objidx_t to_idx) {
769
0
    object_t* to = packed[to_idx];
770
0
    for (const auto& l : from->virtual_links) {
771
0
      to->virtual_links.push (l);
772
0
    }
773
0
  }
774
775
  /* Object memory pool. */
776
  hb_pool_t<object_t> object_pool;
777
778
  /* Stack of currently under construction objects. */
779
  object_t *current;
780
781
  /* Stack of packed objects.  Object 0 is always nil object. */
782
  hb_vector_t<object_t *> packed;
783
784
  /* Map view of packed objects. */
785
  hb_hashmap_t<const object_t *, objidx_t> packed_map;
786
};
787
788
#endif /* HB_SERIALIZE_HH */