Lines Matching defs:val
106 uint32_t val = 0;
114 memcpy(&val, rawAddr, sizeof(uint32_t));
119 val = val16;
124 val = val8;
129 val = (val8 >> shift) & 0x1 ;
134 return val;
138 // bm.getConfig() specifies what format 'val' must be
140 void setPixel(int x, int y, uint32_t val, SkBitmap& bm) {
148 memcpy(rawAddr, &val, sizeof(uint32_t));
152 val16 = val & 0xFFFF;
157 val8 = val & 0xFF;
163 if (val & 0x1) // Turn bit on.