xserver/hw/xfree86/dri
Enrico Weigelt, metux IT consult ea618f9bff 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-04-02 17:37:14 +00:00
..
dri.c xfree86: move private definitions out of dri.h 2025-02-06 23:51:34 +00:00
dri.h xfree86: move private definitions out of dri.h 2025-02-06 23:51:34 +00:00
dri_priv.h xfree86: move private definitions out of dri.h 2025-02-06 23:51:34 +00:00
dristruct.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00
sarea.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86dri.c xfree86: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00