D | utils.c | 52 bool verify_pixel(int x, int y, uint32_t color) in verify_pixel() argument 63 return ((!!display_pixel(x, y)) == (!!color)); in verify_pixel() 97 bool verify_color_inside_rect(int x, int y, size_t width, size_t height, uint32_t color) in verify_color_inside_rect() argument 112 if (!!disp_pix != !!color) { in verify_color_inside_rect() 121 bool verify_color_outside_rect(int x, int y, size_t width, size_t height, uint32_t color) in verify_color_outside_rect() argument 126 ret = verify_color_inside_rect(0, 0, x, y + height, color); in verify_color_outside_rect() 134 display_height - (y + height), color); in verify_color_outside_rect() 142 display_height - y, color); in verify_color_outside_rect() 149 ret = verify_color_inside_rect(x, 0, display_width - x, y, color); in verify_color_outside_rect() 159 uint32_t color) in verify_image_and_bg() argument [all …]
|