Home
last modified time | relevance | path

Searched refs:SDL_strcmp (Results 1 – 25 of 41) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_stdlib.c27 …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()
86 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf()
92 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf()
98 …SDLTest_AssertCheck(SDL_strcmp(text, expected) == 0, "Check text, expected: %s, got: %s", expected… in stdlib_snprintf()
[all …]
Dtestautomation_video.c554 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()
1571 …SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not … in video_getSetWindowData()
1577 …SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, result) == 0, "Validate that correct result was … in video_getSetWindowData()
1578 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData()
1585 …SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, result) == 0, "Validate that correct result was … in video_getSetWindowData()
1586 …SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, exp… in video_getSetWindowData()
[all …]
Dtestautomation_pixels.c205 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in pixels_allocFreeFormat()
219 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in pixels_allocFreeFormat()
250 SDLTest_AssertCheck(SDL_strcmp(result, unknownFormat) == 0, in pixels_getPixelFormatName()
265 SDLTest_AssertCheck(SDL_strcmp(result, _RGBPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName()
281 SDLTest_AssertCheck(SDL_strcmp(result, _nonRGBPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName()
299 SDLTest_AssertCheck(SDL_strcmp(result, _invalidPixelFormatsVerbose[i]) == 0, in pixels_getPixelFormatName()
379 SDLTest_AssertCheck(SDL_strcmp(error, expectedError1) == 0, in pixels_allocFreePalette()
393 SDLTest_AssertCheck(SDL_strcmp(error, expectedError2) == 0, in pixels_allocFreePalette()
479 SDLTest_AssertCheck(SDL_strcmp(error, expectedError1) == 0, in pixels_calcGammaRamp()
492 SDLTest_AssertCheck(SDL_strcmp(error, expectedError2) == 0, in pixels_calcGammaRamp()
Dtestautomation_keyboard.c119 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()
276 …SDLTest_AssertCheck(SDL_strcmp(result, expected) == 0, "Verify result from call is valid, expected… in keyboard_getKeyNameNegative()
[all …]
Dtestautomation_clipboard.c67 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()
Dtestautomation_hints.c88 (result1 == NULL && result2 == NULL) || (SDL_strcmp(result1, result2) == 0), in hints_getHint()
128 (SDL_strcmp(value, testValue) == 0), in hints_setHint()
Dtestautomation_sdltest.c248 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint8()
358 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint16()
468 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint32()
578 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint64()
688 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint8()
798 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint16()
915 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint32()
1025 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberSint64()
1187 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomAsciiStringWithMaximumLength()
1241 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomAsciiStringOfSize()
Dtestautomation_platform.c314 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()
Dtestplatform.c191 if (argv[1] && (SDL_strcmp(argv[1], "-q") == 0)) { in main()
Dtestnative.c146 if (SDL_strcmp(driver, factories[i]->tag) == 0) { in main()
/third_party/flutter/skia/third_party/externals/sdl/src/
DSDL_assert.c176 if (SDL_strcmp(envr, "abort") == 0) { in SDL_PromptAssertion()
178 } else if (SDL_strcmp(envr, "break") == 0) { in SDL_PromptAssertion()
180 } else if (SDL_strcmp(envr, "retry") == 0) { in SDL_PromptAssertion()
182 } else if (SDL_strcmp(envr, "ignore") == 0) { in SDL_PromptAssertion()
184 } else if (SDL_strcmp(envr, "always_ignore") == 0) { in SDL_PromptAssertion()
231 if (SDL_strcmp(buf, "a") == 0) { in SDL_PromptAssertion()
234 } else if (SDL_strcmp(buf, "b") == 0) { in SDL_PromptAssertion()
237 } else if (SDL_strcmp(buf, "r") == 0) { in SDL_PromptAssertion()
240 } else if (SDL_strcmp(buf, "i") == 0) { in SDL_PromptAssertion()
243 } else if (SDL_strcmp(buf, "A") == 0) { in SDL_PromptAssertion()
DSDL_hints.c64 if (SDL_strcmp(name, hint->name) == 0) { in SDL_SetHintWithPriority()
68 if (!hint->value || !value || SDL_strcmp(hint->value, value) != 0) { in SDL_SetHintWithPriority()
111 if (SDL_strcmp(name, hint->name) == 0) { in SDL_GetHint()
161 if (SDL_strcmp(name, hint->name) == 0) { in SDL_AddHintCallback()
197 if (SDL_strcmp(name, hint->name) == 0) { in SDL_DelHintCallback()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_udev.c402 if (SDL_strcmp(subsystem, "sound") == 0) { in device_event()
404 } else if (SDL_strcmp(subsystem, "input") == 0) { in device_event()
408 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event()
413 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event()
418 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event()
429 if (val != NULL && SDL_strcmp(val, "1") == 0 ) { in device_event()
437 if (SDL_strcmp(val, "joystick") == 0) { in device_event()
439 } else if (SDL_strcmp(val, "mouse") == 0) { in device_event()
441 } else if (SDL_strcmp(val, "kbd") == 0) { in device_event()
478 if (SDL_strcmp(action, "add") == 0) { in SDL_UDEV_Poll()
[all …]
DSDL_ime.c59 ((im_module && SDL_strcmp(im_module, "fcitx") == 0) || in InitIME()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dsut_configparser.c102 if(SDL_strcmp(token_ptr, "string") == 0) in SDLVisualTest_ParseSUTConfig()
104 else if(SDL_strcmp(token_ptr, "integer") == 0) in SDLVisualTest_ParseSUTConfig()
106 else if(SDL_strcmp(token_ptr, "enum") == 0) in SDLVisualTest_ParseSUTConfig()
108 else if(SDL_strcmp(token_ptr, "boolean") == 0) in SDLVisualTest_ParseSUTConfig()
168 if(SDL_strcmp(token_ptr, "true") == 0) in SDLVisualTest_ParseSUTConfig()
170 else if(SDL_strcmp(token_ptr, "false") == 0) in SDLVisualTest_ParseSUTConfig()
/third_party/flutter/skia/third_party/externals/sdl/src/power/linux/
DSDL_syspower.c454 if ((SDL_strcmp(name, ".") == 0) || (SDL_strcmp(name, "..") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
458 } else if (SDL_strcmp(str, "Battery\n") != 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
463 … if (read_power_file(base, name, "present", str, sizeof (str)) && (SDL_strcmp(str, "0\n") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
467 } else if (SDL_strcmp(str, "Charging\n") == 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
469 } else if (SDL_strcmp(str, "Discharging\n") == 0) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
471 } else if ((SDL_strcmp(str, "Full\n") == 0) || (SDL_strcmp(str, "Not charging\n") == 0)) { in SDL_GetPowerInfo_Linux_sys_class_power_supply()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_getenv.c262 if (value && (SDL_strcmp(value, "VALUE1") == 0)) { in main()
277 if (value && (SDL_strcmp(value, "VALUE2") == 0)) { in main()
292 if (value && (SDL_strcmp(value, "NOVALUE") == 0)) { in main()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_harness.c457 if (testSuite->name != NULL && SDL_strcmp(filter, testSuite->name) == 0) { in SDLTest_RunSuites()
471 if (testCase->name != NULL && SDL_strcmp(filter, testCase->name) == 0) { in SDLTest_RunSuites()
500 SDL_strcmp(suiteFilterName, testSuite->name) != 0) { in SDLTest_RunSuites()
530 SDL_strcmp(testFilterName, testCase->name) != 0) { in SDLTest_RunSuites()
/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
DSDL_nullvideo.c63 if ((envr) && (SDL_strcmp(envr, DUMMYVID_DRIVER_NAME) == 0)) { in DUMMY_Available()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/alsa/
DSDL_alsa_audio.c807 if ((defaultdev == -1) && (SDL_strcmp(name, "default") == 0)) { in ALSA_HotplugThread()
843 const SDL_bool isoutput = (ioid == NULL) || (SDL_strcmp(ioid, "Output") == 0); in ALSA_HotplugThread()
844 const SDL_bool isinput = (ioid == NULL) || (SDL_strcmp(ioid, "Input") == 0); in ALSA_HotplugThread()
858 …if ( (SDL_strcmp(dev->name, name) == 0) && (((isinput) && dev->iscapture) || ((isoutput) && !dev->… in ALSA_HotplugThread()
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidtouch.c63 separate_mouse_and_touch = (newValue && (SDL_strcmp(newValue, "1") == 0)); in SeparateEventsHintWatcher()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsvideo.c299 if (SDL_strcmp(id.DeviceName, displayName) == 0) { in SDL_Direct3D9GetAdapterIndex()
399 if (SDL_strcmp(outputName, displayName) == 0) { in SDL_DXGIGetOutputInfo()
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/
DSDL_syshaptic.c319 if (SDL_strcmp(path, item->fname) == 0) { in MaybeRemoveDevice()
524 if (SDL_strcmp(joystick->hwdata->fname, haptic->hwdata->fname) == 0) { in SDL_SYS_JoystickSameHaptic()
544 if (SDL_strcmp(item->fname, joystick->hwdata->fname) == 0) { in SDL_SYS_HapticOpenFromJoystick()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_stdinc.h428 extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2);
508 #define SDL_strcmp strcmp macro
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_bmp.c234 if (SDL_strcmp(SDL_GetError(), "") != 0) { in SDL_LoadBMP_RW()
696 return ((SDL_strcmp(SDL_GetError(), "") == 0) ? 0 : -1); in SDL_SaveBMP_RW()

12