xserver/hw/xfree86/modes
Enrico Weigelt, metux IT consult faa216e8bb (1823) xfree86: 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-05-22 17:35:00 +02:00
..
meson.build xfree86: Move xf86CVTMode() function 2021-08-06 11:29:29 +00:00
xf86Crtc.c (1823) xfree86: replace xallocarray() by calloc() 2025-05-22 17:35:00 +02:00
xf86Crtc.h (!1714) xfree86: crtc: use CloseScreen hook 2025-05-22 17:34:47 +02:00
xf86Cursors.c (!1909) xfree86: use calloc() instead of malloc() 2025-05-22 17:34:50 +02:00
xf86DiDGA.c (1823) xfree86: replace xallocarray() by calloc() 2025-05-22 17:35:00 +02:00
xf86EdidModes.c (!1994) xfree86: ddc: make DMTModes[] static 2025-05-22 17:34:34 +02:00
xf86Modes.c treewide: replace xnfstrdup() calls by XNFstrdup() 2024-07-26 23:41:34 +00:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c (1823) xfree86: replace xallocarray() by calloc() 2025-05-22 17:35:00 +02:00
xf86RandR12.h (!1943) xfree86: unexport xf86RandR12CreateScreenResources() 2025-05-22 17:34:45 +02:00
xf86RandR12_priv.h (!1943) xfree86: unexport xf86RandR12CreateScreenResources() 2025-05-22 17:34:45 +02:00
xf86Rotate.c (!1909) xfree86: use calloc() instead of malloc() 2025-05-22 17:34:50 +02:00
xf86gtf.c treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00