/work/workdir/UnpackedTarball/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 | | #include "hb-subset-serialize.h" |
40 | | |
41 | | /* |
42 | | * Serialize |
43 | | */ |
44 | | |
45 | | enum hb_serialize_error_t { |
46 | | HB_SERIALIZE_ERROR_NONE = 0x00000000u, |
47 | | HB_SERIALIZE_ERROR_OTHER = 0x00000001u, |
48 | | HB_SERIALIZE_ERROR_OFFSET_OVERFLOW = 0x00000002u, |
49 | | HB_SERIALIZE_ERROR_OUT_OF_ROOM = 0x00000004u, |
50 | | HB_SERIALIZE_ERROR_INT_OVERFLOW = 0x00000008u, |
51 | | HB_SERIALIZE_ERROR_ARRAY_OVERFLOW = 0x00000010u |
52 | | }; |
53 | | HB_MARK_AS_FLAG_T (hb_serialize_error_t); |
54 | | |
55 | | struct hb_serialize_context_t |
56 | | { |
57 | | typedef unsigned objidx_t; |
58 | | |
59 | | enum whence_t { |
60 | | Head, /* Relative to the current object head (default). */ |
61 | | Tail, /* Relative to the current object tail after packed. */ |
62 | | Absolute /* Absolute: from the start of the serialize buffer. */ |
63 | | }; |
64 | | |
65 | | |
66 | | |
67 | | struct object_t |
68 | | { |
69 | 0 | void fini () { |
70 | 0 | real_links.fini (); |
71 | 0 | virtual_links.fini (); |
72 | 0 | } |
73 | | |
74 | | object_t () = default; |
75 | | |
76 | | object_t (const hb_subset_serialize_object_t &o) |
77 | 0 | { |
78 | 0 | head = o.head; |
79 | 0 | tail = o.tail; |
80 | 0 | next = nullptr; |
81 | 0 | real_links.alloc_exact (o.num_real_links); |
82 | 0 | for (unsigned i = 0 ; i < o.num_real_links; i++) |
83 | 0 | real_links.push (o.real_links[i]); |
84 | 0 |
|
85 | 0 | virtual_links.alloc_exact (o.num_virtual_links); |
86 | 0 | for (unsigned i = 0; i < o.num_virtual_links; i++) |
87 | 0 | virtual_links.push (o.virtual_links[i]); |
88 | 0 | } |
89 | | |
90 | | bool add_virtual_link (objidx_t objidx) |
91 | 0 | { |
92 | 0 | if (!objidx) |
93 | 0 | return false; |
94 | 0 |
|
95 | 0 | auto& link = *virtual_links.push (); |
96 | 0 | if (virtual_links.in_error ()) |
97 | 0 | return false; |
98 | 0 |
|
99 | 0 | link.objidx = objidx; |
100 | 0 | // Remaining fields were previously zero'd by push(): |
101 | 0 | // link.width = 0; |
102 | 0 | // link.is_signed = 0; |
103 | 0 | // link.whence = 0; |
104 | 0 | // link.position = 0; |
105 | 0 | // link.bias = 0; |
106 | 0 |
|
107 | 0 | return true; |
108 | 0 | } |
109 | | |
110 | | friend void swap (object_t& a, object_t& b) noexcept |
111 | 0 | { |
112 | 0 | hb_swap (a.head, b.head); |
113 | 0 | hb_swap (a.tail, b.tail); |
114 | 0 | hb_swap (a.next, b.next); |
115 | 0 | hb_swap (a.real_links, b.real_links); |
116 | 0 | hb_swap (a.virtual_links, b.virtual_links); |
117 | 0 | } |
118 | | |
119 | | bool operator == (const object_t &o) const |
120 | 0 | { |
121 | | // Virtual links aren't considered for equality since they don't affect the functionality |
122 | | // of the object. |
123 | 0 | return (tail - head == o.tail - o.head) |
124 | 0 | && (real_links.length == o.real_links.length) |
125 | 0 | && 0 == hb_memcmp (head, o.head, tail - head) |
126 | 0 | && real_links.as_bytes () == o.real_links.as_bytes (); |
127 | 0 | } |
128 | | uint32_t hash () const |
129 | 0 | { |
130 | | // Virtual links aren't considered for equality since they don't affect the functionality |
131 | | // of the object. |
132 | 0 | return hb_bytes_t (head, hb_min (128, tail - head)).hash () ^ |
133 | 0 | real_links.as_bytes ().hash (); |
134 | 0 | } |
135 | | |
136 | | struct link_t |
137 | | { |
138 | | unsigned width: 3; |
139 | | unsigned is_signed: 1; |
140 | | unsigned whence: 2; |
141 | | unsigned bias : 26; |
142 | | unsigned position; |
143 | | objidx_t objidx; |
144 | | |
145 | | link_t () = default; |
146 | | |
147 | | link_t (const hb_subset_serialize_link_t &o) |
148 | 0 | { |
149 | 0 | width = o.width; |
150 | 0 | is_signed = 0; |
151 | 0 | whence = 0; |
152 | 0 | position = o.position; |
153 | 0 | bias = 0; |
154 | 0 | objidx = o.objidx; |
155 | 0 | } |
156 | | |
157 | | HB_INTERNAL static int cmp (const void* a, const void* b) |
158 | 0 | { |
159 | 0 | int cmp = ((const link_t*)a)->position - ((const link_t*)b)->position; |
160 | 0 | if (cmp) return cmp; |
161 | 0 |
|
162 | 0 | return ((const link_t*)a)->objidx - ((const link_t*)b)->objidx; |
163 | 0 | } |
164 | | }; |
165 | | |
166 | | char *head; |
167 | | char *tail; |
168 | | hb_vector_t<link_t> real_links; |
169 | | hb_vector_t<link_t> virtual_links; |
170 | | object_t *next; |
171 | | |
172 | | auto all_links () const HB_AUTO_RETURN |
173 | | (( hb_concat (real_links, virtual_links) )); |
174 | | auto all_links_writer () HB_AUTO_RETURN |
175 | | (( hb_concat (real_links.writer (), virtual_links.writer ()) )); |
176 | | }; |
177 | | |
178 | | struct snapshot_t |
179 | | { |
180 | | char *head; |
181 | | char *tail; |
182 | | object_t *current; // Just for sanity check |
183 | | unsigned num_real_links; |
184 | | unsigned num_virtual_links; |
185 | | hb_serialize_error_t errors; |
186 | | }; |
187 | | |
188 | | snapshot_t snapshot () |
189 | 0 | { |
190 | 0 | return snapshot_t { |
191 | 0 | head, tail, current, |
192 | 0 | current ? current->real_links.length : 0, |
193 | 0 | current ? current->virtual_links.length : 0, |
194 | 0 | errors |
195 | 0 | }; |
196 | 0 | } |
197 | | |
198 | | hb_serialize_context_t (void *start_, unsigned int size) : |
199 | 0 | start ((char *) start_), |
200 | 0 | end (start + size), |
201 | 0 | current (nullptr) |
202 | 0 | { reset (); } |
203 | 0 | ~hb_serialize_context_t () { fini (); } |
204 | | |
205 | | void fini () |
206 | 0 | { |
207 | 0 | for (object_t *_ : ++hb_iter (packed)) _->fini (); |
208 | 0 | packed.fini (); |
209 | 0 | this->packed_map.fini (); |
210 | |
|
211 | 0 | while (current) |
212 | 0 | { |
213 | 0 | auto *_ = current; |
214 | 0 | current = current->next; |
215 | 0 | _->fini (); |
216 | 0 | } |
217 | 0 | } |
218 | | |
219 | 0 | bool in_error () const { return bool (errors); } |
220 | | |
221 | 0 | bool successful () const { return !bool (errors); } |
222 | | |
223 | 0 | HB_NODISCARD bool ran_out_of_room () const { return errors & HB_SERIALIZE_ERROR_OUT_OF_ROOM; } |
224 | 0 | HB_NODISCARD bool offset_overflow () const { return errors & HB_SERIALIZE_ERROR_OFFSET_OVERFLOW; } |
225 | 0 | HB_NODISCARD bool only_offset_overflow () const { return errors == HB_SERIALIZE_ERROR_OFFSET_OVERFLOW; } |
226 | | HB_NODISCARD bool only_overflow () const |
227 | 0 | { |
228 | 0 | return errors == HB_SERIALIZE_ERROR_OFFSET_OVERFLOW |
229 | 0 | || errors == HB_SERIALIZE_ERROR_INT_OVERFLOW |
230 | 0 | || errors == HB_SERIALIZE_ERROR_ARRAY_OVERFLOW; |
231 | 0 | } |
232 | | |
233 | | void reset (void *start_, unsigned int size) |
234 | 0 | { |
235 | 0 | start = (char*) start_; |
236 | 0 | end = start + size; |
237 | 0 | reset (); |
238 | 0 | current = nullptr; |
239 | 0 | } |
240 | | |
241 | | void reset () |
242 | 0 | { |
243 | 0 | this->errors = HB_SERIALIZE_ERROR_NONE; |
244 | 0 | this->head = this->start; |
245 | 0 | this->tail = this->end; |
246 | 0 | this->zerocopy = nullptr; |
247 | 0 | this->debug_depth = 0; |
248 | |
|
249 | 0 | fini (); |
250 | 0 | this->packed.push (nullptr); |
251 | 0 | this->packed_map.init (); |
252 | 0 | } |
253 | | |
254 | | bool check_success (bool success, |
255 | | hb_serialize_error_t err_type = HB_SERIALIZE_ERROR_OTHER) |
256 | 0 | { |
257 | 0 | return successful () |
258 | 0 | && (success || err (err_type)); |
259 | 0 | } |
260 | | |
261 | | template <typename T1, typename T2> |
262 | | bool check_equal (T1 &&v1, T2 &&v2, hb_serialize_error_t err_type) |
263 | 0 | { |
264 | 0 | if ((long long) v1 != (long long) v2) |
265 | 0 | { |
266 | 0 | return err (err_type); |
267 | 0 | } |
268 | 0 | return true; |
269 | 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<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::VarIdx&, unsigned int&>(OT::VarIdx&, 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>&, 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>, void, false>&, unsigned int&>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, void, false>&, unsigned int&, 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<short, 2u>&, unsigned int&>(OT::IntType<short, 2u>&, unsigned int&, 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::BinSearchHeader<OT::IntType<unsigned short, 2u> >&, unsigned int&>(OT::BinSearchHeader<OT::IntType<unsigned short, 2u> >&, unsigned int&, hb_serialize_error_t) Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::Offset<OT::IntType<unsigned int, 4u>, true>&, unsigned int&>(OT::Offset<OT::IntType<unsigned int, 4u>, true>&, unsigned int&, hb_serialize_error_t) Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int&>(OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, void, true>&, 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) Unexecuted instantiation: bool hb_serialize_context_t::check_equal<OT::IntType<int, 4u>&, int&>(OT::IntType<int, 4u>&, int&, hb_serialize_error_t) |
270 | | |
271 | | template <typename T1, typename T2> |
272 | | bool check_assign (T1 &v1, T2 &&v2, hb_serialize_error_t err_type) |
273 | 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<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::VarIdx, unsigned int>(OT::VarIdx&, 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>, 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::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::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, void, false>, unsigned int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, void, false>&, 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<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<short, 2u>, unsigned int&>(OT::IntType<short, 2u>&, unsigned int&, 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::BinSearchHeader<OT::IntType<unsigned short, 2u> >, unsigned int&>(OT::BinSearchHeader<OT::IntType<unsigned short, 2u> >&, unsigned int&, hb_serialize_error_t) Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::Offset<OT::IntType<unsigned int, 4u>, true>, unsigned int>(OT::Offset<OT::IntType<unsigned int, 4u>, true>&, unsigned int&&, hb_serialize_error_t) Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, void, true>, unsigned int>(OT::OffsetTo<OT::AxisRecord, OT::IntType<unsigned short, 2u>, void, true>&, 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) Unexecuted instantiation: bool hb_serialize_context_t::check_assign<OT::IntType<int, 4u>, int&>(OT::IntType<int, 4u>&, int&, hb_serialize_error_t) |
274 | | |
275 | | template <typename T> bool propagate_error (T &&obj) |
276 | 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_vector_t<hb_inc_bimap_t, false>&>(hb_vector_t<hb_inc_bimap_t, false>&) 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_hashmap_t<unsigned int, face_table_info_t, false>&>(hb_hashmap_t<unsigned int, face_table_info_t, false>&) 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>&) |
277 | | |
278 | | template <typename T1, typename... Ts> bool propagate_error (T1 &&o1, Ts&&... os) |
279 | 0 | { return propagate_error (std::forward<T1> (o1)) && |
280 | 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&) |
281 | | |
282 | | /* To be called around main operation. */ |
283 | | template <typename Type=char> |
284 | | __attribute__((returns_nonnull)) |
285 | | Type *start_serialize () |
286 | 0 | { |
287 | 0 | DEBUG_MSG_LEVEL (SERIALIZE, this->start, 0, +1, |
288 | 0 | "start [%p..%p] (%lu bytes)", |
289 | 0 | this->start, this->end, |
290 | 0 | (unsigned long) (this->end - this->start)); |
291 | |
|
292 | 0 | assert (!current); |
293 | 0 | return push<Type> (); |
294 | 0 | } Unexecuted instantiation: OT::OpenTypeFontFile* hb_serialize_context_t::start_serialize<OT::OpenTypeFontFile>() Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookup* hb_serialize_context_t::start_serialize<OT::Layout::GSUB_impl::SubstLookup>() |
295 | | void end_serialize () |
296 | 0 | { |
297 | 0 | DEBUG_MSG_LEVEL (SERIALIZE, this->start, 0, -1, |
298 | 0 | "end [%p..%p] serialized %u bytes; %s", |
299 | 0 | this->start, this->end, |
300 | 0 | (unsigned) (this->head - this->start), |
301 | 0 | successful () ? "successful" : "UNSUCCESSFUL"); |
302 | |
|
303 | 0 | propagate_error (packed, packed_map); |
304 | |
|
305 | 0 | if (unlikely (!current)) return; |
306 | 0 | if (unlikely (in_error())) |
307 | 0 | { |
308 | | // Offset overflows that occur before link resolution cannot be handled |
309 | | // by repacking, so set a more general error. |
310 | 0 | if (offset_overflow ()) err (HB_SERIALIZE_ERROR_OTHER); |
311 | 0 | return; |
312 | 0 | } |
313 | | |
314 | 0 | assert (!current->next); |
315 | | |
316 | | /* Only "pack" if there exist other objects... Otherwise, don't bother. |
317 | | * Saves a move. */ |
318 | 0 | if (packed.length <= 1) |
319 | 0 | return; |
320 | | |
321 | 0 | pop_pack (false); |
322 | |
|
323 | 0 | resolve_links (); |
324 | 0 | } |
325 | | |
326 | | template <typename Type = void> |
327 | | __attribute__((returns_nonnull)) |
328 | | Type *push () |
329 | 0 | { |
330 | 0 | if (unlikely (in_error ())) return start_embed<Type> (); |
331 | | |
332 | 0 | object_t *obj = object_pool.alloc (); |
333 | 0 | if (unlikely (!obj)) |
334 | 0 | check_success (false); |
335 | 0 | else |
336 | 0 | { |
337 | 0 | obj->head = head; |
338 | 0 | obj->tail = tail; |
339 | 0 | obj->next = current; |
340 | 0 | current = obj; |
341 | 0 | } |
342 | 0 | return start_embed<Type> (); |
343 | 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::Layout::Common::Coverage* hb_serialize_context_t::push<OT::Layout::Common::Coverage>() Unexecuted instantiation: OT::ItemVariationStore* hb_serialize_context_t::push<OT::ItemVariationStore>() 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::CmapSubtable* hb_serialize_context_t::push<OT::CmapSubtable>() Unexecuted instantiation: OT::OpenTypeFontFile* hb_serialize_context_t::push<OT::OpenTypeFontFile>() Unexecuted instantiation: OT::DeltaSetIndexMap* hb_serialize_context_t::push<OT::DeltaSetIndexMap>() Unexecuted instantiation: OT::Layout::GSUB_impl::SubstLookup* hb_serialize_context_t::push<OT::Layout::GSUB_impl::SubstLookup>() |
344 | | void pop_discard () |
345 | 0 | { |
346 | 0 | object_t *obj = current; |
347 | 0 | if (unlikely (!obj)) return; |
348 | | // Allow cleanup when we've error'd out on int overflows which don't compromise |
349 | | // the serializer state. |
350 | 0 | if (unlikely (in_error() && !only_overflow ())) return; |
351 | | |
352 | 0 | current = current->next; |
353 | 0 | revert (zerocopy ? zerocopy : obj->head, obj->tail); |
354 | 0 | zerocopy = nullptr; |
355 | 0 | obj->fini (); |
356 | 0 | object_pool.release (obj); |
357 | 0 | } |
358 | | |
359 | | /* Set share to false when an object is unlikely shareable with others |
360 | | * so not worth an attempt, or a contiguous table is serialized as |
361 | | * multiple consecutive objects in the reverse order so can't be shared. |
362 | | */ |
363 | | objidx_t pop_pack (bool share=true) |
364 | 0 | { |
365 | 0 | object_t *obj = current; |
366 | 0 | if (unlikely (!obj)) return 0; |
367 | | // Allow cleanup when we've error'd out on int overflows which don't compromise |
368 | | // the serializer state. |
369 | 0 | if (unlikely (in_error() && !only_overflow ())) return 0; |
370 | | |
371 | 0 | current = current->next; |
372 | 0 | obj->tail = head; |
373 | 0 | obj->next = nullptr; |
374 | 0 | assert (obj->head <= obj->tail); |
375 | 0 | unsigned len = obj->tail - obj->head; |
376 | 0 | head = zerocopy ? zerocopy : obj->head; /* Rewind head. */ |
377 | 0 | bool was_zerocopy = zerocopy; |
378 | 0 | zerocopy = nullptr; |
379 | |
|
380 | 0 | if (!len) |
381 | 0 | { |
382 | 0 | assert (!obj->real_links.length); |
383 | 0 | assert (!obj->virtual_links.length); |
384 | 0 | return 0; |
385 | 0 | } |
386 | | |
387 | 0 | objidx_t objidx; |
388 | 0 | uint32_t hash = 0; |
389 | 0 | if (share) |
390 | 0 | { |
391 | 0 | hash = hb_hash (obj); |
392 | 0 | objidx = packed_map.get_with_hash (obj, hash); |
393 | 0 | if (objidx) |
394 | 0 | { |
395 | 0 | merge_virtual_links (obj, objidx); |
396 | 0 | obj->fini (); |
397 | 0 | object_pool.release (obj); |
398 | 0 | return objidx; |
399 | 0 | } |
400 | 0 | } |
401 | | |
402 | 0 | tail -= len; |
403 | 0 | if (was_zerocopy) |
404 | 0 | assert (tail == obj->head); |
405 | 0 | else |
406 | 0 | memmove (tail, obj->head, len); |
407 | | |
408 | 0 | obj->head = tail; |
409 | 0 | obj->tail = tail + len; |
410 | |
|
411 | 0 | packed.push (obj); |
412 | |
|
413 | 0 | if (unlikely (!propagate_error (packed))) |
414 | 0 | { |
415 | | /* Obj wasn't successfully added to packed, so clean it up otherwise its |
416 | | * links will be leaked. When we use constructor/destructors properly, we |
417 | | * can remove these. */ |
418 | 0 | obj->fini (); |
419 | 0 | return 0; |
420 | 0 | } |
421 | | |
422 | 0 | objidx = packed.length - 1; |
423 | |
|
424 | 0 | if (share) packed_map.set_with_hash (obj, hash, objidx); |
425 | 0 | propagate_error (packed_map); |
426 | |
|
427 | 0 | return objidx; |
428 | 0 | } |
429 | | |
430 | | void revert (snapshot_t snap) |
431 | 0 | { |
432 | 0 | // Overflows that happened after the snapshot will be erased by the revert. |
433 | 0 | if (unlikely (in_error () && !only_overflow ())) return; |
434 | 0 | assert (snap.current == current); |
435 | 0 | if (current) |
436 | 0 | { |
437 | 0 | current->real_links.shrink (snap.num_real_links); |
438 | 0 | current->virtual_links.shrink (snap.num_virtual_links); |
439 | 0 | } |
440 | 0 | errors = snap.errors; |
441 | 0 | revert (snap.head, snap.tail); |
442 | 0 | } |
443 | | |
444 | | void revert (char *snap_head, |
445 | | char *snap_tail) |
446 | 0 | { |
447 | 0 | if (unlikely (in_error ())) return; |
448 | 0 | assert (snap_head <= head); |
449 | 0 | assert (tail <= snap_tail); |
450 | 0 | head = snap_head; |
451 | 0 | tail = snap_tail; |
452 | 0 | discard_stale_objects (); |
453 | 0 | } |
454 | | |
455 | | void discard_stale_objects () |
456 | 0 | { |
457 | 0 | if (unlikely (in_error ())) return; |
458 | 0 | while (packed.length > 1 && |
459 | 0 | packed.tail ()->head < tail) |
460 | 0 | { |
461 | 0 | object_t *obj = packed.tail (); |
462 | 0 | packed_map.del (obj); |
463 | 0 | assert (!obj->next); |
464 | 0 | obj->fini (); |
465 | 0 | object_pool.release (obj); |
466 | 0 | packed.pop (); |
467 | 0 | } |
468 | 0 | if (packed.length > 1) |
469 | 0 | assert (packed.tail ()->head == tail); |
470 | 0 | } |
471 | | |
472 | | // Adds a virtual link from the current object to objidx. A virtual link is not associated with |
473 | | // an actual offset field. They are solely used to enforce ordering constraints between objects. |
474 | | // Adding a virtual link from object a to object b will ensure that object b is always packed after |
475 | | // object a in the final serialized order. |
476 | | // |
477 | | // This is useful in certain situations where there needs to be a specific ordering in the |
478 | | // final serialization. Such as when platform bugs require certain orderings, or to provide |
479 | | // guidance to the repacker for better offset overflow resolution. |
480 | | void add_virtual_link (objidx_t objidx) |
481 | 0 | { |
482 | 0 | if (unlikely (in_error ())) return; |
483 | 0 |
|
484 | 0 | if (!objidx) |
485 | 0 | return; |
486 | 0 |
|
487 | 0 | assert (current); |
488 | 0 |
|
489 | 0 | if (!current->add_virtual_link(objidx)) |
490 | 0 | err (HB_SERIALIZE_ERROR_OTHER); |
491 | 0 | } |
492 | | |
493 | 0 | objidx_t last_added_child_index() const { |
494 | 0 | if (unlikely (in_error ())) return (objidx_t) -1; |
495 | 0 |
|
496 | 0 | assert (current); |
497 | 0 | if (!bool(current->real_links)) { |
498 | 0 | return (objidx_t) -1; |
499 | 0 | } |
500 | 0 |
|
501 | 0 | return current->real_links[current->real_links.length - 1].objidx; |
502 | 0 | } |
503 | | |
504 | | // For the current object ensure that the sub-table bytes for child objidx are always placed |
505 | | // after the subtable bytes for any other existing children. This only ensures that the |
506 | | // repacker will not move the target subtable before the other children |
507 | | // (by adding virtual links). It is up to the caller to ensure the initial serialization |
508 | | // order is correct. |
509 | 0 | void repack_last(objidx_t objidx) { |
510 | 0 | if (unlikely (in_error ())) return; |
511 | 0 |
|
512 | 0 | if (!objidx) |
513 | 0 | return; |
514 | 0 |
|
515 | 0 | assert (current); |
516 | 0 | for (auto& l : current->real_links) { |
517 | 0 | if (l.objidx == objidx) { |
518 | 0 | continue; |
519 | 0 | } |
520 | 0 |
|
521 | 0 | packed[l.objidx]->add_virtual_link(objidx); |
522 | 0 | } |
523 | 0 | } |
524 | | |
525 | | template <typename T> |
526 | | void add_link (T &ofs, objidx_t objidx, |
527 | | whence_t whence = Head, |
528 | | unsigned bias = 0) |
529 | 0 | { |
530 | 0 | if (unlikely (in_error ())) return; |
531 | | |
532 | 0 | if (!objidx) |
533 | 0 | return; |
534 | | |
535 | 0 | assert (current); |
536 | 0 | assert (current->head <= (const char *) &ofs); |
537 | | |
538 | 0 | auto& link = *current->real_links.push (); |
539 | 0 | if (current->real_links.in_error ()) |
540 | 0 | err (HB_SERIALIZE_ERROR_OTHER); |
541 | |
|
542 | 0 | link.width = sizeof (T); |
543 | 0 | link.objidx = objidx; |
544 | 0 | if (unlikely (!sizeof (T))) |
545 | 0 | { |
546 | | // This link is not associated with an actual offset and exists merely to enforce |
547 | | // an ordering constraint. |
548 | 0 | link.is_signed = 0; |
549 | 0 | link.whence = 0; |
550 | 0 | link.position = 0; |
551 | 0 | link.bias = 0; |
552 | 0 | return; |
553 | 0 | } |
554 | | |
555 | 0 | link.is_signed = std::is_signed<hb_unwrap_type (T)>::value; |
556 | 0 | link.whence = (unsigned) whence; |
557 | 0 | link.position = (const char *) &ofs - current->head; |
558 | 0 | link.bias = bias; |
559 | 0 | } Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, void, true>&, 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>, void, true> >(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, void, 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>, OT::Layout::GPOS_impl::CursivePosFormat1, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, 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::Anchor, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, void, 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::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::RecordListOfFeature, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, 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>, void, false> >(OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, void, false>&, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::LookupOffsetList<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned short, 2u>, void, 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>, void, true> >(OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, void, true>&, 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>, void, true> >(OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, void, 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>, void, false> >(OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, void, 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>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, void, 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>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::Index>, OT::IntType<unsigned int, 4u>, void, 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>, void, false> const>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, void, false> const&, 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>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, void, 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>, void, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, void, 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>, void, false> >(OT::OffsetTo<OT::SortedUnsizedArrayOf<OT::BaseGlyphRecord>, OT::IntType<unsigned int, 4u>, void, 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>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::LayerRecord>, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, void, 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>, void, true> >(OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, void, true>&, 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>, void, true> >(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, 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::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, void, false>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::MinMax, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MinMax, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::BaseValues, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseValues, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::BaseScript, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScript, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) Unexecuted instantiation: void hb_serialize_context_t::add_link<OT::OffsetTo<OT::Axis, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Axis, OT::IntType<unsigned short, 2u>, void, true>&, unsigned int, hb_serialize_context_t::whence_t, unsigned int) |
560 | | |
561 | | unsigned to_bias (const void *base) const |
562 | 0 | { |
563 | 0 | if (unlikely (in_error ())) return 0; |
564 | 0 | if (!base) return 0; |
565 | 0 | assert (current); |
566 | 0 | assert (current->head <= (const char *) base); |
567 | 0 | return (const char *) base - current->head; |
568 | 0 | } |
569 | | |
570 | | void resolve_links () |
571 | 0 | { |
572 | 0 | if (unlikely (in_error ())) return; |
573 | | |
574 | 0 | assert (!current); |
575 | 0 | assert (packed.length > 1); |
576 | | |
577 | 0 | for (const object_t* parent : ++hb_iter (packed)) |
578 | 0 | for (const object_t::link_t &link : parent->real_links) |
579 | 0 | { |
580 | 0 | const object_t* child = packed[link.objidx]; |
581 | 0 | if (unlikely (!child)) { err (HB_SERIALIZE_ERROR_OTHER); return; } |
582 | 0 | unsigned offset = 0; |
583 | 0 | switch ((whence_t) link.whence) { |
584 | 0 | case Head: offset = child->head - parent->head; break; |
585 | 0 | case Tail: offset = child->head - parent->tail; break; |
586 | 0 | case Absolute: offset = (head - start) + (child->head - tail); break; |
587 | 0 | } |
588 | | |
589 | 0 | assert (offset >= link.bias); |
590 | 0 | offset -= link.bias; |
591 | 0 | if (link.is_signed) |
592 | 0 | { |
593 | 0 | assert (link.width == 2 || link.width == 4); |
594 | 0 | if (link.width == 4) |
595 | 0 | assign_offset<int32_t> (parent, link, offset); |
596 | 0 | else |
597 | 0 | assign_offset<int16_t> (parent, link, offset); |
598 | 0 | } |
599 | 0 | else |
600 | 0 | { |
601 | 0 | assert (link.width == 2 || link.width == 3 || link.width == 4); |
602 | 0 | if (link.width == 4) |
603 | 0 | assign_offset<uint32_t> (parent, link, offset); |
604 | 0 | else if (link.width == 3) |
605 | 0 | assign_offset<uint32_t, 3> (parent, link, offset); |
606 | 0 | else |
607 | 0 | assign_offset<uint16_t> (parent, link, offset); |
608 | 0 | } |
609 | 0 | } |
610 | 0 | } |
611 | | |
612 | | unsigned int length () const |
613 | 0 | { |
614 | 0 | if (unlikely (!current)) return 0; |
615 | 0 | return this->head - current->head; |
616 | 0 | } |
617 | | |
618 | | void align (unsigned int alignment) |
619 | 0 | { |
620 | 0 | unsigned int l = length () % alignment; |
621 | 0 | if (l) |
622 | 0 | (void) allocate_size<void> (alignment - l); |
623 | 0 | } |
624 | | |
625 | | template <typename Type = void> |
626 | | __attribute__((returns_nonnull)) |
627 | | Type *start_embed (const Type *obj HB_UNUSED = nullptr) const |
628 | 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::ItemVariationStore* hb_serialize_context_t::start_embed<OT::ItemVariationStore>(OT::ItemVariationStore 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::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::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes> 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, 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::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::MVAR* hb_serialize_context_t::start_embed<OT::MVAR>(OT::MVAR 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::OpenTypeFontFile* hb_serialize_context_t::start_embed<OT::OpenTypeFontFile>(OT::OpenTypeFontFile const*) const Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::start_embed<OT::SegmentMaps>(OT::SegmentMaps 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::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::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::DeltaSetIndexMap* hb_serialize_context_t::start_embed<OT::DeltaSetIndexMap>(OT::DeltaSetIndexMap 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::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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::start_embed<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > 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: 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::VORG* hb_serialize_context_t::start_embed<OT::VORG>(OT::VORG const*) const Unexecuted instantiation: OT::MinMax* hb_serialize_context_t::start_embed<OT::MinMax>(OT::MinMax const*) const Unexecuted instantiation: OT::BaseValues* hb_serialize_context_t::start_embed<OT::BaseValues>(OT::BaseValues const*) const Unexecuted instantiation: OT::BaseScript* hb_serialize_context_t::start_embed<OT::BaseScript>(OT::BaseScript const*) const Unexecuted instantiation: OT::BaseScriptList* hb_serialize_context_t::start_embed<OT::BaseScriptList>(OT::BaseScriptList const*) const Unexecuted instantiation: OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::start_embed<OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: OT::Tag* hb_serialize_context_t::start_embed<OT::Tag>(OT::Tag const*) const Unexecuted instantiation: OT::BASE* hb_serialize_context_t::start_embed<OT::BASE>(OT::BASE 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 |
629 | | template <typename Type> |
630 | | __attribute__((returns_nonnull)) |
631 | | Type *start_embed (const Type &obj) const |
632 | 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::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::start_embed<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes> 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::MVAR* hb_serialize_context_t::start_embed<OT::MVAR>(OT::MVAR const&) const Unexecuted instantiation: OT::CPAL* hb_serialize_context_t::start_embed<OT::CPAL>(OT::CPAL const&) const Unexecuted instantiation: OT::ClipList* hb_serialize_context_t::start_embed<OT::ClipList>(OT::ClipList const&) const Unexecuted instantiation: OT::MinMax* hb_serialize_context_t::start_embed<OT::MinMax>(OT::MinMax const&) const Unexecuted instantiation: OT::BaseValues* hb_serialize_context_t::start_embed<OT::BaseValues>(OT::BaseValues const&) const Unexecuted instantiation: OT::BaseScript* hb_serialize_context_t::start_embed<OT::BaseScript>(OT::BaseScript const&) const Unexecuted instantiation: OT::BaseScriptList* hb_serialize_context_t::start_embed<OT::BaseScriptList>(OT::BaseScriptList const&) const Unexecuted instantiation: OT::BASE* hb_serialize_context_t::start_embed<OT::BASE>(OT::BASE const&) const |
633 | | |
634 | | bool err (hb_serialize_error_t err_type) |
635 | 0 | { |
636 | 0 | return !bool ((errors = (errors | err_type))); |
637 | 0 | } |
638 | | |
639 | | bool start_zerocopy (size_t size) |
640 | 0 | { |
641 | 0 | if (unlikely (in_error ())) return false; |
642 | 0 |
|
643 | 0 | if (unlikely (size > INT_MAX || this->tail - this->head < ptrdiff_t (size))) |
644 | 0 | { |
645 | 0 | err (HB_SERIALIZE_ERROR_OUT_OF_ROOM); |
646 | 0 | return false; |
647 | 0 | } |
648 | 0 |
|
649 | 0 | assert (!this->zerocopy); |
650 | 0 | this->zerocopy = this->head; |
651 | 0 |
|
652 | 0 | assert (this->current->head == this->head); |
653 | 0 | this->current->head = this->current->tail = this->head = this->tail - size; |
654 | 0 | return true; |
655 | 0 | } |
656 | | |
657 | | template <typename Type> |
658 | | HB_NODISCARD |
659 | | Type *allocate_size (size_t size, bool clear = true) |
660 | 0 | { |
661 | 0 | if (unlikely (in_error ())) return nullptr; |
662 | | |
663 | 0 | if (unlikely (size > INT_MAX || this->tail - this->head < ptrdiff_t (size))) |
664 | 0 | { |
665 | 0 | err (HB_SERIALIZE_ERROR_OUT_OF_ROOM); |
666 | 0 | return nullptr; |
667 | 0 | } |
668 | 0 | if (clear) |
669 | 0 | hb_memset (this->head, 0, size); |
670 | 0 | char *ret = this->head; |
671 | 0 | this->head += size; |
672 | 0 | return reinterpret_cast<Type *> (ret); |
673 | 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: unsigned char* hb_serialize_context_t::allocate_size<unsigned char>(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::VarRegionAxis* hb_serialize_context_t::allocate_size<OT::VarRegionAxis>(unsigned long, bool) Unexecuted instantiation: OT::SparseVarRegionAxis* hb_serialize_context_t::allocate_size<OT::SparseVarRegionAxis>(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::ItemVariationStore* hb_serialize_context_t::allocate_size<OT::ItemVariationStore>(unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> > >(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::ConditionAxisRange* hb_serialize_context_t::allocate_size<OT::ConditionAxisRange>(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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, 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::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> > >(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::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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, 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::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::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, 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::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true> >(unsigned long, bool) Unexecuted instantiation: OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> >(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>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true> >(unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, OT::Layout::GPOS_impl::AnchorMatrix, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool) Unexecuted instantiation: OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true> >(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>, void, true>* hb_serialize_context_t::allocate_size<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, 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::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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool) Unexecuted instantiation: OT::head* hb_serialize_context_t::allocate_size<OT::head>(unsigned long, bool) Unexecuted instantiation: OT::VariationValueRecord* hb_serialize_context_t::allocate_size<OT::VariationValueRecord>(unsigned long, bool) Unexecuted instantiation: OT::MVAR* hb_serialize_context_t::allocate_size<OT::MVAR>(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::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::OpenTypeFontFile* hb_serialize_context_t::allocate_size<OT::OpenTypeFontFile>(unsigned long, bool) Unexecuted instantiation: OT::OpenTypeOffsetTable* hb_serialize_context_t::allocate_size<OT::OpenTypeOffsetTable>(unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > > >(unsigned long, bool) Unexecuted instantiation: OT::AxisValueMap* hb_serialize_context_t::allocate_size<OT::AxisValueMap>(unsigned long, bool) Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::allocate_size<OT::SegmentMaps>(unsigned long, bool) Unexecuted instantiation: OT::avar* hb_serialize_context_t::allocate_size<OT::avar>(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::AxisRecord* hb_serialize_context_t::allocate_size<OT::AxisRecord>(unsigned long, bool) Unexecuted instantiation: OT::fvar* hb_serialize_context_t::allocate_size<OT::fvar>(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::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) 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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(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::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::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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(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::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::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: OT::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::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::CFF2ItemVariationStore* hb_serialize_context_t::allocate_size<CFF::CFF2ItemVariationStore>(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::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::BaseCoordFormat1* hb_serialize_context_t::allocate_size<OT::BaseCoordFormat1>(unsigned long, bool) Unexecuted instantiation: OT::BaseCoordFormat2* hb_serialize_context_t::allocate_size<OT::BaseCoordFormat2>(unsigned long, bool) Unexecuted instantiation: OT::BaseCoordFormat3* hb_serialize_context_t::allocate_size<OT::BaseCoordFormat3>(unsigned long, bool) Unexecuted instantiation: OT::FeatMinMaxRecord* hb_serialize_context_t::allocate_size<OT::FeatMinMaxRecord>(unsigned long, bool) Unexecuted instantiation: OT::MinMax* hb_serialize_context_t::allocate_size<OT::MinMax>(unsigned long, bool) Unexecuted instantiation: OT::BaseValues* hb_serialize_context_t::allocate_size<OT::BaseValues>(unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> > >(unsigned long, bool) Unexecuted instantiation: OT::BaseLangSysRecord* hb_serialize_context_t::allocate_size<OT::BaseLangSysRecord>(unsigned long, bool) Unexecuted instantiation: OT::BaseScript* hb_serialize_context_t::allocate_size<OT::BaseScript>(unsigned long, bool) Unexecuted instantiation: OT::BaseScriptRecord* hb_serialize_context_t::allocate_size<OT::BaseScriptRecord>(unsigned long, bool) Unexecuted instantiation: OT::BaseScriptList* hb_serialize_context_t::allocate_size<OT::BaseScriptList>(unsigned long, bool) Unexecuted instantiation: OT::Axis* hb_serialize_context_t::allocate_size<OT::Axis>(unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::allocate_size<OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > >(unsigned long, bool) Unexecuted instantiation: OT::Tag* hb_serialize_context_t::allocate_size<OT::Tag>(unsigned long, bool) Unexecuted instantiation: OT::BASE* hb_serialize_context_t::allocate_size<OT::BASE>(unsigned long, bool) |
674 | | |
675 | | template <typename Type> |
676 | | Type *allocate_min () |
677 | 0 | { return this->allocate_size<Type> (Type::min_size); } Unexecuted instantiation: OT::avar* hb_serialize_context_t::allocate_min<OT::avar>() 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::post* hb_serialize_context_t::allocate_min<OT::post>() |
678 | | |
679 | | template <typename Type> |
680 | | HB_NODISCARD |
681 | | Type *embed (const Type *obj) |
682 | 0 | { |
683 | 0 | unsigned int size = obj->get_size (); |
684 | 0 | Type *ret = this->allocate_size<Type> (size, false); |
685 | 0 | if (unlikely (!ret)) return nullptr; |
686 | 0 | hb_memcpy (ret, obj, size); |
687 | 0 | return ret; |
688 | 0 | } 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::VarRegionAxis* hb_serialize_context_t::embed<OT::VarRegionAxis>(OT::VarRegionAxis const*) Unexecuted instantiation: OT::SparseVarRegionAxis* hb_serialize_context_t::embed<OT::SparseVarRegionAxis>(OT::SparseVarRegionAxis const*) Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::embed<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > const*) Unexecuted instantiation: OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::embed<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > const*) Unexecuted instantiation: OT::ConditionAxisRange* hb_serialize_context_t::embed<OT::ConditionAxisRange>(OT::ConditionAxisRange 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::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<unsigned short, 2u>* hb_serialize_context_t::embed<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> 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>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, true> const*) Unexecuted instantiation: OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true> const*) Unexecuted instantiation: OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> 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>, OT::Layout::GPOS_impl::AnchorMatrix, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, 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>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, 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::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true> const*) Unexecuted instantiation: OT::head* hb_serialize_context_t::embed<OT::head>(OT::head const*) Unexecuted instantiation: OT::VariationValueRecord* hb_serialize_context_t::embed<OT::VariationValueRecord>(OT::VariationValueRecord 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::AxisValueMap* hb_serialize_context_t::embed<OT::AxisValueMap>(OT::AxisValueMap const*) Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::embed<OT::SegmentMaps>(OT::SegmentMaps const*) Unexecuted instantiation: OT::Index* hb_serialize_context_t::embed<OT::Index>(OT::Index 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::fvar* hb_serialize_context_t::embed<OT::fvar>(OT::fvar 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::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*) 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: CFF::Encoding* hb_serialize_context_t::embed<CFF::Encoding>(CFF::Encoding const*) Unexecuted instantiation: OT::NameRecord* hb_serialize_context_t::embed<OT::NameRecord>(OT::NameRecord const*) Unexecuted instantiation: OT::BaseCoordFormat1* hb_serialize_context_t::embed<OT::BaseCoordFormat1>(OT::BaseCoordFormat1 const*) Unexecuted instantiation: OT::BaseCoordFormat2* hb_serialize_context_t::embed<OT::BaseCoordFormat2>(OT::BaseCoordFormat2 const*) Unexecuted instantiation: OT::BaseCoordFormat3* hb_serialize_context_t::embed<OT::BaseCoordFormat3>(OT::BaseCoordFormat3 const*) Unexecuted instantiation: OT::FeatMinMaxRecord* hb_serialize_context_t::embed<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*) Unexecuted instantiation: OT::BaseLangSysRecord* hb_serialize_context_t::embed<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*) Unexecuted instantiation: OT::BaseScriptRecord* hb_serialize_context_t::embed<OT::BaseScriptRecord>(OT::BaseScriptRecord const*) Unexecuted instantiation: OT::Axis* hb_serialize_context_t::embed<OT::Axis>(OT::Axis const*) |
689 | | template <typename Type> |
690 | | HB_NODISCARD |
691 | | Type *embed (const Type &obj) |
692 | 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::IntType<unsigned short, 2u>* hb_serialize_context_t::embed<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> 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>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, void, true> const&) Unexecuted instantiation: OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, void, true> const&) Unexecuted instantiation: OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::IntType<unsigned int, 4u>, void, true> 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>, OT::Layout::GPOS_impl::AnchorMatrix, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const&) Unexecuted instantiation: OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, void, true> const&) Unexecuted instantiation: OT::StatAxisRecord* hb_serialize_context_t::embed<OT::StatAxisRecord>(OT::StatAxisRecord const&) Unexecuted instantiation: OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true>* hb_serialize_context_t::embed<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true> const&) Unexecuted instantiation: OT::VariationValueRecord* hb_serialize_context_t::embed<OT::VariationValueRecord>(OT::VariationValueRecord const&) Unexecuted instantiation: OT::VariationSelectorRecord* hb_serialize_context_t::embed<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const&) Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::embed<OT::SegmentMaps>(OT::SegmentMaps const&) Unexecuted instantiation: OT::Index* hb_serialize_context_t::embed<OT::Index>(OT::Index 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::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::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&) 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: CFF::Encoding* hb_serialize_context_t::embed<CFF::Encoding>(CFF::Encoding const&) Unexecuted instantiation: OT::BaseCoordFormat1* hb_serialize_context_t::embed<OT::BaseCoordFormat1>(OT::BaseCoordFormat1 const&) Unexecuted instantiation: OT::BaseCoordFormat2* hb_serialize_context_t::embed<OT::BaseCoordFormat2>(OT::BaseCoordFormat2 const&) Unexecuted instantiation: OT::BaseCoordFormat3* hb_serialize_context_t::embed<OT::BaseCoordFormat3>(OT::BaseCoordFormat3 const&) Unexecuted instantiation: OT::FeatMinMaxRecord* hb_serialize_context_t::embed<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const&) Unexecuted instantiation: OT::BaseLangSysRecord* hb_serialize_context_t::embed<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const&) Unexecuted instantiation: OT::BaseScriptRecord* hb_serialize_context_t::embed<OT::BaseScriptRecord>(OT::BaseScriptRecord const&) Unexecuted instantiation: OT::Axis* hb_serialize_context_t::embed<OT::Axis>(OT::Axis const&) |
693 | | char *embed (const char *obj, unsigned size) |
694 | 0 | { |
695 | 0 | char *ret = this->allocate_size<char> (size, false); |
696 | 0 | if (unlikely (!ret)) return nullptr; |
697 | 0 | hb_memcpy (ret, obj, size); |
698 | 0 | return ret; |
699 | 0 | } |
700 | | |
701 | | template <typename Type, typename ...Ts> auto |
702 | | _copy (const Type &src, hb_priority<1>, Ts&&... ds) HB_RETURN |
703 | | (Type *, src.copy (this, std::forward<Ts> (ds)...)) |
704 | | |
705 | | template <typename Type> auto |
706 | | _copy (const Type &src, hb_priority<0>) -> decltype (&(hb_declval<Type> () = src)) |
707 | 0 | { |
708 | 0 | Type *ret = this->allocate_size<Type> (sizeof (Type)); |
709 | 0 | if (unlikely (!ret)) return nullptr; |
710 | 0 | *ret = src; |
711 | 0 | return ret; |
712 | 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 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::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::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>) |
713 | | |
714 | | /* Like embed, but active: calls obj.operator=() or obj.copy() to transfer data |
715 | | * instead of hb_memcpy(). */ |
716 | | template <typename Type, typename ...Ts> |
717 | | Type *copy (const Type &src, Ts&&... ds) |
718 | 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::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::IntType<unsigned short, 2u>* hb_serialize_context_t::copy<OT::IntType<unsigned short, 2u>>(OT::IntType<unsigned short, 2u> 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 const&)0>&&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&) 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}, $_6 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}, $_6 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&) 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 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}, $_6 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::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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 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}, $_6 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::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::copy<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >>(OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 const&, (void*)0>, hb_set_t const&, $_8 const&, ($_6 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}, $_6 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}, $_6 const&, (void*)0>&, unsigned int&&, void const*&, hb_subset_plan_t*&, unsigned int*&&) |
719 | | template <typename Type, typename ...Ts> |
720 | | Type *copy (const Type *src, Ts&&... ds) |
721 | | { return copy (*src, std::forward<Ts> (ds)...); } |
722 | | |
723 | | template<typename Iterator, |
724 | | hb_requires (hb_is_iterator (Iterator)), |
725 | | typename ...Ts> |
726 | | void copy_all (Iterator it, Ts&&... ds) |
727 | 0 | { for (decltype (*it) _ : it) copy (_, std::forward<Ts> (ds)...); } Unexecuted instantiation: _ZN22hb_serialize_context_t8copy_allI10hb_array_tIN2OT10NameRecordEETnPN12hb_enable_ifIXsr17hb_is_iterator_ofIT_NS6_6item_tEEE5valueEvE4typeELPv0EJRPKvEEEvS6_DpOT1_ Unexecuted instantiation: _ZN22hb_serialize_context_t8copy_allI13hb_map_iter_tI16hb_filter_iter_tI17hb_sorted_array_tIKN2OT16VertOriginMetricEEPK8hb_set_tMS5_NS4_11HBGlyphID16ELPv0EEZNKS4_4VORG6subsetEP19hb_subset_context_tEUlRS6_E_L24hb_function_sortedness_t0ELSD_0EETnPN12hb_enable_ifIXsr17hb_is_iterator_ofIT_NSN_6item_tEEE5valueEvE4typeELSD_0EJEEEvSN_DpOT1_ |
728 | | |
729 | | template <typename Type> |
730 | | hb_serialize_context_t& operator << (const Type &obj) & { embed (obj); return *this; } |
731 | | |
732 | | template <typename Type> |
733 | | Type *extend_size (Type *obj, size_t size, bool clear = true) |
734 | 0 | { |
735 | 0 | if (unlikely (in_error ())) return nullptr; |
736 | | |
737 | 0 | assert (this->start <= (char *) obj); |
738 | 0 | assert ((char *) obj <= this->head); |
739 | 0 | assert ((size_t) (this->head - (char *) obj) <= size); |
740 | 0 | if (unlikely (((char *) obj + size < (char *) obj) || |
741 | 0 | !this->allocate_size<Type> (((char *) obj) + size - this->head, clear))) return nullptr; |
742 | 0 | return reinterpret_cast<Type *> (obj); |
743 | 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::ItemVariationStore* hb_serialize_context_t::extend_size<OT::ItemVariationStore>(OT::ItemVariationStore*, unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::FeatureTableSubstitutionRecord* hb_serialize_context_t::extend_size<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord*, unsigned long, bool) Unexecuted instantiation: OT::FeatureTableSubstitution* hb_serialize_context_t::extend_size<OT::FeatureTableSubstitution>(OT::FeatureTableSubstitution*, unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::FeatureVariations* hb_serialize_context_t::extend_size<OT::FeatureVariations>(OT::FeatureVariations*, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_size<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes>*, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true>* hb_serialize_context_t::extend_size<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true>*, 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: 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::MVAR* hb_serialize_context_t::extend_size<OT::MVAR>(OT::MVAR*, 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::OpenTypeFontFile* hb_serialize_context_t::extend_size<OT::OpenTypeFontFile>(OT::OpenTypeFontFile*, unsigned long, bool) Unexecuted instantiation: OT::OpenTypeOffsetTable* hb_serialize_context_t::extend_size<OT::OpenTypeOffsetTable>(OT::OpenTypeOffsetTable*, unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > > >(OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > >*, unsigned long, bool) Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::extend_size<OT::SegmentMaps>(OT::SegmentMaps*, 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::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) 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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >*, 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: 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::SBIXGlyph* hb_serialize_context_t::extend_size<OT::SBIXGlyph>(OT::SBIXGlyph*, 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: 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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, 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::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::CFFIndex<OT::IntType<unsigned short, 2u> > >(OT::CFFIndex<OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::name* hb_serialize_context_t::extend_size<OT::name>(OT::name*, unsigned long, bool) Unexecuted instantiation: OT::VORG* hb_serialize_context_t::extend_size<OT::VORG>(OT::VORG*, unsigned long, bool) Unexecuted instantiation: OT::MinMax* hb_serialize_context_t::extend_size<OT::MinMax>(OT::MinMax*, unsigned long, bool) Unexecuted instantiation: OT::BaseValues* hb_serialize_context_t::extend_size<OT::BaseValues>(OT::BaseValues*, unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::BaseScript* hb_serialize_context_t::extend_size<OT::BaseScript>(OT::BaseScript*, unsigned long, bool) Unexecuted instantiation: OT::BaseScriptList* hb_serialize_context_t::extend_size<OT::BaseScriptList>(OT::BaseScriptList*, unsigned long, bool) Unexecuted instantiation: OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_size<OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >*, unsigned long, bool) Unexecuted instantiation: OT::Tag* hb_serialize_context_t::extend_size<OT::Tag>(OT::Tag*, unsigned long, bool) Unexecuted instantiation: OT::BASE* hb_serialize_context_t::extend_size<OT::BASE>(OT::BASE*, unsigned long, bool) |
744 | | template <typename Type> |
745 | | Type *extend_size (Type &obj, size_t size, bool clear = true) |
746 | | { return extend_size (std::addressof (obj), size, clear); } |
747 | | |
748 | | template <typename Type> |
749 | 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::ItemVariationStore* hb_serialize_context_t::extend_min<OT::ItemVariationStore>(OT::ItemVariationStore*) Unexecuted instantiation: OT::ConditionSet* hb_serialize_context_t::extend_min<OT::ConditionSet>(OT::ConditionSet*) Unexecuted instantiation: OT::FeatureTableSubstitutionRecord* hb_serialize_context_t::extend_min<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord*) 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::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::GDEFVersion1_2<OT::Layout::SmallTypes>* hb_serialize_context_t::extend_min<OT::GDEFVersion1_2<OT::Layout::SmallTypes> >(OT::GDEFVersion1_2<OT::Layout::SmallTypes>*) 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>, void, true>* hb_serialize_context_t::extend_min<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, void, true>*) 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::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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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::MVAR* hb_serialize_context_t::extend_min<OT::MVAR>(OT::MVAR*) 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::OpenTypeFontFile* hb_serialize_context_t::extend_min<OT::OpenTypeFontFile>(OT::OpenTypeFontFile*) Unexecuted instantiation: OT::OpenTypeOffsetTable* hb_serialize_context_t::extend_min<OT::OpenTypeOffsetTable>(OT::OpenTypeOffsetTable*) Unexecuted instantiation: OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > > >(OT::ArrayOf<OT::TableRecord, OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > >*) Unexecuted instantiation: OT::SegmentMaps* hb_serialize_context_t::extend_min<OT::SegmentMaps>(OT::SegmentMaps*) 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::CPAL* hb_serialize_context_t::extend_min<OT::CPAL>(OT::CPAL*) 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::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: OT::COLR* hb_serialize_context_t::extend_min<OT::COLR>(OT::COLR*) 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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> > >(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, 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::CFFIndex<OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::CFFIndex<OT::IntType<unsigned short, 2u> > >(OT::CFFIndex<OT::IntType<unsigned short, 2u> >*) 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*) Unexecuted instantiation: OT::MinMax* hb_serialize_context_t::extend_min<OT::MinMax>(OT::MinMax*) Unexecuted instantiation: OT::BaseValues* hb_serialize_context_t::extend_min<OT::BaseValues>(OT::BaseValues*) Unexecuted instantiation: OT::BaseScript* hb_serialize_context_t::extend_min<OT::BaseScript>(OT::BaseScript*) Unexecuted instantiation: OT::BaseScriptList* hb_serialize_context_t::extend_min<OT::BaseScriptList>(OT::BaseScriptList*) Unexecuted instantiation: OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend_min<OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> > >(OT::ArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::BASE* hb_serialize_context_t::extend_min<OT::BASE>(OT::BASE*) |
750 | | template <typename Type> |
751 | 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::Layout::GPOS_impl::CursivePosFormat1* hb_serialize_context_t::extend_min<OT::Layout::GPOS_impl::CursivePosFormat1>(OT::Layout::GPOS_impl::CursivePosFormat1&) 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::cmap* hb_serialize_context_t::extend_min<OT::cmap>(OT::cmap&) 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&) |
752 | | |
753 | | template <typename Type, typename ...Ts> |
754 | | Type *extend (Type *obj, Ts&&... ds) |
755 | 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>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::FeatureTableSubstitutionRecord, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, 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>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, void, 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>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >>(OT::ArrayOf<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >*) 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>, void, true>, OT::IntType<unsigned int, 4u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >>(OT::ArrayOf<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned int, 4u> >*) 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::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, void, true>, OT::IntType<unsigned short, 2u> >*) |
756 | | template <typename Type, typename ...Ts> |
757 | | Type *extend (Type &obj, Ts&&... ds) |
758 | 0 | { return extend (std::addressof (obj), std::forward<Ts> (ds)...); } Unexecuted instantiation: OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >* hb_serialize_context_t::extend<OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, true>, OT::IntType<unsigned short, 2u> >>(OT::ArrayOf<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, void, 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>&) |
759 | | |
760 | | /* Output routines. */ |
761 | | hb_bytes_t copy_bytes () const |
762 | 0 | { |
763 | 0 | assert (successful ()); |
764 | | /* Copy both items from head side and tail side... */ |
765 | 0 | unsigned int len = (this->head - this->start) |
766 | 0 | + (this->end - this->tail); |
767 | | |
768 | | // If len is zero don't hb_malloc as the memory won't get properly |
769 | | // cleaned up later. |
770 | 0 | if (!len) return hb_bytes_t (); |
771 | | |
772 | 0 | char *p = (char *) hb_malloc (len); |
773 | 0 | if (unlikely (!p)) return hb_bytes_t (); |
774 | | |
775 | 0 | hb_memcpy (p, this->start, this->head - this->start); |
776 | 0 | hb_memcpy (p + (this->head - this->start), this->tail, this->end - this->tail); |
777 | 0 | return hb_bytes_t (p, len); |
778 | 0 | } |
779 | | template <typename Type> |
780 | | Type *copy () const |
781 | 0 | { return reinterpret_cast<Type *> ((char *) copy_bytes ().arrayZ); } |
782 | | hb_blob_t *copy_blob () const |
783 | 0 | { |
784 | 0 | hb_bytes_t b = copy_bytes (); |
785 | 0 | return hb_blob_create (b.arrayZ, b.length, |
786 | 0 | HB_MEMORY_MODE_WRITABLE, |
787 | 0 | (char *) b.arrayZ, hb_free); |
788 | 0 | } |
789 | | |
790 | | const hb_vector_t<object_t *>& object_graph() const |
791 | 0 | { return packed; } |
792 | | |
793 | | private: |
794 | | template <typename T, unsigned Size = sizeof (T)> |
795 | | void assign_offset (const object_t* parent, const object_t::link_t &link, unsigned offset) |
796 | 0 | { |
797 | 0 | auto &off = * ((BEInt<T, Size> *) (parent->head + link.position)); |
798 | 0 | assert (0 == off); |
799 | 0 | check_assign (off, offset, HB_SERIALIZE_ERROR_OFFSET_OVERFLOW); |
800 | 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) |
801 | | |
802 | | public: |
803 | | char *start, *head, *tail, *end, *zerocopy; |
804 | | unsigned int debug_depth; |
805 | | hb_serialize_error_t errors; |
806 | | |
807 | | private: |
808 | | |
809 | 0 | void merge_virtual_links (const object_t* from, objidx_t to_idx) { |
810 | 0 | object_t* to = packed[to_idx]; |
811 | 0 | for (const auto& l : from->virtual_links) { |
812 | 0 | to->virtual_links.push (l); |
813 | 0 | } |
814 | 0 | } |
815 | | |
816 | | /* Object memory pool. */ |
817 | | hb_pool_t<object_t> object_pool; |
818 | | |
819 | | /* Stack of currently under construction objects. */ |
820 | | object_t *current; |
821 | | |
822 | | /* Stack of packed objects. Object 0 is always nil object. */ |
823 | | hb_vector_t<object_t *> packed; |
824 | | |
825 | | /* Map view of packed objects. */ |
826 | | hb_hashmap_t<const object_t *, objidx_t> packed_map; |
827 | | }; |
828 | | |
829 | | #endif /* HB_SERIALIZE_HH */ |