aboutsummaryrefslogtreecommitdiff
path: root/string
AgeCommit message (Collapse)AuthorFilesLines
2013-06-11Remove performance-related bits from string testsSiddhesh Poyarekar25-620/+0
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers5-22/+22
2013-06-04Add copyright header to test-strchrnul.cSiddhesh Poyarekar1-0/+19
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold1-1/+1
2013-05-01Remove duplicate __strcmp_cgOndrej Bilka1-24/+1
The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one.
2013-02-17Sort Versions filesAndreas Jaeger1-2/+2
2013-02-15Remove bounded-pointers build system support.Joseph Myers1-4/+0
2013-02-15Remove miscellaneous bounded-pointers relics in C code.Joseph Myers1-1/+1
2013-02-14Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers1-6/+1
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers1-1/+1
2013-02-13Call memcpy in generic mempcpyOndrej Bilka1-36/+2
2013-02-12Fix typo, improve comment, remove superfluous #undefs, add missing #undef.Tom de Vries1-5/+7
2013-02-11Remove dead CFLAGS lines from string/MakefileTom de Vries1-2/+0
2013-02-08Remove dead variable in generic strcpy.Roland McGrath1-3/+0
2013-02-08Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.Joseph Myers1-5/+2
2013-02-07Remove lots of inline keywords.Roland McGrath1-3/+0
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers2-15/+9
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu1-1/+1
2013-01-10Remove __GNUC__ conditions for "long long" from string.h and wchar.h.Joseph Myers1-2/+0
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers149-158/+149
2012-12-27BZ#14317: Optimze __xpg_strerror_r2012-12-27 Bruno Haible1-9/+15
[BZ #14317] * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen only if needed.
2012-11-06Use memcpy in memmove when possibleMaxim Kuvyrkov1-1/+5
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-10-19Add string IFUNC testsH.J. Lu60-23/+709
2012-10-19Add a testcase for BZ #14716H.J. Lu1-3/+32
2012-10-15Fix BZ #14716: memmem crashMaxim Kuvyrkov1-2/+2
2012-10-12Avoid PLT references from __get_clockfreq on powerpcAndreas Schwab1-1/+2
2012-10-11Framework to test IFUNC implementations on targetH.J. Lu1-1/+56
2012-10-11Use IFUNC memmove/memset in x86-64 bcopy/bzeroH.J. Lu5-15/+124
Also add separate tests for bcopy and bzero.
2012-10-08Fix BZ #14602: strstr and strcasestr return wrong result.Maxim Kuvyrkov3-18/+27
2012-10-06Add a strstr test for page boundaryH.J. Lu1-1/+6
2012-10-05Add a testase for BZ #14602H.J. Lu1-0/+12
2012-10-05Test strcasestr/strchr/strstr under all implementationsH.J. Lu7-89/+77
2012-08-21Micro-optimize critical path of strstr, strcase and memmem.Maxim Kuvyrkov3-1/+12
2012-08-21Use pointers for traversing arrays in strstr, strcasestr and memmem.Maxim Kuvyrkov2-18/+49
2012-08-21Detect EOL on-the-fly in strstr, strcasestr and memmem.Maxim Kuvyrkov5-13/+91
2012-08-21Optimize first-character loop of strstr, strcasestr and memmem.Maxim Kuvyrkov1-1/+14
2012-08-15Fix segmentation fault in strncasecmp for i686Liubov Dmitrieva1-4/+14
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> [BZ #14195] * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix segmentation fault for a case of two empty input strings. * string/test-strncasecmp.c (check1): Renamed to... (bz12205): ...this. (bz14195): Add new testcase for two empty input strings and N > 0. (test_main): Call new testcase, adapt for renamed function.
2012-08-15Remove local redefinition of MAX macro.Roland McGrath1-5/+2
2012-06-15Make endian.h usable for assemblerChung-Lin Tang1-1/+1
2012-06-15Add __wur to GNU version of strerror_r.Cyril Hrubis1-3/+2
Not using the result of the GNU strerror_r() is always a mistake. Moreover this would generate warning if XSI version was expected but GNU version was used instead (because some random used header defined _GNU_SOURCE which was Python.h in this case).
2012-06-14Use RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.SH.J. Lu2-1/+39
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab1-6/+2
2012-05-24Remove use of INTDEF/INTUSE in intlAndreas Schwab2-4/+4
2012-05-09Fix strspn warning with -WconversionAndreas Jaeger1-2/+2
[BZ #14083] Fix warning when using strspn with -Wconversion: $ gcc -Wconversion -O t.c t.c: In function ‘main’: t.c:8:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2012-04-29Fix attributes for fortify functions.Marek Polacek2-13/+13
2012-04-18Remove all traces of reg_char.David S. Miller11-20/+12
* sysdeps/generic/memcopy.h (reg_char): Delete. * debug/strcat_chk.c: Use char, not reg_char. * debug/strcpy_chk.c: Likewise. * debug/strncat_chk.c: Likewise. * debug/strncpy_chk.c: Likewise. * string/memchr.c: Likewise. * string/memrchr.c: Likewise. * string/rawmemchr.c: Likewise. * string/strcat.c: Likewise. * string/strchr.c: Likewise. * string/strchrnul.c: Likewise. * string/strcmp.c: Likewise. * string/strcpy.c: Likewise. * string/strncat.c: Likewise. * string/strncmp.c: Likewise. * string/strncpy.c: Likewise.
2012-04-06Add byteswap-16.h for __bswap_16H.J. Lu1-2/+2
2012-04-03Add __bswap_64 definition for non GCC compilers.Andreas Jaeger2-11/+18
[BZ#13926] Currently __bswap_64 is not defined at all for non-GCC compilers. Define it but guard it with __GLIBC_HAVE_LONG_LONG. endian.h uses __bswap_64, make the functions only available if __GLIBC_HAVE_LONG_LONG is defined.
2012-04-02Testsuite #include fixes.Thomas Schwinge3-3/+8