Searched refs:SDL_static_cast (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_stdinc.h | 134 #define SDL_static_cast(type, expression) static_cast<type>(expression) macro 138 #define SDL_static_cast(type, expression) ((type)(expression)) macro 145 ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \ 146 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \ 147 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \ 148 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24)) 434 : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords)) in SDL_memset4() 439 Uint32 *_p = SDL_static_cast(Uint32 *, dst); in SDL_memset4()
|
A D | SDL_endian.h | 112 return SDL_static_cast(Uint16, ((x << 8) | (x >> 8))); 167 return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) | in SDL_Swap32() 204 lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF); in SDL_Swap64() 206 hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF); in SDL_Swap64()
|
/AliOS-Things-master/components/SDL2/src/audio/winmm/ |
A D | SDL_winmm.c | 139 len = SDL_static_cast(int, SDL_strlen(errbuf)); in SetMMerror()
|
/AliOS-Things-master/components/SDL2/src/render/direct3d11/ |
A D | SDL_render_d3d11.c | 56 #define SAFE_RELEASE(X) if ((X)) { IUnknown_Release(SDL_static_cast(IUnknown*, X)); X = NULL; } 1938 projection = MatrixRotationZ(SDL_static_cast(float, M_PI * 0.5f)); in D3D11_UpdateViewport() 1941 projection = MatrixRotationZ(SDL_static_cast(float, M_PI)); in D3D11_UpdateViewport() 1944 projection = MatrixRotationZ(SDL_static_cast(float, -M_PI * 0.5f)); in D3D11_UpdateViewport()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11window.c | 705 title = SDL_strdup(SDL_static_cast(char*, propdata)); in X11_GetWindowTitle() 712 title = SDL_iconv_string("UTF-8", "", SDL_static_cast(char*, propdata), items_read+1); in X11_GetWindowTitle()
|
Completed in 13 milliseconds