xserver/exa
Enrico Weigelt, metux IT consult 8e80caa6f7 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-06-12 17:21:43 +02:00
..
exa.c exa: drop exaGetPixmapSize() 2025-06-12 16:50:10 +02:00
exa.h exa: unexport ExaOffscreenMarkUsed() 2025-06-12 16:50:15 +02:00
exa_accel.c exa: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
exa_classic.c exa: use PixmapDestroy hook 2025-06-12 16:46:42 +02:00
exa_driver.c exa: use PixmapDestroy hook 2025-06-12 16:46:42 +02:00
exa_glyphs.c exa: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02: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-06-12 17:21:43 +02:00
exa_mixed.c exa: use calloc() instead of malloc() 2025-06-12 16:49:16 +02:00
exa_offscreen.c exa: fix missing include of dix-config.h 2025-06-12 16:50:42 +02:00
exa_priv.h exa: drop unused import of colormapst.h 2025-06-12 17:21:43 +02:00
exa_render.c exa: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
exa_unaccel.c exa: fix missing include of dix-config.h 2025-06-12 16:50:42 +02:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00