aboutsummaryrefslogtreecommitdiff
path: root/string
AgeCommit message (Collapse)AuthorFilesLines
2011-08-14More warning patrol.Roland McGrath1-5/+2
2011-08-04Provide better output in string testsUlrich Drepper1-2/+4
If IMPL is called with a macro for the first parameter the macro does not get expanded before the string is stored in the impl_t data structure.
2011-08-04Cleanup wcscmp test additionUlrich Drepper1-206/+149
2011-08-04New comprehensive test for wcscmpLiubov Dmitrieva3-24/+160
2011-07-21Add more tests for strcat and strncat.Ulrich Drepper1-3/+90
2011-07-19Improve 64 bit strcat functions with SSE2/SSSE3Liubov Dmitrieva1-2/+4
2011-07-19Fix alloca accounting in strxfmAndreas Schwab1-2/+3
2011-07-06Add string/test-strncat.cUlrich Drepper2-1/+300
2011-05-21Fix last changeUlrich Drepper1-17/+12
And optimize a bit.
2011-05-21Always fill output buffer in XPG strerror functionUlrich Drepper1-8/+9
2011-05-21Nicer output for negative error numbers in strerror_rUlrich Drepper1-3/+11
2011-04-07Revert "Fix strncmp page test to limit length to size of object"Andreas Schwab1-4/+3
This reverts commit e513f34605747f43eed259519b6fb847591861d2.
2011-04-05Fix strncmp page test to limit length to size of objectAndreas Schwab1-3/+4
2011-03-21Fix whitespace issue.Ulrich Drepper1-8/+8
2011-03-21Handle page boundaries in x86 SSE4.2 strncmp.H.J. Lu1-0/+41
2010-12-25Change XPG-compliant strerror_r function to return error code.Ulrich Drepper1-9/+4
2010-12-09Fix -D_FORTIFY_SOURCE memmove and bcopJakub Jelinek1-5/+3
2010-11-10Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.H.J. Lu1-4/+35
2010-10-26Add missing file.Ulrich Drepper1-0/+14
2010-10-26Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel1-1/+1
2010-10-06Add test case for strstr problem.Ulrich Drepper1-1/+3
2010-10-06Fix strstr and memmem algorithm.Eric Blake2-1/+27
2010-10-03Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper1-37/+107
2010-08-14Add optimized strncasecmp versions for x86-64.Ulrich Drepper2-1/+319
2010-07-30Implement optimized strcaecmp for x86-64.Ulrich Drepper2-1/+277
2010-07-30Fix tolower operation in strcasestr.Ulrich Drepper1-1/+1
2010-07-26Add optimized x86-64 implementation of strnlen.Ulrich Drepper4-21/+229
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 Drepper5-6/+399
2010-06-30Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7H.J. Lu1-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.
2010-04-15Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.SH.J. Lu1-4/+35
2010-03-24Test case for last x86 memcmp problemH.J. Lu1-4/+261
2010-01-14Relax onditions in strings.h.Ulrich Drepper1-2/+2
2010-01-10Cleanup strings.h.Ulrich Drepper1-14/+19
Cleanup the strings.h header for XPG7 and update the tests.
2010-01-09Add support for XPG7 testing.Ulrich Drepper3-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.
2009-11-10Avoid memset warning in one case.Caolan McNamara1-2/+3
2009-07-20SSE4.2 strstr/strcasestr for x86-64.H.J. Lu2-4/+15
This patch implements SSE4.2 strstr/strcasestr, using Knuth-Morris-Pratt string searching algorithm.
2009-07-02SSSE3 strcpy/stpcpy for x86-64H.J. Lu2-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.
2009-06-22Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu1-5/+7
2009-06-16Fix x86-64 memchr for large lengths.Jakub Jelinek1-2/+7
2009-05-16Remove redundant .gitignore files.Andreas Schwab1-6/+0
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-05-09* string/stratcliff.c (do_test): Test for zero lengthUlrich Drepper1-9/+27
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 Drepper1-1/+33
* 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 Drepper4-4/+8
* 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 Drepper1-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.
2009-03-14[BZ #9893]Ulrich Drepper1-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>.
2009-03-14[BZ #9913]Ulrich Drepper2-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.
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2-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.
2009-01-30* string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,Ulrich Drepper2-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.
2009-01-29 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper1-1/+92
* string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>