Home
last modified time | relevance | path

Searched refs:SDL_bool (Results 1 – 25 of 267) sorted by relevance

1234567891011

/third_party/flutter/skia/third_party/externals/sdl/src/power/
DSDL_power.c28 typedef SDL_bool
32 SDL_bool SDL_GetPowerInfo_Linux_sys_class_power_supply(SDL_PowerState *, int *, int *);
33 SDL_bool SDL_GetPowerInfo_Linux_proc_acpi(SDL_PowerState *, int *, int *);
34 SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState *, int *, int *);
35 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState *, int *, int *);
36 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState *, int *, int *);
37 SDL_bool SDL_GetPowerInfo_Haiku(SDL_PowerState *, int *, int *);
38 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
39 SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
40 SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
[all …]
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_cpuinfo.h95 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
100 extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
105 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
110 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
115 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
120 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
125 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE3(void);
130 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void);
135 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
140 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
[all …]
DSDL_test_fuzzer.h167 Uint8 SDLTest_RandomUint8BoundaryValue(Uint8 boundary1, Uint8 boundary2, SDL_bool validDomain);
188 Uint16 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain);
209 Uint32 SDLTest_RandomUint32BoundaryValue(Uint32 boundary1, Uint32 boundary2, SDL_bool validDomain);
230 Uint64 SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain);
251 Sint8 SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain);
273 Sint16 SDLTest_RandomSint16BoundaryValue(Sint16 boundary1, Sint16 boundary2, SDL_bool validDomain);
294 Sint32 SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 boundary2, SDL_bool validDomain);
315 Sint64 SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain);
DSDL_rect.h73 SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r) in SDL_PointInRect()
82 SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r) in SDL_RectEmpty()
90 SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b) in SDL_RectEquals()
101 extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A,
109 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A,
125 extern DECLSPEC SDL_bool SDLCALL SDL_EnclosePoints(const SDL_Point * points,
135 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
DSDL_hints.h730 extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name,
739 extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
754 extern DECLSPEC SDL_bool SDLCALL SDL_GetHintBoolean(const char *name, SDL_bool default_value);
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowswindow.h38 SDL_bool created;
40 SDL_bool initializing;
41 SDL_bool expected_resize;
42 SDL_bool in_border_change;
43 SDL_bool in_title_click;
45 SDL_bool windowed_mode_was_maximized;
46 SDL_bool in_window_deactivation;
66 extern void WIN_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
67 extern void WIN_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable);
68 …N_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
[all …]
DSDL_windowsvideo.h144 SDL_bool ime_com_initialized;
146 SDL_bool ime_initialized;
147 SDL_bool ime_enabled;
148 SDL_bool ime_available;
157 SDL_bool ime_candlist;
164 SDL_bool ime_candvertical;
166 SDL_bool ime_dirty;
181 SDL_bool ime_uiless;
191 extern SDL_bool g_WindowsEnableMessageLoop;
192 extern SDL_bool g_WindowFrameUsableWhileCursorHidden;
[all …]
DSDL_windowsopengl.h30 SDL_bool HAS_WGL_ARB_pixel_format;
31 SDL_bool HAS_WGL_EXT_swap_control_tear;
32 SDL_bool HAS_WGL_EXT_create_context_es2_profile;
33 SDL_bool HAS_WGL_ARB_context_flush_control;
68 extern SDL_bool WIN_GL_SetPixelFormatFrom(_THIS, SDL_Window * fromWindow, SDL_Window * toWindow);
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_sysvideo.h50 SDL_bool hasshape;
96 SDL_bool surface_valid;
98 SDL_bool is_hiding;
99 SDL_bool is_destroying;
100 SDL_bool is_dropping; /* drag/drop in progress, expecting SDL_SendDropComplete(). */
221 void (*SetWindowBordered) (_THIS, SDL_Window * window, SDL_bool bordered);
222 void (*SetWindowResizable) (_THIS, SDL_Window * window, SDL_bool resizable);
223 …void (*SetWindowFullscreen) (_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool full…
226 void (*SetWindowGrab) (_THIS, SDL_Window * window, SDL_bool grabbed);
240 SDL_bool(*GetWindowWMInfo) (_THIS, SDL_Window * window,
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/power/macosx/
DSDL_syspower.c39 checkps(CFDictionaryRef dict, SDL_bool * have_ac, SDL_bool * have_battery, in checkps()
40 SDL_bool * charging, int *seconds, int *percent) in checkps()
45 SDL_bool charge = SDL_FALSE; in checkps()
46 SDL_bool choose = SDL_FALSE; in checkps()
47 SDL_bool is_ac = SDL_FALSE; in checkps()
143 SDL_bool
156 SDL_bool have_ac = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
157 SDL_bool have_battery = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
158 SDL_bool charging = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
/third_party/flutter/skia/third_party/externals/sdl/src/power/linux/
DSDL_syspower.c55 static SDL_bool
74 static SDL_bool
122 check_proc_acpi_battery(const char * node, SDL_bool * have_battery, in check_proc_acpi_battery()
123 SDL_bool * charging, int *seconds, int *percent) in check_proc_acpi_battery()
131 SDL_bool charge = SDL_FALSE; in check_proc_acpi_battery()
132 SDL_bool choose = SDL_FALSE; in check_proc_acpi_battery()
211 check_proc_acpi_ac_adapter(const char * node, SDL_bool * have_ac) in check_proc_acpi_ac_adapter()
234 SDL_bool
240 SDL_bool have_battery = SDL_FALSE; in SDL_GetPowerInfo_Linux_proc_acpi()
241 SDL_bool have_ac = SDL_FALSE; in SDL_GetPowerInfo_Linux_proc_acpi()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/atomic/
DSDL_atomic.c86 SDL_bool
92 return (SDL_bool) OSAtomicCompareAndSwap32Barrier(oldval, newval, &a->value); in SDL_AtomicCAS()
94 return (SDL_bool) __sync_bool_compare_and_swap(&a->value, oldval, newval); in SDL_AtomicCAS()
96 …return (SDL_bool) ((int) atomic_cas_64((volatile uint64_t*)&a->value, (uint64_t)oldval, (uint64_t)… in SDL_AtomicCAS()
98 …return (SDL_bool) ((int) atomic_cas_32((volatile uint32_t*)&a->value, (uint32_t)oldval, (uint32_t)… in SDL_AtomicCAS()
100 SDL_bool retval = SDL_FALSE; in SDL_AtomicCAS()
115 SDL_bool
123 … return (SDL_bool) OSAtomicCompareAndSwap64Barrier((int64_t)oldval, (int64_t)newval, (int64_t*) a); in SDL_AtomicCASPtr()
125 … return (SDL_bool) OSAtomicCompareAndSwap32Barrier((int32_t)oldval, (int32_t)newval, (int32_t*) a); in SDL_AtomicCASPtr()
129 return (SDL_bool) (atomic_cas_ptr(a, oldval, newval) == oldval); in SDL_AtomicCASPtr()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_windowsjoystick_c.h36 SDL_bool bXInputDevice;
68 SDL_bool removed;
69 SDL_bool send_remove_event;
74 SDL_bool buffered;
80SDL_bool bXInputDevice; /* SDL_TRUE if this device supports using the xinput API rather than Direc…
81 SDL_bool bXInputHaptic; /* Supports force feedback via XInput. */
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_ime.c26 typedef SDL_bool (*_SDL_IME_Init)();
28 typedef void (*_SDL_IME_SetFocus)(SDL_bool);
30 typedef SDL_bool (*_SDL_IME_ProcessKeyEvent)(Uint32, Uint32);
45 static SDL_bool inited = SDL_FALSE; in InitIME()
85 SDL_bool
104 SDL_IME_SetFocus(SDL_bool focused) in SDL_IME_SetFocus()
117 SDL_bool
DSDL_fcitx.h30 extern SDL_bool SDL_Fcitx_Init(void);
32 extern void SDL_Fcitx_SetFocus(SDL_bool focused);
34 extern SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11window.h52 SDL_bool use_mitshm;
58 SDL_bool created;
98 extern void X11_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
99 extern void X11_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable);
100 …1_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
102 extern void X11_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
104 extern SDL_bool X11_GetWindowWMInfo(_THIS, SDL_Window * window,
106 extern int X11_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
DSDL_x11opengl.h34 SDL_bool HAS_GLX_EXT_visual_rating;
35 SDL_bool HAS_GLX_EXT_visual_info;
36 SDL_bool HAS_GLX_EXT_swap_control_tear;
37 SDL_bool HAS_GLX_EXT_create_context_es2_profile;
38 SDL_bool HAS_GLX_ARB_context_flush_control;
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/
DSDL_pspvideo.h32 SDL_bool egl_initialized; /* OpenGL ES device initialization status */
48 SDL_bool uses_gles; /* if true window must support OpenGL ES */
76 void PSP_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
80 SDL_bool PSP_GetWindowWMInfo(_THIS, SDL_Window * window,
95 SDL_bool PSP_HasScreenKeyboardSupport(_THIS);
98 SDL_bool PSP_IsScreenKeyboardShown(_THIS, SDL_Window *window);
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoawindow.h113 SDL_bool created;
114 SDL_bool inWindowMove;
135 extern void Cocoa_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
136 extern void Cocoa_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable);
137 …a_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
140 extern void Cocoa_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
142 extern SDL_bool Cocoa_GetWindowWMInfo(_THIS, SDL_Window * window, struct SDL_SysWMinfo *info);
143 extern int Cocoa_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_bwindow.h41 extern void BE_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
42 extern void BE_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable);
43 extern void BE_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool
46 extern void BE_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
48 extern SDL_bool BE_GetWindowWMInfo(_THIS, SDL_Window * window,
/third_party/flutter/skia/third_party/externals/sdl/visualtest/include/
DSDL_visualtest_variator_common.h36 SDL_bool bool_value;
41 SDL_bool on;
48 SDL_bool on;
54 SDL_bool on;
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_fuzzer.c201 …gnedBoundaryValues(const Uint64 maxValue, Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain) in SDLTest_GenerateUnsignedBoundaryValues()
264 SDLTest_RandomUint8BoundaryValue(Uint8 boundary1, Uint8 boundary2, SDL_bool validDomain) in SDLTest_RandomUint8BoundaryValue()
274 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain) in SDLTest_RandomUint16BoundaryValue()
284 SDLTest_RandomUint32BoundaryValue(Uint32 boundary1, Uint32 boundary2, SDL_bool validDomain) in SDLTest_RandomUint32BoundaryValue()
298 SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain) in SDLTest_RandomUint64BoundaryValue()
333 …t Sint64 minValue, const Sint64 maxValue, Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain) in SDLTest_GenerateSignedBoundaryValues()
396 SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain) in SDLTest_RandomSint8BoundaryValue()
407 SDLTest_RandomSint16BoundaryValue(Sint16 boundary1, Sint16 boundary2, SDL_bool validDomain) in SDLTest_RandomSint16BoundaryValue()
418 SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 boundary2, SDL_bool validDomain) in SDLTest_RandomSint32BoundaryValue()
434 SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain) in SDLTest_RandomSint64BoundaryValue()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_rect.c19 SDL_bool intersection, SDL_bool expectedIntersection, in _validateIntersectRectAndLineResults()
55 SDL_bool intersected; in rect_testIntersectRectAndLine()
126 SDL_bool intersected; in rect_testIntersectRectAndLineInside()
193 SDL_bool intersected; in rect_testIntersectRectAndLineOutside()
248 SDL_bool intersected; in rect_testIntersectRectAndLineEmpty()
284 SDL_bool intersected; in rect_testIntersectRectAndLineParam()
309 SDL_bool intersection, SDL_bool expectedIntersection, in _validateHasIntersectionResults()
332 SDL_bool intersection, SDL_bool expectedIntersection, in _validateIntersectRectResults()
374 SDL_bool empty, SDL_bool expectedEmpty, in _validateRectEmptyResults()
392 SDL_bool equals, SDL_bool expectedEquals, in _validateRectEqualsResults()
[all …]
Dtestatomic.c23 tf(SDL_bool tf) in tf()
43 SDL_bool tfret = SDL_FALSE; in RunBasicTest()
311 static SDL_bool EnqueueEvent_LockFree(SDL_EventQueue *queue, const SDL_Event *event) in EnqueueEvent_LockFree()
317 SDL_bool status; in EnqueueEvent_LockFree()
358 static SDL_bool DequeueEvent_LockFree(SDL_EventQueue *queue, SDL_Event *event) in DequeueEvent_LockFree()
364 SDL_bool status; in DequeueEvent_LockFree()
405 static SDL_bool EnqueueEvent_Mutex(SDL_EventQueue *queue, const SDL_Event *event) in EnqueueEvent_Mutex()
411 SDL_bool status = SDL_FALSE; in EnqueueEvent_Mutex()
438 static SDL_bool DequeueEvent_Mutex(SDL_EventQueue *queue, SDL_Event *event) in DequeueEvent_Mutex()
444 SDL_bool status = SDL_FALSE; in DequeueEvent_Mutex()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/dynapi/
DSDL_dynapi_procs.h58 SDL_DYNAPI_PROC(SDL_RWops*,SDL_RWFromFP,(FILE *a, SDL_bool b),(a,b),return)
60 SDL_DYNAPI_PROC(SDL_RWops*,SDL_RWFromFP,(void *a, SDL_bool b),(a,b),return)
78 SDL_DYNAPI_PROC(void,SDL_iPhoneSetEventPump,(SDL_bool a),(a),)
98 SDL_DYNAPI_PROC(SDL_bool,SDL_AtomicTryLock,(SDL_SpinLock *a),(a),return)
101 SDL_DYNAPI_PROC(SDL_bool,SDL_AtomicCAS,(SDL_atomic_t *a, int b, int c),(a,b,c),return)
105 SDL_DYNAPI_PROC(SDL_bool,SDL_AtomicCASPtr,(void **a, void *b, void *c),(a,b,c),return)
135 SDL_DYNAPI_PROC(SDL_bool,SDL_HasClipboardText,(void),(),return)
138 SDL_DYNAPI_PROC(SDL_bool,SDL_HasRDTSC,(void),(),return)
139 SDL_DYNAPI_PROC(SDL_bool,SDL_HasAltiVec,(void),(),return)
140 SDL_DYNAPI_PROC(SDL_bool,SDL_HasMMX,(void),(),return)
[all …]

1234567891011