Searched refs:scast (Results 1 – 3 of 3) sorted by relevance
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()[all …]
294 inline int scast(float x) in scast() function
326 inline int scast(float x) in scast() function