freebsd-nq/sys/libkern
Ed Schouten dc15eac046 Use strchr() and strrchr().
It seems strchr() and strrchr() are used more often than index() and
rindex(). Therefore, simply migrate all kernel code to use it.

For the XFS code, remove an empty line to make the code identical to
the code in the Linux kernel.
2012-01-02 12:12:10 +00:00
..
arm
ia64
arc4random.c
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
cmpdi2.c
crc32.c
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
fnmatch.c Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
iconv_converter_if.m Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
iconv_ucs.c Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
iconv_xlat16.c
iconv_xlat.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
iconv.c Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
index.c
inet_aton.c
inet_ntoa.c
inet_ntop.c Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
inet_pton.c Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
jenkins.h Fix typos - remove duplicate "is". 2011-02-23 09:22:33 +00:00
lshrdi3.c
mcount.c
memcchr.c Introducing memcchr(3). 2012-01-01 20:26:11 +00:00
memchr.c Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
memcmp.c
memmove.c
memset.c
moddi3.c
qdivrem.c
qsort_r.c
qsort.c
quad.h
random.c
rindex.c
scanc.c
strcasecmp.c
strcat.c
strcmp.c
strcpy.c
strcspn.c
strdup.c
strlcat.c
strlcpy.c
strlen.c
strncmp.c
strncpy.c
strnlen.c Add strnlen() to libkern. 2011-10-04 23:53:47 +00:00
strsep.c
strspn.c
strstr.c
strtol.c
strtoq.c
strtoul.c
strtouq.c
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c