Enrico Weigelt, metux IT consult
349ba2c3f9
xi: replace xallocarray() by calloc()
...
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
@@
expression COUNT;
expression LEN;
@@
- xallocarray(COUNT,LEN)
+ calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-04-02 17:37:14 +00:00
..
2025-02-26 13:24:41 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-17 19:32:48 +00:00
2020-03-30 21:48:11 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-04-02 17:37:14 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2017-04-26 15:25:27 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:52 +00:00
2024-10-10 13:38:31 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-26 13:24:41 +00:00
2012-03-21 13:54:42 -07:00
2025-02-25 11:43:01 +01:00
2013-05-07 09:41:19 +10:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-24 20:19:55 +00:00
2025-02-06 22:28:52 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-03-06 14:19:50 +01:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-04-02 17:37:14 +00:00
2025-02-06 22:28:52 +00:00
2025-02-18 11:17:40 +00:00
2012-03-21 13:54:42 -07:00
2025-02-18 11:17:40 +00:00
2012-03-21 13:54:42 -07:00
2025-02-18 11:17:40 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00
2024-09-01 22:21:12 +00:00
2025-02-06 22:28:51 +00:00
2012-03-21 13:54:42 -07:00