/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapi_xbox360.c | 249 return SDL_TRUE; in HIDAPI_DriverXbox360_MissingXInputSlot() 261 return SDL_TRUE; in HIDAPI_DriverXbox360_XInputSlotMatches() 289 return SDL_TRUE; in HIDAPI_DriverXbox360_GuessXInputSlot() 321 wgi_slot->used = SDL_TRUE; in HIDAPI_DriverXbox360_MarkWindowsGamingInputSlotUsed() 338 return SDL_TRUE; in HIDAPI_DriverXbox360_MissingWindowsGamingInputSlot() 476 return SDL_TRUE; in HIDAPI_DriverXbox360_WindowsGamingInputSlotMatches() 500 return SDL_TRUE; in HIDAPI_DriverXbox360_GuessWindowsGamingInputSlot() 586 return SDL_TRUE; in IsBluetoothXboxOneController() 647 return SDL_TRUE; in SetSlotLED() 715 return SDL_TRUE; in HIDAPI_DriverXbox360_OpenJoystick() [all …]
|
A D | SDL_hidapi_xboxone.c | 161 return SDL_TRUE; in IsBluetoothXboxOneController() 173 return SDL_TRUE; in ControllerHasPaddles() 188 return SDL_TRUE; in ControllerSendsWaitingForInit() 259 return SDL_TRUE; in SendControllerInit() 327 ctx->input_ready = SDL_TRUE; in HIDAPI_DriverXboxOne_OpenJoystick() 336 return SDL_TRUE; in HIDAPI_DriverXboxOne_OpenJoystick() 531 dpad_up = SDL_TRUE; in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 534 dpad_up = SDL_TRUE; in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 555 dpad_up = SDL_TRUE; in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 633 dpad_up = SDL_TRUE; in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV2() [all …]
|
A D | SDL_hidapi_ps4.c | 155 return SDL_TRUE; in ReadFeatureReport() 167 return SDL_TRUE; in CheckUSBConnected() 182 return SDL_TRUE; in HIDAPI_DriverPS4_CanRumble() 299 return SDL_TRUE; in HIDAPI_DriverPS4_OpenJoystick() 377 dpad_up = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() 380 dpad_up = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() 388 dpad_down = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() 391 dpad_down = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() 394 dpad_left = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() 401 dpad_up = SDL_TRUE; in HIDAPI_DriverPS4_HandleStatePacket() [all …]
|
A D | SDL_hidapi_switch.c | 255 return SDL_TRUE; in HasHomeLED() 270 return SDL_TRUE; in IsGameCubeFormFactor() 353 return SDL_TRUE; in ReadProprietaryReply() 443 return SDL_TRUE; in WriteProprietary() 510 return SDL_TRUE; in BTrySetupUSB() 618 return SDL_TRUE; in LoadStickCalibration() 807 return SDL_TRUE; in HIDAPI_DriverSwitch_OpenJoystick() 960 dpad_up = SDL_TRUE; in HandleInputOnlyControllerState() 963 dpad_up = SDL_TRUE; in HandleInputOnlyControllerState() 984 dpad_up = SDL_TRUE; in HandleInputOnlyControllerState() [all …]
|
A D | SDL_hidapi_xbox360w.c | 51 return SDL_TRUE; in HIDAPI_DriverXbox360W_IsSupportedDevice() 70 return SDL_TRUE; in SetSlotLED() 116 return SDL_TRUE; in HIDAPI_DriverXbox360W_InitDevice() 143 return SDL_TRUE; in HIDAPI_DriverXbox360W_OpenJoystick() 164 const SDL_bool invert_y_axes = SDL_TRUE; in HIDAPI_DriverXbox360W_HandleStatePacket() 223 SDL_bool connected = (data[1] & 0x80) ? SDL_TRUE : SDL_FALSE; in HIDAPI_DriverXbox360W_UpdateDevice() 288 SDL_TRUE,
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_sdltest.c | 169 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 176 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 11, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 183 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 12, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 190 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 13, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 197 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 20, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 204 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(20, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint8() 279 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint16() 286 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 11, SDL_TRUE); in sdltest_randomBoundaryNumberUint16() 293 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 12, SDL_TRUE); in sdltest_randomBoundaryNumberUint16() 300 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 13, SDL_TRUE); in sdltest_randomBoundaryNumberUint16() [all …]
|
A D | testaudiocapture.c | 34 please_quit = SDL_TRUE; in loop() 37 please_quit = SDL_TRUE; in loop() 41 SDL_PauseAudioDevice(devid_out, SDL_TRUE); in loop() 46 SDL_PauseAudioDevice(devid_in, SDL_TRUE); in loop() 79 while (SDL_TRUE) { in loop() 115 devcount = SDL_GetNumAudioDevices(SDL_TRUE); in main() 117 SDL_Log(" Capture device #%d: '%s'\n", i, SDL_GetAudioDeviceName(i, SDL_TRUE)); in main() 148 devid_in = SDL_OpenAudioDevice(argv[1], SDL_TRUE, &spec, &spec, 0); in main()
|
A D | testrendertarget.c | 64 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture() 68 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 72 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture() 75 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 79 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture() 129 blend_tested = SDL_TRUE; in DrawComposite() 178 return SDL_TRUE; in DrawComposite() 222 return SDL_TRUE; in Draw() 273 test_composite = SDL_TRUE; in main() 295 drawstate->sprite = LoadTexture(drawstate->renderer, "icon-alpha.bmp", SDL_TRUE); in main() [all …]
|
A D | testautomation_rect.c | 27 (intersection == SDL_TRUE) ? "SDL_TRUE" : "SDL_FALSE", in _validateIntersectRectAndLineResults() 380 (empty == SDL_TRUE) ? "SDL_TRUE" : "SDL_FALSE", in _validateRectEmptyResults() 634 …SDLTest_AssertCheck(empty == SDL_TRUE, "Validate result is empty Rect; got: %s", (empty == SDL_TRU… in rect_testIntersectRectEmpty() 651 …SDLTest_AssertCheck(empty == SDL_TRUE, "Validate result is empty Rect; got: %s", (empty == SDL_TRU… in rect_testIntersectRectEmpty() 670 …SDLTest_AssertCheck(empty == SDL_TRUE, "Validate result is empty Rect; got: %s", (empty == SDL_TRU… in rect_testIntersectRectEmpty() 967 SDL_bool expectedEnclosed = SDL_TRUE; in rect_testEnclosePoints() 1038 SDL_bool expectedEnclosed = SDL_TRUE; in rect_testEnclosePointsRepeatedInput() 1147 expectedEnclosed = SDL_TRUE; in rect_testEnclosePointsWithClipping() 1179 if (expectedEnclosed==SDL_TRUE) { in rect_testEnclosePointsWithClipping() 1486 expectedResult = SDL_TRUE; in rect_testRectEmpty() [all …]
|
A D | testscale.c | 65 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture() 69 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 73 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture() 76 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 80 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture() 179 drawstate->sprite = LoadTexture(drawstate->renderer, "icon.bmp", SDL_TRUE); in main()
|
A D | testrendercopyex.c | 63 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture() 67 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 71 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture() 74 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture() 78 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture() 189 drawstate->sprite = LoadTexture(drawstate->renderer, "icon.bmp", SDL_TRUE); in main()
|
A D | testatomic.c | 55 tfret = SDL_AtomicSet(&v, 10) == 0 ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 57 tfret = SDL_AtomicAdd(&v, 10) == 10 ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 62 tfret = (SDL_AtomicGet(&v) == 1) ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 65 tfret = (SDL_AtomicGet(&v) == 2) ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 69 tfret = (SDL_AtomicDecRef(&v) == SDL_TRUE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 76 tfret = (SDL_AtomicCAS(&v, value, 20) == SDL_TRUE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest() 342 status = SDL_TRUE; in EnqueueEvent_LockFree() 389 status = SDL_TRUE; in DequeueEvent_LockFree() 429 status = SDL_TRUE; in EnqueueEvent_Mutex() 462 status = SDL_TRUE; in DequeueEvent_Mutex() [all …]
|
A D | testspriteminimal.c | 61 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadSprite() 65 SDL_SetColorKey(temp, SDL_TRUE, in LoadSprite() 69 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadSprite() 72 SDL_SetColorKey(temp, SDL_TRUE, in LoadSprite() 76 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadSprite()
|
/AliOS-Things-master/components/SDL2/src/power/linux/ |
A D | SDL_syspower.c | 73 return SDL_TRUE; in read_power_file() 121 return SDL_TRUE; in make_proc_acpi_key_val() 200 choose = SDL_TRUE; in check_proc_acpi_battery() 203 choose = SDL_TRUE; in check_proc_acpi_battery() 311 return SDL_TRUE; in next_string() 405 need_details = SDL_TRUE; in SDL_GetPowerInfo_Linux_proc_apm() 408 need_details = SDL_TRUE; in SDL_GetPowerInfo_Linux_proc_apm() 428 return SDL_TRUE; in SDL_GetPowerInfo_Linux_proc_apm() 520 choose = SDL_TRUE; in SDL_GetPowerInfo_Linux_sys_class_power_supply() 599 choose = SDL_TRUE; in check_upower_device() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_bmp.c | 262 was_error = SDL_TRUE; in LoadBMP_RW() 271 was_error = SDL_TRUE; in LoadBMP_RW() 276 was_error = SDL_TRUE; in LoadBMP_RW() 355 topDown = SDL_TRUE; in LoadBMP_RW() 363 was_error = SDL_TRUE; in LoadBMP_RW() 436 was_error = SDL_TRUE; in LoadBMP_RW() 483 was_error = SDL_TRUE; in LoadBMP_RW() 654 was_error = SDL_TRUE; in LoadICOCUR_RW() 667 was_error = SDL_TRUE; in LoadICOCUR_RW() 701 was_error = SDL_TRUE; in LoadICOCUR_RW() [all …]
|
/AliOS-Things-master/components/SDL2/src/power/macosx/ |
A D | SDL_syspower.c | 61 is_ac = *have_ac = SDL_TRUE; in checkps() 67 charge = SDL_TRUE; in checkps() 74 *have_battery = SDL_TRUE; in checkps() 83 *have_battery = SDL_TRUE; in checkps() 123 choose = SDL_TRUE; /* at least we know there's a battery. */ in checkps() 126 choose = SDL_TRUE; in checkps() 129 choose = SDL_TRUE; in checkps() 186 return SDL_TRUE; /* always the definitive answer on Mac OS X. */ in SDL_GetPowerInfo_MacOSX()
|
/AliOS-Things-master/components/SDL2/src/power/windows/ |
A D | SDL_syspower.c | 47 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows() 50 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows() 53 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows() 70 return SDL_TRUE; /* always the definitive answer on Windows. */ in SDL_GetPowerInfo_Windows()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_bmp.c | 157 hasAlpha = SDL_TRUE; in CorrectAlphaChannel() 217 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 226 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 231 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 311 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 315 topDown = SDL_TRUE; in SDL_LoadBMP_RW() 323 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 341 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 398 was_error = SDL_TRUE; in SDL_LoadBMP_RW() 407 was_error = SDL_TRUE; in SDL_LoadBMP_RW() [all …]
|
A D | SDL_yuv.c | 202 return SDL_TRUE; in yuv_rgb_sse() 205 return SDL_TRUE; in yuv_rgb_sse() 209 return SDL_TRUE; in yuv_rgb_sse() 213 return SDL_TRUE; in yuv_rgb_sse() 217 return SDL_TRUE; in yuv_rgb_sse() 221 return SDL_TRUE; in yuv_rgb_sse() 234 return SDL_TRUE; in yuv_rgb_sse() 237 return SDL_TRUE; in yuv_rgb_sse() 241 return SDL_TRUE; in yuv_rgb_sse() 245 return SDL_TRUE; in yuv_rgb_sse() [all …]
|
A D | SDL_rect.c | 71 return SDL_TRUE; in SDL_HasIntersection() 234 return SDL_TRUE; in SDL_EnclosePoints() 240 added = SDL_TRUE; in SDL_EnclosePoints() 260 return SDL_TRUE; in SDL_EnclosePoints() 290 return SDL_TRUE; in SDL_EnclosePoints() 372 return SDL_TRUE; in SDL_IntersectRectAndLine() 393 return SDL_TRUE; in SDL_IntersectRectAndLine() 408 return SDL_TRUE; in SDL_IntersectRectAndLine() 465 return SDL_TRUE; in SDL_IntersectRectAndLine() 526 return SDL_TRUE; in SDL_GetSpanEnclosingRect()
|
/AliOS-Things-master/components/SDL2/src/power/haiku/ |
A D | SDL_syspower.c | 99 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku() 102 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku() 105 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku() 122 return SDL_TRUE; /* the definitive answer if APM driver replied. */ in SDL_GetPowerInfo_Haiku()
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandclipboard.c | 78 &length, TEXT_MIME, SDL_TRUE); in Wayland_GetClipboardText() 84 &length, TEXT_MIME, SDL_TRUE); in Wayland_GetClipboardText() 112 result = SDL_TRUE; in Wayland_HasClipboardText() 115 result = SDL_TRUE; in Wayland_HasClipboardText()
|
/AliOS-Things-master/components/SDL2/src/joystick/windows/ |
A D | SDL_windowsjoystick.c | 129 s_bWindowsDeviceChanged = SDL_TRUE; in SDL_PrivateJoystickDetectProc() 213 return (lastret != -1) ? SDL_TRUE : SDL_FALSE; in SDL_WaitForDeviceNotification() 249 bXInputChanged = SDL_TRUE; in SDL_JoystickThread() 261 s_bDeviceRemoved = SDL_TRUE; in SDL_JoystickThread() 262 s_bDeviceAdded = SDL_TRUE; in SDL_JoystickThread() 275 device->send_add_event = SDL_TRUE; in WINDOWS_AddJoystickDevice() 280 s_bDeviceAdded = SDL_TRUE; in WINDOWS_AddJoystickDevice() 305 s_bDeviceAdded = SDL_TRUE; /* force a scan of the system for joysticks this first time */ in WINDOWS_JoystickInit() 538 s_bJoystickThreadQuit = SDL_TRUE; in WINDOWS_JoystickQuit()
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_joystick.c | 183 return SDL_TRUE; in SDL_SetJoystickIDForPlayerIndex() 204 return SDL_TRUE; in SDL_SetJoystickIDForPlayerIndex() 353 return SDL_TRUE; in SDL_JoystickAxesCenteredAtZero() 358 return SDL_TRUE; in SDL_JoystickAxesCenteredAtZero() 587 valid = SDL_TRUE; in SDL_PrivateJoystickValid() 1028 return SDL_TRUE; in SDL_PrivateJoystickShouldIgnoreEvent() 1807 return SDL_TRUE; in SDL_IsJoystickProductWheel() 1823 return SDL_TRUE; in SDL_IsJoystickProductFlightStick() 1839 return SDL_TRUE; in SDL_IsJoystickProductThrottle() 2058 return SDL_TRUE; in SDL_ShouldIgnoreJoystick() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsvideo.c | 43 SDL_bool g_WindowsEnableMessageLoop = SDL_TRUE; 44 SDL_bool g_WindowFrameUsableWhileCursorHidden = SDL_TRUE; 52 g_WindowsEnableMessageLoop = SDL_TRUE; in UpdateWindowsEnableMessageLoop() 62 g_WindowFrameUsableWhileCursorHidden = SDL_TRUE; in UpdateWindowFrameUsableWhileCursorHidden() 279 return SDL_TRUE; in D3D_LoadDLL() 289 return SDL_TRUE; in D3D_LoadDLL() 367 return SDL_TRUE; in DXGI_LoadDLL() 445 return SDL_TRUE; in SDL_DXGIGetOutputInfo()
|