Home
last modified time | relevance | path

Searched refs:SDL_static_cast (Results 1 – 2 of 2) sorted by relevance

/bsp/simulator/SDL2/include/
A DSDL_stdinc.h159 #define SDL_static_cast(type, expression) static_cast<type>(expression) macro
163 #define SDL_static_cast(type, expression) ((type)(expression)) macro
170 ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \
171 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \
172 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \
173 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24))
557 : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords)) in SDL_memset4()
562 Uint32 *_p = SDL_static_cast(Uint32 *, dst); in SDL_memset4()
A DSDL_endian.h205 return SDL_static_cast(Uint16, ((x << 8) | (x >> 8)));
266 return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
324 lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF);
326 hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF);

Completed in 6 milliseconds