glibc/string
Adhemerval Zanella fccf38c517 string: Add internal memswap implementation
The prototype is:

  void __memswap (void *restrict p1, void *restrict p2, size_t n)

The function swaps the content of two memory blocks P1 and P2 of
len N.  Memory overlap is NOT handled.

It will be used on qsort optimization.

Checked on x86_64-linux-gnu and aarch64-linux-gnu.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
2023-10-31 14:17:33 -03:00
..
bits Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
Depend
Makefile string: Add internal memswap implementation 2023-10-31 14:17:33 -03:00
Versions Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
_strerror.c
argz-addsep.c
argz-append.c
argz-count.c
argz-create.c
argz-ctsep.c
argz-delete.c
argz-extract.c
argz-insert.c
argz-next.c
argz-replace.c
argz-stringify.c
argz.h
basename.c
bcopy.c
bug-envz1.c
bug-strcoll1.c
bug-strcoll2.c
bug-strncat1.c string: Fix bug-strncat1 with fortify enabled 2023-07-24 15:26:17 -03:00
bug-strpbrk1.c
bug-strspn1.c
bug-strtok1.c
byteswap.h
bzero.c
endian.h
envz.c
envz.h
explicit_bzero.c
ffs.c
ffsll.c
inl-tester.c
memccpy.c
memchr.c
memcmp.c
memcmpeq.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
memcpy.c
memfrob.c
memmem.c
memmove.c
memory.h
mempcpy.c
memrchr.c
memset.c
noinl-tester.c
rawmemchr.c
sigabbrev_np.c
sigdescr_np.c
stpcpy.c
stpncpy.c
str-two-way.h
stratcliff.c
strcasecmp.c
strcasecmp_l.c
strcasestr.c
strcat.c
strchr.c
strchrnul.c
strcmp.c
strcoll.c
strcoll_l.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
strcpy.c
strcspn.c
strdup.c
strerror.c
strerror_l.c string: strerror must not return NULL (bug 30555) 2023-06-15 19:54:09 +02:00
strerrordesc_np.c
strerrorname_np.c
strfry.c
string-inlines.c
string.h Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
strings.h
strlcat.c Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
strlcpy.c Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
strlen.c
strncase.c
strncase_l.c
strncat.c
strncmp.c
strncpy.c
strndup.c
strnlen.c
strpbrk.c
strrchr.c
strsep.c
strsignal.c
strspn.c
strstr.c
strtok.c
strtok_r.c
strverscmp.c
strxfrm.c
strxfrm_l.c
swab.c
test-bcopy.c
test-bzero.c
test-endian-file-scope.c
test-endian-sign-conversion.c
test-endian-types.c
test-explicit_bzero.c
test-ffs.c
test-memccpy.c
test-memchr.c
test-memcmp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-memcmpeq.c
test-memcpy-large.c
test-memcpy-support.h
test-memcpy.c
test-memmem.c
test-memmove.c
test-mempcpy.c
test-memrchr.c
test-memset.c
test-memswap.c string: Add internal memswap implementation 2023-10-31 14:17:33 -03:00
test-rawmemchr.c
test-sig_np.c
test-stpcpy.c
test-stpncpy.c
test-strcasecmp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-strcasestr.c
test-strcat.c
test-strchr.c
test-strchrnul.c
test-strcmp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-strcpy.c
test-strcspn.c
test-strdup.c
test-strerror-errno.c
test-string.h
test-strlen.c
test-strncasecmp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-strncat.c
test-strncmp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-strncpy.c
test-strndup.c
test-strnlen.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-strpbrk.c
test-strrchr.c
test-strspn.c
test-strstr.c
testcopy.c
tester.c string: Fix tester build with fortify enable with gcc < 12 2023-08-18 07:59:55 -05:00
tst-bswap.c
tst-cmp.c
tst-endian.c
tst-inlcall.c
tst-memmove-overflow.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-strcoll-overflow.c
tst-strerror-fail.c string: strerror must not return NULL (bug 30555) 2023-06-15 19:54:09 +02:00
tst-strerror.c
tst-strfry.c
tst-strlcat.c Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
tst-strlcat2.c Add strlcat/wcslcat testcase. 2023-10-17 18:19:01 -04:00
tst-strlcpy.c Implement strlcpy and strlcat [BZ #178] 2023-06-14 18:10:08 +02:00
tst-strlcpy2.c Add strlcpy/wcslcpy testcase 2023-10-17 18:18:55 -04:00
tst-strlen.c
tst-strsignal.c
tst-strtok.c
tst-strtok_r.c
tst-strxfrm.c
tst-strxfrm2.c
tst-svc.c
tst-svc.expect
tst-svc.input
tst-svc2.c
tst-xbzero-opt.c
wordcopy.c
xpg-strerror.c