Lines Matching refs:scast
94 *(char*)element = scast<8>(r); in write()
100 *(short*)element = scast<16>(r); in write()
137 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write()
138 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
139 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
140 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
160 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write()
161 (static_cast<unsigned short>(scast<8>(r)) << 0); in write()
170 *(unsigned int*)element = (static_cast<unsigned int>(scast<16>(g)) << 16) | in write()
171 (static_cast<unsigned int>(scast<16>(r)) << 0); in write()
188 ((unsigned short*)element)[0] = static_cast<unsigned short>(scast<16>(r)); in write()
189 ((unsigned short*)element)[1] = static_cast<unsigned short>(scast<16>(g)); in write()
190 ((unsigned short*)element)[2] = static_cast<unsigned short>(scast<16>(b)); in write()
191 ((unsigned short*)element)[3] = static_cast<unsigned short>(scast<16>(a)); in write()