newlib-cygwin/newlib/libc/string
Corinna Vinschen c801709ed5 * libc/string/wcwidth.c: Optimize for speed.
* libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
	(loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
	to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
	(__locale_cjk_lang): New function.
	* libc/string/local.h (__locale_cjk_lang): Declare.
	* libc/string/wcwidth.c: Fix comments.
	(__wcwidth): Handle CJK Ambiguous Width characters according
	to setting returned by __locale_cjk_lang.
2009-06-03 19:28:22 +00:00
..
Makefile.am 2009-03-25 Jeff Johnston <jjohnstn@redhat.com> 2009-03-25 17:57:11 +00:00
Makefile.in 2009-03-25 Jeff Johnston <jjohnstn@redhat.com> 2009-03-25 17:57:11 +00:00
bcmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
bcopy.c 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> 2002-05-23 18:46:04 +00:00
bzero.c 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> 2002-05-23 18:46:04 +00:00
index.c
local.h * libc/string/wcwidth.c: Optimize for speed. 2009-06-03 19:28:22 +00:00
memccpy.c 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
memchr.c 2008-05-26 Eric Blake <ebb9@byu.net> 2008-05-26 23:31:08 +00:00
memcmp.c 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org> 2005-03-06 20:40:05 +00:00
memcpy.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
memmem.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
memmove.c
mempcpy.c 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
memset.c 2008-05-27 Jeff Johnston <jjohnstn@redhat.com> 2008-05-27 18:44:40 +00:00
rindex.c
stpcpy.c * libc/include/string.h: Add prototypes for stpcpy and stpncpy. 2007-06-28 17:07:23 +00:00
stpncpy.c * libc/include/string.h: Add prototypes for stpcpy and stpncpy. 2007-06-28 17:07:23 +00:00
str-two-way.h 2008-10-02 Jeff Johnston <jjohnstn@redhat.com> 2008-10-02 20:12:34 +00:00
strcasecmp.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strcasestr.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
strcat.c
strchr.c Optimize the generic strchr. 2008-05-22 02:31:46 +00:00
strcmp.c
strcoll.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
strcpy.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
strcspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strdup.c 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
strdup_r.c 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
strerror.c * libc/include/sys/errno.h (ESTRPIPE): Define. 2009-03-15 13:41:46 +00:00
strerror_r.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strings.tex * libc/include/wchar.h (wcsdup, _wcsdup_r): Declare. 2009-03-15 13:39:07 +00:00
strlcat.c * strlcat.c: Add file. 2002-05-13 19:33:46 +00:00
strlcpy.c * strlcat.c: Add file. 2002-05-13 19:33:46 +00:00
strlen.c 2008-05-26 Eric Blake <ebb9@byu.net> 2008-05-26 22:56:14 +00:00
strlwr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strncasecmp.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strncat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strncmp.c
strncpy.c
strndup.c 2002-07-23 Jeff Johnston <jjohnstn@redhat.com> 2002-07-23 21:38:00 +00:00
strndup_r.c 2006-02-13 Jeff Johnston <jjohnstn@redhat.com> 2006-02-13 17:27:50 +00:00
strnlen.c 2006-02-13 Jeff Johnston <jjohnstn@redhat.com> 2006-02-13 17:27:50 +00:00
strpbrk.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strrchr.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
strsep.c 2002-05-23 Jeff Johnston <jjohnstn@redhat.com> 2002-05-24 00:13:57 +00:00
strspn.c
strstr.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
strtok.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strtok_r.c 2002-08-29 Jeff Johnston <jjohnstn@redhat.com> 2002-08-29 19:47:43 +00:00
strupr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strxfrm.c
swab.c
u_strerr.c
wcpcpy.c * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy. 2007-12-19 17:33:12 +00:00
wcpncpy.c * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy. 2007-12-19 17:33:12 +00:00
wcscasecmp.c * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare. 2009-03-11 12:57:53 +00:00
wcscat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcschr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscoll.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcscpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsdup.c 2009-03-25 Jeff Johnston <jjohnstn@redhat.com> 2009-03-25 17:57:11 +00:00
wcslcat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcslcpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcslen.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncasecmp.c * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare. 2009-03-11 12:57:53 +00:00
wcsncat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsnlen.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcspbrk.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsrchr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsstr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcstok.c 2008-12-12 Craig Howland <howland@LGSInnovations.com> 2008-12-12 19:47:05 +00:00
wcstrings.tex * libc/time/time.tex (wcsftime.def): Include. 2009-03-12 15:34:57 +00:00
wcswidth.c * libc/string/local.h: New file. 2009-05-15 11:40:28 +00:00
wcsxfrm.c * libc/include/wchar.h: Add prototype for wcsxfrm. 2007-07-04 16:18:34 +00:00
wcwidth.c * libc/string/wcwidth.c: Optimize for speed. 2009-06-03 19:28:22 +00:00
wmemchr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemcmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemcpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemmove.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemset.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00