/src/harfbuzz/src/hb-bit-set.hh
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright © 2012,2017 Google, Inc. |
3 | | * Copyright © 2021 Behdad Esfahbod |
4 | | * |
5 | | * This is part of HarfBuzz, a text shaping library. |
6 | | * |
7 | | * Permission is hereby granted, without written agreement and without |
8 | | * license or royalty fees, to use, copy, modify, and distribute this |
9 | | * software and its documentation for any purpose, provided that the |
10 | | * above copyright notice and the following two paragraphs appear in |
11 | | * all copies of this software. |
12 | | * |
13 | | * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR |
14 | | * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES |
15 | | * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN |
16 | | * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
17 | | * DAMAGE. |
18 | | * |
19 | | * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
20 | | * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
21 | | * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
22 | | * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
23 | | * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
24 | | * |
25 | | * Google Author(s): Behdad Esfahbod |
26 | | */ |
27 | | |
28 | | #ifndef HB_BIT_SET_HH |
29 | | #define HB_BIT_SET_HH |
30 | | |
31 | | #include "hb.hh" |
32 | | #include "hb-bit-page.hh" |
33 | | #include "hb-machinery.hh" |
34 | | |
35 | | |
36 | | struct hb_bit_set_t |
37 | | { |
38 | 1.81M | hb_bit_set_t () = default; |
39 | 1.81M | ~hb_bit_set_t () = default; |
40 | | |
41 | 0 | hb_bit_set_t (const hb_bit_set_t& other) : hb_bit_set_t () { set (other, true); } |
42 | 0 | hb_bit_set_t ( hb_bit_set_t&& other) : hb_bit_set_t () { hb_swap (*this, other); } |
43 | 0 | hb_bit_set_t& operator= (const hb_bit_set_t& other) { set (other); return *this; } |
44 | 0 | hb_bit_set_t& operator= (hb_bit_set_t&& other) { hb_swap (*this, other); return *this; } |
45 | | friend void swap (hb_bit_set_t &a, hb_bit_set_t &b) |
46 | 0 | { |
47 | 0 | if (likely (!a.successful || !b.successful)) |
48 | 0 | return; |
49 | 0 | hb_swap (a.population, b.population); |
50 | 0 | hb_swap (a.last_page_lookup, b.last_page_lookup); |
51 | 0 | hb_swap (a.page_map, b.page_map); |
52 | 0 | hb_swap (a.pages, b.pages); |
53 | 0 | } |
54 | | |
55 | | void init () |
56 | 1.81M | { |
57 | 1.81M | successful = true; |
58 | 1.81M | population = 0; |
59 | 1.81M | last_page_lookup = 0; |
60 | 1.81M | page_map.init (); |
61 | 1.81M | pages.init (); |
62 | 1.81M | } |
63 | | void fini () |
64 | 1.81M | { |
65 | 1.81M | page_map.fini (); |
66 | 1.81M | pages.fini (); |
67 | 1.81M | } |
68 | | |
69 | | using page_t = hb_bit_page_t; |
70 | | struct page_map_t |
71 | | { |
72 | 46.9M | int cmp (const page_map_t &o) const { return cmp (o.major); } |
73 | 46.9M | int cmp (uint32_t o_major) const { return (int) o_major - (int) major; } |
74 | | |
75 | | uint32_t major; |
76 | | uint32_t index; |
77 | | }; |
78 | | |
79 | | bool successful = true; /* Allocations successful */ |
80 | | mutable unsigned int population = 0; |
81 | | mutable hb_atomic_int_t last_page_lookup = 0; |
82 | | hb_sorted_vector_t<page_map_t> page_map; |
83 | | hb_vector_t<page_t> pages; |
84 | | |
85 | 0 | void err () { if (successful) successful = false; } /* TODO Remove */ |
86 | 0 | bool in_error () const { return !successful; } |
87 | | |
88 | | bool resize (unsigned int count, bool clear = true, bool exact_size = false) |
89 | 7.25M | { |
90 | 7.25M | if (unlikely (!successful)) return false; |
91 | | |
92 | 7.25M | if (pages.length == 0 && count == 1) |
93 | 717k | exact_size = true; // Most sets are small and local |
94 | | |
95 | 7.25M | if (unlikely (!pages.resize (count, clear, exact_size) || !page_map.resize (count, clear, exact_size))) |
96 | 6.67k | { |
97 | 6.67k | pages.resize (page_map.length, clear, exact_size); |
98 | 6.67k | successful = false; |
99 | 6.67k | return false; |
100 | 6.67k | } |
101 | 7.24M | return true; |
102 | 7.25M | } |
103 | | |
104 | | void alloc (unsigned sz) |
105 | 0 | { |
106 | 0 | sz >>= (page_t::PAGE_BITS_LOG_2 - 1); |
107 | 0 | pages.alloc (sz); |
108 | 0 | page_map.alloc (sz); |
109 | 0 | } |
110 | | |
111 | | void reset () |
112 | 0 | { |
113 | 0 | successful = true; |
114 | 0 | clear (); |
115 | 0 | } |
116 | | |
117 | | void clear () |
118 | 0 | { |
119 | 0 | resize (0); |
120 | 0 | if (likely (successful)) |
121 | 0 | population = 0; |
122 | 0 | } |
123 | | bool is_empty () const |
124 | 0 | { |
125 | 0 | unsigned int count = pages.length; |
126 | 0 | for (unsigned int i = 0; i < count; i++) |
127 | 0 | if (!pages[i].is_empty ()) |
128 | 0 | return false; |
129 | 0 | return true; |
130 | 0 | } |
131 | 0 | explicit operator bool () const { return !is_empty (); } |
132 | | |
133 | | uint32_t hash () const |
134 | 0 | { |
135 | 0 | uint32_t h = 0; |
136 | 0 | for (auto &map : page_map) |
137 | 0 | h = h * 31 + hb_hash (map.major) + hb_hash (pages[map.index]); |
138 | 0 | return h; |
139 | 0 | } |
140 | | |
141 | | private: |
142 | 17.0M | void dirty () { population = UINT_MAX; } |
143 | | public: |
144 | | |
145 | | void add (hb_codepoint_t g) |
146 | 1.66M | { |
147 | 1.66M | if (unlikely (!successful)) return; |
148 | 1.64M | if (unlikely (g == INVALID)) return; |
149 | 1.64M | dirty (); |
150 | 1.64M | page_t *page = page_for (g, true); if (unlikely (!page)) return; |
151 | 1.63M | page->add (g); |
152 | 1.63M | } |
153 | | bool add_range (hb_codepoint_t a, hb_codepoint_t b) |
154 | 3.78M | { |
155 | 3.78M | if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */ |
156 | 3.63M | if (unlikely (a > b || a == INVALID || b == INVALID)) return false; |
157 | 3.42M | dirty (); |
158 | 3.42M | unsigned int ma = get_major (a); |
159 | 3.42M | unsigned int mb = get_major (b); |
160 | 3.42M | if (ma == mb) |
161 | 3.23M | { |
162 | 3.23M | page_t *page = page_for (a, true); if (unlikely (!page)) return false; |
163 | 3.23M | page->add_range (a, b); |
164 | 3.23M | } |
165 | 185k | else |
166 | 185k | { |
167 | 185k | page_t *page = page_for (a, true); if (unlikely (!page)) return false; |
168 | 185k | page->add_range (a, major_start (ma + 1) - 1); |
169 | | |
170 | 7.24M | for (unsigned int m = ma + 1; m < mb; m++) |
171 | 7.05M | { |
172 | 7.05M | page = page_for (major_start (m), true); if (unlikely (!page)) return false; |
173 | 7.05M | page->init1 (); |
174 | 7.05M | } |
175 | | |
176 | 185k | page = page_for (b, true); if (unlikely (!page)) return false; |
177 | 185k | page->add_range (major_start (mb), b); |
178 | 185k | } |
179 | 3.41M | return true; |
180 | 3.42M | } |
181 | | |
182 | | template <typename T> |
183 | | void set_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
184 | 0 | { |
185 | 0 | if (unlikely (!successful)) return; |
186 | 0 | if (!count) return; |
187 | 0 | dirty (); |
188 | 0 | hb_codepoint_t g = *array; |
189 | 0 | while (count) |
190 | 0 | { |
191 | 0 | unsigned int m = get_major (g); |
192 | 0 | page_t *page = page_for (g, v); if (unlikely (v && !page)) return; |
193 | 0 | unsigned int start = major_start (m); |
194 | 0 | unsigned int end = major_start (m + 1); |
195 | 0 | do |
196 | 0 | { |
197 | 0 | if (v || page) /* The v check is to optimize out the page check if v is true. */ |
198 | 0 | page->set (g, v); |
199 | |
|
200 | 0 | array = &StructAtOffsetUnaligned<T> (array, stride); |
201 | 0 | count--; |
202 | 0 | } |
203 | 0 | while (count && (g = *array, start <= g && g < end)); |
204 | 0 | } |
205 | 0 | } Unexecuted instantiation: void hb_bit_set_t::set_array<OT::Index>(bool, OT::Index const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::set_array<OT::HBGlyphID16>(bool, OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::set_array<OT::HBGlyphID24>(bool, OT::HBGlyphID24 const*, unsigned int, unsigned int) |
206 | | |
207 | | template <typename T> |
208 | | void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
209 | 0 | { set_array (true, array, count, stride); } Unexecuted instantiation: void hb_bit_set_t::add_array<OT::Index>(OT::Index const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::add_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::add_array<OT::HBGlyphID24>(OT::HBGlyphID24 const*, unsigned int, unsigned int) |
210 | | template <typename T> |
211 | | void add_array (const hb_array_t<const T>& arr) { add_array (&arr, arr.len ()); } |
212 | | |
213 | | template <typename T> |
214 | | void del_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
215 | 0 | { set_array (false, array, count, stride); } Unexecuted instantiation: void hb_bit_set_t::del_array<OT::Index>(OT::Index const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::del_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: void hb_bit_set_t::del_array<OT::HBGlyphID24>(OT::HBGlyphID24 const*, unsigned int, unsigned int) |
216 | | template <typename T> |
217 | | void del_array (const hb_array_t<const T>& arr) { del_array (&arr, arr.len ()); } |
218 | | |
219 | | /* Might return false if array looks unsorted. |
220 | | * Used for faster rejection of corrupt data. */ |
221 | | template <typename T> |
222 | | bool set_sorted_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
223 | 0 | { |
224 | 0 | if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */ |
225 | 0 | if (unlikely (!count)) return true; |
226 | 0 | dirty (); |
227 | 0 | hb_codepoint_t g = *array; |
228 | 0 | hb_codepoint_t last_g = g; |
229 | 0 | while (count) |
230 | 0 | { |
231 | 0 | unsigned int m = get_major (g); |
232 | 0 | page_t *page = page_for (g, v); if (unlikely (v && !page)) return false; |
233 | 0 | unsigned int end = major_start (m + 1); |
234 | 0 | do |
235 | 0 | { |
236 | | /* If we try harder we can change the following comparison to <=; |
237 | | * Not sure if it's worth it. */ |
238 | 0 | if (g < last_g) return false; |
239 | 0 | last_g = g; |
240 | |
|
241 | 0 | if (v || page) /* The v check is to optimize out the page check if v is true. */ |
242 | 0 | page->add (g); |
243 | |
|
244 | 0 | array = &StructAtOffsetUnaligned<T> (array, stride); |
245 | 0 | count--; |
246 | 0 | } |
247 | 0 | while (count && (g = *array, g < end)); |
248 | 0 | } |
249 | 0 | return true; |
250 | 0 | } Unexecuted instantiation: bool hb_bit_set_t::set_sorted_array<OT::HBGlyphID16>(bool, OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::set_sorted_array<OT::HBGlyphID24>(bool, OT::HBGlyphID24 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::set_sorted_array<unsigned int>(bool, unsigned int const*, unsigned int, unsigned int) |
251 | | |
252 | | template <typename T> |
253 | | bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
254 | 0 | { return set_sorted_array (true, array, count, stride); } Unexecuted instantiation: bool hb_bit_set_t::add_sorted_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::add_sorted_array<OT::HBGlyphID24>(OT::HBGlyphID24 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::add_sorted_array<unsigned int>(unsigned int const*, unsigned int, unsigned int) |
255 | | template <typename T> |
256 | | bool add_sorted_array (const hb_sorted_array_t<const T>& arr) { return add_sorted_array (&arr, arr.len ()); } |
257 | | |
258 | | template <typename T> |
259 | | bool del_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) |
260 | 0 | { return set_sorted_array (false, array, count, stride); } Unexecuted instantiation: bool hb_bit_set_t::del_sorted_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::del_sorted_array<OT::HBGlyphID24>(OT::HBGlyphID24 const*, unsigned int, unsigned int) Unexecuted instantiation: bool hb_bit_set_t::del_sorted_array<unsigned int>(unsigned int const*, unsigned int, unsigned int) |
261 | | template <typename T> |
262 | | bool del_sorted_array (const hb_sorted_array_t<const T>& arr) { return del_sorted_array (&arr, arr.len ()); } |
263 | | |
264 | | void del (hb_codepoint_t g) |
265 | 12.2M | { |
266 | 12.2M | if (unlikely (!successful)) return; |
267 | 11.8M | page_t *page = page_for (g); |
268 | 11.8M | if (!page) |
269 | 0 | return; |
270 | 11.8M | dirty (); |
271 | 11.8M | page->del (g); |
272 | 11.8M | } |
273 | | |
274 | | private: |
275 | | void del_pages (int ds, int de) |
276 | 193k | { |
277 | 193k | if (ds <= de) |
278 | 107k | { |
279 | | // Pre-allocate the workspace that compact() will need so we can bail on allocation failure |
280 | | // before attempting to rewrite the page map. |
281 | 107k | hb_vector_t<unsigned> compact_workspace; |
282 | 107k | if (unlikely (!allocate_compact_workspace (compact_workspace))) return; |
283 | | |
284 | 107k | unsigned int write_index = 0; |
285 | 6.74M | for (unsigned int i = 0; i < page_map.length; i++) |
286 | 6.63M | { |
287 | 6.63M | int m = (int) page_map[i].major; |
288 | 6.63M | if (m < ds || de < m) |
289 | 1.44M | page_map[write_index++] = page_map[i]; |
290 | 6.63M | } |
291 | 107k | compact (compact_workspace, write_index); |
292 | 107k | resize (write_index); |
293 | 107k | } |
294 | 193k | } |
295 | | |
296 | | |
297 | | public: |
298 | | void del_range (hb_codepoint_t a, hb_codepoint_t b) |
299 | 212k | { |
300 | 212k | if (unlikely (!successful)) return; |
301 | 193k | if (unlikely (a > b || a == INVALID)) return; |
302 | 193k | dirty (); |
303 | 193k | unsigned int ma = get_major (a); |
304 | 193k | unsigned int mb = get_major (b); |
305 | | /* Delete pages from ds through de if ds <= de. */ |
306 | 193k | int ds = (a == major_start (ma))? (int) ma: (int) (ma + 1); |
307 | 193k | int de = (b + 1 == major_start (mb + 1))? (int) mb: ((int) mb - 1); |
308 | 193k | if (ds > de || (int) ma < ds) |
309 | 170k | { |
310 | 170k | page_t *page = page_for (a); |
311 | 170k | if (page) |
312 | 170k | { |
313 | 170k | if (ma == mb) |
314 | 82.1k | page->del_range (a, b); |
315 | 88.7k | else |
316 | 88.7k | page->del_range (a, major_start (ma + 1) - 1); |
317 | 170k | } |
318 | 170k | } |
319 | 193k | if (de < (int) mb && ma != mb) |
320 | 94.2k | { |
321 | 94.2k | page_t *page = page_for (b); |
322 | 94.2k | if (page) |
323 | 94.2k | page->del_range (major_start (mb), b); |
324 | 94.2k | } |
325 | 193k | del_pages (ds, de); |
326 | 193k | } |
327 | | |
328 | | bool get (hb_codepoint_t g) const |
329 | 0 | { |
330 | 0 | const page_t *page = page_for (g); |
331 | 0 | if (!page) |
332 | 0 | return false; |
333 | 0 | return page->get (g); |
334 | 0 | } |
335 | | |
336 | | /* Has interface. */ |
337 | 0 | bool operator [] (hb_codepoint_t k) const { return get (k); } |
338 | 0 | bool has (hb_codepoint_t k) const { return (*this)[k]; } |
339 | | /* Predicate. */ |
340 | 0 | bool operator () (hb_codepoint_t k) const { return has (k); } |
341 | | |
342 | | /* Sink interface. */ |
343 | | hb_bit_set_t& operator << (hb_codepoint_t v) |
344 | 0 | { add (v); return *this; } |
345 | | hb_bit_set_t& operator << (const hb_pair_t<hb_codepoint_t, hb_codepoint_t>& range) |
346 | 0 | { add_range (range.first, range.second); return *this; } |
347 | | |
348 | | bool intersects (hb_codepoint_t first, hb_codepoint_t last) const |
349 | 0 | { |
350 | 0 | hb_codepoint_t c = first - 1; |
351 | 0 | return next (&c) && c <= last; |
352 | 0 | } |
353 | | void set (const hb_bit_set_t &other, bool exact_size = false) |
354 | 0 | { |
355 | 0 | if (unlikely (!successful)) return; |
356 | 0 | unsigned int count = other.pages.length; |
357 | 0 | if (unlikely (!resize (count, false, exact_size))) |
358 | 0 | return; |
359 | 0 | population = other.population; |
360 | |
|
361 | 0 | page_map = other.page_map; |
362 | 0 | pages = other.pages; |
363 | 0 | } |
364 | | |
365 | | bool is_equal (const hb_bit_set_t &other) const |
366 | 0 | { |
367 | 0 | if (has_population () && other.has_population () && |
368 | 0 | population != other.population) |
369 | 0 | return false; |
370 | | |
371 | 0 | unsigned int na = pages.length; |
372 | 0 | unsigned int nb = other.pages.length; |
373 | |
|
374 | 0 | unsigned int a = 0, b = 0; |
375 | 0 | for (; a < na && b < nb; ) |
376 | 0 | { |
377 | 0 | if (page_at (a).is_empty ()) { a++; continue; } |
378 | 0 | if (other.page_at (b).is_empty ()) { b++; continue; } |
379 | 0 | if (page_map[a].major != other.page_map[b].major || |
380 | 0 | !page_at (a).is_equal (other.page_at (b))) |
381 | 0 | return false; |
382 | 0 | a++; |
383 | 0 | b++; |
384 | 0 | } |
385 | 0 | for (; a < na; a++) |
386 | 0 | if (!page_at (a).is_empty ()) { return false; } |
387 | 0 | for (; b < nb; b++) |
388 | 0 | if (!other.page_at (b).is_empty ()) { return false; } |
389 | | |
390 | 0 | return true; |
391 | 0 | } |
392 | | |
393 | | bool is_subset (const hb_bit_set_t &larger_set) const |
394 | 0 | { |
395 | 0 | if (has_population () && larger_set.has_population () && |
396 | 0 | population > larger_set.population) |
397 | 0 | return false; |
398 | | |
399 | 0 | uint32_t spi = 0; |
400 | 0 | for (uint32_t lpi = 0; spi < page_map.length && lpi < larger_set.page_map.length; lpi++) |
401 | 0 | { |
402 | 0 | uint32_t spm = page_map[spi].major; |
403 | 0 | uint32_t lpm = larger_set.page_map[lpi].major; |
404 | 0 | auto sp = page_at (spi); |
405 | 0 | auto lp = larger_set.page_at (lpi); |
406 | |
|
407 | 0 | if (spm < lpm && !sp.is_empty ()) |
408 | 0 | return false; |
409 | | |
410 | 0 | if (lpm < spm) |
411 | 0 | continue; |
412 | | |
413 | 0 | if (!sp.is_subset (lp)) |
414 | 0 | return false; |
415 | | |
416 | 0 | spi++; |
417 | 0 | } |
418 | | |
419 | 0 | while (spi < page_map.length) |
420 | 0 | if (!page_at (spi++).is_empty ()) |
421 | 0 | return false; |
422 | | |
423 | 0 | return true; |
424 | 0 | } |
425 | | |
426 | | private: |
427 | | bool allocate_compact_workspace (hb_vector_t<unsigned>& workspace) |
428 | 107k | { |
429 | 107k | if (unlikely (!workspace.resize_exact (pages.length))) |
430 | 137 | { |
431 | 137 | successful = false; |
432 | 137 | return false; |
433 | 137 | } |
434 | | |
435 | 107k | return true; |
436 | 107k | } |
437 | | |
438 | | /* |
439 | | * workspace should be a pre-sized vector allocated to hold at exactly pages.length |
440 | | * elements. |
441 | | */ |
442 | | void compact (hb_vector_t<unsigned>& workspace, |
443 | | unsigned int length) |
444 | 107k | { |
445 | 107k | assert(workspace.length == pages.length); |
446 | 0 | hb_vector_t<unsigned>& old_index_to_page_map_index = workspace; |
447 | | |
448 | 107k | hb_fill (old_index_to_page_map_index.writer(), 0xFFFFFFFF); |
449 | 1.55M | for (unsigned i = 0; i < length; i++) |
450 | 1.44M | old_index_to_page_map_index[page_map[i].index] = i; |
451 | | |
452 | 107k | compact_pages (old_index_to_page_map_index); |
453 | 107k | } |
454 | | void compact_pages (const hb_vector_t<unsigned>& old_index_to_page_map_index) |
455 | 107k | { |
456 | 107k | unsigned int write_index = 0; |
457 | 6.74M | for (unsigned int i = 0; i < pages.length; i++) |
458 | 6.63M | { |
459 | 6.63M | if (old_index_to_page_map_index[i] == 0xFFFFFFFF) continue; |
460 | | |
461 | 1.44M | if (write_index < i) |
462 | 255k | pages[write_index] = pages[i]; |
463 | | |
464 | 1.44M | page_map[old_index_to_page_map_index[i]].index = write_index; |
465 | 1.44M | write_index++; |
466 | 1.44M | } |
467 | 107k | } |
468 | | public: |
469 | | |
470 | | void process_ (hb_bit_page_t::vector_t (*op) (const hb_bit_page_t::vector_t &, const hb_bit_page_t::vector_t &), |
471 | | bool passthru_left, bool passthru_right, |
472 | | const hb_bit_set_t &other) |
473 | 0 | { |
474 | 0 | if (unlikely (!successful)) return; |
475 | | |
476 | 0 | dirty (); |
477 | |
|
478 | 0 | unsigned int na = pages.length; |
479 | 0 | unsigned int nb = other.pages.length; |
480 | 0 | unsigned int next_page = na; |
481 | |
|
482 | 0 | unsigned int count = 0, newCount = 0; |
483 | 0 | unsigned int a = 0, b = 0; |
484 | 0 | unsigned int write_index = 0; |
485 | | |
486 | | // Pre-allocate the workspace that compact() will need so we can bail on allocation failure |
487 | | // before attempting to rewrite the page map. |
488 | 0 | hb_vector_t<unsigned> compact_workspace; |
489 | 0 | if (!passthru_left && unlikely (!allocate_compact_workspace (compact_workspace))) return; |
490 | | |
491 | 0 | for (; a < na && b < nb; ) |
492 | 0 | { |
493 | 0 | if (page_map[a].major == other.page_map[b].major) |
494 | 0 | { |
495 | 0 | if (!passthru_left) |
496 | 0 | { |
497 | | // Move page_map entries that we're keeping from the left side set |
498 | | // to the front of the page_map vector. This isn't necessary if |
499 | | // passthru_left is set since no left side pages will be removed |
500 | | // in that case. |
501 | 0 | if (write_index < a) |
502 | 0 | page_map[write_index] = page_map[a]; |
503 | 0 | write_index++; |
504 | 0 | } |
505 | |
|
506 | 0 | count++; |
507 | 0 | a++; |
508 | 0 | b++; |
509 | 0 | } |
510 | 0 | else if (page_map[a].major < other.page_map[b].major) |
511 | 0 | { |
512 | 0 | if (passthru_left) |
513 | 0 | count++; |
514 | 0 | a++; |
515 | 0 | } |
516 | 0 | else |
517 | 0 | { |
518 | 0 | if (passthru_right) |
519 | 0 | count++; |
520 | 0 | b++; |
521 | 0 | } |
522 | 0 | } |
523 | 0 | if (passthru_left) |
524 | 0 | count += na - a; |
525 | 0 | if (passthru_right) |
526 | 0 | count += nb - b; |
527 | |
|
528 | 0 | if (!passthru_left) |
529 | 0 | { |
530 | 0 | na = write_index; |
531 | 0 | next_page = write_index; |
532 | 0 | compact (compact_workspace, write_index); |
533 | 0 | } |
534 | |
|
535 | 0 | if (unlikely (!resize (count))) |
536 | 0 | return; |
537 | | |
538 | 0 | newCount = count; |
539 | | |
540 | | /* Process in-place backward. */ |
541 | 0 | a = na; |
542 | 0 | b = nb; |
543 | 0 | for (; a && b; ) |
544 | 0 | { |
545 | 0 | if (page_map.arrayZ[a - 1].major == other.page_map.arrayZ[b - 1].major) |
546 | 0 | { |
547 | 0 | a--; |
548 | 0 | b--; |
549 | 0 | count--; |
550 | 0 | page_map.arrayZ[count] = page_map.arrayZ[a]; |
551 | 0 | page_at (count).v = op (page_at (a).v, other.page_at (b).v); |
552 | 0 | } |
553 | 0 | else if (page_map.arrayZ[a - 1].major > other.page_map.arrayZ[b - 1].major) |
554 | 0 | { |
555 | 0 | a--; |
556 | 0 | if (passthru_left) |
557 | 0 | { |
558 | 0 | count--; |
559 | 0 | page_map.arrayZ[count] = page_map.arrayZ[a]; |
560 | 0 | } |
561 | 0 | } |
562 | 0 | else |
563 | 0 | { |
564 | 0 | b--; |
565 | 0 | if (passthru_right) |
566 | 0 | { |
567 | 0 | count--; |
568 | 0 | page_map.arrayZ[count].major = other.page_map.arrayZ[b].major; |
569 | 0 | page_map.arrayZ[count].index = next_page++; |
570 | 0 | page_at (count).v = other.page_at (b).v; |
571 | 0 | } |
572 | 0 | } |
573 | 0 | } |
574 | 0 | if (passthru_left) |
575 | 0 | while (a) |
576 | 0 | { |
577 | 0 | a--; |
578 | 0 | count--; |
579 | 0 | page_map.arrayZ[count] = page_map.arrayZ[a]; |
580 | 0 | } |
581 | 0 | if (passthru_right) |
582 | 0 | while (b) |
583 | 0 | { |
584 | 0 | b--; |
585 | 0 | count--; |
586 | 0 | page_map.arrayZ[count].major = other.page_map.arrayZ[b].major; |
587 | 0 | page_map.arrayZ[count].index = next_page++; |
588 | 0 | page_at (count).v = other.page_at (b).v; |
589 | 0 | } |
590 | 0 | assert (!count); |
591 | 0 | resize (newCount); |
592 | 0 | } |
593 | | template <typename Op> |
594 | | static hb_bit_page_t::vector_t |
595 | | op_ (const hb_bit_page_t::vector_t &a, const hb_bit_page_t::vector_t &b) |
596 | 0 | { return Op{} (a, b); } Unexecuted instantiation: hb-aat-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_21>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_25>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-aat-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-buffer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-buffer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-buffer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-buffer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-buffer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-common.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-common.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-common.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-common.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-common.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-color.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-color.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-color.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-color.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-color.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_21>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-face.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_25>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-font.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_25>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-layout.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_21>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-math.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-math.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-math.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-math.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-math.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-meta.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-meta.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-meta.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-meta.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-meta.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-metrics.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-metrics.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-metrics.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-metrics.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-metrics.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-name.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-name.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-name.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-name.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-name.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-var.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-var.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-var.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-var.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-var.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-set.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-set.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-set.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-set.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-set.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff1-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff1-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff1-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff1-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff1-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff2-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff2-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff2-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff2-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_20>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-cff2-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_24>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-map.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_21>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_25>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-default.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-default.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-default.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-default.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-default.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-use.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-use.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-use.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-use.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-use.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_18>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_21>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_25>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_15>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_16>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_17>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_19>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:hb_vector_size_t<unsigned long long, 64u> hb_bit_set_t::op_<$_23>(hb_vector_size_t<unsigned long long, 64u> const&, hb_vector_size_t<unsigned long long, 64u> const&) |
597 | | template <typename Op> |
598 | | void process (const Op& op, const hb_bit_set_t &other) |
599 | 0 | { |
600 | 0 | process_ (op_<Op>, op (1, 0), op (0, 1), other); |
601 | 0 | } Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_21>($_21 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_25>($_25 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-map.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-map.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-map.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-map.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-aat-map.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-buffer.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-buffer.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-buffer.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-buffer.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-buffer.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-map.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-map.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-map.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-map.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-map.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_21>($_21 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_25>($_25 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_25>($_25 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_21>($_21 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-meta.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-meta.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-meta.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-meta.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-meta.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-name.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-name.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-name.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-name.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-name.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-var.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-var.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-var.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-var.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-var.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-set.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-set.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-set.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-set.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-set.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_20>($_20 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_24>($_24 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-map.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-map.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-map.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-map.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-map.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_21>($_21 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_25>($_25 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-default.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hangul.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-hebrew.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-khmer.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-myanmar.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-syllabic.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-thai.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-use.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-vowel-constraints.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_18>($_18 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_21>($_21 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_25>($_25 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shape-normalize.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_bit_set_t::process<$_17>($_17 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_bit_set_t::process<$_19>($_19 const&, hb_bit_set_t const&) Unexecuted instantiation: hb-ot-shaper-indic-table.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&) |
602 | | |
603 | 0 | void union_ (const hb_bit_set_t &other) { process (hb_bitwise_or, other); } |
604 | 0 | void intersect (const hb_bit_set_t &other) { process (hb_bitwise_and, other); } |
605 | 0 | void subtract (const hb_bit_set_t &other) { process (hb_bitwise_gt, other); } |
606 | 0 | void symmetric_difference (const hb_bit_set_t &other) { process (hb_bitwise_xor, other); } |
607 | | |
608 | | bool next (hb_codepoint_t *codepoint) const |
609 | 0 | { |
610 | 0 | if (unlikely (*codepoint == INVALID)) { |
611 | 0 | *codepoint = get_min (); |
612 | 0 | return *codepoint != INVALID; |
613 | 0 | } |
614 | | |
615 | 0 | const auto* page_map_array = page_map.arrayZ; |
616 | 0 | unsigned int major = get_major (*codepoint); |
617 | 0 | unsigned int i = last_page_lookup; |
618 | |
|
619 | 0 | if (unlikely (i >= page_map.length || page_map_array[i].major != major)) |
620 | 0 | { |
621 | 0 | page_map.bfind (major, &i, HB_NOT_FOUND_STORE_CLOSEST); |
622 | 0 | if (i >= page_map.length) { |
623 | 0 | *codepoint = INVALID; |
624 | 0 | return false; |
625 | 0 | } |
626 | 0 | } |
627 | | |
628 | 0 | const auto* pages_array = pages.arrayZ; |
629 | 0 | const page_map_t ¤t = page_map_array[i]; |
630 | 0 | if (likely (current.major == major)) |
631 | 0 | { |
632 | 0 | if (pages_array[current.index].next (codepoint)) |
633 | 0 | { |
634 | 0 | *codepoint += current.major * page_t::PAGE_BITS; |
635 | 0 | last_page_lookup = i; |
636 | 0 | return true; |
637 | 0 | } |
638 | 0 | i++; |
639 | 0 | } |
640 | | |
641 | 0 | for (; i < page_map.length; i++) |
642 | 0 | { |
643 | 0 | const page_map_t ¤t = page_map_array[i]; |
644 | 0 | hb_codepoint_t m = pages_array[current.index].get_min (); |
645 | 0 | if (m != INVALID) |
646 | 0 | { |
647 | 0 | *codepoint = current.major * page_t::PAGE_BITS + m; |
648 | 0 | last_page_lookup = i; |
649 | 0 | return true; |
650 | 0 | } |
651 | 0 | } |
652 | 0 | last_page_lookup = 0; |
653 | 0 | *codepoint = INVALID; |
654 | 0 | return false; |
655 | 0 | } |
656 | | bool previous (hb_codepoint_t *codepoint) const |
657 | 0 | { |
658 | 0 | if (unlikely (*codepoint == INVALID)) { |
659 | 0 | *codepoint = get_max (); |
660 | 0 | return *codepoint != INVALID; |
661 | 0 | } |
662 | | |
663 | 0 | page_map_t map = {get_major (*codepoint), 0}; |
664 | 0 | unsigned int i; |
665 | 0 | page_map.bfind (map, &i, HB_NOT_FOUND_STORE_CLOSEST); |
666 | 0 | if (i < page_map.length && page_map.arrayZ[i].major == map.major) |
667 | 0 | { |
668 | 0 | if (pages[page_map.arrayZ[i].index].previous (codepoint)) |
669 | 0 | { |
670 | 0 | *codepoint += page_map.arrayZ[i].major * page_t::PAGE_BITS; |
671 | 0 | return true; |
672 | 0 | } |
673 | 0 | } |
674 | 0 | i--; |
675 | 0 | for (; (int) i >= 0; i--) |
676 | 0 | { |
677 | 0 | hb_codepoint_t m = pages.arrayZ[page_map.arrayZ[i].index].get_max (); |
678 | 0 | if (m != INVALID) |
679 | 0 | { |
680 | 0 | *codepoint = page_map.arrayZ[i].major * page_t::PAGE_BITS + m; |
681 | 0 | return true; |
682 | 0 | } |
683 | 0 | } |
684 | 0 | *codepoint = INVALID; |
685 | 0 | return false; |
686 | 0 | } |
687 | | bool next_range (hb_codepoint_t *first, hb_codepoint_t *last) const |
688 | 0 | { |
689 | 0 | hb_codepoint_t i; |
690 | |
|
691 | 0 | i = *last; |
692 | 0 | if (!next (&i)) |
693 | 0 | { |
694 | 0 | *last = *first = INVALID; |
695 | 0 | return false; |
696 | 0 | } |
697 | | |
698 | | /* TODO Speed up. */ |
699 | 0 | *last = *first = i; |
700 | 0 | while (next (&i) && i == *last + 1) |
701 | 0 | (*last)++; |
702 | |
|
703 | 0 | return true; |
704 | 0 | } |
705 | | bool previous_range (hb_codepoint_t *first, hb_codepoint_t *last) const |
706 | 0 | { |
707 | 0 | hb_codepoint_t i; |
708 | |
|
709 | 0 | i = *first; |
710 | 0 | if (!previous (&i)) |
711 | 0 | { |
712 | 0 | *last = *first = INVALID; |
713 | 0 | return false; |
714 | 0 | } |
715 | | |
716 | | /* TODO Speed up. */ |
717 | 0 | *last = *first = i; |
718 | 0 | while (previous (&i) && i == *first - 1) |
719 | 0 | (*first)--; |
720 | |
|
721 | 0 | return true; |
722 | 0 | } |
723 | | |
724 | | unsigned int next_many (hb_codepoint_t codepoint, |
725 | | hb_codepoint_t *out, |
726 | | unsigned int size) const |
727 | 0 | { |
728 | | // By default, start at the first bit of the first page of values. |
729 | 0 | unsigned int start_page = 0; |
730 | 0 | unsigned int start_page_value = 0; |
731 | 0 | if (unlikely (codepoint != INVALID)) |
732 | 0 | { |
733 | 0 | const auto* page_map_array = page_map.arrayZ; |
734 | 0 | unsigned int major = get_major (codepoint); |
735 | 0 | unsigned int i = last_page_lookup; |
736 | 0 | if (unlikely (i >= page_map.length || page_map_array[i].major != major)) |
737 | 0 | { |
738 | 0 | page_map.bfind (major, &i, HB_NOT_FOUND_STORE_CLOSEST); |
739 | 0 | if (i >= page_map.length) |
740 | 0 | return 0; // codepoint is greater than our max element. |
741 | 0 | } |
742 | 0 | start_page = i; |
743 | 0 | start_page_value = page_remainder (codepoint + 1); |
744 | 0 | if (unlikely (start_page_value == 0)) |
745 | 0 | { |
746 | | // The export-after value was last in the page. Start on next page. |
747 | 0 | start_page++; |
748 | 0 | start_page_value = 0; |
749 | 0 | } |
750 | 0 | } |
751 | | |
752 | 0 | unsigned int initial_size = size; |
753 | 0 | for (unsigned int i = start_page; i < page_map.length && size; i++) |
754 | 0 | { |
755 | 0 | uint32_t base = major_start (page_map[i].major); |
756 | 0 | unsigned int n = pages[page_map[i].index].write (base, start_page_value, out, size); |
757 | 0 | out += n; |
758 | 0 | size -= n; |
759 | 0 | start_page_value = 0; |
760 | 0 | } |
761 | 0 | return initial_size - size; |
762 | 0 | } |
763 | | |
764 | | unsigned int next_many_inverted (hb_codepoint_t codepoint, |
765 | | hb_codepoint_t *out, |
766 | | unsigned int size) const |
767 | 0 | { |
768 | 0 | unsigned int initial_size = size; |
769 | | // By default, start at the first bit of the first page of values. |
770 | 0 | unsigned int start_page = 0; |
771 | 0 | unsigned int start_page_value = 0; |
772 | 0 | if (unlikely (codepoint != INVALID)) |
773 | 0 | { |
774 | 0 | const auto* page_map_array = page_map.arrayZ; |
775 | 0 | unsigned int major = get_major (codepoint); |
776 | 0 | unsigned int i = last_page_lookup; |
777 | 0 | if (unlikely (i >= page_map.length || page_map_array[i].major != major)) |
778 | 0 | { |
779 | 0 | page_map.bfind(major, &i, HB_NOT_FOUND_STORE_CLOSEST); |
780 | 0 | if (unlikely (i >= page_map.length)) |
781 | 0 | { |
782 | | // codepoint is greater than our max element. |
783 | 0 | while (++codepoint != INVALID && size) |
784 | 0 | { |
785 | 0 | *out++ = codepoint; |
786 | 0 | size--; |
787 | 0 | } |
788 | 0 | return initial_size - size; |
789 | 0 | } |
790 | 0 | } |
791 | 0 | start_page = i; |
792 | 0 | start_page_value = page_remainder (codepoint + 1); |
793 | 0 | if (unlikely (start_page_value == 0)) |
794 | 0 | { |
795 | | // The export-after value was last in the page. Start on next page. |
796 | 0 | start_page++; |
797 | 0 | start_page_value = 0; |
798 | 0 | } |
799 | 0 | } |
800 | | |
801 | 0 | hb_codepoint_t next_value = codepoint + 1; |
802 | 0 | for (unsigned int i=start_page; i<page_map.length && size; i++) |
803 | 0 | { |
804 | 0 | uint32_t base = major_start (page_map[i].major); |
805 | 0 | unsigned int n = pages[page_map[i].index].write_inverted (base, start_page_value, out, size, &next_value); |
806 | 0 | out += n; |
807 | 0 | size -= n; |
808 | 0 | start_page_value = 0; |
809 | 0 | } |
810 | 0 | while (next_value < HB_SET_VALUE_INVALID && size) { |
811 | 0 | *out++ = next_value++; |
812 | 0 | size--; |
813 | 0 | } |
814 | 0 | return initial_size - size; |
815 | 0 | } |
816 | | |
817 | 0 | bool has_population () const { return population != UINT_MAX; } |
818 | | unsigned int get_population () const |
819 | 0 | { |
820 | 0 | if (has_population ()) |
821 | 0 | return population; |
822 | | |
823 | 0 | unsigned int pop = 0; |
824 | 0 | unsigned int count = pages.length; |
825 | 0 | for (unsigned int i = 0; i < count; i++) |
826 | 0 | pop += pages[i].get_population (); |
827 | |
|
828 | 0 | population = pop; |
829 | 0 | return pop; |
830 | 0 | } |
831 | | hb_codepoint_t get_min () const |
832 | 0 | { |
833 | 0 | unsigned count = pages.length; |
834 | 0 | for (unsigned i = 0; i < count; i++) |
835 | 0 | { |
836 | 0 | const auto& map = page_map[i]; |
837 | 0 | const auto& page = pages[map.index]; |
838 | |
|
839 | 0 | if (!page.is_empty ()) |
840 | 0 | return map.major * page_t::PAGE_BITS + page.get_min (); |
841 | 0 | } |
842 | 0 | return INVALID; |
843 | 0 | } |
844 | | hb_codepoint_t get_max () const |
845 | 0 | { |
846 | 0 | unsigned count = pages.length; |
847 | 0 | for (signed i = count - 1; i >= 0; i--) |
848 | 0 | { |
849 | 0 | const auto& map = page_map[(unsigned) i]; |
850 | 0 | const auto& page = pages[map.index]; |
851 | |
|
852 | 0 | if (!page.is_empty ()) |
853 | 0 | return map.major * page_t::PAGE_BITS + page.get_max (); |
854 | 0 | } |
855 | 0 | return INVALID; |
856 | 0 | } |
857 | | |
858 | | static constexpr hb_codepoint_t INVALID = page_t::INVALID; |
859 | | |
860 | | /* |
861 | | * Iterator implementation. |
862 | | */ |
863 | | struct iter_t : hb_iter_with_fallback_t<iter_t, hb_codepoint_t> |
864 | | { |
865 | | static constexpr bool is_sorted_iterator = true; |
866 | | iter_t (const hb_bit_set_t &s_ = Null (hb_bit_set_t), |
867 | | bool init = true) : s (&s_), v (INVALID), l(0) |
868 | 0 | { |
869 | 0 | if (init) |
870 | 0 | { |
871 | 0 | l = s->get_population () + 1; |
872 | 0 | __next__ (); |
873 | 0 | } |
874 | 0 | } |
875 | | |
876 | | typedef hb_codepoint_t __item_t__; |
877 | 0 | hb_codepoint_t __item__ () const { return v; } |
878 | 0 | bool __more__ () const { return v != INVALID; } |
879 | 0 | void __next__ () { s->next (&v); if (l) l--; } |
880 | 0 | void __prev__ () { s->previous (&v); } |
881 | 0 | unsigned __len__ () const { return l; } |
882 | 0 | iter_t end () const { return iter_t (*s, false); } |
883 | | bool operator != (const iter_t& o) const |
884 | 0 | { return s != o.s || v != o.v; } |
885 | | |
886 | | protected: |
887 | | const hb_bit_set_t *s; |
888 | | hb_codepoint_t v; |
889 | | unsigned l; |
890 | | }; |
891 | 0 | iter_t iter () const { return iter_t (*this); } |
892 | 0 | operator iter_t () const { return iter (); } |
893 | | |
894 | | protected: |
895 | | |
896 | | page_t *page_for (hb_codepoint_t g, bool insert = false) |
897 | 24.3M | { |
898 | 24.3M | unsigned major = get_major (g); |
899 | | |
900 | | /* The extra page_map length is necessary; can't just rely on vector here, |
901 | | * since the next check would be tricked because a null page also has |
902 | | * major==0, which we can't distinguish from an actualy major==0 page... */ |
903 | 24.3M | unsigned i = last_page_lookup; |
904 | 24.3M | if (likely (i < page_map.length)) |
905 | 23.5M | { |
906 | 23.5M | auto &cached_page = page_map.arrayZ[i]; |
907 | 23.5M | if (cached_page.major == major) |
908 | 15.3M | return &pages.arrayZ[cached_page.index]; |
909 | 23.5M | } |
910 | | |
911 | 9.00M | page_map_t map = {major, pages.length}; |
912 | 9.00M | if (!page_map.bfind (map, &i, HB_NOT_FOUND_STORE_CLOSEST)) |
913 | 7.14M | { |
914 | 7.14M | if (!insert) |
915 | 0 | return nullptr; |
916 | | |
917 | 7.14M | if (unlikely (!resize (pages.length + 1))) |
918 | 6.67k | return nullptr; |
919 | | |
920 | 7.14M | pages.arrayZ[map.index].init0 (); |
921 | 7.14M | memmove (page_map.arrayZ + i + 1, |
922 | 7.14M | page_map.arrayZ + i, |
923 | 7.14M | (page_map.length - 1 - i) * page_map.item_size); |
924 | 7.14M | page_map[i] = map; |
925 | 7.14M | } |
926 | | |
927 | 8.99M | last_page_lookup = i; |
928 | 8.99M | return &pages.arrayZ[page_map.arrayZ[i].index]; |
929 | 9.00M | } |
930 | | const page_t *page_for (hb_codepoint_t g) const |
931 | 0 | { |
932 | 0 | unsigned major = get_major (g); |
933 | | |
934 | | /* The extra page_map length is necessary; can't just rely on vector here, |
935 | | * since the next check would be tricked because a null page also has |
936 | | * major==0, which we can't distinguish from an actualy major==0 page... */ |
937 | 0 | unsigned i = last_page_lookup; |
938 | 0 | if (likely (i < page_map.length)) |
939 | 0 | { |
940 | 0 | auto &cached_page = page_map.arrayZ[i]; |
941 | 0 | if (cached_page.major == major) |
942 | 0 | return &pages.arrayZ[cached_page.index]; |
943 | 0 | } |
944 | | |
945 | 0 | page_map_t key = {major}; |
946 | 0 | if (!page_map.bfind (key, &i)) |
947 | 0 | return nullptr; |
948 | | |
949 | 0 | last_page_lookup = i; |
950 | 0 | return &pages.arrayZ[page_map[i].index]; |
951 | 0 | } |
952 | | page_t &page_at (unsigned int i) |
953 | 0 | { |
954 | 0 | assert (i < page_map.length); |
955 | 0 | return pages.arrayZ[page_map.arrayZ[i].index]; |
956 | 0 | } |
957 | | const page_t &page_at (unsigned int i) const |
958 | 0 | { |
959 | 0 | assert (i < page_map.length); |
960 | 0 | return pages.arrayZ[page_map.arrayZ[i].index]; |
961 | 0 | } |
962 | 31.6M | unsigned int get_major (hb_codepoint_t g) const { return g >> page_t::PAGE_BITS_LOG_2; } |
963 | 0 | unsigned int page_remainder (hb_codepoint_t g) const { return g & page_t::PAGE_BITMASK; } |
964 | 7.99M | hb_codepoint_t major_start (unsigned int major) const { return major << page_t::PAGE_BITS_LOG_2; } |
965 | | }; |
966 | | |
967 | | |
968 | | #endif /* HB_BIT_SET_HH */ |