Lines Matching refs:utf32
98 static picoos_uint32 base_utf32_lowercase (picoos_uint32 utf32) in base_utf32_lowercase() argument
103 lc = utf32; in base_utf32_lowercase()
104 if (((utf32 >= 65313) && (utf32 <= 65338))) { in base_utf32_lowercase()
105 lc = (utf32 + 32); in base_utf32_lowercase()
106 } else if (((utf32 >= 66560) && (utf32 <= 66599))) { in base_utf32_lowercase()
107 lc = (utf32 + 40); in base_utf32_lowercase()
108 } else if (((utf32 >= 7680) && (utf32 <= 9423))) { in base_utf32_lowercase()
109 switch (utf32) { in base_utf32_lowercase()
131 if ( !(((utf32) % 2 == 1))) { in base_utf32_lowercase()
132 lc = (utf32 + 1); in base_utf32_lowercase()
142 lc = (utf32 - 8); in base_utf32_lowercase()
145 if (((utf32) % 2 == 1)) { in base_utf32_lowercase()
146 lc = (utf32 - 8); in base_utf32_lowercase()
151 lc = (utf32 + 16); in base_utf32_lowercase()
156 lc = (utf32 + 26); in base_utf32_lowercase()
243 switch (utf32) { in base_utf32_lowercase()
255 lc = (utf32 + 32); in base_utf32_lowercase()
287 if ( !(((utf32) % 2 == 1))) { in base_utf32_lowercase()
288 lc = (utf32 + 1); in base_utf32_lowercase()
296 if (((utf32) % 2 == 1)) { in base_utf32_lowercase()
297 lc = (utf32 + 1); in base_utf32_lowercase()
302 lc = (utf32 + 80); in base_utf32_lowercase()
308 lc = (utf32 + 48); in base_utf32_lowercase()
496 static picoos_uint32 base_utf32_uppercase (picoos_uint32 utf32) in base_utf32_uppercase() argument
500 lc = utf32; in base_utf32_uppercase()
501 if (((utf32 >= 65345) && (utf32 <= 65370))) { in base_utf32_uppercase()
502 lc = (utf32 - 32); in base_utf32_uppercase()
503 } else if (((utf32 >= 66600) && (utf32 <= 66639))) { in base_utf32_uppercase()
504 lc = (utf32 - 40); in base_utf32_uppercase()
505 } else if (((utf32 >= 7681) && (utf32 <= 9449))) { in base_utf32_uppercase()
506 switch (utf32) { in base_utf32_uppercase()
528 if (((utf32) % 2 == 1)) { in base_utf32_uppercase()
529 lc = (utf32 - 1); in base_utf32_uppercase()
539 lc = (utf32 + 8); in base_utf32_uppercase()
542 if (((utf32) % 2 == 1)) { in base_utf32_uppercase()
543 lc = (utf32 + 8); in base_utf32_uppercase()
548 lc = (utf32 - 16); in base_utf32_uppercase()
553 lc = (utf32 - 26); in base_utf32_uppercase()
637 switch (utf32) { in base_utf32_uppercase()
649 if ((utf32 != 247)) { in base_utf32_uppercase()
650 lc = (utf32 - 32); in base_utf32_uppercase()
683 if (((utf32) % 2 == 1)) { in base_utf32_uppercase()
684 lc = (utf32 - 1); in base_utf32_uppercase()
692 if ( !(((utf32) % 2 == 1))) { in base_utf32_uppercase()
693 lc = (utf32 - 1); in base_utf32_uppercase()
698 lc = (utf32 - 80); in base_utf32_uppercase()
704 lc = (utf32 - 48); in base_utf32_uppercase()
1092 static picoos_int32 picobase_utf32_to_utf8 (picobase_utf32 utf32, picobase_utf8 utf8[], picoos_int3… in picobase_utf32_to_utf8() argument
1098 if (utf32 < 128) { in picobase_utf32_to_utf8()
1100 utf8[0] = utf32; in picobase_utf32_to_utf8()
1101 } else if (utf32 < 2048) { in picobase_utf32_to_utf8()
1103 utf8[1] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1104 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1105 utf8[0] = (192 + (utf32 % 32)); in picobase_utf32_to_utf8()
1106 } else if (utf32 < 65536) { in picobase_utf32_to_utf8()
1108 utf8[2] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1109 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1110 utf8[1] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1111 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1112 utf8[0] = (224 + utf32); in picobase_utf32_to_utf8()
1113 } else if (utf32 < 1048576) { in picobase_utf32_to_utf8()
1115 utf8[3] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1116 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1117 utf8[2] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1118 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1119 utf8[1] = (128 + (utf32 % 64)); in picobase_utf32_to_utf8()
1120 utf32 = (utf32 / 64); in picobase_utf32_to_utf8()
1121 utf8[0] = (240 + utf32); in picobase_utf32_to_utf8()
1144 picobase_utf32 utf32; in picobase_lowercase_utf8_str() local
1152 utf32 = picobase_utf8_to_utf32(utf8char, & done1); in picobase_lowercase_utf8_str()
1153 utf32 = base_utf32_lowercase(utf32); in picobase_lowercase_utf8_str()
1154 l = picobase_utf32_to_utf8(utf32, utf8char, PICOBASE_UTF8_MAXLEN, & done1); in picobase_lowercase_utf8_str()
1175 picobase_utf32 utf32; in picobase_uppercase_utf8_str() local
1183 utf32 = picobase_utf8_to_utf32(utf8char, & done1); in picobase_uppercase_utf8_str()
1184 utf32 = base_utf32_uppercase(utf32); in picobase_uppercase_utf8_str()
1185 l = picobase_utf32_to_utf8(utf32, utf8char, PICOBASE_UTF8_MAXLEN, & done1); in picobase_uppercase_utf8_str()
1203 picoos_uint32 utf32; in picobase_is_utf8_uppercase() local
1211 utf32 = picobase_utf8_to_utf32(utf8char,& done); in picobase_is_utf8_uppercase()
1212 isUpperCase = isUpperCase && (utf32 == base_utf32_uppercase(utf32)); in picobase_is_utf8_uppercase()
1222 picoos_uint32 utf32; in picobase_is_utf8_lowercase() local
1230 utf32 = picobase_utf8_to_utf32(utf8char,& done); in picobase_is_utf8_lowercase()
1231 isLowerCase = isLowerCase && (utf32 == base_utf32_lowercase(utf32)); in picobase_is_utf8_lowercase()