Lines Matching refs:ucast
82 *(unsigned char*)element = ucast<8>(color.r); in write()
88 *(unsigned short*)element = ucast<16>(color.r); in write()
146 …*(unsigned int*)element = (ucast<8>(color.a) << 24) | (ucast<8>(color.b) << 16) | (ucast<8>(color.… in write()
164 …*(unsigned int*)element = 0xFF000000 | (ucast<8>(color.b) << 16) | (ucast<8>(color.g) << 8) | (uca… in write()
184 *(unsigned short*)element = (ucast<8>(color.g) << 8) | (ucast<8>(color.r) << 0); in write()
194 *(unsigned int*)element = (ucast<16>(color.g) << 16) | (ucast<16>(color.r) << 0); in write()
214 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(color.r)); in write()
215 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(color.g)); in write()
216 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(color.b)); in write()
217 ((unsigned short*)element)[3] = static_cast<unsigned short>(ucast<16>(color.a)); in write()
225 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(color.r)); in write()
226 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(color.g)); in write()
227 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(color.b)); in write()