summary refs log tree commit diff
path: root/string
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix strncmp page test to limit length to size of object"Andreas Schwab2011-04-071-4/+3
| | | | This reverts commit e513f34605747f43eed259519b6fb847591861d2.
* Fix strncmp page test to limit length to size of objectAndreas Schwab2011-04-051-3/+4
|
* Fix whitespace issue.Ulrich Drepper2011-03-211-8/+8
|
* Handle page boundaries in x86 SSE4.2 strncmp.H.J. Lu2011-03-211-0/+41
|
* Change XPG-compliant strerror_r function to return error code.Ulrich Drepper2010-12-251-9/+4
|
* Fix -D_FORTIFY_SOURCE memmove and bcopJakub Jelinek2010-12-091-5/+3
|
* Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.H.J. Lu2010-11-101-4/+35
|
* Add missing file.Ulrich Drepper2010-10-261-0/+14
|
* Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel2010-10-261-1/+1
|
* Add test case for strstr problem.Ulrich Drepper2010-10-061-1/+3
|
* Fix strstr and memmem algorithm.Eric Blake2010-10-062-1/+27
|
* Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper2010-10-031-37/+107
|
* Add optimized strncasecmp versions for x86-64.Ulrich Drepper2010-08-142-1/+319
|
* Implement optimized strcaecmp for x86-64.Ulrich Drepper2010-07-302-1/+277
|
* Fix tolower operation in strcasestr.Ulrich Drepper2010-07-301-1/+1
|
* Add optimized x86-64 implementation of strnlen.Ulrich Drepper2010-07-264-21/+229
| | | | | While at it, beef up the test suite for strnlen and add performance tests for it, too.
* Add performance tests for strstr and strcasestr.Ulrich Drepper2010-07-235-6/+399
|
* Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7H.J. Lu2010-06-301-1/+4
| | | | | | | This patch includes optimized 64bit memcpy/memmove for Atom, Core 2 and Core i7. It improves memcpy by up to 3X on Atom, up to 4X on Core 2 and up to 1X on Core i7. It also improves memmove by up to 3X on Atom, up to 4X on Core 2 and up to 2X on Core i7.
* Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.SH.J. Lu2010-04-151-4/+35
|
* Test case for last x86 memcmp problemH.J. Lu2010-03-241-4/+261
|
* Relax onditions in strings.h.Ulrich Drepper2010-01-141-2/+2
|
* Cleanup strings.h.Ulrich Drepper2010-01-101-14/+19
| | | | Cleanup the strings.h header for XPG7 and update the tests.
* Add support for XPG7 testing.Ulrich Drepper2010-01-093-8/+9
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* Avoid memset warning in one case.Caolan McNamara2009-11-101-2/+3
|
* SSE4.2 strstr/strcasestr for x86-64.H.J. Lu2009-07-202-4/+15
| | | | | This patch implements SSE4.2 strstr/strcasestr, using Knuth-Morris-Pratt string searching algorithm.
* SSSE3 strcpy/stpcpy for x86-64H.J. Lu2009-07-022-11/+13
| | | | | | This patch adds SSSE3 strcpy/stpcpy. I got up to 4X speed up on Core 2 and Core i7. I disabled it on Atom since SSSE3 version is slower for shorter (<64byte) data.
* Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu2009-06-221-5/+7
|
* Fix x86-64 memchr for large lengths.Jakub Jelinek2009-06-161-2/+7
|
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * string/stratcliff.c (do_test): Test for zero lengthUlrich Drepper2009-05-091-9/+27
| | | | | STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy at the end of the page.
* * string/stratcliff.c (do_test): Add memchr tests..Ulrich Drepper2009-04-071-1/+33
| | | | | * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after first read quad word.
* * string/strverscmp.c (__strverscmp): Fix last cleanups. cvs/fedora-glibc-20090407T0657Ulrich Drepper2009-04-074-4/+8
| | | | | | * string/tst-svc.input: Add new test case. * string/tst-svc.expect: Adjust. * string/Makefile: Don't ignore tst-svc error.
* [BZ #5807]Ulrich Drepper2009-03-151-49/+3
| | | | | | | 2009-03-15 Ulrich Drepper <drepper@redhat.com> [BZ #5807] * string/strlen.c (strlen): Fix omission in the expression to test for NUL bytes.
* [BZ #9893]Ulrich Drepper2009-03-141-0/+62
| | | | | | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix alignement of La_x86_64_regs. Store xmm parameters. Patch mostly by Jiri Olsa <olsajiri@gmail.com>.
* [BZ #9913]Ulrich Drepper2009-03-142-34/+31
| | | | | | | | | | * string/strverscmp.c (__strverscmp): Fix case of different digits in fractional part of string. Patch by Jingyu Liu <jyliu@fortinet.com>. * string/Makefile (tests): Add tst-svc2. * string/tst-svc2.c: New file. * string/strverscmp.c (__strverscmp): Optimize size of tables.
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-262-9/+28
| | | | | | | | | | | | | | | | | | | | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
* * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,Ulrich Drepper2009-01-302-18/+192
| | | | | | rindex): For C++ add inlines so that they can be recognized as builtins. * string/strings.h: Define correct C++ prototypes for gcc 4.4.
* Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2009-01-291-1/+92
| | | | | | | * string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
* * string/Makefile (strop-tests): Add memmem.Ulrich Drepper2008-05-253-5/+194
| | | | | | | | | | * string/test-memmem.c: New file. * string/test-string.h (BUF1PAGES): Define to 1 if undefined. (test_init): Size buf1 according to BUF1PAGES. * stdio-common/scanf16.c: New file. * stdio-common/scanf17.c: New file. * scripts/data/localplt-sparc64-linux-gnu.data: New file.
* * string/endian.h: Define new fixed-size hto* and *toh macros onlyUlrich Drepper2008-05-211-32/+34
| | | | is __USE_BSD.
* * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. cvs/fedora-glibc-20080516T2152Ulrich Drepper2008-05-161-1/+1
|
* * string/Makefile (distribute): Add str-two-way.h. cvs/fedora-glibc-20080515T0735Ulrich Drepper2008-05-155-206/+579
| | | | | | | | | | | | | 2008-03-29 Eric Blake <ebb9@byu.net> Rewrite string searches to O(n) rather than O(n^2). * string/str-two-way.h: New file. For linear fixed-allocation string searching. * string/memmem.c: New implementation. * string/strstr.c: New implementation. * string/strcasestr.c: New implementation. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init
* [BZ #6442]Ulrich Drepper2008-05-153-3/+151
| | | | | | | | | | | * string/endian.h: Add macros for fixed-size endian conversion. * bits/byteswap.h: Allow inclusion from <endian.h>. * sysdeps/i386/bits/byteswap.h: Likewise. * sysdeps/ia64/bits/byteswap.h: Likewise. * sysdeps/s390/bits/byteswap.h: Likewise. * sysdeps/x86_64/bits/byteswap.h: Likewise. * string/Makefile (tests): Add tst-endian. * string/tst-endian.c: New file.
* * string/tester.c (test_memcmp): Add a few more tests.Ulrich Drepper2008-05-111-8/+26
| | | | Patch by Mats Erik Andersson <ynglingatal@comhem.se>.
* [BZ #6007]Ulrich Drepper2008-03-311-12/+12
| | | | | | 2008-03-31 Ulrich Drepper <drepper@redhat.com> [BZ #6007] * string/strfry.c: Handle empty strings again.
* [BZ #5614]Ulrich Drepper2008-01-152-8/+11
| | | | | | | | | 2008-01-15 Ulrich Drepper <drepper@redhat.com> [BZ #5614] * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. (__strtok_r): Simplify. * string/tester.c (test_strtok_r): Add test case for futile search with single-character seach string.
* [BZ #5113]Ulrich Drepper2007-10-051-2/+2
| | | | | | | * string/bits/string2.h (__strdup): Cast parameters to calloc to avoid warning with -Wconversion. (__strndup): Likewise. Patch to 50% by Christian Iseli <christian.iseli@licr.org>.
* * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, cvs/fedora-glibc-20071003T1908Ulrich Drepper2007-10-031-127/+3
| | | | | bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use __extern_always_inline functions unconditionally, drop macros.
* * de_DE.in: Adjust for correct handling of backward direction sorting.Ulrich Drepper2007-10-021-6/+18
|