/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_stdlib.c | 27 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_strlcpy() 33 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_strlcpy() 53 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf() 59 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf() 68 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf() 74 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf() 80 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf() 170 SDL_strcmp(text, expected) == 0, in stdlib_getsetenv() 189 SDL_strcmp(text, expected) == 0, in stdlib_getsetenv() 208 SDL_strcmp(text, expected) == 0, in stdlib_getsetenv() [all …]
|
A D | testyuv.c | 270 if (SDL_strcmp(argv[arg], "--jpeg") == 0) { in main() 276 } else if (SDL_strcmp(argv[arg], "--auto") == 0) { in main() 278 } else if (SDL_strcmp(argv[arg], "--yv12") == 0) { in main() 280 } else if (SDL_strcmp(argv[arg], "--iyuv") == 0) { in main() 282 } else if (SDL_strcmp(argv[arg], "--yuy2") == 0) { in main() 284 } else if (SDL_strcmp(argv[arg], "--uyvy") == 0) { in main() 286 } else if (SDL_strcmp(argv[arg], "--yvyu") == 0) { in main() 288 } else if (SDL_strcmp(argv[arg], "--nv12") == 0) { in main() 290 } else if (SDL_strcmp(argv[arg], "--nv21") == 0) { in main() 298 } else if (SDL_strcmp(argv[arg], "--argb") == 0) { in main() [all …]
|
A D | testautomation_video.c | 554 SDLTest_AssertCheck(SDL_strcmp(lastError, invalidWindowError) == 0, in video_getWindowBrightnessNegative() 608 SDLTest_AssertCheck(SDL_strcmp(lastError, invalidWindowError) == 0, in _checkInvalidWindowError() 642 SDLTest_AssertCheck(SDL_strcmp(lastError, expectedError) == 0, in video_getWindowDisplayModeNegative() 1564 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1570 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1594 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1600 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1608 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1616 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() 1622 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData() [all …]
|
A D | testautomation_pixels.c | 207 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in pixels_allocFreeFormat() 221 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in pixels_allocFreeFormat() 252 SDLTest_AssertCheck(SDL_strcmp(result, unknownFormat) == 0, in pixels_getPixelFormatName() 267 SDLTest_AssertCheck(SDL_strcmp(result, _RGBPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName() 283 SDLTest_AssertCheck(SDL_strcmp(result, _nonRGBPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName() 301 SDLTest_AssertCheck(SDL_strcmp(result, _invalidPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName() 381 SDLTest_AssertCheck(SDL_strcmp(error, expectedError1) == 0, in pixels_allocFreePalette() 395 SDLTest_AssertCheck(SDL_strcmp(error, expectedError2) == 0, in pixels_allocFreePalette() 481 SDLTest_AssertCheck(SDL_strcmp(error, expectedError1) == 0, in pixels_calcGammaRamp() 494 SDLTest_AssertCheck(SDL_strcmp(error, expectedError2) == 0, in pixels_calcGammaRamp()
|
A D | testautomation_keyboard.c | 119 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in _checkInvalidScancodeError() 181 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 188 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 195 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 202 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 209 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 216 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyName() 242 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getScancodeNameNegative() 265 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyNameNegative() 500 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in keyboard_setTextInputRectNegative() [all …]
|
A D | testautomation_clipboard.c | 67 SDL_strcmp(textRef, text) == 0, in clipboard_testSetClipboardText() 132 SDL_strcmp(textRef, text) == 0, in clipboard_testClipboardTextFunctions() 145 SDL_strcmp(textRef, charResult) == 0, in clipboard_testClipboardTextFunctions()
|
A D | testoverlay2.c | 257 if (SDL_strcmp(argv[1], "-fps") == 0) { in main() 277 } else if (SDL_strcmp(argv[1], "-nodelay") == 0) { in main() 281 } else if (SDL_strcmp(argv[1], "-scale") == 0) { in main() 301 } else if ((SDL_strcmp(argv[1], "-help") == 0) in main() 302 || (SDL_strcmp(argv[1], "-h") == 0)) { in main()
|
A D | testautomation_hints.c | 88 (result1 == NULL && result2 == NULL) || (SDL_strcmp(result1, result2) == 0), in hints_getHint() 128 (SDL_strcmp(value, testValue) == 0), in hints_setHint()
|
A D | testautomation_sdltest.c | 252 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint8() 362 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint16() 472 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint32() 582 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint64() 692 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint8() 802 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint16() 919 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint32() 1029 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint64() 1191 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomAsciiStringWithMaximumLength() 1245 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomAsciiStringOfSize()
|
A D | testlocale.c | 45 if ((argc == 2) && (SDL_strcmp(argv[1], "--listen") == 0)) { in main()
|
A D | testautomation_platform.c | 314 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0, in platform_testGetSetClearError() 352 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0, in platform_testSetErrorEmptyInput() 435 SDLTest_AssertCheck(SDL_strcmp(lastError, probeError) == 0, in platform_testSetErrorInvalidInput()
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_assert.c | 188 if (SDL_strcmp(envr, "abort") == 0) { in SDL_PromptAssertion() 190 } else if (SDL_strcmp(envr, "break") == 0) { in SDL_PromptAssertion() 192 } else if (SDL_strcmp(envr, "retry") == 0) { in SDL_PromptAssertion() 194 } else if (SDL_strcmp(envr, "ignore") == 0) { in SDL_PromptAssertion() 196 } else if (SDL_strcmp(envr, "always_ignore") == 0) { in SDL_PromptAssertion() 249 if (SDL_strcmp(buf, "a") == 0) { in SDL_PromptAssertion() 254 } else if (SDL_strcmp(buf, "r") == 0) { in SDL_PromptAssertion() 256 } else if (SDL_strcmp(buf, "i") == 0) { in SDL_PromptAssertion() 258 } else if (SDL_strcmp(buf, "A") == 0) { in SDL_PromptAssertion()
|
A D | SDL_hints.c | 65 if (SDL_strcmp(name, hint->name) == 0) { in SDL_SetHintWithPriority() 69 if (!hint->value || !value || SDL_strcmp(hint->value, value) != 0) { in SDL_SetHintWithPriority() 112 if (SDL_strcmp(name, hint->name) == 0) { in SDL_GetHint() 168 if (SDL_strcmp(name, hint->name) == 0) { in SDL_AddHintCallback() 204 if (SDL_strcmp(name, hint->name) == 0) { in SDL_DelHintCallback()
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_udev.c | 415 if (SDL_strcmp(subsystem, "sound") == 0) { in device_event() 417 } else if (SDL_strcmp(subsystem, "input") == 0) { in device_event() 421 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event() 427 val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event() 432 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event() 437 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event() 448 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event() 456 if (SDL_strcmp(val, "joystick") == 0) { in device_event() 460 } else if (SDL_strcmp(val, "kbd") == 0) { in device_event() 497 if (SDL_strcmp(action, "add") == 0) { in SDL_UDEV_Poll() [all …]
|
/AliOS-Things-master/components/SDL2/src/power/linux/ |
A D | SDL_syspower.c | 457 if ((SDL_strcmp(name, ".") == 0) || (SDL_strcmp(name, "..") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 461 } else if (SDL_strcmp(str, "Battery\n") != 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 470 if (SDL_strcmp(str, "device\n") == 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 476 … if (read_power_file(base, name, "present", str, sizeof (str)) && (SDL_strcmp(str, "0\n") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 480 } else if (SDL_strcmp(str, "Charging\n") == 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 482 } else if (SDL_strcmp(str, "Discharging\n") == 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply() 484 } else if ((SDL_strcmp(str, "Full\n") == 0) || (SDL_strcmp(str, "Not charging\n") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
|
/AliOS-Things-master/components/SDL2/src/thread/pthread/ |
A D | SDL_systhread.c | 234 if (SDL_strcmp(policyhint, "current") == 0) { in SDL_SYS_SetThreadPriority() 236 } else if (SDL_strcmp(policyhint, "other") == 0) { in SDL_SYS_SetThreadPriority() 238 } else if (SDL_strcmp(policyhint, "rr") == 0) { in SDL_SYS_SetThreadPriority() 240 } else if (SDL_strcmp(policyhint, "fifo") == 0) { in SDL_SYS_SetThreadPriority()
|
/AliOS-Things-master/components/SDL2/src/image/unused/ |
A D | showimage.c | 73 if ( SDL_strcmp(argv[i], "-fullscreen") == 0 ) { in main() 90 if ( SDL_strcmp(argv[i], "-fullscreen") == 0 ) { in main() 94 if ( SDL_strcmp(argv[i], "-save") == 0 && argv[i+1] ) { in main()
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_getenv.c | 269 if (value && (SDL_strcmp(value, "VALUE1") == 0)) { in main() 284 if (value && (SDL_strcmp(value, "VALUE2") == 0)) { in main() 299 if (value && (SDL_strcmp(value, "NOVALUE") == 0)) { in main()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11vulkan.c | 78 if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in X11_Vulkan_LoadLibrary() 80 else if(SDL_strcmp(VK_KHR_XCB_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in X11_Vulkan_LoadLibrary() 82 else if(SDL_strcmp(VK_KHR_XLIB_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in X11_Vulkan_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/vivante/ |
A D | SDL_vivantevulkan.c | 89 if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in VIVANTE_Vulkan_LoadLibrary() 91 else if(SDL_strcmp(VK_KHR_DISPLAY_EXTENSION_NAME, extensions[i].extensionName) == 0) in VIVANTE_Vulkan_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidvulkan.c | 77 if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in Android_Vulkan_LoadLibrary() 79 else if(SDL_strcmp(VK_KHR_ANDROID_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in Android_Vulkan_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsvulkan.c | 78 if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in WIN_Vulkan_LoadLibrary() 80 else if(SDL_strcmp(VK_KHR_WIN32_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in WIN_Vulkan_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandvulkan.c | 77 if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in Wayland_Vulkan_LoadLibrary() 79 else if(SDL_strcmp(VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) in Wayland_Vulkan_LoadLibrary()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_harness.c | 462 if (testSuite->name != NULL && SDL_strcmp(filter, testSuite->name) == 0) { in SDLTest_RunSuites() 476 if (testCase->name != NULL && SDL_strcmp(filter, testCase->name) == 0) { in SDLTest_RunSuites() 505 SDL_strcmp(suiteFilterName, testSuite->name) != 0) { in SDLTest_RunSuites() 535 SDL_strcmp(testFilterName, testCase->name) != 0) { in SDLTest_RunSuites()
|
/AliOS-Things-master/components/SDL2/src/audio/alsa/ |
A D | SDL_alsa_audio.c | 633 if (SDL_strcmp("FL FR FC LFE RL RR", chmap_str) == 0 || in ALSA_OpenDevice() 634 SDL_strcmp("FL FR FC LFE SL SR", chmap_str) == 0) { in ALSA_OpenDevice() 822 if ((defaultdev == -1) && (SDL_strcmp(name, "default") == 0)) { in ALSA_HotplugThread() 858 const SDL_bool isoutput = (ioid == NULL) || (SDL_strcmp(ioid, "Output") == 0); in ALSA_HotplugThread() 859 const SDL_bool isinput = (ioid == NULL) || (SDL_strcmp(ioid, "Input") == 0); in ALSA_HotplugThread() 873 …if ( (SDL_strcmp(dev->name, name) == 0) && (((isinput) && dev->iscapture) || ((isoutput) && !dev->… in ALSA_HotplugThread()
|