aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/.generated/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/.generated/utf8.c')
-rw-r--r--sys/libn/.generated/utf8.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/sys/libn/.generated/utf8.c b/sys/libn/.generated/utf8.c
index 862f100..e101e1a 100644
--- a/sys/libn/.generated/utf8.c
+++ b/sys/libn/.generated/utf8.c
@@ -1,7 +1,7 @@
-Rune*
-rbsearch(Rune c, Rune* t, int n, int nelem)
+rune*
+rbsearch(rune c, rune* t, int n, int nelem)
{
- Rune* p;
+ rune* p;
int m;
while (n > 1) {
@@ -19,18 +19,18 @@ rbsearch(Rune c, Rune* t, int n, int nelem)
else
return 0;
}
-static Rune isspace_rtab[] = {
+static rune isspace_rtab[] = {
0x0009, 0x000c, 0x2000, 0x200a, 0x2028, 0x2029,
};
-static Rune isspace_stab[] = {
+static rune isspace_stab[] = {
0x0020, 0x0085, 0x00a0, 0x1680, 0x202f, 0x205f, 0x3000,
};
int
-utf8·IsSpace(Rune c)
+utf8·isspace(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, isspace_rtab, arrlen(isspace_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;
@@ -40,7 +40,7 @@ utf8·IsSpace(Rune c)
return 0;
}
-static Rune islower_rtab[] = {
+static rune islower_rtab[] = {
0x0061, 0x007a, 0x00df, 0x00f6, 0x00f8, 0x00ff, 0x0137, 0x0138, 0x0148, 0x0149,
0x017e, 0x0180, 0x018c, 0x018d, 0x0199, 0x019b, 0x01aa, 0x01ab, 0x01b9, 0x01ba,
0x01bd, 0x01bf, 0x01dc, 0x01dd, 0x01ef, 0x01f0, 0x0233, 0x0239, 0x023f, 0x0240,
@@ -64,7 +64,7 @@ static Rune islower_rtab[] = {
0x1d78a, 0x1d78f, 0x1d7aa, 0x1d7c2, 0x1d7c4, 0x1d7c9,
};
-static Rune islower_stab[] = {
+static rune islower_stab[] = {
0x00b5, 0x0101, 0x0103, 0x0105, 0x0107, 0x0109, 0x010b, 0x010d, 0x010f, 0x0111, 0x0113,
0x0115, 0x0117, 0x0119, 0x011b, 0x011d, 0x011f, 0x0121, 0x0123, 0x0125, 0x0127, 0x0129,
0x012b, 0x012d, 0x012f, 0x0131, 0x0133, 0x0135, 0x013a, 0x013c, 0x013e, 0x0140, 0x0142,
@@ -117,9 +117,9 @@ static Rune islower_stab[] = {
};
int
-utf8·IsLower(Rune c)
+utf8·islower(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, islower_rtab, arrlen(islower_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;
@@ -129,7 +129,7 @@ utf8·IsLower(Rune c)
return 0;
}
-static Rune isupper_rtab[] = {
+static rune isupper_rtab[] = {
0x0041, 0x005a, 0x00c0, 0x00d6, 0x00d8, 0x00de, 0x0178, 0x0179, 0x0181, 0x0182,
0x0186, 0x0187, 0x0189, 0x018b, 0x018e, 0x0191, 0x0193, 0x0194, 0x0196, 0x0198,
0x019c, 0x019d, 0x019f, 0x01a0, 0x01a6, 0x01a7, 0x01ae, 0x01af, 0x01b1, 0x01b3,
@@ -150,7 +150,7 @@ static Rune isupper_rtab[] = {
0x1d6a8, 0x1d6c0, 0x1d6e2, 0x1d6fa, 0x1d71c, 0x1d734, 0x1d756, 0x1d76e, 0x1d790, 0x1d7a8,
};
-static Rune isupper_stab[] = {
+static rune isupper_stab[] = {
0x0100, 0x0102, 0x0104, 0x0106, 0x0108, 0x010a, 0x010c, 0x010e, 0x0110, 0x0112, 0x0114,
0x0116, 0x0118, 0x011a, 0x011c, 0x011e, 0x0120, 0x0122, 0x0124, 0x0126, 0x0128, 0x012a,
0x012c, 0x012e, 0x0130, 0x0132, 0x0134, 0x0136, 0x0139, 0x013b, 0x013d, 0x013f, 0x0141,
@@ -204,9 +204,9 @@ static Rune isupper_stab[] = {
};
int
-utf8·IsUpper(Rune c)
+utf8·isupper(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, isupper_rtab, arrlen(isupper_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;
@@ -216,18 +216,18 @@ utf8·IsUpper(Rune c)
return 0;
}
-static Rune istitle_rtab[] = {
+static rune istitle_rtab[] = {
0x1f88, 0x1f8f, 0x1f98, 0x1f9f, 0x1fa8, 0x1faf,
};
-static Rune istitle_stab[] = {
+static rune istitle_stab[] = {
0x01c5, 0x01c8, 0x01cb, 0x01f2, 0x1fbc, 0x1fcc,
};
int
-utf8·IsTitle(Rune c)
+utf8·istitle(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, istitle_rtab, arrlen(istitle_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;
@@ -237,7 +237,7 @@ utf8·IsTitle(Rune c)
return 0;
}
-static Rune isletter_rtab[] = {
+static rune isletter_rtab[] = {
0x0041, 0x005a, 0x0061, 0x007a, 0x00c0, 0x00d6, 0x00d8, 0x00f6, 0x00f8, 0x02c1,
0x02c6, 0x02d1, 0x02e0, 0x02e4, 0x0370, 0x0374, 0x0376, 0x0377, 0x037a, 0x037d,
0x0388, 0x038a, 0x038e, 0x03a1, 0x03a3, 0x03f5, 0x03f7, 0x0481, 0x048a, 0x052f,
@@ -333,7 +333,7 @@ static Rune isletter_rtab[] = {
0x1ee80, 0x1ee89, 0x1ee8b, 0x1ee9b, 0x1eea1, 0x1eea3, 0x1eea5, 0x1eea9, 0x1eeab, 0x1eebb,
};
-static Rune isletter_stab[] = {
+static rune isletter_stab[] = {
0x00aa, 0x00b5, 0x00ba, 0x02ec, 0x02ee, 0x037f, 0x0386, 0x038c, 0x0559, 0x06d5,
0x06ff, 0x0710, 0x07b1, 0x07fa, 0x081a, 0x0824, 0x0828, 0x093d, 0x0950, 0x09b2,
0x09bd, 0x09ce, 0x09fc, 0x0a5e, 0x0abd, 0x0ad0, 0x0af9, 0x0b3d, 0x0b71, 0x0b83,
@@ -352,9 +352,9 @@ static Rune isletter_stab[] = {
};
int
-utf8·IsLetter(Rune c)
+utf8·isletter(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, isletter_rtab, arrlen(isletter_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;
@@ -364,7 +364,7 @@ utf8·IsLetter(Rune c)
return 0;
}
-static Rune isdigit_rtab[] = {
+static rune isdigit_rtab[] = {
0x0030, 0x0039, 0x0660, 0x0669, 0x06f0, 0x06f9, 0x07c0, 0x07c9, 0x0966, 0x096f,
0x09e6, 0x09ef, 0x0a66, 0x0a6f, 0x0ae6, 0x0aef, 0x0b66, 0x0b6f, 0x0be6, 0x0bef,
0x0c66, 0x0c6f, 0x0ce6, 0x0cef, 0x0d66, 0x0d6f, 0x0de6, 0x0def, 0x0e50, 0x0e59,
@@ -380,9 +380,9 @@ static Rune isdigit_rtab[] = {
};
int
-utf8·IsDigit(Rune c)
+utf8·isdigit(rune c)
{
- Rune* p;
+ rune* p;
p = rbsearch(c, isdigit_rtab, arrlen(isdigit_rtab) / 2, 2);
if (p && c >= p[0] && c <= p[1]) return 1;