HelenOS sources
RED 38 boot/genarch/src/ofw.c #define RED(i) (((i) >> 5) & ((1 << 3) - 1))
RED 31 contrib/tools/gen_vga323.c #define RED(i) (((i) >> 5) & ((1 << 3) - 1))
RED 61 kernel/genarch/src/fb/fb.c #define RED(x, bits) (((x) >> (8 + 8 + 8 - (bits))) & ((1 << (bits)) - 1))
RED 47 uspace/lib/c/include/io/pixel.h #define RED(pixel) (((pixel) & 0x00ff0000) >> 16)
RED 47 uspace/lib/posix/include/libc/io/pixel.h #define RED(pixel) (((pixel) & 0x00ff0000) >> 16)
HelenOS homepage, sources at GitHub