xserver/fb
Enrico Weigelt, metux IT consult 90f32aa77b (1823) fb: 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-03 11:37:36 +02:00
..
fb.h (!1944) treewide: drop COMPOSITE symbol 2025-06-03 11:37:33 +02:00
fb_priv.h (!1954) fb: unexport fbGetScreenPixmap() macro 2025-06-03 11:37:32 +02:00
fballpriv.c (!1954) fb: unexport fbAllocatePrivates() 2025-06-03 11:37:32 +02:00
fbarc.c (!1954) fb: unexport fbGetGCPrivate() macro 2025-06-03 11:37:32 +02:00
fbbits.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbbits.h (!1954) fb: unexport fbGetGCPrivate() macro 2025-06-03 11:37:32 +02:00
fbblt.c (!1954) fb: move FbStipStrideToBitsStride() to fbblt.c 2025-06-03 11:37:32 +02:00
fbbltone.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbcmap_mi.c (!1954) fb: unexport fbListInstalledColormaps() 2025-06-03 11:37:32 +02:00
fbcopy.c (1823) fb: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
fbfill.c (!1954) fb: unexport fbValidateDrawable() 2025-06-03 11:37:32 +02:00
fbfillrect.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbfillsp.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbgc.c (!1954) fb: unexport fbGetGCPrivate() macro 2025-06-03 11:37:32 +02:00
fbgetsp.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbglyph.c (!1954) fb: unexport fbGetGCPrivate() macro 2025-06-03 11:37:32 +02:00
fbimage.c (!1954) fb: unexport FbBitsStrideToStipStride() macro 2025-06-03 11:37:32 +02:00
fbline.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fboverlay.c (!1909) fb: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
fboverlay.h (!1957) fb: overlay: drop unused fbOverlaySetupScreen() 2025-06-03 11:37:32 +02:00
fbpict.c (1823) fb: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
fbpict.h (!1962) fb: pict: make fbGlyphs() static 2025-06-03 11:37:32 +02:00
fbpict_priv.h (!1962) fb: pict: unexport fbTriangles() 2025-06-03 11:37:32 +02:00
fbpixmap.c (!1944) treewide: drop COMPOSITE symbol 2025-06-03 11:37:33 +02:00
fbpoint.c (!1954) fb: unexport FbBitsStrideToStipStride() macro 2025-06-03 11:37:32 +02:00
fbpush.c (!1954) fb: unexport FbBitsStrideToStipStride() macro 2025-06-03 11:37:32 +02:00
fbrop.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
fbscreen.c (!1954) fb: unexport fbAllocatePrivates() 2025-06-03 11:37:32 +02:00
fbseg.c (!1954) fb: unexport fbGetGCPrivate() macro 2025-06-03 11:37:32 +02:00
fbsetsp.c (!1954) fb: unexport fbValidateDrawable() 2025-06-03 11:37:32 +02:00
fbsolid.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbtile.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbtrap.c (!1962) fb: pict: unexport fbRasterizeTrapezoid() 2025-06-03 11:37:32 +02:00
fbutil.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
fbwindow.c (!1944) treewide: drop COMPOSITE symbol 2025-06-03 11:37:33 +02:00
meson.build Revert "fb: Remove even/odd tile slow-pathing" 2023-04-19 15:33:59 +00:00
wfbrename.h (!1957) fb: overlay: drop unused fbOverlaySetupScreen() 2025-06-03 11:37:32 +02:00