xserver/hw/xfree86
Daniel Martin cf1da0e797 Use ARRAY_SIZE all over the tree
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d5379b350f)
2021-02-20 17:39:29 -08:00
..
common Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
ddc xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
dixmods Move statically linked xorgxkb files from dixmods to a separate directory 2017-10-04 15:04:25 -04:00
doc xfree86: Unexport xf86Initialising, remove xf86ServerIsInitialising 2016-04-18 11:22:58 -04:00
dri hw/xfree86: unvalidated lengths 2017-10-12 12:25:19 -04:00
dri2 Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
drivers Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
exa build: Remove stale miext/cw include paths 2015-10-27 13:46:13 -04:00
fbdevhw fbdevhw: Fix a const qualifier warning 2015-09-23 15:18:24 -04:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c xfree86: Fix null pointer dereference 2016-09-28 14:53:39 -04:00
int10 x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
loader Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
man Update URL's in man pages 2021-02-20 17:39:29 -08:00
modes Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
os-support Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
parser parser: Fix crash when xf86nameCompare(s1 = x, s2 = NULL) 2017-09-21 15:00:25 +02:00
ramdac ramdac: Check ScreenPriv != NULL in xf86ScreenSetCursor() 2017-12-13 10:04:47 -05:00
shadowfb Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
utils xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
vbe xfree86: Change VBE version early-out to 1.2. (#22672) 2016-03-14 11:44:10 -04:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu x86emu: Change include order to avoid conflict with system header 2016-04-29 11:05:38 -04:00
xkb Move statically linked xorgxkb files from dixmods to a separate directory 2017-10-04 15:04:25 -04:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am Xorg.wrap: Ensure correct ordering of post-install hook 2018-01-22 14:07:01 -05:00
sdksyms.sh dix: Switch to the libXfont2 API (v2) 2016-07-18 15:25:59 -04:00
xorg-wrapper.c suid: Include sysmacros.h to fix build after glibc-2.25 2017-09-25 15:54:34 -04:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00