Coverage Report

Created: 2024-08-16 12:08

/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
530k
  hb_bit_set_t () = default;
39
529k
  ~hb_bit_set_t () = default;
40
41
0
  hb_bit_set_t (const hb_bit_set_t& other) : hb_bit_set_t () { set (other); }
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
530k
  {
57
530k
    successful = true;
58
530k
    population = 0;
59
530k
    last_page_lookup.set_relaxed (0);
60
530k
    page_map.init ();
61
530k
    pages.init ();
62
530k
  }
63
  void fini ()
64
529k
  {
65
529k
    page_map.fini ();
66
529k
    pages.fini ();
67
529k
  }
68
69
  using page_t = hb_bit_page_t;
70
  struct page_map_t
71
  {
72
12.4M
    int cmp (const page_map_t &o) const { return cmp (o.major); }
73
12.4M
    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)
89
1.98M
  {
90
1.98M
    if (unlikely (!successful)) return false;
91
1.98M
    if (unlikely (!pages.resize (count) || !page_map.resize (count)))
92
7.65k
    {
93
7.65k
      pages.resize (page_map.length);
94
7.65k
      successful = false;
95
7.65k
      return false;
96
7.65k
    }
97
1.98M
    return true;
98
1.98M
  }
99
100
  void alloc (unsigned sz)
101
0
  {
102
0
    sz >>= (page_t::PAGE_BITS_LOG_2 - 1);
103
0
    pages.alloc (sz);
104
0
    page_map.alloc (sz);
105
0
  }
106
107
  void reset ()
108
0
  {
109
0
    successful = true;
110
0
    clear ();
111
0
  }
112
113
  void clear ()
114
0
  {
115
0
    resize (0);
116
0
    if (likely (successful))
117
0
      population = 0;
118
0
  }
119
  bool is_empty () const
120
0
  {
121
0
    unsigned int count = pages.length;
122
0
    for (unsigned int i = 0; i < count; i++)
123
0
      if (!pages[i].is_empty ())
124
0
  return false;
125
0
    return true;
126
0
  }
127
0
  explicit operator bool () const { return !is_empty (); }
128
129
  uint32_t hash () const
130
0
  {
131
0
    uint32_t h = 0;
132
0
    for (auto &map : page_map)
133
0
      h = h * 31 + hb_hash (map.major) + hb_hash (pages[map.index]);
134
0
    return h;
135
0
  }
136
137
  private:
138
2.89M
  void dirty () { population = UINT_MAX; }
139
  public:
140
141
  void add (hb_codepoint_t g)
142
504k
  {
143
504k
    if (unlikely (!successful)) return;
144
486k
    if (unlikely (g == INVALID)) return;
145
486k
    dirty ();
146
486k
    page_t *page = page_for (g, true); if (unlikely (!page)) return;
147
481k
    page->add (g);
148
481k
  }
149
  bool add_range (hb_codepoint_t a, hb_codepoint_t b)
150
1.91M
  {
151
1.91M
    if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */
152
1.88M
    if (unlikely (a > b || a == INVALID || b == INVALID)) return false;
153
1.84M
    dirty ();
154
1.84M
    unsigned int ma = get_major (a);
155
1.84M
    unsigned int mb = get_major (b);
156
1.84M
    if (ma == mb)
157
1.79M
    {
158
1.79M
      page_t *page = page_for (a, true); if (unlikely (!page)) return false;
159
1.79M
      page->add_range (a, b);
160
1.79M
    }
161
50.4k
    else
162
50.4k
    {
163
50.4k
      page_t *page = page_for (a, true); if (unlikely (!page)) return false;
164
50.3k
      page->add_range (a, major_start (ma + 1) - 1);
165
166
1.81M
      for (unsigned int m = ma + 1; m < mb; m++)
167
1.76M
      {
168
1.76M
  page = page_for (major_start (m), true); if (unlikely (!page)) return false;
169
1.76M
  page->init1 ();
170
1.76M
      }
171
172
49.5k
      page = page_for (b, true); if (unlikely (!page)) return false;
173
49.4k
      page->add_range (major_start (mb), b);
174
49.4k
    }
175
1.84M
    return true;
176
1.84M
  }
177
178
  template <typename T>
179
  void set_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T))
180
0
  {
181
0
    if (unlikely (!successful)) return;
182
0
    if (!count) return;
183
0
    dirty ();
184
0
    hb_codepoint_t g = *array;
185
0
    while (count)
186
0
    {
187
0
      unsigned int m = get_major (g);
188
0
      page_t *page = page_for (g, v); if (unlikely (v && !page)) return;
189
0
      unsigned int start = major_start (m);
190
0
      unsigned int end = major_start (m + 1);
191
0
      do
192
0
      {
193
0
        if (v || page) /* The v check is to optimize out the page check if v is true. */
194
0
    page->set (g, v);
195
196
0
  array = &StructAtOffsetUnaligned<T> (array, stride);
197
0
  count--;
198
0
      }
199
0
      while (count && (g = *array, start <= g && g < end));
200
0
    }
201
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)
202
203
  template <typename T>
204
  void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))
205
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)
206
  template <typename T>
207
  void add_array (const hb_array_t<const T>& arr) { add_array (&arr, arr.len ()); }
208
209
  template <typename T>
210
  void del_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))
211
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)
212
  template <typename T>
213
  void del_array (const hb_array_t<const T>& arr) { del_array (&arr, arr.len ()); }
214
215
  /* Might return false if array looks unsorted.
216
   * Used for faster rejection of corrupt data. */
217
  template <typename T>
218
  bool set_sorted_array (bool v, const T *array, unsigned int count, unsigned int stride=sizeof(T))
219
0
  {
220
0
    if (unlikely (!successful)) return true; /* https://github.com/harfbuzz/harfbuzz/issues/657 */
221
0
    if (unlikely (!count)) return true;
222
0
    dirty ();
223
0
    hb_codepoint_t g = *array;
224
0
    hb_codepoint_t last_g = g;
225
0
    while (count)
226
0
    {
227
0
      unsigned int m = get_major (g);
228
0
      page_t *page = page_for (g, v); if (unlikely (v && !page)) return false;
229
0
      unsigned int end = major_start (m + 1);
230
0
      do
231
0
      {
232
  /* If we try harder we can change the following comparison to <=;
233
   * Not sure if it's worth it. */
234
0
  if (g < last_g) return false;
235
0
  last_g = g;
236
237
0
        if (v || page) /* The v check is to optimize out the page check if v is true. */
238
0
    page->add (g);
239
240
0
  array = &StructAtOffsetUnaligned<T> (array, stride);
241
0
  count--;
242
0
      }
243
0
      while (count && (g = *array, g < end));
244
0
    }
245
0
    return true;
246
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)
247
248
  template <typename T>
249
  bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))
250
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)
251
  template <typename T>
252
  bool add_sorted_array (const hb_sorted_array_t<const T>& arr) { return add_sorted_array (&arr, arr.len ()); }
253
254
  template <typename T>
255
  bool del_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T))
256
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)
257
  template <typename T>
258
  bool del_sorted_array (const hb_sorted_array_t<const T>& arr) { return del_sorted_array (&arr, arr.len ()); }
259
260
  void del (hb_codepoint_t g)
261
607k
  {
262
607k
    if (unlikely (!successful)) return;
263
536k
    page_t *page = page_for (g);
264
536k
    if (!page)
265
0
      return;
266
536k
    dirty ();
267
536k
    page->del (g);
268
536k
  }
269
270
  private:
271
  void del_pages (int ds, int de)
272
30.7k
  {
273
30.7k
    if (ds <= de)
274
17.5k
    {
275
      // Pre-allocate the workspace that compact() will need so we can bail on allocation failure
276
      // before attempting to rewrite the page map.
277
17.5k
      hb_vector_t<unsigned> compact_workspace;
278
17.5k
      if (unlikely (!allocate_compact_workspace (compact_workspace))) return;
279
280
17.5k
      unsigned int write_index = 0;
281
941k
      for (unsigned int i = 0; i < page_map.length; i++)
282
923k
      {
283
923k
  int m = (int) page_map[i].major;
284
923k
  if (m < ds || de < m)
285
220k
    page_map[write_index++] = page_map[i];
286
923k
      }
287
17.5k
      compact (compact_workspace, write_index);
288
17.5k
      resize (write_index);
289
17.5k
    }
290
30.7k
  }
291
292
293
  public:
294
  void del_range (hb_codepoint_t a, hb_codepoint_t b)
295
35.8k
  {
296
35.8k
    if (unlikely (!successful)) return;
297
30.7k
    if (unlikely (a > b || a == INVALID)) return;
298
30.7k
    dirty ();
299
30.7k
    unsigned int ma = get_major (a);
300
30.7k
    unsigned int mb = get_major (b);
301
    /* Delete pages from ds through de if ds <= de. */
302
30.7k
    int ds = (a == major_start (ma))? (int) ma: (int) (ma + 1);
303
30.7k
    int de = (b + 1 == major_start (mb + 1))? (int) mb: ((int) mb - 1);
304
30.7k
    if (ds > de || (int) ma < ds)
305
24.4k
    {
306
24.4k
      page_t *page = page_for (a);
307
24.4k
      if (page)
308
24.4k
      {
309
24.4k
  if (ma == mb)
310
12.2k
    page->del_range (a, b);
311
12.2k
  else
312
12.2k
    page->del_range (a, major_start (ma + 1) - 1);
313
24.4k
      }
314
24.4k
    }
315
30.7k
    if (de < (int) mb && ma != mb)
316
16.1k
    {
317
16.1k
      page_t *page = page_for (b);
318
16.1k
      if (page)
319
16.1k
  page->del_range (major_start (mb), b);
320
16.1k
    }
321
30.7k
    del_pages (ds, de);
322
30.7k
  }
323
324
  bool get (hb_codepoint_t g) const
325
0
  {
326
0
    const page_t *page = page_for (g);
327
0
    if (!page)
328
0
      return false;
329
0
    return page->get (g);
330
0
  }
331
332
  /* Has interface. */
333
  static constexpr bool SENTINEL = false;
334
  typedef bool value_t;
335
0
  value_t operator [] (hb_codepoint_t k) const { return get (k); }
336
0
  bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; }
337
  /* Predicate. */
338
0
  bool operator () (hb_codepoint_t k) const { return has (k); }
339
340
  /* Sink interface. */
341
  hb_bit_set_t& operator << (hb_codepoint_t v)
342
0
  { add (v); return *this; }
343
  hb_bit_set_t& operator << (const hb_pair_t<hb_codepoint_t, hb_codepoint_t>& range)
344
0
  { add_range (range.first, range.second); return *this; }
345
346
  bool intersects (hb_codepoint_t first, hb_codepoint_t last) const
347
0
  {
348
0
    hb_codepoint_t c = first - 1;
349
0
    return next (&c) && c <= last;
350
0
  }
351
  void set (const hb_bit_set_t &other)
352
0
  {
353
0
    if (unlikely (!successful)) return;
354
0
    unsigned int count = other.pages.length;
355
0
    if (unlikely (!resize (count)))
356
0
      return;
357
0
    population = other.population;
358
359
0
    page_map = other.page_map;
360
0
    pages = other.pages;
361
0
  }
362
363
  bool is_equal (const hb_bit_set_t &other) const
364
0
  {
365
0
    if (has_population () && other.has_population () &&
366
0
  population != other.population)
367
0
      return false;
368
369
0
    unsigned int na = pages.length;
370
0
    unsigned int nb = other.pages.length;
371
372
0
    unsigned int a = 0, b = 0;
373
0
    for (; a < na && b < nb; )
374
0
    {
375
0
      if (page_at (a).is_empty ()) { a++; continue; }
376
0
      if (other.page_at (b).is_empty ()) { b++; continue; }
377
0
      if (page_map[a].major != other.page_map[b].major ||
378
0
    !page_at (a).is_equal (other.page_at (b)))
379
0
  return false;
380
0
      a++;
381
0
      b++;
382
0
    }
383
0
    for (; a < na; a++)
384
0
      if (!page_at (a).is_empty ()) { return false; }
385
0
    for (; b < nb; b++)
386
0
      if (!other.page_at (b).is_empty ()) { return false; }
387
388
0
    return true;
389
0
  }
390
391
  bool is_subset (const hb_bit_set_t &larger_set) const
392
0
  {
393
0
    if (has_population () && larger_set.has_population () &&
394
0
  population != larger_set.population)
395
0
      return false;
396
397
0
    uint32_t spi = 0;
398
0
    for (uint32_t lpi = 0; spi < page_map.length && lpi < larger_set.page_map.length; lpi++)
399
0
    {
400
0
      uint32_t spm = page_map[spi].major;
401
0
      uint32_t lpm = larger_set.page_map[lpi].major;
402
0
      auto sp = page_at (spi);
403
0
      auto lp = larger_set.page_at (lpi);
404
405
0
      if (spm < lpm && !sp.is_empty ())
406
0
        return false;
407
408
0
      if (lpm < spm)
409
0
        continue;
410
411
0
      if (!sp.is_subset (lp))
412
0
        return false;
413
414
0
      spi++;
415
0
    }
416
417
0
    while (spi < page_map.length)
418
0
      if (!page_at (spi++).is_empty ())
419
0
        return false;
420
421
0
    return true;
422
0
  }
423
424
  private:
425
  bool allocate_compact_workspace (hb_vector_t<unsigned>& workspace)
426
17.5k
  {
427
17.5k
    if (unlikely (!workspace.resize (pages.length)))
428
53
    {
429
53
      successful = false;
430
53
      return false;
431
53
    }
432
433
17.5k
    return true;
434
17.5k
  }
435
436
  /*
437
   * workspace should be a pre-sized vector allocated to hold at exactly pages.length
438
   * elements.
439
   */
440
  void compact (hb_vector_t<unsigned>& workspace,
441
                unsigned int length)
442
17.5k
  {
443
17.5k
    assert(workspace.length == pages.length);
444
0
    hb_vector_t<unsigned>& old_index_to_page_map_index = workspace;
445
446
17.5k
    hb_fill (old_index_to_page_map_index.writer(), 0xFFFFFFFF);
447
237k
    for (unsigned i = 0; i < length; i++)
448
220k
      old_index_to_page_map_index[page_map[i].index] =  i;
449
450
17.5k
    compact_pages (old_index_to_page_map_index);
451
17.5k
  }
452
  void compact_pages (const hb_vector_t<unsigned>& old_index_to_page_map_index)
453
17.5k
  {
454
17.5k
    unsigned int write_index = 0;
455
941k
    for (unsigned int i = 0; i < pages.length; i++)
456
923k
    {
457
923k
      if (old_index_to_page_map_index[i] == 0xFFFFFFFF) continue;
458
459
220k
      if (write_index < i)
460
48.0k
  pages[write_index] = pages[i];
461
462
220k
      page_map[old_index_to_page_map_index[i]].index = write_index;
463
220k
      write_index++;
464
220k
    }
465
17.5k
  }
466
  public:
467
468
  void process_ (hb_bit_page_t::vector_t (*op) (const hb_bit_page_t::vector_t &, const hb_bit_page_t::vector_t &),
469
     bool passthru_left, bool passthru_right,
470
     const hb_bit_set_t &other)
471
0
  {
472
0
    if (unlikely (!successful)) return;
473
474
0
    dirty ();
475
476
0
    unsigned int na = pages.length;
477
0
    unsigned int nb = other.pages.length;
478
0
    unsigned int next_page = na;
479
480
0
    unsigned int count = 0, newCount = 0;
481
0
    unsigned int a = 0, b = 0;
482
0
    unsigned int write_index = 0;
483
484
    // Pre-allocate the workspace that compact() will need so we can bail on allocation failure
485
    // before attempting to rewrite the page map.
486
0
    hb_vector_t<unsigned> compact_workspace;
487
0
    if (!passthru_left && unlikely (!allocate_compact_workspace (compact_workspace))) return;
488
489
0
    for (; a < na && b < nb; )
490
0
    {
491
0
      if (page_map[a].major == other.page_map[b].major)
492
0
      {
493
0
  if (!passthru_left)
494
0
  {
495
    // Move page_map entries that we're keeping from the left side set
496
    // to the front of the page_map vector. This isn't necessary if
497
    // passthru_left is set since no left side pages will be removed
498
    // in that case.
499
0
    if (write_index < a)
500
0
      page_map[write_index] = page_map[a];
501
0
    write_index++;
502
0
  }
503
504
0
  count++;
505
0
  a++;
506
0
  b++;
507
0
      }
508
0
      else if (page_map[a].major < other.page_map[b].major)
509
0
      {
510
0
  if (passthru_left)
511
0
    count++;
512
0
  a++;
513
0
      }
514
0
      else
515
0
      {
516
0
  if (passthru_right)
517
0
    count++;
518
0
  b++;
519
0
      }
520
0
    }
521
0
    if (passthru_left)
522
0
      count += na - a;
523
0
    if (passthru_right)
524
0
      count += nb - b;
525
526
0
    if (!passthru_left)
527
0
    {
528
0
      na  = write_index;
529
0
      next_page = write_index;
530
0
      compact (compact_workspace, write_index);
531
0
    }
532
533
0
    if (unlikely (!resize (count)))
534
0
      return;
535
536
0
    newCount = count;
537
538
    /* Process in-place backward. */
539
0
    a = na;
540
0
    b = nb;
541
0
    for (; a && b; )
542
0
    {
543
0
      if (page_map[a - 1].major == other.page_map[b - 1].major)
544
0
      {
545
0
  a--;
546
0
  b--;
547
0
  count--;
548
0
  page_map[count] = page_map[a];
549
0
  page_at (count).v = op (page_at (a).v, other.page_at (b).v);
550
0
      }
551
0
      else if (page_map[a - 1].major > other.page_map[b - 1].major)
552
0
      {
553
0
  a--;
554
0
  if (passthru_left)
555
0
  {
556
0
    count--;
557
0
    page_map[count] = page_map[a];
558
0
  }
559
0
      }
560
0
      else
561
0
      {
562
0
  b--;
563
0
  if (passthru_right)
564
0
  {
565
0
    count--;
566
0
    page_map[count].major = other.page_map[b].major;
567
0
    page_map[count].index = next_page++;
568
0
    page_at (count).v = other.page_at (b).v;
569
0
  }
570
0
      }
571
0
    }
572
0
    if (passthru_left)
573
0
      while (a)
574
0
      {
575
0
  a--;
576
0
  count--;
577
0
  page_map[count] = page_map [a];
578
0
      }
579
0
    if (passthru_right)
580
0
      while (b)
581
0
      {
582
0
  b--;
583
0
  count--;
584
0
  page_map[count].major = other.page_map[b].major;
585
0
  page_map[count].index = next_page++;
586
0
  page_at (count).v = other.page_at (b).v;
587
0
      }
588
0
    assert (!count);
589
0
    resize (newCount);
590
0
  }
591
  template <typename Op>
592
  static hb_bit_page_t::vector_t
593
  op_ (const hb_bit_page_t::vector_t &a, const hb_bit_page_t::vector_t &b)
594
0
  { return Op{} (a, b); }
Unexecuted instantiation: hb-aat-layout.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-layout.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-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_<$_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_<$_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_<$_15>(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_<$_19>(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_<$_23>(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_<$_15>(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_<$_19>(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_<$_23>(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_<$_15>(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_<$_19>(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_<$_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_<$_15>(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_<$_19>(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_<$_23>(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_<$_15>(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_<$_16>(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_<$_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_<$_23>(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_<$_15>(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_<$_19>(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_<$_23>(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_<$_16>(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_<$_15>(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_<$_23>(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-math.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-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_<$_19>(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_<$_23>(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_<$_15>(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_<$_19>(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_<$_23>(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_<$_15>(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_<$_19>(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_<$_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_<$_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-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-ot-cff1-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-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_<$_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_<$_23>(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_<$_15>(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_<$_19>(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_<$_23>(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_<$_15>(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_<$_16>(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_<$_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_<$_23>(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_<$_15>(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_<$_16>(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_<$_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_<$_23>(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&)
595
  template <typename Op>
596
  void process (const Op& op, const hb_bit_set_t &other)
597
0
  {
598
0
    process_ (op_<Op>, op (1, 0), op (0, 1), other);
599
0
  }
Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-aat-layout.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&)
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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-aat-layout.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<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-common.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-face.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-font.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-font.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<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-color.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_15>($_15 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_16>($_16 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-face.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-font.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_16>($_16 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-layout.cc:void hb_bit_set_t::process<$_15>($_15 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<$_23>($_23 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-math.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-math.cc:void hb_bit_set_t::process<$_23>($_23 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<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-metrics.cc:void hb_bit_set_t::process<$_23>($_23 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<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-var.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<$_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-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-ot-cff1-table.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-cff1-table.cc:void hb_bit_set_t::process<$_23>($_23 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_15>($_15 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-cff2-table.cc:void hb_bit_set_t::process<$_23>($_23 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<$_15>($_15 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_16>($_16 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-shaper-arabic.cc:void hb_bit_set_t::process<$_23>($_23 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<$_15>($_15 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_16>($_16 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<$_19>($_19 const&, hb_bit_set_t const&)
Unexecuted instantiation: hb-ot-shape-fallback.cc:void hb_bit_set_t::process<$_23>($_23 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&)
600
601
0
  void union_ (const hb_bit_set_t &other) { process (hb_bitwise_or, other); }
602
0
  void intersect (const hb_bit_set_t &other) { process (hb_bitwise_and, other); }
603
0
  void subtract (const hb_bit_set_t &other) { process (hb_bitwise_gt, other); }
604
0
  void symmetric_difference (const hb_bit_set_t &other) { process (hb_bitwise_xor, other); }
605
606
  bool next (hb_codepoint_t *codepoint) const
607
0
  {
608
    // TODO: this should be merged with prev() as both implementations
609
    //       are very similar.
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.get_relaxed ();
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 &current = 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.set_relaxed (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 &current = page_map.arrayZ[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.set_relaxed (i);
649
0
  return true;
650
0
      }
651
0
    }
652
0
    last_page_lookup.set_relaxed (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[i].major == map.major)
667
0
    {
668
0
      if (pages[page_map[i].index].previous (codepoint))
669
0
      {
670
0
  *codepoint += page_map[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[page_map[i].index].get_max ();
678
0
      if (m != INVALID)
679
0
      {
680
0
  *codepoint = page_map[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.get_relaxed ();
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.get_relaxed ();
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
4.71M
  {
898
4.71M
    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
4.71M
    unsigned i = last_page_lookup.get_relaxed ();
904
4.71M
    if (likely (i < page_map.length))
905
4.45M
    {
906
4.45M
      auto &cached_page = page_map.arrayZ[i];
907
4.45M
      if (cached_page.major == major)
908
2.36M
  return &pages[cached_page.index];
909
4.45M
    }
910
911
2.35M
    page_map_t map = {major, pages.length};
912
2.35M
    if (!page_map.bfind (map, &i, HB_NOT_FOUND_STORE_CLOSEST))
913
1.97M
    {
914
1.97M
      if (!insert)
915
0
        return nullptr;
916
917
1.97M
      if (unlikely (!resize (pages.length + 1)))
918
7.65k
  return nullptr;
919
920
1.96M
      pages[map.index].init0 ();
921
1.96M
      memmove (page_map + i + 1,
922
1.96M
         page_map + i,
923
1.96M
         (page_map.length - 1 - i) * page_map.item_size);
924
1.96M
      page_map[i] = map;
925
1.96M
    }
926
927
2.35M
    last_page_lookup.set_relaxed (i);
928
2.35M
    return &pages[page_map[i].index];
929
2.35M
  }
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.get_relaxed ();
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[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.set_relaxed (i);
950
0
    return &pages[page_map[i].index];
951
0
  }
952
0
  page_t &page_at (unsigned int i) { return pages[page_map[i].index]; }
953
0
  const page_t &page_at (unsigned int i) const { return pages[page_map[i].index]; }
954
8.46M
  unsigned int get_major (hb_codepoint_t g) const { return g >> page_t::PAGE_BITS_LOG_2; }
955
0
  unsigned int page_remainder (hb_codepoint_t g) const { return g & page_t::PAGE_BITMASK; }
956
1.95M
  hb_codepoint_t major_start (unsigned int major) const { return major << page_t::PAGE_BITS_LOG_2; }
957
};
958
959
960
#endif /* HB_BIT_SET_HH */