Searched refs:SDL_static_cast (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_stdinc.h | 109 #define SDL_static_cast(type, expression) static_cast<type>(expression) macro 113 #define SDL_static_cast(type, expression) ((type)(expression)) macro 120 ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \ 121 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \ 122 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \ 123 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24)) 371 : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords)) in SDL_memset4() 376 Uint32 *_p = SDL_static_cast(Uint32 *, dst); in SDL_memset4()
|
D | SDL_endian.h | 103 return SDL_static_cast(Uint16, ((x << 8) | (x >> 8))); 143 return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) | in SDL_Swap32() 180 lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF); in SDL_Swap64() 182 hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF); in SDL_Swap64()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/winmm/ |
D | SDL_winmm.c | 105 len = SDL_static_cast(int, SDL_strlen(errbuf)); in SetMMerror()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d11/ |
D | SDL_render_d3d11.c | 56 #define SAFE_RELEASE(X) if ((X)) { IUnknown_Release(SDL_static_cast(IUnknown*, X)); X = NULL; } 2221 projection = MatrixRotationZ(SDL_static_cast(float, M_PI * 0.5f)); in D3D11_UpdateViewport() 2224 projection = MatrixRotationZ(SDL_static_cast(float, M_PI)); in D3D11_UpdateViewport() 2227 projection = MatrixRotationZ(SDL_static_cast(float, -M_PI * 0.5f)); in D3D11_UpdateViewport()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11window.c | 679 title = SDL_strdup(SDL_static_cast(char*, propdata)); in X11_GetWindowTitle() 686 title = SDL_iconv_string("UTF-8", "", SDL_static_cast(char*, propdata), items_read+1); in X11_GetWindowTitle()
|