Lines Matching refs:bad
23 typedef int (*Proc)(const void*, int width, uint32_t expected, uint32_t* bad);
25 static int proc_32(const void* ptr, int w, uint32_t expected, uint32_t* bad) { in proc_32() argument
29 *bad = addr[x]; in proc_32()
36 static int proc_16(const void* ptr, int w, uint32_t expected, uint32_t* bad) { in proc_16() argument
40 *bad = addr[x]; in proc_16()
47 static int proc_8(const void* ptr, int w, uint32_t expected, uint32_t* bad) { in proc_8() argument
51 *bad = SkGetPackedA32(addr[x]); in proc_8()
58 static int proc_bad(const void*, int, uint32_t, uint32_t* bad) { in proc_bad() argument
59 *bad = 0; in proc_bad()
88 uint32_t bad; in check_color() local
89 int x = proc(bm.getAddr(0, y), bm.width(), expect, &bad); in check_color()
92 gColorTypeName[bm.colorType()], x, y, expect, bad); in check_color()