Lines Matching refs:ucast
103 *(unsigned char*)element = ucast<8>(r); in write()
109 *(unsigned short*)element = ucast<16>(r); in write()
167 …*(unsigned int*)element = (ucast<8>(a) << 24) | (ucast<8>(b) << 16) | (ucast<8>(g) << 8) | (ucast<… in write()
185 …*(unsigned int*)element = 0xFF000000 | (ucast<8>(b) << 16) | (ucast<8>(g) << 8) | (ucast<8>(r) << … in write()
206 *(unsigned short*)element = (ucast<8>(g) << 8) | (ucast<8>(r) << 0); in write()
216 *(unsigned int*)element = (ucast<16>(g) << 16) | (ucast<16>(r) << 0); in write()
236 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(r)); in write()
237 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(g)); in write()
238 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(b)); in write()
239 ((unsigned short*)element)[3] = static_cast<unsigned short>(ucast<16>(a)); in write()
247 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(r)); in write()
248 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(g)); in write()
249 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(b)); in write()