|
ticket:12012: Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com
Committed: http://bugs.icu-project.org/trac/changeset/38337
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1451 lines, -1468 lines) |
Patch |
|
M |
source/common/brkeng.cpp
|
View
|
|
6 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/common/locid.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/locmap.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
source/common/ucnv_bld.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/ucnv_u7.c
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/ucnvisci.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/ucurr.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/common/uhash.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/uloc.cpp
|
View
|
|
8 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
source/common/usc_impl.c
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/common/ushape.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/common/usprep.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/common/ustring.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/extra/scrptrun/scrptrun.cpp
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/extra/scrptrun/srtest.cpp
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/extra/uconv/uconv.cpp
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/csdetect.cpp
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/csr2022.cpp
|
View
|
|
6 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/i18n/csrmbcs.cpp
|
View
|
|
8 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/i18n/csrsbcs.cpp
|
View
|
|
4 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/decfmtst.cpp
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/dtfmtsym.cpp
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/i18n/dtitvfmt.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/i18n/dtitvinf.cpp
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/inputext.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/japancal.cpp
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/plurrule.cpp
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/i18n/rematch.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/tznames_impl.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/ucol_sit.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/i18n/ucsdet.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/vtzone.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/windtfmt.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/winnmfmt.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/io/uprntf_p.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/io/uscanf_p.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/io/ustdio.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/io/ustream.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/capitst.c
|
View
|
|
12 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cbiapts.c
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cbididat.c
|
View
|
|
3 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cbiditst.h
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ccaltst.c
|
View
|
|
16 chunks |
+22 lines, -21 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ccapitst.c
|
View
|
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ccurrtst.c
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cdateintervalformattest.c
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cdattst.c
|
View
|
|
5 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cfrtst.c
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/citertst.c
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cldrtest.c
|
View
|
|
8 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cloctst.c
|
View
|
1
2
3
|
18 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cmsccoll.c
|
View
|
|
116 chunks |
+198 lines, -203 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cmsgtst.c
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cnmdptst.c
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cnumtst.c
|
View
|
|
12 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/crelativedateformattest.c
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/crestst.c
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/creststn.c
|
View
|
|
10 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/cucdtst.c
|
View
|
|
10 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/currtest.c
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/custrtrn.c
|
View
|
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/custrtst.c
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/encoll.c
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/idnatest.c
|
View
|
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/nccbtst.c
|
View
|
|
54 chunks |
+135 lines, -135 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ncnvfbts.c
|
View
|
|
11 chunks |
+25 lines, -25 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ncnvtst.c
|
View
|
|
29 chunks |
+116 lines, -116 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/nucnvtst.c
|
View
|
|
34 chunks |
+79 lines, -79 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/putiltst.c
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/spreptst.c
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/stdnmtst.c
|
View
|
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/trietest.c
|
View
|
|
3 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/ucsdetst.c
|
View
|
|
6 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/udatatst.c
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/udatpg_test.c
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/uenumtst.c
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/usettest.c
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/usrchtst.c
|
View
|
|
5 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/utf16tst.c
|
View
|
|
12 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
source/test/cintltst/utransts.c
|
View
|
1
2
3
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/allcoll.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/alphaindextst.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/apicoll.cpp
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/astrotst.cpp
|
View
|
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/calregts.cpp
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/canittst.cpp
|
View
|
|
4 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/colldata.cpp
|
View
|
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/cpdtrtst.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/csdetest.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/currcoll.cpp
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/dtfmrgts.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/dtfmttst.cpp
|
View
|
|
24 chunks |
+30 lines, -32 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/dtifmtts.cpp
|
View
|
|
7 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/dtptngts.cpp
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/encoll.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/frcoll.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/icusvtst.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/itercoll.cpp
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/itrbnf.cpp
|
View
|
1
2
3
|
6 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/jamotest.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/loctest.cpp
|
View
|
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/msfmrgts.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/normconf.cpp
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/numfmtst.cpp
|
View
|
|
34 chunks |
+40 lines, -41 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/numrgts.cpp
|
View
|
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/plurfmts.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/rbbitst.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/regcoll.cpp
|
View
|
|
19 chunks |
+18 lines, -20 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/regextst.cpp
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/restest.cpp
|
View
|
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/restsnew.cpp
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/srchtest.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/ssearch.cpp
|
View
|
|
5 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/svccoll.cpp
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tchcfmt.cpp
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/testidna.cpp
|
View
|
|
13 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/thcoll.cpp
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tmsgfmt.cpp
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/transapi.cpp
|
View
|
|
10 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/transtst.cpp
|
View
|
|
23 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tstnorm.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tufmtts.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tzregts.cpp
|
View
|
1
|
4 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tzrulets.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/tztest.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/usettest.cpp
|
View
|
2
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/ustrtest.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/windttst.cpp
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/winnmtst.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/winutil.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/iotest/filetst.c
|
View
|
|
35 chunks |
+75 lines, -74 lines |
0 comments
|
Download
|
|
M |
source/test/iotest/iotest.cpp
|
View
|
|
7 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
|
M |
source/test/iotest/stream.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/iotest/strtst.c
|
View
|
|
18 chunks |
+41 lines, -40 lines |
0 comments
|
Download
|
|
M |
source/test/iotest/trnstst.c
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/DateFmtPerf/DateFmtPerf.h
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/test/perf/charperf/charperf.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/collperf/collperf.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/howExpensiveIs/howExpensiveIs.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/normperf/normperf.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/ubrkperf/ubrkperf.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/test/perf/ustrperf/stringperf.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/genbrk/genbrk.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/genccode/genccode.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gencfu/gencfu.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gencmn/gencmn.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gencnval/gencnval.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gendict/gendict.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/genrb/genrb.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gensprep/gensprep.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/gentest/gentest.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/icuinfo/icuinfo.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/pkgdata/pkgdata.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
source/tools/pkgdata/pkgtypes.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/tools/toolutil/pkg_genc.c
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/tools/toolutil/udbgutil.cpp
|
View
|
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
source/tools/tzcode/icuzdump.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8
|