glibc/iconv
Wilco Dijkstra 32c7acd464 Replace rawmemchr (s, '\0') with strchr
Almost all uses of rawmemchr find the end of a string.  Since most targets use
a generic implementation, replacing it with strchr is better since that is
optimized by compilers into strlen (s) + s.  Also fix the generic rawmemchr
implementation to use a cast to unsigned char in the if statement.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023-02-06 16:16:19 +00:00
..
dummy-repertoire.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_builtin.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_builtin.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_cache.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_charset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_charset.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_close.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_conf.c Replace rawmemchr (s, '\0') with strchr 2023-02-06 16:16:19 +00:00
gconv_db.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_dl.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_int.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_open.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_parseconfdir.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_simple.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_trans.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_charmap.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_close.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_open.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_prog.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
iconv_prog.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconvconfig.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
iconvconfig.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
loop.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
skeleton.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
strtab.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-gconv-modules Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gconv-init-failure-mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gconv-init-failure.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-iconv2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv3.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-iconv4.c [BZ #9793] 2009-02-03 01:31:30 +00:00
tst-iconv5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv_prog.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv-mt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv-opt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Versions intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00