Home
last modified time | relevance | path

Searched refs:SDL_assert (Results 1 – 25 of 138) sorted by relevance

123456

/AliOS-Things-master/components/SDL2/test/
A Dtestatomic.c171 SDL_assert(v==42); in RunEpicTest()
178 SDL_assert(v==-5); in RunEpicTest()
195 SDL_assert(v==44); in RunEpicTest()
200 SDL_assert(v==44); in RunEpicTest()
202 SDL_assert(v==45); in RunEpicTest()
205 SDL_assert(v==45); in RunEpicTest()
207 SDL_assert(v==55); in RunEpicTest()
212 SDL_assert(v==55); in RunEpicTest()
214 SDL_assert(v==35); in RunEpicTest()
217 SDL_assert(v==35); in RunEpicTest()
[all …]
A Dtestautomation_surface.c358 SDL_assert(fmt1 != NULL); in surface_testCompleteSurfaceConversion()
360 SDL_assert(cvt1 != NULL); in surface_testCompleteSurfaceConversion()
363 SDL_assert(fmt1 != NULL); in surface_testCompleteSurfaceConversion()
365 SDL_assert(cvt2 != NULL); in surface_testCompleteSurfaceConversion()
372 SDL_assert(final != NULL); in surface_testCompleteSurfaceConversion()
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpimouse.c73 SDL_assert(surface->pitch == surface->w * 4); in RPI_CreateCursor()
94 SDL_assert(curdata->resource); in RPI_CreateCursor()
103 SDL_assert (ret == DISPMANX_SUCCESS); in RPI_CreateCursor()
136 SDL_assert(update); in RPI_ShowCursor()
138 SDL_assert(ret == DISPMANX_SUCCESS); in RPI_ShowCursor()
140 SDL_assert(ret == DISPMANX_SUCCESS); in RPI_ShowCursor()
175 SDL_assert(update); in RPI_ShowCursor()
194 SDL_assert(ret == DISPMANX_SUCCESS); in RPI_ShowCursor()
214 SDL_assert(update); in RPI_FreeCursor()
216 SDL_assert(ret == DISPMANX_SUCCESS); in RPI_FreeCursor()
[all …]
/AliOS-Things-master/components/SDL2/src/core/windows/
A DSDL_xinput.c80 SDL_assert(s_XInputDLLRefCount > 0); in WIN_LoadXInputDLL()
106 SDL_assert(s_XInputDLLRefCount == 0); in WIN_LoadXInputDLL()
130 SDL_assert(s_XInputDLLRefCount > 0); in WIN_UnloadXInputDLL()
136 SDL_assert(s_XInputDLLRefCount == 0); in WIN_UnloadXInputDLL()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audio.c153 SDL_assert(SRC_lib == NULL); in LoadLibSampleRate()
385 SDL_assert(name != NULL); in add_audio_device()
522 SDL_assert(handle != NULL); in mark_device_removed()
693 SDL_assert(!device->iscapture); in SDL_RunAudio()
798 SDL_assert(device->iscapture); in SDL_CaptureAudio()
836 SDL_assert(data != NULL); in SDL_CaptureAudio()
1096 SDL_assert(item != NULL); in SDL_GetAudioDeviceName()
1098 SDL_assert(item != NULL); in SDL_GetAudioDeviceName()
1359 SDL_assert(device->hidden != NULL); in open_audio_device()
1430 SDL_assert(device->work_buffer_len > 0); in open_audio_device()
[all …]
A DSDL_audiocvt.c53 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertStereoToMono_SSE3()
88 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertStereoToMono()
110 SDL_assert(format == AUDIO_F32SYS); in SDL_Convert51ToStereo()
135 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertQuadToStereo()
158 SDL_assert(format == AUDIO_F32SYS); in SDL_Convert71To51()
188 SDL_assert(format == AUDIO_F32SYS); in SDL_Convert51ToQuad()
217 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertMonoToStereo()
242 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertStereoTo51()
276 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertQuadTo51()
313 SDL_assert(format == AUDIO_F32SYS); in SDL_ConvertStereoToQuad()
[all …]
A DSDL_audiotypecvt.c311 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_S8_to_F32_SSE2()
370 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_U8_to_F32_SSE2()
431 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_S16_to_F32_SSE2()
479 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_U16_to_F32_SSE2()
527 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_S32_to_F32_SSE2()
574 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_F32_to_S8_SSE2()
634 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_F32_to_U8_SSE2()
694 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_F32_to_S16_SSE2()
752 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_F32_to_U16_SSE2()
818 SDL_assert(!i || ((((size_t) dst) & 15) == 0)); in SDL_Convert_F32_to_S32_SSE2()
[all …]
/AliOS-Things-master/components/SDL2/src/filesystem/haiku/
A DSDL_sysfilesystem.cc53 SDL_assert(rc == B_OK); in SDL_GetBasePath()
55 SDL_assert(rc == B_OK); in SDL_GetBasePath()
57 SDL_assert(str != NULL); in SDL_GetBasePath()
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtevents.cpp84 SDL_assert(_threadState == ThreadState_Running); in WINRT_YieldXAMLThread()
130 SDL_assert(false); in WINRT_CycleXAMLThread()
137 SDL_assert(_threadState == ThreadState_Yielding); in WINRT_CycleXAMLThread()
/AliOS-Things-master/components/SDL2/include/
A DSDL_assert.h165 # define SDL_assert(condition) SDL_disabled_assert(condition) macro
169 # define SDL_assert(condition) SDL_disabled_assert(condition) macro
173 # define SDL_assert(condition) SDL_enabled_assert(condition) macro
177 # define SDL_assert(condition) SDL_enabled_assert(condition) macro
/AliOS-Things-master/components/SDL2/src/audio/android/
A DSDL_androidaudio.c44 SDL_assert((captureDevice == NULL) || !iscapture); in ANDROIDAUDIO_OpenDevice()
45 SDL_assert((audioDevice == NULL) || iscapture); in ANDROIDAUDIO_OpenDevice()
115 SDL_assert(captureDevice == this); in ANDROIDAUDIO_CloseDevice()
118 SDL_assert(audioDevice == this); in ANDROIDAUDIO_CloseDevice()
/AliOS-Things-master/components/SDL2/src/
A DSDL_dataqueue.c145 SDL_assert(queue != NULL); in AllocateDataQueuePacket()
163 SDL_assert((queue->head != NULL) == (queue->queued_bytes != 0)); in AllocateDataQueuePacket()
195 SDL_assert(!packet || (packet->datalen <= packet_size)); in SDL_WriteToDataQueue()
243 SDL_assert(queue->queued_bytes >= avail); in SDL_PeekIntoDataQueue()
268 SDL_assert(queue->queued_bytes >= avail); in SDL_ReadFromDataQueue()
278 SDL_assert((packet->next != NULL) || (packet == queue->tail)); in SDL_ReadFromDataQueue()
284 SDL_assert((queue->head != NULL) == (queue->queued_bytes != 0)); in SDL_ReadFromDataQueue()
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi_winrt.cpp126 SDL_assert(sender == this->watcher);
137 SDL_assert(sender == this->watcher);
144 SDL_assert(sender == this->watcher);
150 SDL_assert(sender == this->watcher);
157 SDL_assert(this->iscapture);
164 SDL_assert(!this->iscapture);
A DSDL_wasapi_win32.c162 SDL_assert(!"uhoh, unexpected OnDefaultDeviceChange flow!"); in SDLMMNotificationClient_OnDefaultDeviceChanged()
330 SDL_assert(device == NULL); in WASAPI_ActivateDevice()
340 SDL_assert(this->hidden->client == NULL); in WASAPI_ActivateDevice()
344 SDL_assert(this->hidden->client != NULL); in WASAPI_ActivateDevice()
450 SDL_assert(!"This function should have only been called on WinRT."); in WASAPI_PlatformDeleteActivationHandler()
/AliOS-Things-master/components/SDL2/src/libm/
A Dk_rem_pio2.c162 SDL_assert(prec < SDL_arraysize(init_jk)); in __kernel_rem_pio2()
164 SDL_assert(jk > 0); in __kernel_rem_pio2()
255 SDL_assert(jz >= 0); in __kernel_rem_pio2()
256 while(iq[jz]==0) { jz--; SDL_assert(jz >= 0); q0-=24;} in __kernel_rem_pio2()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandmouse.c128 SDL_assert(d->shm_data != NULL); in create_buffer_from_shm()
165 SDL_assert(surface->format->format == SDL_PIXELFORMAT_ARGB8888); in Wayland_CreateCursor()
166 SDL_assert(surface->pitch == surface->w * 4); in Wayland_CreateCursor()
249 SDL_assert(0); in Wayland_CreateSystemCursor()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11mouse.c106 SDL_assert(surface->format->format == SDL_PIXELFORMAT_ARGB8888); in X11_CreateXCursorCursor()
107 SDL_assert(surface->pitch == surface->w * 4); in X11_CreateXCursorCursor()
145 SDL_assert(surface->format->format == SDL_PIXELFORMAT_ARGB8888); in X11_CreatePixmapCursor()
237 SDL_assert(0); in X11_CreateSystemCursor()
414 SDL_assert(!videodata->global_mouse_changed); /* The pointer wasn't on any X11 screen?! */ in X11_GetGlobalMouseState()
A DSDL_x11shape.c50 SDL_assert(resized_properly == 0); in X11_CreateShaper()
61 SDL_assert(data != NULL); in X11_ResizeWindowShape()
/AliOS-Things-master/components/SDL2/src/power/uikit/
A DSDL_syspower.m30 #include "SDL_assert.h"
44 SDL_assert([uidev isBatteryMonitoringEnabled] == YES);
70 SDL_assert(uidev.isBatteryMonitoringEnabled == NO);
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoashape.m30 #include "SDL_assert.h"
54 SDL_assert(resized_properly == 0);
107 SDL_assert(data != NULL);
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmouse.c135 SDL_assert(surface->format->format == SDL_PIXELFORMAT_ARGB8888); in WIN_CreateCursor()
136 SDL_assert(surface->pitch == surface->w * 4); in WIN_CreateCursor()
169 SDL_assert(0); in WIN_CreateSystemCursor()
/AliOS-Things-master/components/SDL2/src/audio/nacl/
A DSDL_naclaudio.c64 SDL_assert(_this->spec.size == len); in nacl_audio_callback()
82 SDL_assert((got < 0) || (got == len)); in nacl_audio_callback()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_shape.c48 SDL_assert(resized_properly == 0); in DirectFB_CreateShaper()
56 SDL_assert(data != NULL); in DirectFB_ResizeWindowShape()
/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c125 SDL_assert(SDL_FALSE); in SDL_GetTicks()
156 SDL_assert(SDL_FALSE); in SDL_GetPerformanceCounter()
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_windowshaptic.c88 SDL_assert(SDL_hapticlist == item); in SDL_SYS_RemoveHapticDevice()
116 SDL_assert(item != NULL); in HapticByDevIndex()
216 SDL_assert(joystick->driver == &SDL_WINDOWS_JoystickDriver); in SDL_SYS_HapticOpenFromJoystick()

Completed in 35 milliseconds

123456