xserver/exa
Enrico Weigelt, metux IT consult 9a0388f988 exa: 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
..
exa.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
exa.h exa: rename some badly named variables 2020-07-10 06:17:40 +10:00
exa_accel.c exa: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
exa_classic.c exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2025-02-12 17:48:30 +01:00
exa_driver.c exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2025-02-12 17:48:30 +01:00
exa_glyphs.c exa: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
exa_migration_classic.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
exa_migration_mixed.c exa: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
exa_mixed.c exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2025-02-12 17:48:30 +01:00
exa_offscreen.c exa: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
exa_priv.h include: drop obsolete check for typeof operator 2024-04-22 22:15:45 +00:00
exa_render.c exa: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
exa_unaccel.c mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00