13#define FLAG(x) (1
<< (x))
16
17
18
19
20
21
22
23
24
25
26
29
30
31
32
35
36
37
38
39
42
43
44
45
46
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
578
579
580
583
584
585
588
589
590
591
592
593
596
597
598
599
600
601
602
603
604
605
606
609
610
611
612
613
614
617
618
619
620
621
622
623
626
627
628
629
630
631
632
633
634
637
638
639
640
641
642
643
644
645
646
647
650
651
652
653
654
655
656
657
658
659
660
663
664
665
666
667
668
671
672
673
674
675
676
679
680
681
682
683
684
687
688
689
690
691
692
695
696
697
698
699
700
703
704
705
706
707
708
711
712
713
714
715
716
717
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
751
752
753
754
755
758
759
760
761
762
763
766
767
768
769
770
771
774
775
776
777
778
779
780
781
784
785
786
787
788
789
790
791
792
793
794
795
796bool QChar::isPrint(
char32_t ucs4)
noexcept
798 if (ucs4 > LastValidCodePoint)
800 const int test =
FLAG(Other_Control) |
802 FLAG(Other_Surrogate) |
803 FLAG(Other_PrivateUse) |
804 FLAG(Other_NotAssigned);
805 return !(
FLAG(qGetProp(ucs4)->category) & test);
809
810
811
812
813
814
817
818
819
820
821
822
823
824
825
826
829
830
831bool QT_FASTCALL QChar::isSpace_helper(
char32_t ucs4)
noexcept
833 if (ucs4 > LastValidCodePoint)
835 const int test =
FLAG(Separator_Space) |
836 FLAG(Separator_Line) |
837 FLAG(Separator_Paragraph);
838 return FLAG(qGetProp(ucs4)->category) & test;
842
843
844
845
846
847
848
851
852
853
854
855
856
857
858
859bool QChar::isMark(
char32_t ucs4)
noexcept
861 if (ucs4 > LastValidCodePoint)
863 const int test =
FLAG(Mark_NonSpacing) |
864 FLAG(Mark_SpacingCombining) |
865 FLAG(Mark_Enclosing);
866 return FLAG(qGetProp(ucs4)->category) & test;
870
871
872
873
874
877
878
879
880
881
882
883
884
885bool QChar::isPunct(
char32_t ucs4)
noexcept
887 if (ucs4 > LastValidCodePoint)
889 const int test =
FLAG(Punctuation_Connector) |
890 FLAG(Punctuation_Dash) |
891 FLAG(Punctuation_Open) |
892 FLAG(Punctuation_Close) |
893 FLAG(Punctuation_InitialQuote) |
894 FLAG(Punctuation_FinalQuote) |
895 FLAG(Punctuation_Other);
896 return FLAG(qGetProp(ucs4)->category) & test;
900
901
902
903
904
907
908
909
910
911
912
913
914
915bool QChar::isSymbol(
char32_t ucs4)
noexcept
917 if (ucs4 > LastValidCodePoint)
919 const int test =
FLAG(Symbol_Math) |
920 FLAG(Symbol_Currency) |
921 FLAG(Symbol_Modifier) |
923 return FLAG(qGetProp(ucs4)->category) & test;
927
928
929
930
931
934
935
936
937
938
939
940
941
942
945
946
947bool QT_FASTCALL QChar::isLetter_helper(
char32_t ucs4)
noexcept
949 if (ucs4 > LastValidCodePoint)
951 const int test =
FLAG(Letter_Uppercase) |
952 FLAG(Letter_Lowercase) |
953 FLAG(Letter_Titlecase) |
954 FLAG(Letter_Modifier) |
956 return FLAG(qGetProp(ucs4)->category) & test;
960
961
962
963
964
965
966
969
970
971
972
973
974
975
976
977
978
979
982
983
984bool QT_FASTCALL QChar::isNumber_helper(
char32_t ucs4)
noexcept
986 if (ucs4 > LastValidCodePoint)
988 const int test =
FLAG(Number_DecimalDigit) |
989 FLAG(Number_Letter) |
991 return FLAG(qGetProp(ucs4)->category) & test;
995
996
997
998
999
1002
1003
1004
1005
1006
1007
1008
1009
1010
1013
1014
1015bool QT_FASTCALL QChar::isLetterOrNumber_helper(
char32_t ucs4)
noexcept
1017 if (ucs4 > LastValidCodePoint)
1019 const int test =
FLAG(Letter_Uppercase) |
1020 FLAG(Letter_Lowercase) |
1021 FLAG(Letter_Titlecase) |
1022 FLAG(Letter_Modifier) |
1023 FLAG(Letter_Other) |
1024 FLAG(Number_DecimalDigit) |
1025 FLAG(Number_Letter) |
1027 return FLAG(qGetProp(ucs4)->category) & test;
1031
1032
1033
1034
1035
1036
1037
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1066
1067
1068
1069
1070
1073
1074
1075
1076
1077
1080
1081
1082
1083
1084
1085
1086
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1106
1107
1108
1109
1110
1111
1112
1113
1114
1117
1118
1119
1120
1121
1122
1123
1124
1125
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1141
1142
1143
1144
1145
1146
1147
1148
1149
1152
1153
1154
1155
1156
1157
1158
1161
1162
1163
1164
1165
1166
1167
1170
1171
1172
1173
1174
1175
1176
1179
1180
1181
1182
1183
1184
1185
1188
1189
1190
1191
1194
1195
1196
1197
1198
1199
1200int QChar::digitValue(
char32_t ucs4)
noexcept
1202 if (ucs4 > LastValidCodePoint)
1204 return qGetProp(ucs4)->digitValue;
1208
1209
1210
1211
1214
1215
1216
1217
1218
1219QChar::Category QChar::category(
char32_t ucs4)
noexcept
1221 if (ucs4 > LastValidCodePoint)
1222 return QChar::Other_NotAssigned;
1223 return (QChar::Category) qGetProp(ucs4)->category;
1227
1228
1229
1230
1233
1234
1235
1236
1237
1238QChar::Direction QChar::direction(
char32_t ucs4)
noexcept
1240 if (ucs4 > LastValidCodePoint)
1242 return (QChar::Direction) qGetProp(ucs4)->direction;
1246
1247
1248
1249
1250
1251
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263QChar::JoiningType QChar::joiningType(
char32_t ucs4)
noexcept
1265 if (ucs4 > LastValidCodePoint)
1266 return QChar::Joining_None;
1267 return QChar::JoiningType(qGetProp(ucs4)->joining);
1271
1272
1273
1274
1275
1276
1277
1278
1279
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294bool QChar::hasMirrored(
char32_t ucs4)
noexcept
1296 if (ucs4 > LastValidCodePoint)
1298 return qGetProp(ucs4)->mirrorDiff != 0;
1302
1303
1304
1305
1306
1307
1308
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1324
1325
1326
1327
1328
1329
1330
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1346
1347
1348
1349
1350
1351
1352
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1367
1368
1369
1370
1371
1372
1373
1376
1377
1378
1379
1380
1381
1382
1383
1384char32_t QChar::mirroredChar(
char32_t ucs4)
noexcept
1386 if (ucs4 > LastValidCodePoint)
1388 return ucs4 + qGetProp(ucs4)->mirrorDiff;
1403static const QChar * QT_FASTCALL decompositionHelper(
1404 char32_t ucs4, qsizetype *length, QChar::Decomposition *tag, QChar *buffer)
1406 if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount) {
1408 const char32_t SIndex = ucs4 - Hangul_SBase;
1409 buffer[0] = QChar(Hangul_LBase + SIndex / Hangul_NCount);
1410 buffer[1] = QChar(Hangul_VBase + (SIndex % Hangul_NCount) / Hangul_TCount);
1411 buffer[2] = QChar(Hangul_TBase + SIndex % Hangul_TCount);
1412 *length = buffer[2].unicode() == Hangul_TBase ? 2 : 3;
1413 *tag = QChar::Canonical;
1418 if (index == 0xffff) {
1420 *tag = QChar::NoDecomposition;
1424 const unsigned short *decomposition = uc_decomposition_map+index;
1425 *tag = QChar::Decomposition((*decomposition) & 0xff);
1426 *length = (*decomposition) >> 8;
1427 return reinterpret_cast<
const QChar *>(decomposition + 1);
1431
1432
1433
1434QString QChar::decomposition()
const
1436 return QChar::decomposition(ucs);
1440
1441
1442
1443
1444
1445
1446QString QChar::decomposition(
char32_t ucs4)
1450 QChar::Decomposition tag;
1451 const QChar *d = decompositionHelper(ucs4, &length, &tag, buffer);
1452 return QString(d, length);
1456
1457
1458
1459
1460
1463
1464
1465
1466
1467
1468
1469QChar::Decomposition QChar::decompositionTag(
char32_t ucs4)
noexcept
1471 if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount)
1472 return QChar::Canonical;
1474 if (index == 0xffff)
1475 return QChar::NoDecomposition;
1476 return (QChar::Decomposition)(uc_decomposition_map[index] & 0xff);
1480
1481
1482
1483
1484
1485
1486
1487
1488
1491
1492
1493
1494
1495
1496
1497unsigned char QChar::combiningClass(
char32_t ucs4)
noexcept
1499 if (ucs4 > LastValidCodePoint)
1501 return (
unsigned char) qGetProp(ucs4)->combiningClass;
1505
1506
1507
1508
1509
1512
1513
1514
1515
1516
1517
1518
1519
1520QChar::Script QChar::script(
char32_t ucs4)
noexcept
1522 if (ucs4 > LastValidCodePoint)
1523 return QChar::Script_Unknown;
1524 return (QChar::Script) qGetProp(ucs4)->script;
1528
1529
1530
1531
1534
1535
1536
1537
1538
1539
1540QChar::UnicodeVersion QChar::unicodeVersion(
char32_t ucs4)
noexcept
1542 if (ucs4 > LastValidCodePoint)
1543 return QChar::Unicode_Unassigned;
1544 return (QChar::UnicodeVersion) qGetProp(ucs4)->unicodeVersion;
1548
1549
1550QChar::UnicodeVersion QChar::currentUnicodeVersion()
noexcept
1562 auto begin()
const {
return chars; }
1563 auto end()
const {
return chars + sz; }
1565 auto data()
const {
return chars; }
1566 auto size()
const {
return sz; }
1568 Q_ASSERT(uc <= QChar::LastValidCodePoint);
1570 auto pp = result.chars;
1572 const auto fold = qGetProp(uc)->cases[which];
1573 const auto caseDiff = fold.diff;
1575 if (Q_UNLIKELY(fold.special)) {
1577 auto length = *specialCase++;
1579 *pp++ = *specialCase++;
1582 for (
char16_t c : QChar::fromUcs4(uc + caseDiff))
1585 result.sz = pp - result.chars;
1589template <
typename T>
1590Q_DECL_CONST_FUNCTION
static inline T convertCase_helper(T uc, QUnicodeTables::Case which)
noexcept
1592 const auto fold = qGetProp(uc)->cases[which];
1594 if (Q_UNLIKELY(fold.special)) {
1595 const ushort *specialCase = specialCaseMap + fold.diff;
1597 return *specialCase == 1 ? specialCase[1] : uc;
1600 return uc + fold.diff;
1604
1605
1606
1607
1608
1611
1612
1613
1614
1615
1616
1617
1618char32_t QChar::toLower(
char32_t ucs4)
noexcept
1620 if (ucs4 > LastValidCodePoint)
1622 return convertCase_helper(ucs4, QUnicodeTables::LowerCase);
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650char32_t QChar::toUpper(
char32_t ucs4)
noexcept
1652 if (ucs4 > LastValidCodePoint)
1654 return convertCase_helper(ucs4, QUnicodeTables::UpperCase);
1658
1659
1660
1661
1662
1665
1666
1667
1668
1669
1670
1671
1672char32_t QChar::toTitleCase(
char32_t ucs4)
noexcept
1674 if (ucs4 > LastValidCodePoint)
1676 return convertCase_helper(ucs4, QUnicodeTables::TitleCase);
1679static inline char32_t foldCase(
const char16_t *ch,
const char16_t *start)
1681 char32_t ucs4 = *ch;
1682 if (QChar::isLowSurrogate(ucs4) && ch > start && QChar::isHighSurrogate(*(ch - 1)))
1683 ucs4 = QChar::surrogateToUcs4(*(ch - 1), ucs4);
1687static inline char32_t foldCase(
char32_t ch,
char32_t &last)
noexcept
1690 if (QChar::isLowSurrogate(ucs4) && QChar::isHighSurrogate(last))
1691 ucs4 = QChar::surrogateToUcs4(last, ucs4);
1703 return QChar(foldCase(ch.unicode()));
1707
1708
1709
1710
1711
1714
1715
1716
1717
1718
1719
1720char32_t QChar::toCaseFolded(
char32_t ucs4)
noexcept
1722 if (ucs4 > LastValidCodePoint)
1724 return convertCase_helper(ucs4, QUnicodeTables::CaseFold);
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1740
1741
1742
1743
1744
1745
1746
1747
1748
1751
1752
1753
1754
1757
1758
1759
1760
1763
1764
1767
1768
1769
1770
1771
1774
1775
1776
1777
1778
1781
1782
1783
1784
1785
1788
1789
1790
1791
1792
1795
1796
1797
1798
1799
1802
1803
1804
1805
1806
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1829static void decomposeHelper(QString *str,
bool canonical, QChar::UnicodeVersion version, qsizetype from)
1832 QChar::Decomposition tag;
1837 const unsigned short *utf16 =
reinterpret_cast<
unsigned short *>(s.data());
1838 const unsigned short *uc = utf16 + s.size();
1839 while (uc != utf16 + from) {
1840 char32_t ucs4 = *(--uc);
1841 if (QChar(ucs4).isLowSurrogate() && uc != utf16) {
1842 ushort high = *(uc - 1);
1843 if (QChar(high).isHighSurrogate()) {
1845 ucs4 = QChar::surrogateToUcs4(high, ucs4);
1849 if (QChar::unicodeVersion(ucs4) > version)
1852 const QChar *d = decompositionHelper(ucs4, &length, &tag, buffer);
1853 if (!d || (canonical && tag != QChar::Canonical))
1856 qsizetype pos = uc - utf16;
1857 s.replace(pos, QChar::requiresSurrogates(ucs4) ? 2 : 1, d, length);
1859 utf16 =
reinterpret_cast<
unsigned short *>(s.data());
1860 uc = utf16 + pos + length;
1871{
return ligature1
.u1 < ligature2
.u1; }
1873{
return u1 < ligature
.u1; }
1875{
return ligature
.u1 < u1; }
1883{
return QChar::surrogateToUcs4(ligature1.p1.u1, ligature1.p1.u2) < QChar::surrogateToUcs4(ligature2.p1.u1, ligature2.p1.u2); }
1885{
return u1 < QChar::surrogateToUcs4(ligature.p1.u1, ligature.p1.u2); }
1887{
return QChar::surrogateToUcs4(ligature.p1.u1, ligature.p1.u2) < u1; }
1898 return Hangul_SBase + (LIndex * Hangul_VCount + VIndex) * Hangul_TCount;
1902 if (SIndex <
Hangul_SCount && (SIndex % Hangul_TCount) == 0) {
1910 if (index == 0xffff)
1913 ushort length = *ligatures++;
1914 if (QChar::requiresSurrogates(u1)) {
1917 if (r != data + length && QChar::surrogateToUcs4(r->p1.u1, r->p1.u2) == u1)
1918 return QChar::surrogateToUcs4(r->p2.u1, r->p2.u2);
1921 const UCS2Pair *r =
std::lower_bound(data, data + length, ushort(u1));
1922 if (r != data + length && r
->u1 == ushort(u1))
1929static void composeHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
1933 if (from < 0 || s.size() - from < 2)
1936 char32_t stcode = 0;
1937 qsizetype starter = -1;
1938 qsizetype next = -1;
1939 int lastCombining = 255;
1941 qsizetype pos = from;
1942 while (pos < s.size()) {
1944 char32_t uc = s.at(pos).unicode();
1945 if (QChar(uc).isHighSurrogate() && pos < s.size()-1) {
1946 ushort low = s.at(pos+1).unicode();
1947 if (QChar(low).isLowSurrogate()) {
1948 uc = QChar::surrogateToUcs4(uc, low);
1953 const QUnicodeTables::Properties *p = qGetProp(uc);
1954 if (p->unicodeVersion > version) {
1957 lastCombining = 255;
1962 int combining = p->combiningClass;
1963 if ((i == next || combining > lastCombining) && starter >= from) {
1968 QChar *d = s.data();
1971 for (QChar ch : QChar::fromUcs4(ligature))
1972 d[starter + j++] = ch;
1977 if (combining == 0) {
1982 lastCombining = combining;
1992 const qsizetype l = s.size()-1;
1997 qsizetype pos = from;
1999 qsizetype p2 = pos+1;
2000 u1 = s.at(pos).unicode();
2001 if (QChar::isHighSurrogate(u1)) {
2002 const char16_t low = s.at(p2).unicode();
2003 if (QChar::isLowSurrogate(low)) {
2004 u1 = QChar::surrogateToUcs4(u1, low);
2013 u2 = s.at(p2).unicode();
2014 if (QChar::isHighSurrogate(u2) && p2 < l) {
2015 const char16_t low = s.at(p2+1).unicode();
2016 if (QChar::isLowSurrogate(low)) {
2017 u2 = QChar::surrogateToUcs4(u2, low);
2024 const QUnicodeTables::Properties *p = qGetProp(u2);
2025 if (p->unicodeVersion <= version)
2026 c2 = p->combiningClass;
2034 const QUnicodeTables::Properties *p = qGetProp(u1);
2035 if (p->unicodeVersion <= version)
2036 c1 = p->combiningClass;
2040 QChar *uc = s.data();
2043 for (QChar ch : QChar::fromUcs4(u2))
2045 for (QChar ch : QChar::fromUcs4(u1))
2049 if (pos > 0 && s.at(pos).isLowSurrogate())
2053 if (QChar::requiresSurrogates(u1))
2059 if (QChar::requiresSurrogates(u1))
2073 static_assert(QString::NormalizationForm_D == 0);
2074 static_assert(QString::NormalizationForm_C == 1);
2075 static_assert(QString::NormalizationForm_KD == 2);
2076 static_assert(QString::NormalizationForm_KC == 3);
2078 enum { NFQC_YES = 0, NFQC_NO = 1, NFQC_MAYBE = 3 };
2080 const auto *string =
reinterpret_cast<
const char16_t *>(str->constData());
2081 qsizetype length = str->size();
2084 while (length > from && QChar::isHighSurrogate(string[length - 1]))
2087 uchar lastCombining = 0;
2088 for (qsizetype i = from; i < length; ++i) {
2090 char32_t uc = string[i];
2098 if (QChar::isHighSurrogate(uc)) {
2099 ushort low = string[i + 1];
2100 if (!QChar::isLowSurrogate(low)) {
2107 uc = QChar::surrogateToUcs4(uc, low);
2110 const QUnicodeTables::Properties *p = qGetProp(uc);
2112 if (p->combiningClass < lastCombining && p->combiningClass > 0)
2115 const uchar check = (p->nfQuickCheck >> (mode << 1)) & 0x03;
2116 if (check != NFQC_YES)
2119 lastCombining = p->combiningClass;
2120 if (lastCombining == 0)
2124 if (length != str->size())
2125 *lastStable = str->size() - 1;
static constexpr unsigned short specialCaseMap[]
constexpr unsigned int MaxSpecialCaseLength
static constexpr unsigned short uc_ligature_map[]
bool operator<(const UCS2SurrogatePair &ligature, char32_t u1)
static constexpr quint32 Hangul_VCount
static constexpr char32_t Hangul_SBase
static constexpr char32_t Hangul_VBase
bool operator<(ushort u1, const UCS2Pair &ligature)
static constexpr quint32 Hangul_LCount
static char32_t ligatureHelper(char32_t u1, char32_t u2)
bool operator<(const UCS2Pair &ligature, ushort u1)
static void canonicalOrderHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
static constexpr char32_t Hangul_LBase
static constexpr char32_t Hangul_TBase
bool operator<(char32_t u1, const UCS2SurrogatePair &ligature)
static char32_t foldCase(char32_t ch, char32_t &last) noexcept
bool operator<(const UCS2SurrogatePair &ligature1, const UCS2SurrogatePair &ligature2)
bool operator<(const UCS2Pair &ligature1, const UCS2Pair &ligature2)
static auto fullConvertCase(char32_t uc, QUnicodeTables::Case which) noexcept
static constexpr quint32 Hangul_NCount
static void decomposeHelper(QString *str, bool canonical, QChar::UnicodeVersion version, qsizetype from)
static void composeHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
static constexpr quint32 Hangul_SCount
static bool normalizationQuickCheckHelper(QString *str, QString::NormalizationForm mode, qsizetype from, qsizetype *lastStable)
static QChar foldCase(QChar ch) noexcept
static constexpr quint32 Hangul_TCount
static char16_t foldCase(char16_t ch) noexcept
static char32_t foldCase(const char16_t *ch, const char16_t *start)
uint QT_FASTCALL fetch1Pixel< QPixelLayout::BPP1LSB >(const uchar *src, int index)
#define GET_LIGATURE_INDEX(ucs4)
#define GET_DECOMPOSITION_INDEX(ucs4)
#define UNICODE_DATA_VERSION