efl/legacy/evas/src/modules/engines/software_x11
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
..
.cvsignore Presenting the Indian Rope Trick. Watch in awe as these young files climb 2006-01-16 03:57:33 +00:00
Evas_Engine_Software_X11.h big patch from Samsung SAIT (Advanced research group) for async multi-frame 2010-05-21 07:10:45 +00:00
Makefile.am Move Evas (and associated headers) to their own dir (ie: the 'eet.h' 2010-07-09 06:10:55 +00:00
evas_engine.c * evas: remove gradient and gradient2. 2010-08-16 15:14:49 +00:00
evas_engine.h big patch from Samsung SAIT (Advanced research group) for async multi-frame 2010-05-21 07:10:45 +00:00
evas_xcb_buffer.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
evas_xcb_buffer.h masks should be correctly rotated in the xcb engine, now 2009-08-25 16:21:09 +00:00
evas_xcb_color.c * remove 'unused parameter' warnings 2009-02-28 10:08:45 +00:00
evas_xcb_color.h vtorri's merge of xcb and x11 software engines. 2008-12-17 08:13:49 +00:00
evas_xcb_main.c vtorri's merge of xcb and x11 software engines. 2008-12-17 08:13:49 +00:00
evas_xcb_outbuf.c Fix a crash in the xcb engine 2010-01-07 06:42:42 +00:00
evas_xcb_outbuf.h * evas: break engine API !!! 2009-06-26 13:26:52 +00:00
evas_xlib_buffer.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
evas_xlib_buffer.h fix softwared x11 xlib engine to generate masks when rotated too 2009-05-06 12:35:38 +00:00
evas_xlib_color.c * remove 'unused parameter' warnings 2009-02-28 10:08:45 +00:00
evas_xlib_color.h vtorri's merge of xcb and x11 software engines. 2008-12-17 08:13:49 +00:00
evas_xlib_main.c vtorri's merge of xcb and x11 software engines. 2008-12-17 08:13:49 +00:00
evas_xlib_outbuf.c big patch from Samsung SAIT (Advanced research group) for async multi-frame 2010-05-21 07:10:45 +00:00
evas_xlib_outbuf.h big patch from Samsung SAIT (Advanced research group) for async multi-frame 2010-05-21 07:10:45 +00:00