xserver/glamor
Enrico Weigelt, metux IT consult 34d42a47df (1823) glamor: 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
..
glamor.c
glamor.h
glamor_addtraps.c
glamor_composite_glyphs.c
glamor_compositerects.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_context.h
glamor_copy.c
glamor_core.c
glamor_dash.c
glamor_debug.h
glamor_egl.c
glamor_egl.h
glamor_egl_ext.h
glamor_eglmodule.c
glamor_fbo.c
glamor_font.c
glamor_font.h
glamor_glx_provider.c
glamor_glx_provider.h
glamor_glyphblt.c
glamor_gradient.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_image.c
glamor_largepixmap.c
glamor_lines.c
glamor_picture.c
glamor_pixmap.c
glamor_points.c
glamor_prepare.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_prepare.h
glamor_priv.h
glamor_program.c
glamor_program.h
glamor_rects.c
glamor_render.c
glamor_segs.c
glamor_spans.c
glamor_sync.c
glamor_text.c
glamor_transfer.c
glamor_transfer.h
glamor_transform.c
glamor_transform.h
glamor_trapezoid.c
glamor_triangles.c
glamor_utils.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_utils.h
glamor_vbo.c
glamor_window.c
glamor_xv.c
meson.build