Lines Matching refs:clamp_byte
392 static inline int clamp_byte(int x) { in clamp_byte() function
512 endpoints[0] = SkColorSetARGB(clamp_byte(c[0][0]), in decode_rgba_baseoffset()
513 clamp_byte(c[0][1]), in decode_rgba_baseoffset()
514 clamp_byte(c[0][2]), in decode_rgba_baseoffset()
515 clamp_byte(c[0][3])); in decode_rgba_baseoffset()
517 endpoints[1] = SkColorSetARGB(clamp_byte(c[1][0]), in decode_rgba_baseoffset()
518 clamp_byte(c[1][1]), in decode_rgba_baseoffset()
519 clamp_byte(c[1][2]), in decode_rgba_baseoffset()
520 clamp_byte(c[1][3])); in decode_rgba_baseoffset()
1248 const int L1 = clamp_byte(L0 + (v[1] & 0x3F)); in colorEndpoints()
1278 clamp_byte(v3+v2), in colorEndpoints()
1279 clamp_byte(v1+v0), in colorEndpoints()
1280 clamp_byte(v1+v0), in colorEndpoints()
1281 clamp_byte(v1+v0)); in colorEndpoints()