acadia-newlib/newlib/libc/ctype
Corinna Vinschen d16a56306d Consolidate wctomb/mbtowc calls for POSIX-1.2008
- Remove charset parameter from low level __foo_wctomb/__foo_mbtowc calls.
- Instead, create array of function for ISO and Windows codepages to point
  to function which does not require to evaluate the charset string on
  each call.  Create matching helper functions.  I.e., __iso_wctomb,
  __iso_mbtowc, __cp_wctomb and __cp_mbtowc are functions returning the
  right function pointer now.
- Create __WCTOMB/__MBTOWC macros utilizing per-reent locale and replace
  calls to __wctomb/__mbtowc with calls to __WCTOMB/__MBTOWC.
- Drop global __wctomb/__mbtowc vars.
- Utilize aforementioned changes in Cygwin to get rid of charset in other,
  calling functions and simplify the code.
- In Cygwin restrict global cygheap locale info to the job performed
  by internal_setlocale.  Use UTF-8 instead of ASCII on the fly in
  internal conversion functions.
- In Cygwin dll_entry, make sure to initialize a TLS area with a NULL
  _REENT->_locale pointer.  Add comment to explain why.

Signed-off by: Corinna Vinschen <corinna@vinschen.de>
2016-08-15 10:56:57 +02:00
..
Makefile.am Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
ctype.tex Use source files which have makedoc markup, but aren't processed or included. 2015-06-24 12:24:01 +01:00
ctype_.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
ctype_cp.h * libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define. 2010-02-06 18:28:33 +00:00
ctype_iso.h
isalnum.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isalpha.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isascii.c
isblank.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
iscntrl.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isdigit.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
islower.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isprint.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
ispunct.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isspace.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
isupper.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
iswalnum.c
iswalpha.c * libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity 2014-06-23 20:21:54 +00:00
iswblank.c * libc/ctype/iswblank.c (iswblank): Remove Unicode characters 2010-02-17 09:14:35 +00:00
iswcntrl.c * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
iswctype.c
iswdigit.c
iswgraph.c
iswlower.c
iswprint.c * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
iswpunct.c * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
iswspace.c * libc/ctype/iswblank.c (iswblank): Remove Unicode characters 2010-02-17 09:14:35 +00:00
iswupper.c
iswxdigit.c
isxdigit.c POSIX-1.2008 per-thread locales, groundwork part 1 2016-08-15 10:56:56 +02:00
jp2uc.c 2013-01-06 Mike Frysinger <vapier@gentoo.org> 2014-01-06 19:30:50 +00:00
jp2uc.h
local.h Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
toascii.c
tolower.c
toupper.c
towctrans.c
towlower.c * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
towupper.c * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
utf8alpha.h * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
utf8print.h * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2. 2010-02-18 20:37:19 +00:00
wctrans.c
wctype.c