mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
49f2be5b0e
* ctype/Versions: Add __ctype32_tolower and __ctype32_toupper. * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper. * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and _nl_C_LC_CTYPE_tolower32 tables. Don't compile it names of 14652 classes and maps. * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and _NL_CTYPE_TOLOWER32. * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper and __ctype32_tolower. * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32. (ctype_output): Write out map32 values. (allocate_arrays): Compute mapping tables correctly. * wctype/wcfuncs.c (towlower): Use __ctype32_tolower. (towupper): Use __ctype32_toupper. * wctype/wctype.h: Optimize towupper and towlower for values < 256.
19 lines
396 B
Plaintext
19 lines
396 B
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# global variables
|
|
__ctype_b; __ctype32_b; __ctype_tolower; __ctype_toupper;
|
|
_tolower; _toupper;
|
|
|
|
# i*
|
|
isalnum; isalpha; isascii; isblank; iscntrl; isdigit; isgraph; islower;
|
|
isprint; ispunct; isspace; isupper; isxdigit;
|
|
|
|
# t*
|
|
toascii; tolower; toupper;
|
|
}
|
|
GLIBC_2.2 {
|
|
# global variables
|
|
__ctype32_tolower; __ctype32_toupper;
|
|
}
|
|
}
|