Lines Matching refs:scast
100 *(char*)element = scast<8>(r); in write()
106 *(short*)element = scast<16>(r); in write()
161 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write()
162 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
163 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
164 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
181 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
182 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
183 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
202 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write()
203 (static_cast<unsigned short>(scast<8>(r)) << 0); in write()
212 *(unsigned int*)element = (static_cast<unsigned int>(scast<16>(g)) << 16) | in write()
213 (static_cast<unsigned int>(scast<16>(r)) << 0); in write()
230 ((unsigned short*)element)[0] = static_cast<unsigned short>(scast<16>(r)); in write()
231 ((unsigned short*)element)[1] = static_cast<unsigned short>(scast<16>(g)); in write()
232 ((unsigned short*)element)[2] = static_cast<unsigned short>(scast<16>(b)); in write()
233 ((unsigned short*)element)[3] = static_cast<unsigned short>(scast<16>(a)); in write()
242 ((unsigned short*)element)[0] = static_cast<unsigned short>(scast<16>(r)); in write()
243 ((unsigned short*)element)[1] = static_cast<unsigned short>(scast<16>(g)); in write()
244 ((unsigned short*)element)[2] = static_cast<unsigned short>(scast<16>(b)); in write()