freebsd-dev/lib/libc/string
David Schultz f0ceb98f93 Replace the current strspn() and strcspn() with significantly faster
implementations inspired by the ones in DragonFly.  Unlike the
DragonFly versions, these have a small data cache footprint, and my
tests show that they're never slower than the old code except when the
charset or the span is 0 or 1 characters.  This implementation is
generally faster than DragonFly until either the charset or the span
gets in the ballpark of 32 to 64 characters.
2005-04-02 18:52:44 +00:00
..
bcmp.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
bcmp.c
bcopy.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
bcopy.c Pacify gcc about casting pointers to integers (for the lowest few bits). 2003-10-26 03:55:58 +00:00
bstring.3
bzero.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
bzero.c
ffs.3 Markup, grammar, and spelling fixes. 2004-06-30 20:09:10 +00:00
ffs.c Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
ffsl.c Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
fls.c Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
flsl.c Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
index.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
index.c Brucification: Don't initialize in declaration, make sure extra lines 2003-12-18 07:44:53 +00:00
Makefile.inc Add and document ffsl(), fls() and flsl(). 2004-01-13 16:05:47 +00:00
memccpy.3
memccpy.c
memchr.3
memchr.c
memcmp.3
memcmp.c
memcpy.3
memcpy.c
memmove.3
memmove.c
memset.3
memset.c
rindex.c Brucification: Don't initialize in declaration, make sure extra lines 2003-12-18 07:44:53 +00:00
stpcpy.c
strcasecmp.3 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
strcasecmp.c
strcasestr.c
strcat.3
strcat.c
strchr.3 Move a sentence about the terminating \0 from the RETURN VALUES section 2003-09-04 20:36:54 +00:00
strchr.c
strcmp.3
strcmp.c
strcoll.3
strcoll.c
strcpy.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
strcpy.c
strcspn.3
strcspn.c Replace the current strspn() and strcspn() with significantly faster 2005-04-02 18:52:44 +00:00
strdup.3
strdup.c
strerror.3 Correctly document the return value of strerror() and strerror_r() and 2004-10-12 14:52:52 +00:00
strerror.c Unbreak !NLS case 2005-02-27 21:17:22 +00:00
string.3 C89 does not specifiy strsep(), so our strsep() implementation cannot 2002-10-19 13:41:22 +00:00
strlcat.c Enable building with LIBC_SCCS defined. 2004-10-16 06:32:43 +00:00
strlcpy.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
strlcpy.c Remove extra closing parenthesis added in revision 1.4. 2004-10-14 21:31:42 +00:00
strlen.3
strlen.c
strmode.3 o strmode(3) returns void not 0. 2003-07-01 15:28:05 +00:00
strmode.c
strncat.c
strncmp.c
strncpy.c
strnstr.c Don't read more than the given 'len' bytes from the 'big' string. 2005-02-11 21:07:51 +00:00
strpbrk.3
strpbrk.c
strrchr.c
strsep.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
strsep.c
strsignal.c Unbreak strsignal(). This is an MFC candidate. 2005-03-06 03:19:19 +00:00
strspn.3
strspn.c Replace the current strspn() and strcspn() with significantly faster 2005-04-02 18:52:44 +00:00
strstr.3
strstr.c
strtok.3 Sort sections. 2005-01-20 09:17:07 +00:00
strtok.c
strxfrm.3
strxfrm.c
swab.3 Date business, update. 2004-12-10 15:27:06 +00:00
swab.c According to the information on: 2004-12-10 15:24:40 +00:00
wcscat.c
wcschr.c Reimplement, handling the case where c == L'\0' correctly and fixing 2002-10-23 10:47:47 +00:00
wcscmp.c Fix the NetBSD RCS id's on these files; somehow they were initially 2002-10-23 11:08:40 +00:00
wcscoll.3 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +00:00
wcscoll.c Prepare to handle state-dependent encodings. This mainly involves not 2004-04-07 09:47:56 +00:00
wcscpy.c
wcscspn.c
wcslcat.c
wcslcpy.c
wcslen.c
wcsncat.c
wcsncmp.c Fix the NetBSD RCS id's on these files; somehow they were initially 2002-10-23 11:08:40 +00:00
wcsncpy.c Restore Berkeley SCCS id. 2002-10-24 02:48:45 +00:00
wcspbrk.c
wcsrchr.c Reimplement more efficiently, using a single forward scan (like strrchr(3)) 2002-10-23 10:52:04 +00:00
wcsspn.c
wcsstr.c Replace wcsstr() with an implementation based on strstr(), which is far 2002-10-24 02:53:45 +00:00
wcstok.3
wcstok.c MFp4: Make `spanp' const. 2003-03-12 06:41:49 +00:00
wcswidth.3 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +00:00
wcswidth.c
wcsxfrm.3 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +00:00
wcsxfrm.c Prepare to handle state-dependent encodings. This mainly involves not 2004-04-07 09:47:56 +00:00
wmemchr.3
wmemchr.c
wmemcmp.c
wmemcpy.c
wmemmove.c
wmemset.c