/src/harfbuzz/src/hb-object.hh
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright © 2007 Chris Wilson |
3 | | * Copyright © 2009,2010 Red Hat, Inc. |
4 | | * Copyright © 2011,2012 Google, 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 | | * Contributor(s): |
27 | | * Chris Wilson <chris@chris-wilson.co.uk> |
28 | | * Red Hat Author(s): Behdad Esfahbod |
29 | | * Google Author(s): Behdad Esfahbod |
30 | | */ |
31 | | |
32 | | #ifndef HB_OBJECT_HH |
33 | | #define HB_OBJECT_HH |
34 | | |
35 | | #include "hb.hh" |
36 | | #include "hb-atomic.hh" |
37 | | #include "hb-mutex.hh" |
38 | | #include "hb-vector.hh" |
39 | | |
40 | | |
41 | | /* |
42 | | * Lockable set |
43 | | */ |
44 | | |
45 | | template <typename item_t, typename lock_t> |
46 | | struct hb_lockable_set_t |
47 | | { |
48 | | hb_vector_t<item_t> items; |
49 | | |
50 | 0 | void init () { items.init (); } |
51 | | |
52 | | template <typename T> |
53 | | item_t *replace_or_insert (T v, lock_t &l, bool replace) |
54 | 0 | { |
55 | 0 | l.lock (); |
56 | 0 | item_t *item = items.lsearch (v); |
57 | 0 | if (item) { |
58 | 0 | if (replace) { |
59 | 0 | item_t old = *item; |
60 | 0 | *item = v; |
61 | 0 | l.unlock (); |
62 | 0 | old.fini (); |
63 | 0 | } |
64 | 0 | else { |
65 | 0 | item = nullptr; |
66 | 0 | l.unlock (); |
67 | 0 | } |
68 | 0 | } else { |
69 | 0 | item = items.push (v); |
70 | 0 | l.unlock (); |
71 | 0 | } |
72 | 0 | return item; |
73 | 0 | } |
74 | | |
75 | | template <typename T> |
76 | | void remove (T v, lock_t &l) |
77 | 0 | { |
78 | 0 | l.lock (); |
79 | 0 | item_t *item = items.lsearch (v); |
80 | 0 | if (item) |
81 | 0 | { |
82 | 0 | item_t old = *item; |
83 | 0 | *item = items[items.length - 1]; |
84 | 0 | items.pop (); |
85 | 0 | l.unlock (); |
86 | 0 | old.fini (); |
87 | 0 | } else { |
88 | 0 | l.unlock (); |
89 | 0 | } |
90 | 0 | } |
91 | | |
92 | | template <typename T> |
93 | | bool find (T v, item_t *i, lock_t &l) |
94 | 0 | { |
95 | 0 | l.lock (); |
96 | 0 | item_t *item = items.lsearch (v); |
97 | 0 | if (item) |
98 | 0 | *i = *item; |
99 | 0 | l.unlock (); |
100 | 0 | return !!item; |
101 | 0 | } |
102 | | |
103 | | template <typename T> |
104 | | item_t *find_or_insert (T v, lock_t &l) |
105 | | { |
106 | | l.lock (); |
107 | | item_t *item = items.find (v); |
108 | | if (!item) { |
109 | | item = items.push (v); |
110 | | } |
111 | | l.unlock (); |
112 | | return item; |
113 | | } |
114 | | |
115 | | void fini (lock_t &l) |
116 | 0 | { |
117 | 0 | if (!items.length) |
118 | 0 | { |
119 | | /* No need to lock. */ |
120 | 0 | items.fini (); |
121 | 0 | return; |
122 | 0 | } |
123 | 0 | l.lock (); |
124 | 0 | while (items.length) |
125 | 0 | { |
126 | 0 | item_t old = items[items.length - 1]; |
127 | 0 | items.pop (); |
128 | 0 | l.unlock (); |
129 | 0 | old.fini (); |
130 | 0 | l.lock (); |
131 | 0 | } |
132 | 0 | items.fini (); |
133 | 0 | l.unlock (); |
134 | 0 | } |
135 | | |
136 | | }; |
137 | | |
138 | | |
139 | | /* |
140 | | * Reference-count. |
141 | | */ |
142 | | |
143 | | struct hb_reference_count_t |
144 | | { |
145 | | mutable hb_atomic_int_t ref_count; |
146 | | |
147 | 4.92M | void init (int v = 1) { ref_count.set_relaxed (v); } |
148 | 91.3M | int get_relaxed () const { return ref_count.get_relaxed (); } |
149 | 9.15M | int inc () const { return ref_count.inc (); } |
150 | 12.9M | int dec () const { return ref_count.dec (); } |
151 | 4.79M | void fini () { ref_count.set_relaxed (-0x0000DEAD); } |
152 | | |
153 | 0 | bool is_inert () const { return !ref_count.get_relaxed (); } |
154 | 31.1M | bool is_valid () const { return ref_count.get_relaxed () > 0; } |
155 | | }; |
156 | | |
157 | | |
158 | | /* user_data */ |
159 | | |
160 | | struct hb_user_data_array_t |
161 | | { |
162 | | struct hb_user_data_item_t { |
163 | | hb_user_data_key_t *key; |
164 | | void *data; |
165 | | hb_destroy_func_t destroy; |
166 | | |
167 | 0 | bool operator == (const hb_user_data_key_t *other_key) const { return key == other_key; } |
168 | 0 | bool operator == (const hb_user_data_item_t &other) const { return key == other.key; } |
169 | | |
170 | 0 | void fini () { if (destroy) destroy (data); } |
171 | | }; |
172 | | |
173 | | hb_mutex_t lock; |
174 | | hb_lockable_set_t<hb_user_data_item_t, hb_mutex_t> items; |
175 | | |
176 | 0 | void init () { lock.init (); items.init (); } |
177 | | |
178 | | HB_INTERNAL bool set (hb_user_data_key_t *key, |
179 | | void * data, |
180 | | hb_destroy_func_t destroy, |
181 | | hb_bool_t replace); |
182 | | |
183 | | HB_INTERNAL void *get (hb_user_data_key_t *key); |
184 | | |
185 | 0 | void fini () { items.fini (lock); lock.fini (); } |
186 | | }; |
187 | | |
188 | | |
189 | | /* |
190 | | * Object header |
191 | | */ |
192 | | |
193 | | struct hb_object_header_t |
194 | | { |
195 | | hb_reference_count_t ref_count; |
196 | | mutable hb_atomic_int_t writable = 0; |
197 | | hb_atomic_ptr_t<hb_user_data_array_t> user_data; |
198 | | |
199 | 43.6M | bool is_inert () const { return !ref_count.get_relaxed (); } |
200 | | }; |
201 | | #define HB_OBJECT_HEADER_STATIC {} |
202 | | |
203 | | |
204 | | /* |
205 | | * Object |
206 | | */ |
207 | | |
208 | | template <typename Type> |
209 | | static inline void hb_object_trace (const Type *obj, const char *function) |
210 | 49.5M | { |
211 | 49.5M | DEBUG_MSG (OBJECT, (void *) obj, |
212 | 49.5M | "%s refcount=%d", |
213 | 49.5M | function, |
214 | 49.5M | obj ? obj->header.ref_count.get_relaxed () : 0); |
215 | 49.5M | } hb-blob.cc:void hb_object_trace<hb_blob_t>(hb_blob_t const*, char const*) Line | Count | Source | 210 | 28.3M | { | 211 | 28.3M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 28.3M | "%s refcount=%d", | 213 | 28.3M | function, | 214 | 28.3M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 28.3M | } |
hb-buffer.cc:void hb_object_trace<hb_buffer_t>(hb_buffer_t const*, char const*) Line | Count | Source | 210 | 2.20M | { | 211 | 2.20M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 2.20M | "%s refcount=%d", | 213 | 2.20M | function, | 214 | 2.20M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 2.20M | } |
hb-draw.cc:void hb_object_trace<hb_draw_funcs_t>(hb_draw_funcs_t const*, char const*) Line | Count | Source | 210 | 431k | { | 211 | 431k | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 431k | "%s refcount=%d", | 213 | 431k | function, | 214 | 431k | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 431k | } |
hb-face.cc:void hb_object_trace<hb_face_t>(hb_face_t const*, char const*) Line | Count | Source | 210 | 881k | { | 211 | 881k | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 881k | "%s refcount=%d", | 213 | 881k | function, | 214 | 881k | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 881k | } |
hb-font.cc:void hb_object_trace<hb_font_t>(hb_font_t const*, char const*) Line | Count | Source | 210 | 656k | { | 211 | 656k | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 656k | "%s refcount=%d", | 213 | 656k | function, | 214 | 656k | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 656k | } |
hb-font.cc:void hb_object_trace<hb_font_funcs_t>(hb_font_funcs_t const*, char const*) Line | Count | Source | 210 | 1.56M | { | 211 | 1.56M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 1.56M | "%s refcount=%d", | 213 | 1.56M | function, | 214 | 1.56M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 1.56M | } |
hb-map.cc:void hb_object_trace<hb_map_t>(hb_map_t const*, char const*) Line | Count | Source | 210 | 448k | { | 211 | 448k | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 448k | "%s refcount=%d", | 213 | 448k | function, | 214 | 448k | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 448k | } |
hb-set.cc:void hb_object_trace<hb_set_t>(hb_set_t const*, char const*) Line | Count | Source | 210 | 1.33M | { | 211 | 1.33M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 1.33M | "%s refcount=%d", | 213 | 1.33M | function, | 214 | 1.33M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 1.33M | } |
hb-shape-plan.cc:void hb_object_trace<hb_shape_plan_t>(hb_shape_plan_t const*, char const*) Line | Count | Source | 210 | 9.52M | { | 211 | 9.52M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 9.52M | "%s refcount=%d", | 213 | 9.52M | function, | 214 | 9.52M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 9.52M | } |
hb-unicode.cc:void hb_object_trace<hb_unicode_funcs_t>(hb_unicode_funcs_t const*, char const*) Line | Count | Source | 210 | 4.19M | { | 211 | 4.19M | DEBUG_MSG (OBJECT, (void *) obj, | 212 | 4.19M | "%s refcount=%d", | 213 | 4.19M | function, | 214 | 4.19M | obj ? obj->header.ref_count.get_relaxed () : 0); | 215 | 4.19M | } |
|
216 | | |
217 | | template <typename Type> |
218 | | static inline Type *hb_object_create () |
219 | 4.02M | { |
220 | 4.02M | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); |
221 | | |
222 | 4.02M | if (unlikely (!obj)) |
223 | 12.0k | return obj; |
224 | | |
225 | 4.01M | new (obj) Type; |
226 | | |
227 | 4.01M | hb_object_init (obj); |
228 | 4.01M | hb_object_trace (obj, HB_FUNC); |
229 | | |
230 | 4.01M | return obj; |
231 | 4.02M | } hb-blob.cc:hb_blob_t* hb_object_create<hb_blob_t>() Line | Count | Source | 219 | 1.05M | { | 220 | 1.05M | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 1.05M | if (unlikely (!obj)) | 223 | 4.27k | return obj; | 224 | | | 225 | 1.04M | new (obj) Type; | 226 | | | 227 | 1.04M | hb_object_init (obj); | 228 | 1.04M | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 1.04M | return obj; | 231 | 1.05M | } |
hb-buffer.cc:hb_buffer_t* hb_object_create<hb_buffer_t>() Line | Count | Source | 219 | 1.10M | { | 220 | 1.10M | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 1.10M | if (unlikely (!obj)) | 223 | 2.91k | return obj; | 224 | | | 225 | 1.09M | new (obj) Type; | 226 | | | 227 | 1.09M | hb_object_init (obj); | 228 | 1.09M | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 1.09M | return obj; | 231 | 1.10M | } |
hb-draw.cc:hb_draw_funcs_t* hb_object_create<hb_draw_funcs_t>() Line | Count | Source | 219 | 215k | { | 220 | 215k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 215k | if (unlikely (!obj)) | 223 | 637 | return obj; | 224 | | | 225 | 215k | new (obj) Type; | 226 | | | 227 | 215k | hb_object_init (obj); | 228 | 215k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 215k | return obj; | 231 | 215k | } |
hb-face.cc:hb_face_t* hb_object_create<hb_face_t>() Line | Count | Source | 219 | 224k | { | 220 | 224k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 224k | if (unlikely (!obj)) | 223 | 41 | return obj; | 224 | | | 225 | 224k | new (obj) Type; | 226 | | | 227 | 224k | hb_object_init (obj); | 228 | 224k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 224k | return obj; | 231 | 224k | } |
hb-font.cc:hb_font_t* hb_object_create<hb_font_t>() Line | Count | Source | 219 | 224k | { | 220 | 224k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 224k | if (unlikely (!obj)) | 223 | 88 | return obj; | 224 | | | 225 | 224k | new (obj) Type; | 226 | | | 227 | 224k | hb_object_init (obj); | 228 | 224k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 224k | return obj; | 231 | 224k | } |
hb-font.cc:hb_font_funcs_t* hb_object_create<hb_font_funcs_t>() Line | Count | Source | 219 | 9.86k | { | 220 | 9.86k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 9.86k | if (unlikely (!obj)) | 223 | 198 | return obj; | 224 | | | 225 | 9.66k | new (obj) Type; | 226 | | | 227 | 9.66k | hb_object_init (obj); | 228 | 9.66k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 9.66k | return obj; | 231 | 9.86k | } |
hb-map.cc:hb_map_t* hb_object_create<hb_map_t>() Line | Count | Source | 219 | 224k | { | 220 | 224k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 224k | if (unlikely (!obj)) | 223 | 783 | return obj; | 224 | | | 225 | 224k | new (obj) Type; | 226 | | | 227 | 224k | hb_object_init (obj); | 228 | 224k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 224k | return obj; | 231 | 224k | } |
hb-set.cc:hb_set_t* hb_object_create<hb_set_t>() Line | Count | Source | 219 | 674k | { | 220 | 674k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 674k | if (unlikely (!obj)) | 223 | 2.17k | return obj; | 224 | | | 225 | 672k | new (obj) Type; | 226 | | | 227 | 672k | hb_object_init (obj); | 228 | 672k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 672k | return obj; | 231 | 674k | } |
hb-shape-plan.cc:hb_shape_plan_t* hb_object_create<hb_shape_plan_t>() Line | Count | Source | 219 | 285k | { | 220 | 285k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 285k | if (unlikely (!obj)) | 223 | 900 | return obj; | 224 | | | 225 | 285k | new (obj) Type; | 226 | | | 227 | 285k | hb_object_init (obj); | 228 | 285k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 285k | return obj; | 231 | 285k | } |
hb-unicode.cc:hb_unicode_funcs_t* hb_object_create<hb_unicode_funcs_t>() Line | Count | Source | 219 | 9.85k | { | 220 | 9.85k | Type *obj = (Type *) hb_calloc (1, sizeof (Type)); | 221 | | | 222 | 9.85k | if (unlikely (!obj)) | 223 | 43 | return obj; | 224 | | | 225 | 9.81k | new (obj) Type; | 226 | | | 227 | 9.81k | hb_object_init (obj); | 228 | 9.81k | hb_object_trace (obj, HB_FUNC); | 229 | | | 230 | 9.81k | return obj; | 231 | 9.85k | } |
|
232 | | template <typename Type> |
233 | | static inline void hb_object_init (Type *obj) |
234 | 4.92M | { |
235 | 4.92M | obj->header.ref_count.init (); |
236 | 4.92M | obj->header.writable.set_relaxed (true); |
237 | 4.92M | obj->header.user_data.init (); |
238 | 4.92M | } Unexecuted instantiation: hb-aat-layout.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-aat-layout.cc:void hb_object_init<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: hb-aat-layout.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-blob.cc:void hb_object_init<hb_blob_t>(hb_blob_t*) Line | Count | Source | 234 | 1.04M | { | 235 | 1.04M | obj->header.ref_count.init (); | 236 | 1.04M | obj->header.writable.set_relaxed (true); | 237 | 1.04M | obj->header.user_data.init (); | 238 | 1.04M | } |
hb-buffer.cc:void hb_object_init<hb_buffer_t>(hb_buffer_t*) Line | Count | Source | 234 | 1.09M | { | 235 | 1.09M | obj->header.ref_count.init (); | 236 | 1.09M | obj->header.writable.set_relaxed (true); | 237 | 1.09M | obj->header.user_data.init (); | 238 | 1.09M | } |
Unexecuted instantiation: hb-buffer.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-buffer.cc:void hb_object_init<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: hb-buffer.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-common.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-common.cc:void hb_object_init<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: hb-common.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-common.cc:void hb_object_init<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) hb-draw.cc:void hb_object_init<hb_draw_funcs_t>(hb_draw_funcs_t*) Line | Count | Source | 234 | 215k | { | 235 | 215k | obj->header.ref_count.init (); | 236 | 215k | obj->header.writable.set_relaxed (true); | 237 | 215k | obj->header.user_data.init (); | 238 | 215k | } |
Unexecuted instantiation: hb-face.cc:void hb_object_init<hb_hashmap_t<unsigned int, hb_blob_t*, false> >(hb_hashmap_t<unsigned int, hb_blob_t*, false>*) hb-face.cc:void hb_object_init<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>*) Line | Count | Source | 234 | 10.6k | { | 235 | 10.6k | obj->header.ref_count.init (); | 236 | 10.6k | obj->header.writable.set_relaxed (true); | 237 | 10.6k | obj->header.user_data.init (); | 238 | 10.6k | } |
hb-face.cc:void hb_object_init<hb_face_t>(hb_face_t*) Line | Count | Source | 234 | 224k | { | 235 | 224k | obj->header.ref_count.init (); | 236 | 224k | obj->header.writable.set_relaxed (true); | 237 | 224k | obj->header.user_data.init (); | 238 | 224k | } |
Unexecuted instantiation: hb-face.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-face.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-face.cc:void hb_object_init<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-fallback-shape.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-fallback-shape.cc:void hb_object_init<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>*) hb-font.cc:void hb_object_init<hb_font_t>(hb_font_t*) Line | Count | Source | 234 | 224k | { | 235 | 224k | obj->header.ref_count.init (); | 236 | 224k | obj->header.writable.set_relaxed (true); | 237 | 224k | obj->header.user_data.init (); | 238 | 224k | } |
hb-font.cc:void hb_object_init<hb_font_funcs_t>(hb_font_funcs_t*) Line | Count | Source | 234 | 9.66k | { | 235 | 9.66k | obj->header.ref_count.init (); | 236 | 9.66k | obj->header.writable.set_relaxed (true); | 237 | 9.66k | obj->header.user_data.init (); | 238 | 9.66k | } |
Unexecuted instantiation: hb-font.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-font.cc:void hb_object_init<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: hb-font.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-map.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Line | Count | Source | 234 | 224k | { | 235 | 224k | obj->header.ref_count.init (); | 236 | 224k | obj->header.writable.set_relaxed (true); | 237 | 224k | obj->header.user_data.init (); | 238 | 224k | } |
hb-map.cc:void hb_object_init<hb_map_t>(hb_map_t*) Line | Count | Source | 234 | 224k | { | 235 | 224k | obj->header.ref_count.init (); | 236 | 224k | obj->header.writable.set_relaxed (true); | 237 | 224k | obj->header.user_data.init (); | 238 | 224k | } |
Unexecuted instantiation: hb-number.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-number.cc:void hb_object_init<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: hb-ot-color.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-color.cc:void hb_object_init<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: hb-ot-color.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_init<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: hb-ot-face.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_init<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_init<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: hb-ot-font.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_init<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) hb-ot-layout.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Line | Count | Source | 234 | 672k | { | 235 | 672k | obj->header.ref_count.init (); | 236 | 672k | obj->header.writable.set_relaxed (true); | 237 | 672k | obj->header.user_data.init (); | 238 | 672k | } |
Unexecuted instantiation: hb-ot-layout.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-layout.cc:void hb_object_init<hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-ot-layout.cc:void hb_object_init<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: hb-ot-math.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-math.cc:void hb_object_init<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: hb-ot-math.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-meta.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-meta.cc:void hb_object_init<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: hb-ot-meta.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-metrics.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-metrics.cc:void hb_object_init<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: hb-ot-metrics.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-name.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-name.cc:void hb_object_init<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: hb-ot-name.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape.cc:void hb_object_init<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: hb-ot-shape.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-var.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-var.cc:void hb_object_init<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: hb-ot-var.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-set.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-set.cc:void hb_object_init<hb_set_t>(hb_set_t*) Line | Count | Source | 234 | 672k | { | 235 | 672k | obj->header.ref_count.init (); | 236 | 672k | obj->header.writable.set_relaxed (true); | 237 | 672k | obj->header.user_data.init (); | 238 | 672k | } |
Unexecuted instantiation: hb-set.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-set.cc:void hb_object_init<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>*) hb-shape-plan.cc:void hb_object_init<hb_shape_plan_t>(hb_shape_plan_t*) Line | Count | Source | 234 | 285k | { | 235 | 285k | obj->header.ref_count.init (); | 236 | 285k | obj->header.writable.set_relaxed (true); | 237 | 285k | obj->header.user_data.init (); | 238 | 285k | } |
Unexecuted instantiation: hb-shape-plan.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shape-plan.cc:void hb_object_init<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: hb-shape.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shape.cc:void hb_object_init<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: hb-shaper.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shaper.cc:void hb_object_init<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>*) hb-unicode.cc:void hb_object_init<hb_unicode_funcs_t>(hb_unicode_funcs_t*) Line | Count | Source | 234 | 9.81k | { | 235 | 9.81k | obj->header.ref_count.init (); | 236 | 9.81k | obj->header.writable.set_relaxed (true); | 237 | 9.81k | obj->header.user_data.init (); | 238 | 9.81k | } |
Unexecuted instantiation: hb-aat-map.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-aat-map.cc:void hb_object_init<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: hb-aat-map.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_object_init<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: hb-ot-cff1-table.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_object_init<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: hb-ot-cff2-table.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-map.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-map.cc:void hb_object_init<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: hb-ot-map.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_object_init<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: hb-ot-shaper-arabic.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_object_init<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: hb-ot-shaper-default.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_object_init<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: hb-ot-shaper-hangul.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_object_init<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: hb-ot-shaper-hebrew.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_object_init<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: hb-ot-shaper-indic.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_object_init<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: hb-ot-shaper-khmer.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_object_init<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: hb-ot-shaper-myanmar.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_object_init<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: hb-ot-shaper-syllabic.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_object_init<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: hb-ot-shaper-thai.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_object_init<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: hb-ot-shaper-use.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_object_init<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: hb-ot-shaper-vowel-constraints.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_object_init<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: hb-ot-shape-fallback.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_object_init<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: hb-ot-shape-normalize.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ucd.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ucd.cc:void hb_object_init<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: hb-ot-shaper-indic-table.cc:void hb_object_init<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_object_init<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: hb-ot-shaper-indic-table.cc:void hb_object_init<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) |
239 | | template <typename Type> |
240 | | static inline bool hb_object_is_valid (const Type *obj) |
241 | 31.1M | { |
242 | 31.1M | return likely (obj->header.ref_count.is_valid ()); |
243 | 31.1M | } hb-blob.cc:bool hb_object_is_valid<hb_blob_t>(hb_blob_t const*) Line | Count | Source | 241 | 5.42M | { | 242 | 5.42M | return likely (obj->header.ref_count.is_valid ()); | 243 | 5.42M | } |
hb-buffer.cc:bool hb_object_is_valid<hb_buffer_t>(hb_buffer_t const*) Line | Count | Source | 241 | 1.09M | { | 242 | 1.09M | return likely (obj->header.ref_count.is_valid ()); | 243 | 1.09M | } |
hb-draw.cc:bool hb_object_is_valid<hb_draw_funcs_t>(hb_draw_funcs_t const*) Line | Count | Source | 241 | 215k | { | 242 | 215k | return likely (obj->header.ref_count.is_valid ()); | 243 | 215k | } |
hb-face.cc:bool hb_object_is_valid<hb_face_t>(hb_face_t const*) Line | Count | Source | 241 | 656k | { | 242 | 656k | return likely (obj->header.ref_count.is_valid ()); | 243 | 656k | } |
hb-font.cc:bool hb_object_is_valid<hb_font_funcs_t>(hb_font_funcs_t const*) Line | Count | Source | 241 | 1.32M | { | 242 | 1.32M | return likely (obj->header.ref_count.is_valid ()); | 243 | 1.32M | } |
hb-font.cc:bool hb_object_is_valid<hb_font_t>(hb_font_t const*) Line | Count | Source | 241 | 215k | { | 242 | 215k | return likely (obj->header.ref_count.is_valid ()); | 243 | 215k | } |
hb-map.cc:bool hb_object_is_valid<hb_map_t>(hb_map_t const*) Line | Count | Source | 241 | 224k | { | 242 | 224k | return likely (obj->header.ref_count.is_valid ()); | 243 | 224k | } |
hb-set.cc:bool hb_object_is_valid<hb_set_t>(hb_set_t const*) Line | Count | Source | 241 | 663k | { | 242 | 663k | return likely (obj->header.ref_count.is_valid ()); | 243 | 663k | } |
hb-shape-plan.cc:bool hb_object_is_valid<hb_shape_plan_t>(hb_shape_plan_t const*) Line | Count | Source | 241 | 13.7M | { | 242 | 13.7M | return likely (obj->header.ref_count.is_valid ()); | 243 | 13.7M | } |
hb-shape-plan.cc:bool hb_object_is_valid<hb_face_t>(hb_face_t const*) Line | Count | Source | 241 | 4.48M | { | 242 | 4.48M | return likely (obj->header.ref_count.is_valid ()); | 243 | 4.48M | } |
hb-unicode.cc:bool hb_object_is_valid<hb_unicode_funcs_t>(hb_unicode_funcs_t const*) Line | Count | Source | 241 | 3.06M | { | 242 | 3.06M | return likely (obj->header.ref_count.is_valid ()); | 243 | 3.06M | } |
|
244 | | template <typename Type> |
245 | | static inline bool hb_object_is_immutable (const Type *obj) |
246 | 25.6M | { |
247 | 25.6M | return !obj->header.writable.get_relaxed (); |
248 | 25.6M | } hb-blob.cc:bool hb_object_is_immutable<hb_blob_t>(hb_blob_t const*) Line | Count | Source | 246 | 1.76M | { | 247 | 1.76M | return !obj->header.writable.get_relaxed (); | 248 | 1.76M | } |
hb-buffer.cc:bool hb_object_is_immutable<hb_buffer_t>(hb_buffer_t const*) Line | Count | Source | 246 | 17.5M | { | 247 | 17.5M | return !obj->header.writable.get_relaxed (); | 248 | 17.5M | } |
Unexecuted instantiation: hb-draw.cc:bool hb_object_is_immutable<hb_draw_funcs_t>(hb_draw_funcs_t const*) hb-face.cc:bool hb_object_is_immutable<hb_face_t>(hb_face_t const*) Line | Count | Source | 246 | 509k | { | 247 | 509k | return !obj->header.writable.get_relaxed (); | 248 | 509k | } |
hb-font.cc:bool hb_object_is_immutable<hb_font_funcs_t>(hb_font_funcs_t const*) Line | Count | Source | 246 | 128k | { | 247 | 128k | return !obj->header.writable.get_relaxed (); | 248 | 128k | } |
hb-font.cc:bool hb_object_is_immutable<hb_font_t>(hb_font_t const*) Line | Count | Source | 246 | 1.12M | { | 247 | 1.12M | return !obj->header.writable.get_relaxed (); | 248 | 1.12M | } |
hb-shape-plan.cc:bool hb_object_is_immutable<hb_buffer_t>(hb_buffer_t const*) Line | Count | Source | 246 | 4.48M | { | 247 | 4.48M | return !obj->header.writable.get_relaxed (); | 248 | 4.48M | } |
hb-unicode.cc:bool hb_object_is_immutable<hb_unicode_funcs_t>(hb_unicode_funcs_t const*) Line | Count | Source | 246 | 78.7k | { | 247 | 78.7k | return !obj->header.writable.get_relaxed (); | 248 | 78.7k | } |
Unexecuted instantiation: hb-buffer-serialize.cc:bool hb_object_is_immutable<hb_buffer_t>(hb_buffer_t const*) |
249 | | template <typename Type> |
250 | | static inline void hb_object_make_immutable (const Type *obj) |
251 | 1.08M | { |
252 | 1.08M | obj->header.writable.set_relaxed (false); |
253 | 1.08M | } hb-blob.cc:void hb_object_make_immutable<hb_blob_t>(hb_blob_t const*) Line | Count | Source | 251 | 842k | { | 252 | 842k | obj->header.writable.set_relaxed (false); | 253 | 842k | } |
Unexecuted instantiation: hb-draw.cc:void hb_object_make_immutable<hb_draw_funcs_t>(hb_draw_funcs_t const*) hb-face.cc:void hb_object_make_immutable<hb_face_t>(hb_face_t const*) Line | Count | Source | 251 | 224k | { | 252 | 224k | obj->header.writable.set_relaxed (false); | 253 | 224k | } |
hb-font.cc:void hb_object_make_immutable<hb_font_funcs_t>(hb_font_funcs_t const*) Line | Count | Source | 251 | 9.66k | { | 252 | 9.66k | obj->header.writable.set_relaxed (false); | 253 | 9.66k | } |
Unexecuted instantiation: hb-font.cc:void hb_object_make_immutable<hb_font_t>(hb_font_t const*) hb-unicode.cc:void hb_object_make_immutable<hb_unicode_funcs_t>(hb_unicode_funcs_t const*) Line | Count | Source | 251 | 9.81k | { | 252 | 9.81k | obj->header.writable.set_relaxed (false); | 253 | 9.81k | } |
|
254 | | template <typename Type> |
255 | | static inline Type *hb_object_reference (Type *obj) |
256 | 17.4M | { |
257 | 17.4M | hb_object_trace (obj, HB_FUNC); |
258 | 17.4M | if (unlikely (!obj || obj->header.is_inert ())) |
259 | 8.31M | return obj; |
260 | 9.15M | assert (hb_object_is_valid (obj)); |
261 | 0 | obj->header.ref_count.inc (); |
262 | 9.15M | return obj; |
263 | 17.4M | } hb-blob.cc:hb_blob_t* hb_object_reference<hb_blob_t>(hb_blob_t*) Line | Count | Source | 256 | 10.5M | { | 257 | 10.5M | hb_object_trace (obj, HB_FUNC); | 258 | 10.5M | if (unlikely (!obj || obj->header.is_inert ())) | 259 | 8.30M | return obj; | 260 | 2.24M | assert (hb_object_is_valid (obj)); | 261 | 0 | obj->header.ref_count.inc (); | 262 | 2.24M | return obj; | 263 | 10.5M | } |
Unexecuted instantiation: hb-buffer.cc:hb_buffer_t* hb_object_reference<hb_buffer_t>(hb_buffer_t*) Unexecuted instantiation: hb-draw.cc:hb_draw_funcs_t* hb_object_reference<hb_draw_funcs_t>(hb_draw_funcs_t*) hb-face.cc:hb_face_t* hb_object_reference<hb_face_t>(hb_face_t*) Line | Count | Source | 256 | 224k | { | 257 | 224k | hb_object_trace (obj, HB_FUNC); | 258 | 224k | if (unlikely (!obj || obj->header.is_inert ())) | 259 | 97 | return obj; | 260 | 224k | assert (hb_object_is_valid (obj)); | 261 | 0 | obj->header.ref_count.inc (); | 262 | 224k | return obj; | 263 | 224k | } |
hb-font.cc:hb_font_funcs_t* hb_object_reference<hb_font_funcs_t>(hb_font_funcs_t*) Line | Count | Source | 256 | 671k | { | 257 | 671k | hb_object_trace (obj, HB_FUNC); | 258 | 671k | if (unlikely (!obj || obj->header.is_inert ())) | 259 | 2.67k | return obj; | 260 | 668k | assert (hb_object_is_valid (obj)); | 261 | 0 | obj->header.ref_count.inc (); | 262 | 668k | return obj; | 263 | 671k | } |
Unexecuted instantiation: hb-font.cc:hb_font_t* hb_object_reference<hb_font_t>(hb_font_t*) Unexecuted instantiation: hb-map.cc:hb_map_t* hb_object_reference<hb_map_t>(hb_map_t*) Unexecuted instantiation: hb-set.cc:hb_set_t* hb_object_reference<hb_set_t>(hb_set_t*) hb-shape-plan.cc:hb_shape_plan_t* hb_object_reference<hb_shape_plan_t>(hb_shape_plan_t*) Line | Count | Source | 256 | 4.48M | { | 257 | 4.48M | hb_object_trace (obj, HB_FUNC); | 258 | 4.48M | if (unlikely (!obj || obj->header.is_inert ())) | 259 | 942 | return obj; | 260 | 4.48M | assert (hb_object_is_valid (obj)); | 261 | 0 | obj->header.ref_count.inc (); | 262 | 4.48M | return obj; | 263 | 4.48M | } |
hb-unicode.cc:hb_unicode_funcs_t* hb_object_reference<hb_unicode_funcs_t>(hb_unicode_funcs_t*) Line | Count | Source | 256 | 1.54M | { | 257 | 1.54M | hb_object_trace (obj, HB_FUNC); | 258 | 1.54M | if (unlikely (!obj || obj->header.is_inert ())) | 259 | 13.7k | return obj; | 260 | 1.53M | assert (hb_object_is_valid (obj)); | 261 | 0 | obj->header.ref_count.inc (); | 262 | 1.53M | return obj; | 263 | 1.54M | } |
|
264 | | template <typename Type> |
265 | | static inline bool hb_object_destroy (Type *obj) |
266 | 28.0M | { |
267 | 28.0M | hb_object_trace (obj, HB_FUNC); |
268 | 28.0M | if (unlikely (!obj || obj->header.is_inert ())) |
269 | 15.1M | return false; |
270 | 12.9M | assert (hb_object_is_valid (obj)); |
271 | 12.9M | if (obj->header.ref_count.dec () != 1) |
272 | 9.08M | return false; |
273 | | |
274 | 3.88M | hb_object_fini (obj); |
275 | | |
276 | 3.88M | obj->~Type (); |
277 | | |
278 | 3.88M | return true; |
279 | 12.9M | } hb-blob.cc:bool hb_object_destroy<hb_blob_t>(hb_blob_t*) Line | Count | Source | 266 | 16.7M | { | 267 | 16.7M | hb_object_trace (obj, HB_FUNC); | 268 | 16.7M | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 13.5M | return false; | 270 | 3.17M | assert (hb_object_is_valid (obj)); | 271 | 3.17M | if (obj->header.ref_count.dec () != 1) | 272 | 2.19M | return false; | 273 | | | 274 | 979k | hb_object_fini (obj); | 275 | | | 276 | 979k | obj->~Type (); | 277 | | | 278 | 979k | return true; | 279 | 3.17M | } |
hb-buffer.cc:bool hb_object_destroy<hb_buffer_t>(hb_buffer_t*) Line | Count | Source | 266 | 1.10M | { | 267 | 1.10M | hb_object_trace (obj, HB_FUNC); | 268 | 1.10M | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 2.91k | return false; | 270 | 1.09M | assert (hb_object_is_valid (obj)); | 271 | 1.09M | if (obj->header.ref_count.dec () != 1) | 272 | 0 | return false; | 273 | | | 274 | 1.09M | hb_object_fini (obj); | 275 | | | 276 | 1.09M | obj->~Type (); | 277 | | | 278 | 1.09M | return true; | 279 | 1.09M | } |
hb-draw.cc:bool hb_object_destroy<hb_draw_funcs_t>(hb_draw_funcs_t*) Line | Count | Source | 266 | 215k | { | 267 | 215k | hb_object_trace (obj, HB_FUNC); | 268 | 215k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 637 | return false; | 270 | 215k | assert (hb_object_is_valid (obj)); | 271 | 215k | if (obj->header.ref_count.dec () != 1) | 272 | 0 | return false; | 273 | | | 274 | 215k | hb_object_fini (obj); | 275 | | | 276 | 215k | obj->~Type (); | 277 | | | 278 | 215k | return true; | 279 | 215k | } |
hb-face.cc:bool hb_object_destroy<hb_face_t>(hb_face_t*) Line | Count | Source | 266 | 431k | { | 267 | 431k | hb_object_trace (obj, HB_FUNC); | 268 | 431k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 198 | return false; | 270 | 431k | assert (hb_object_is_valid (obj)); | 271 | 431k | if (obj->header.ref_count.dec () != 1) | 272 | 215k | return false; | 273 | | | 274 | 215k | hb_object_fini (obj); | 275 | | | 276 | 215k | obj->~Type (); | 277 | | | 278 | 215k | return true; | 279 | 431k | } |
hb-font.cc:bool hb_object_destroy<hb_font_funcs_t>(hb_font_funcs_t*) Line | Count | Source | 266 | 887k | { | 267 | 887k | hb_object_trace (obj, HB_FUNC); | 268 | 887k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 227k | return false; | 270 | 660k | assert (hb_object_is_valid (obj)); | 271 | 660k | if (obj->header.ref_count.dec () != 1) | 272 | 660k | return false; | 273 | | | 274 | 0 | hb_object_fini (obj); | 275 | |
| 276 | 0 | obj->~Type (); | 277 | |
| 278 | 0 | return true; | 279 | 660k | } |
hb-font.cc:bool hb_object_destroy<hb_font_t>(hb_font_t*) Line | Count | Source | 266 | 431k | { | 267 | 431k | hb_object_trace (obj, HB_FUNC); | 268 | 431k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 215k | return false; | 270 | 215k | assert (hb_object_is_valid (obj)); | 271 | 215k | if (obj->header.ref_count.dec () != 1) | 272 | 0 | return false; | 273 | | | 274 | 215k | hb_object_fini (obj); | 275 | | | 276 | 215k | obj->~Type (); | 277 | | | 278 | 215k | return true; | 279 | 215k | } |
hb-map.cc:bool hb_object_destroy<hb_map_t>(hb_map_t*) Line | Count | Source | 266 | 224k | { | 267 | 224k | hb_object_trace (obj, HB_FUNC); | 268 | 224k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 783 | return false; | 270 | 224k | assert (hb_object_is_valid (obj)); | 271 | 224k | if (obj->header.ref_count.dec () != 1) | 272 | 0 | return false; | 273 | | | 274 | 224k | hb_object_fini (obj); | 275 | | | 276 | 224k | obj->~Type (); | 277 | | | 278 | 224k | return true; | 279 | 224k | } |
hb-set.cc:bool hb_object_destroy<hb_set_t>(hb_set_t*) Line | Count | Source | 266 | 665k | { | 267 | 665k | hb_object_trace (obj, HB_FUNC); | 268 | 665k | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 2.10k | return false; | 270 | 663k | assert (hb_object_is_valid (obj)); | 271 | 663k | if (obj->header.ref_count.dec () != 1) | 272 | 0 | return false; | 273 | | | 274 | 663k | hb_object_fini (obj); | 275 | | | 276 | 663k | obj->~Type (); | 277 | | | 278 | 663k | return true; | 279 | 663k | } |
hb-shape-plan.cc:bool hb_object_destroy<hb_shape_plan_t>(hb_shape_plan_t*) Line | Count | Source | 266 | 4.75M | { | 267 | 4.75M | hb_object_trace (obj, HB_FUNC); | 268 | 4.75M | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 2.02k | return false; | 270 | 4.75M | assert (hb_object_is_valid (obj)); | 271 | 4.75M | if (obj->header.ref_count.dec () != 1) | 272 | 4.48M | return false; | 273 | | | 274 | 276k | hb_object_fini (obj); | 275 | | | 276 | 276k | obj->~Type (); | 277 | | | 278 | 276k | return true; | 279 | 4.75M | } |
hb-unicode.cc:bool hb_object_destroy<hb_unicode_funcs_t>(hb_unicode_funcs_t*) Line | Count | Source | 266 | 2.63M | { | 267 | 2.63M | hb_object_trace (obj, HB_FUNC); | 268 | 2.63M | if (unlikely (!obj || obj->header.is_inert ())) | 269 | 1.10M | return false; | 270 | 1.53M | assert (hb_object_is_valid (obj)); | 271 | 1.53M | if (obj->header.ref_count.dec () != 1) | 272 | 1.53M | return false; | 273 | | | 274 | 0 | hb_object_fini (obj); | 275 | |
| 276 | 0 | obj->~Type (); | 277 | |
| 278 | 0 | return true; | 279 | 1.53M | } |
|
280 | | template <typename Type> |
281 | | static inline void hb_object_fini (Type *obj) |
282 | 4.79M | { |
283 | 4.79M | obj->header.ref_count.fini (); /* Do this before user_data */ |
284 | 4.79M | hb_user_data_array_t *user_data = obj->header.user_data.get (); |
285 | 4.79M | if (user_data) |
286 | 0 | { |
287 | 0 | user_data->fini (); |
288 | 0 | hb_free (user_data); |
289 | 0 | obj->header.user_data.set_relaxed (nullptr); |
290 | 0 | } |
291 | 4.79M | } Unexecuted instantiation: hb-aat-layout.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-aat-layout.cc:void hb_object_fini<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: hb-aat-layout.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-blob.cc:void hb_object_fini<hb_blob_t>(hb_blob_t*) Line | Count | Source | 282 | 979k | { | 283 | 979k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 979k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 979k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 979k | } |
hb-buffer.cc:void hb_object_fini<hb_buffer_t>(hb_buffer_t*) Line | Count | Source | 282 | 1.09M | { | 283 | 1.09M | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 1.09M | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 1.09M | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 1.09M | } |
Unexecuted instantiation: hb-buffer.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-buffer.cc:void hb_object_fini<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: hb-buffer.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-common.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-common.cc:void hb_object_fini<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: hb-common.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-common.cc:void hb_object_fini<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) hb-draw.cc:void hb_object_fini<hb_draw_funcs_t>(hb_draw_funcs_t*) Line | Count | Source | 282 | 215k | { | 283 | 215k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 215k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 215k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 215k | } |
hb-face.cc:void hb_object_fini<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>*) Line | Count | Source | 282 | 16.0k | { | 283 | 16.0k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 16.0k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 16.0k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 16.0k | } |
Unexecuted instantiation: hb-face.cc:void hb_object_fini<hb_hashmap_t<unsigned int, hb_blob_t*, false> >(hb_hashmap_t<unsigned int, hb_blob_t*, false>*) hb-face.cc:void hb_object_fini<hb_face_t>(hb_face_t*) Line | Count | Source | 282 | 215k | { | 283 | 215k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 215k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 215k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 215k | } |
Unexecuted instantiation: hb-face.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-face.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-face.cc:void hb_object_fini<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-fallback-shape.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-fallback-shape.cc:void hb_object_fini<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: hb-font.cc:void hb_object_fini<hb_font_funcs_t>(hb_font_funcs_t*) hb-font.cc:void hb_object_fini<hb_font_t>(hb_font_t*) Line | Count | Source | 282 | 215k | { | 283 | 215k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 215k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 215k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 215k | } |
Unexecuted instantiation: hb-font.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-font.cc:void hb_object_fini<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: hb-font.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-map.cc:void hb_object_fini<hb_map_t>(hb_map_t*) Line | Count | Source | 282 | 224k | { | 283 | 224k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 224k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 224k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 224k | } |
hb-map.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Line | Count | Source | 282 | 224k | { | 283 | 224k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 224k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 224k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 224k | } |
Unexecuted instantiation: hb-number.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-number.cc:void hb_object_fini<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: hb-ot-color.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-color.cc:void hb_object_fini<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: hb-ot-color.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_fini<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: hb-ot-face.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-face.cc:void hb_object_fini<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_fini<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: hb-ot-font.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-font.cc:void hb_object_fini<hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<long, hb::unique_ptr<hb_set_t>, false>*) hb-ot-layout.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Line | Count | Source | 282 | 663k | { | 283 | 663k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 663k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 663k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 663k | } |
Unexecuted instantiation: hb-ot-layout.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-layout.cc:void hb_object_fini<hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false> >(hb_hashmap_t<unsigned int, hb::unique_ptr<hb_set_t>, false>*) Unexecuted instantiation: hb-ot-layout.cc:void hb_object_fini<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: hb-ot-math.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-math.cc:void hb_object_fini<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: hb-ot-math.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-meta.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-meta.cc:void hb_object_fini<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: hb-ot-meta.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-metrics.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-metrics.cc:void hb_object_fini<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: hb-ot-metrics.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-name.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-name.cc:void hb_object_fini<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: hb-ot-name.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape.cc:void hb_object_fini<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: hb-ot-shape.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-var.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-var.cc:void hb_object_fini<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: hb-ot-var.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) hb-set.cc:void hb_object_fini<hb_set_t>(hb_set_t*) Line | Count | Source | 282 | 663k | { | 283 | 663k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 663k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 663k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 663k | } |
Unexecuted instantiation: hb-set.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-set.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-set.cc:void hb_object_fini<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>*) hb-shape-plan.cc:void hb_object_fini<hb_shape_plan_t>(hb_shape_plan_t*) Line | Count | Source | 282 | 276k | { | 283 | 276k | obj->header.ref_count.fini (); /* Do this before user_data */ | 284 | 276k | hb_user_data_array_t *user_data = obj->header.user_data.get (); | 285 | 276k | if (user_data) | 286 | 0 | { | 287 | 0 | user_data->fini (); | 288 | 0 | hb_free (user_data); | 289 | 0 | obj->header.user_data.set_relaxed (nullptr); | 290 | 0 | } | 291 | 276k | } |
Unexecuted instantiation: hb-shape-plan.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shape-plan.cc:void hb_object_fini<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: hb-shape.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shape.cc:void hb_object_fini<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: hb-shaper.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-shaper.cc:void hb_object_fini<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: hb-unicode.cc:void hb_object_fini<hb_unicode_funcs_t>(hb_unicode_funcs_t*) Unexecuted instantiation: hb-aat-map.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-aat-map.cc:void hb_object_fini<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: hb-aat-map.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_object_fini<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: hb-ot-cff1-table.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_object_fini<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: hb-ot-cff2-table.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-map.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-map.cc:void hb_object_fini<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: hb-ot-map.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_object_fini<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: hb-ot-shaper-arabic.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_object_fini<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: hb-ot-shaper-default.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_object_fini<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: hb-ot-shaper-hangul.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_object_fini<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: hb-ot-shaper-hebrew.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_object_fini<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: hb-ot-shaper-indic.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_object_fini<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: hb-ot-shaper-khmer.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_object_fini<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: hb-ot-shaper-myanmar.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_object_fini<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: hb-ot-shaper-syllabic.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_object_fini<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: hb-ot-shaper-thai.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_object_fini<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: hb-ot-shaper-use.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_object_fini<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: hb-ot-shaper-vowel-constraints.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_object_fini<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: hb-ot-shape-fallback.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_object_fini<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: hb-ot-shape-normalize.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) Unexecuted instantiation: hb-ucd.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ucd.cc:void hb_object_fini<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: hb-ot-shaper-indic-table.cc:void hb_object_fini<hb_hashmap_t<unsigned int, unsigned int, true> >(hb_hashmap_t<unsigned int, unsigned int, true>*) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_object_fini<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: hb-ot-shaper-indic-table.cc:void hb_object_fini<hb_sparseset_t<hb_bit_set_invertible_t> >(hb_sparseset_t<hb_bit_set_invertible_t>*) |
292 | | template <typename Type> |
293 | | static inline bool hb_object_set_user_data (Type *obj, |
294 | | hb_user_data_key_t *key, |
295 | | void * data, |
296 | | hb_destroy_func_t destroy, |
297 | | hb_bool_t replace) |
298 | 0 | { |
299 | 0 | if (unlikely (!obj || obj->header.is_inert ())) |
300 | 0 | return false; |
301 | 0 | assert (hb_object_is_valid (obj)); |
302 | | |
303 | 0 | retry: |
304 | 0 | hb_user_data_array_t *user_data = obj->header.user_data.get (); |
305 | 0 | if (unlikely (!user_data)) |
306 | 0 | { |
307 | 0 | user_data = (hb_user_data_array_t *) hb_calloc (sizeof (hb_user_data_array_t), 1); |
308 | 0 | if (unlikely (!user_data)) |
309 | 0 | return false; |
310 | 0 | user_data->init (); |
311 | 0 | if (unlikely (!obj->header.user_data.cmpexch (nullptr, user_data))) |
312 | 0 | { |
313 | 0 | user_data->fini (); |
314 | 0 | hb_free (user_data); |
315 | 0 | goto retry; |
316 | 0 | } |
317 | 0 | } |
318 | | |
319 | 0 | return user_data->set (key, data, destroy, replace); |
320 | 0 | } Unexecuted instantiation: hb-blob.cc:bool hb_object_set_user_data<hb_blob_t>(hb_blob_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-buffer.cc:bool hb_object_set_user_data<hb_buffer_t>(hb_buffer_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-face.cc:bool hb_object_set_user_data<hb_face_t>(hb_face_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-font.cc:bool hb_object_set_user_data<hb_font_funcs_t>(hb_font_funcs_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-font.cc:bool hb_object_set_user_data<hb_font_t>(hb_font_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-map.cc:bool hb_object_set_user_data<hb_map_t>(hb_map_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-set.cc:bool hb_object_set_user_data<hb_set_t>(hb_set_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-shape-plan.cc:bool hb_object_set_user_data<hb_shape_plan_t>(hb_shape_plan_t*, hb_user_data_key_t*, void*, void (*)(void*), int) Unexecuted instantiation: hb-unicode.cc:bool hb_object_set_user_data<hb_unicode_funcs_t>(hb_unicode_funcs_t*, hb_user_data_key_t*, void*, void (*)(void*), int) |
321 | | |
322 | | template <typename Type> |
323 | | static inline void *hb_object_get_user_data (Type *obj, |
324 | | hb_user_data_key_t *key) |
325 | 0 | { |
326 | 0 | if (unlikely (!obj || obj->header.is_inert ())) |
327 | 0 | return nullptr; |
328 | 0 | assert (hb_object_is_valid (obj)); |
329 | 0 | hb_user_data_array_t *user_data = obj->header.user_data.get (); |
330 | 0 | if (!user_data) |
331 | 0 | return nullptr; |
332 | 0 | return user_data->get (key); |
333 | 0 | } Unexecuted instantiation: hb-blob.cc:void* hb_object_get_user_data<hb_blob_t>(hb_blob_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-buffer.cc:void* hb_object_get_user_data<hb_buffer_t>(hb_buffer_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-face.cc:void* hb_object_get_user_data<hb_face_t>(hb_face_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-font.cc:void* hb_object_get_user_data<hb_font_funcs_t>(hb_font_funcs_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-font.cc:void* hb_object_get_user_data<hb_font_t>(hb_font_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-map.cc:void* hb_object_get_user_data<hb_map_t>(hb_map_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-set.cc:void* hb_object_get_user_data<hb_set_t>(hb_set_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-shape-plan.cc:void* hb_object_get_user_data<hb_shape_plan_t>(hb_shape_plan_t*, hb_user_data_key_t*) Unexecuted instantiation: hb-unicode.cc:void* hb_object_get_user_data<hb_unicode_funcs_t>(hb_unicode_funcs_t*, hb_user_data_key_t*) |
334 | | |
335 | | |
336 | | #endif /* HB_OBJECT_HH */ |