libc: update wcwidth
This commit is contained in:
parent
b1bc75290d
commit
ed2a59dc41
@ -357,7 +357,7 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0xce6) return -1;
|
||||
else if (wc < 0xcf0) return 1;
|
||||
else if (wc < 0xcf1) return -1;
|
||||
else if (wc < 0xcf3) return 1;
|
||||
else if (wc < 0xcf4) return 1;
|
||||
else if (wc < 0xd00) return -1;
|
||||
else if (wc < 0xd02) return 0;
|
||||
else if (wc < 0xd0d) return 1;
|
||||
@ -435,7 +435,7 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0xec6) return -1;
|
||||
else if (wc < 0xec7) return 1;
|
||||
else if (wc < 0xec8) return -1;
|
||||
else if (wc < 0xece) return 0;
|
||||
else if (wc < 0xecf) return 0;
|
||||
else if (wc < 0xed0) return -1;
|
||||
else if (wc < 0xeda) return 1;
|
||||
else if (wc < 0xedc) return -1;
|
||||
@ -1263,7 +1263,8 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x10eae) return 1;
|
||||
else if (wc < 0x10eb0) return -1;
|
||||
else if (wc < 0x10eb2) return 1;
|
||||
else if (wc < 0x10f00) return -1;
|
||||
else if (wc < 0x10efd) return -1;
|
||||
else if (wc < 0x10f00) return 0;
|
||||
else if (wc < 0x10f28) return 1;
|
||||
else if (wc < 0x10f30) return -1;
|
||||
else if (wc < 0x10f46) return 1;
|
||||
@ -1339,6 +1340,8 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x11238) return 0;
|
||||
else if (wc < 0x1123e) return 1;
|
||||
else if (wc < 0x1123f) return 0;
|
||||
else if (wc < 0x11241) return 1;
|
||||
else if (wc < 0x11242) return 0;
|
||||
else if (wc < 0x11280) return -1;
|
||||
else if (wc < 0x11287) return 1;
|
||||
else if (wc < 0x11288) return -1;
|
||||
@ -1518,6 +1521,8 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x11aa3) return 1;
|
||||
else if (wc < 0x11ab0) return -1;
|
||||
else if (wc < 0x11af9) return 1;
|
||||
else if (wc < 0x11b00) return -1;
|
||||
else if (wc < 0x11b0a) return 1;
|
||||
else if (wc < 0x11c00) return -1;
|
||||
else if (wc < 0x11c09) return 1;
|
||||
else if (wc < 0x11c0a) return -1;
|
||||
@ -1578,6 +1583,18 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x11ef3) return 1;
|
||||
else if (wc < 0x11ef5) return 0;
|
||||
else if (wc < 0x11ef9) return 1;
|
||||
else if (wc < 0x11f00) return -1;
|
||||
else if (wc < 0x11f02) return 0;
|
||||
else if (wc < 0x11f11) return 1;
|
||||
else if (wc < 0x11f12) return -1;
|
||||
else if (wc < 0x11f36) return 1;
|
||||
else if (wc < 0x11f3b) return 0;
|
||||
else if (wc < 0x11f3e) return -1;
|
||||
else if (wc < 0x11f40) return 1;
|
||||
else if (wc < 0x11f41) return 0;
|
||||
else if (wc < 0x11f42) return 1;
|
||||
else if (wc < 0x11f43) return 0;
|
||||
else if (wc < 0x11f5a) return 1;
|
||||
else if (wc < 0x11fb0) return -1;
|
||||
else if (wc < 0x11fb1) return 1;
|
||||
else if (wc < 0x11fc0) return -1;
|
||||
@ -1593,9 +1610,10 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x12f90) return -1;
|
||||
else if (wc < 0x12ff3) return 1;
|
||||
else if (wc < 0x13000) return -1;
|
||||
else if (wc < 0x1342f) return 1;
|
||||
else if (wc < 0x13430) return -1;
|
||||
else if (wc < 0x13439) return 0;
|
||||
else if (wc < 0x13430) return 1;
|
||||
else if (wc < 0x13441) return 0;
|
||||
else if (wc < 0x13447) return 1;
|
||||
else if (wc < 0x13456) return 0;
|
||||
else if (wc < 0x14400) return -1;
|
||||
else if (wc < 0x14647) return 1;
|
||||
else if (wc < 0x16800) return -1;
|
||||
@ -1654,8 +1672,12 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1afff) return 2;
|
||||
else if (wc < 0x1b000) return -1;
|
||||
else if (wc < 0x1b123) return 2;
|
||||
else if (wc < 0x1b132) return -1;
|
||||
else if (wc < 0x1b133) return 2;
|
||||
else if (wc < 0x1b150) return -1;
|
||||
else if (wc < 0x1b153) return 2;
|
||||
else if (wc < 0x1b155) return -1;
|
||||
else if (wc < 0x1b156) return 2;
|
||||
else if (wc < 0x1b164) return -1;
|
||||
else if (wc < 0x1b168) return 2;
|
||||
else if (wc < 0x1b170) return -1;
|
||||
@ -1697,6 +1719,8 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1d242) return 1;
|
||||
else if (wc < 0x1d245) return 0;
|
||||
else if (wc < 0x1d246) return 1;
|
||||
else if (wc < 0x1d2c0) return -1;
|
||||
else if (wc < 0x1d2d4) return 1;
|
||||
else if (wc < 0x1d2e0) return -1;
|
||||
else if (wc < 0x1d2f4) return 1;
|
||||
else if (wc < 0x1d300) return -1;
|
||||
@ -1759,6 +1783,8 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1dab0) return 0;
|
||||
else if (wc < 0x1df00) return -1;
|
||||
else if (wc < 0x1df1f) return 1;
|
||||
else if (wc < 0x1df25) return -1;
|
||||
else if (wc < 0x1df2b) return 1;
|
||||
else if (wc < 0x1e000) return -1;
|
||||
else if (wc < 0x1e007) return 0;
|
||||
else if (wc < 0x1e008) return -1;
|
||||
@ -1769,6 +1795,10 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1e025) return 0;
|
||||
else if (wc < 0x1e026) return -1;
|
||||
else if (wc < 0x1e02b) return 0;
|
||||
else if (wc < 0x1e030) return -1;
|
||||
else if (wc < 0x1e06e) return 1;
|
||||
else if (wc < 0x1e08f) return -1;
|
||||
else if (wc < 0x1e090) return 0;
|
||||
else if (wc < 0x1e100) return -1;
|
||||
else if (wc < 0x1e12d) return 1;
|
||||
else if (wc < 0x1e130) return -1;
|
||||
@ -1787,6 +1817,10 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1e2fa) return 1;
|
||||
else if (wc < 0x1e2ff) return -1;
|
||||
else if (wc < 0x1e300) return 1;
|
||||
else if (wc < 0x1e4d0) return -1;
|
||||
else if (wc < 0x1e4ec) return 1;
|
||||
else if (wc < 0x1e4f0) return 0;
|
||||
else if (wc < 0x1e4fa) return 1;
|
||||
else if (wc < 0x1e7e0) return -1;
|
||||
else if (wc < 0x1e7e7) return 1;
|
||||
else if (wc < 0x1e7e8) return -1;
|
||||
@ -1956,7 +1990,7 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1f6d3) return 2;
|
||||
else if (wc < 0x1f6d5) return 1;
|
||||
else if (wc < 0x1f6d8) return 2;
|
||||
else if (wc < 0x1f6dd) return -1;
|
||||
else if (wc < 0x1f6dc) return -1;
|
||||
else if (wc < 0x1f6e0) return 2;
|
||||
else if (wc < 0x1f6eb) return 1;
|
||||
else if (wc < 0x1f6ed) return 2;
|
||||
@ -1964,9 +1998,9 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1f6f4) return 1;
|
||||
else if (wc < 0x1f6fd) return 2;
|
||||
else if (wc < 0x1f700) return -1;
|
||||
else if (wc < 0x1f774) return 1;
|
||||
else if (wc < 0x1f780) return -1;
|
||||
else if (wc < 0x1f7d9) return 1;
|
||||
else if (wc < 0x1f777) return 1;
|
||||
else if (wc < 0x1f77b) return -1;
|
||||
else if (wc < 0x1f7da) return 1;
|
||||
else if (wc < 0x1f7e0) return -1;
|
||||
else if (wc < 0x1f7ec) return 2;
|
||||
else if (wc < 0x1f7f0) return -1;
|
||||
@ -1994,23 +2028,19 @@ int wcwidth(wchar_t wc) {
|
||||
else if (wc < 0x1fa60) return -1;
|
||||
else if (wc < 0x1fa6e) return 1;
|
||||
else if (wc < 0x1fa70) return -1;
|
||||
else if (wc < 0x1fa75) return 2;
|
||||
else if (wc < 0x1fa78) return -1;
|
||||
else if (wc < 0x1fa7d) return 2;
|
||||
else if (wc < 0x1fa80) return -1;
|
||||
else if (wc < 0x1fa87) return 2;
|
||||
else if (wc < 0x1fa89) return 2;
|
||||
else if (wc < 0x1fa90) return -1;
|
||||
else if (wc < 0x1faad) return 2;
|
||||
else if (wc < 0x1fab0) return -1;
|
||||
else if (wc < 0x1fabb) return 2;
|
||||
else if (wc < 0x1fac0) return -1;
|
||||
else if (wc < 0x1fabe) return 2;
|
||||
else if (wc < 0x1fabf) return -1;
|
||||
else if (wc < 0x1fac6) return 2;
|
||||
else if (wc < 0x1fad0) return -1;
|
||||
else if (wc < 0x1fada) return 2;
|
||||
else if (wc < 0x1face) return -1;
|
||||
else if (wc < 0x1fadc) return 2;
|
||||
else if (wc < 0x1fae0) return -1;
|
||||
else if (wc < 0x1fae8) return 2;
|
||||
else if (wc < 0x1fae9) return 2;
|
||||
else if (wc < 0x1faf0) return -1;
|
||||
else if (wc < 0x1faf7) return 2;
|
||||
else if (wc < 0x1faf9) return 2;
|
||||
else if (wc < 0x1fb00) return -1;
|
||||
else if (wc < 0x1fb93) return 1;
|
||||
else if (wc < 0x1fb94) return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user