Lines Matching refs:scast
81 *(char*)element = scast<8>(color.r); in write()
87 *(short*)element = scast<16>(color.r); in write()
142 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(color.a)) << 24) | in write()
143 (static_cast<unsigned int>(scast<8>(color.b)) << 16) | in write()
144 (static_cast<unsigned int>(scast<8>(color.g)) << 8) | in write()
145 (static_cast<unsigned int>(scast<8>(color.r)) << 0); in write()
162 (static_cast<unsigned int>(scast<8>(color.b)) << 16) | in write()
163 (static_cast<unsigned int>(scast<8>(color.g)) << 8) | in write()
164 (static_cast<unsigned int>(scast<8>(color.r)) << 0); in write()
182 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(color.g)) << 8) | in write()
183 (static_cast<unsigned short>(scast<8>(color.r)) << 0); in write()
192 *(unsigned int*)element = (static_cast<unsigned int>(scast<16>(color.g)) << 16) | in write()
193 (static_cast<unsigned int>(scast<16>(color.r)) << 0); in write()
210 ((unsigned short*)element)[0] = static_cast<unsigned short>(scast<16>(color.r)); in write()
211 ((unsigned short*)element)[1] = static_cast<unsigned short>(scast<16>(color.g)); in write()
212 ((unsigned short*)element)[2] = static_cast<unsigned short>(scast<16>(color.b)); in write()
213 ((unsigned short*)element)[3] = static_cast<unsigned short>(scast<16>(color.a)); in write()
222 ((unsigned short*)element)[0] = static_cast<unsigned short>(scast<16>(color.r)); in write()
223 ((unsigned short*)element)[1] = static_cast<unsigned short>(scast<16>(color.g)); in write()
224 ((unsigned short*)element)[2] = static_cast<unsigned short>(scast<16>(color.b)); in write()