aboutsummaryrefslogtreecommitdiff
path: root/string
AgeCommit message (Collapse)Author
2011-05-21Fix last changeUlrich Drepper
And optimize a bit.
2011-05-21Always fill output buffer in XPG strerror functionUlrich Drepper
2011-05-21Nicer output for negative error numbers in strerror_rUlrich Drepper
2011-04-07Revert "Fix strncmp page test to limit length to size of object"Andreas Schwab
This reverts commit e513f34605747f43eed259519b6fb847591861d2.
2011-04-05Fix strncmp page test to limit length to size of objectAndreas Schwab
2011-03-21Fix whitespace issue.Ulrich Drepper
2011-03-21Handle page boundaries in x86 SSE4.2 strncmp.H.J. Lu
2010-12-25Change XPG-compliant strerror_r function to return error code.Ulrich Drepper
2010-12-09Fix -D_FORTIFY_SOURCE memmove and bcopJakub Jelinek
2010-11-10Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.H.J. Lu
2010-10-26Add missing file.Ulrich Drepper
2010-10-26Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel
2010-10-06Add test case for strstr problem.Ulrich Drepper
2010-10-06Fix strstr and memmem algorithm.Eric Blake
2010-10-03Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper
2010-08-14Add optimized strncasecmp versions for x86-64.Ulrich Drepper
2010-07-30Implement optimized strcaecmp for x86-64.Ulrich Drepper
2010-07-30Fix tolower operation in strcasestr.Ulrich Drepper
2010-07-26Add optimized x86-64 implementation of strnlen.Ulrich Drepper
While at it, beef up the test suite for strnlen and add performance tests for it, too.
2010-07-23Add performance tests for strstr and strcasestr.Ulrich Drepper
2010-06-30Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7H.J. Lu
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.
2010-04-15Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.SH.J. Lu
2010-03-24Test case for last x86 memcmp problemH.J. Lu
2010-01-14Relax onditions in strings.h.Ulrich Drepper
2010-01-10Cleanup strings.h.Ulrich Drepper
Cleanup the strings.h header for XPG7 and update the tests.
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-11-10Avoid memset warning in one case.Caolan McNamara
2009-07-20SSE4.2 strstr/strcasestr for x86-64.H.J. Lu
This patch implements SSE4.2 strstr/strcasestr, using Knuth-Morris-Pratt string searching algorithm.
2009-07-02SSSE3 strcpy/stpcpy for x86-64H.J. Lu
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.
2009-06-22Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu
2009-06-16Fix x86-64 memchr for large lengths.Jakub Jelinek
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-05-09* string/stratcliff.c (do_test): Test for zero lengthUlrich Drepper
STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy at the end of the page.
2009-04-07* string/stratcliff.c (do_test): Add memchr tests..Ulrich Drepper
* sysdeps/x86_64/memchr.S: Fix handling of end of buffer after first read quad word.
2009-04-07* string/strverscmp.c (__strverscmp): Fix last cleanups.cvs/fedora-glibc-20090407T0657Ulrich Drepper
* string/tst-svc.input: Add new test case. * string/tst-svc.expect: Adjust. * string/Makefile: Don't ignore tst-svc error.
2009-03-15[BZ #5807]Ulrich Drepper
2009-03-15 Ulrich Drepper <drepper@redhat.com> [BZ #5807] * string/strlen.c (strlen): Fix omission in the expression to test for NUL bytes.
2009-03-14[BZ #9893]Ulrich Drepper
* 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>.
2009-03-14[BZ #9913]Ulrich Drepper
* 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.
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper
* 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.
2009-01-30* string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,Ulrich Drepper
rindex): For C++ add inlines so that they can be recognized as builtins. * string/strings.h: Define correct C++ prototypes for gcc 4.4.
2009-01-29 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper
* string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
2008-05-25* string/Makefile (strop-tests): Add memmem.Ulrich Drepper
* 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.
2008-05-21* string/endian.h: Define new fixed-size hto* and *toh macros onlyUlrich Drepper
is __USE_BSD.
2008-05-16* string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp.cvs/fedora-glibc-20080516T2152Ulrich Drepper
2008-05-15* string/Makefile (distribute): Add str-two-way.h.cvs/fedora-glibc-20080515T0735Ulrich Drepper
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
2008-05-15[BZ #6442]Ulrich Drepper
* 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.
2008-05-11* string/tester.c (test_memcmp): Add a few more tests.Ulrich Drepper
Patch by Mats Erik Andersson <ynglingatal@comhem.se>.
2008-03-31[BZ #6007]Ulrich Drepper
2008-03-31 Ulrich Drepper <drepper@redhat.com> [BZ #6007] * string/strfry.c: Handle empty strings again.
2008-01-15[BZ #5614]Ulrich Drepper
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.