/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_rect.c | 57 int xLeft = -SDLTest_RandomIntegerInRange(1, refRect.w); in rect_testIntersectRectAndLine() 58 int xRight = refRect.w + SDLTest_RandomIntegerInRange(1, refRect.w); in rect_testIntersectRectAndLine() 59 int yTop = -SDLTest_RandomIntegerInRange(1, refRect.h); in rect_testIntersectRectAndLine() 60 int yBottom = refRect.h + SDLTest_RandomIntegerInRange(1, refRect.h); in rect_testIntersectRectAndLine() 132 int x1Ref = SDLTest_RandomIntegerInRange(xmin + 1, xmax - 1); in rect_testIntersectRectAndLineInside() 133 int y1Ref = SDLTest_RandomIntegerInRange(ymin + 1, ymax - 1); in rect_testIntersectRectAndLineInside() 134 int x2Ref = SDLTest_RandomIntegerInRange(xmin + 1, xmax - 1); in rect_testIntersectRectAndLineInside() 135 int y2Ref = SDLTest_RandomIntegerInRange(ymin + 1, ymax - 1); in rect_testIntersectRectAndLineInside() 195 int xLeft = -SDLTest_RandomIntegerInRange(1, refRect.w); in rect_testIntersectRectAndLineOutside() 196 int xRight = refRect.w + SDLTest_RandomIntegerInRange(1, refRect.w); in rect_testIntersectRectAndLineOutside() [all …]
|
D | testautomation_video.c | 33 x = SDLTest_RandomIntegerInRange(1, 100); in _createVideoSuiteTestWindow() 34 y = SDLTest_RandomIntegerInRange(1, 100); in _createVideoSuiteTestWindow() 35 w = SDLTest_RandomIntegerInRange(320, 1024); in _createVideoSuiteTestWindow() 36 h = SDLTest_RandomIntegerInRange(320, 768); in _createVideoSuiteTestWindow() 132 x = SDLTest_RandomIntegerInRange(1, 100); in video_createWindowVariousPositions() 136 x = SDLTest_RandomIntegerInRange(10000, 11000); in video_createWindowVariousPositions() 140 x = SDLTest_RandomIntegerInRange(-1000, -100); in video_createWindowVariousPositions() 159 y = SDLTest_RandomIntegerInRange(1, 100); in video_createWindowVariousPositions() 163 y = SDLTest_RandomIntegerInRange(10000, 11000); in video_createWindowVariousPositions() 167 y = SDLTest_RandomIntegerInRange(-1000, -100); in video_createWindowVariousPositions() [all …]
|
D | testautomation_keyboard.c | 272 keycode = (SDL_Keycode)SDLTest_RandomIntegerInRange(-255, -1); in keyboard_getKeyNameNegative() 319 newState = SDLTest_RandomIntegerInRange(0, allStates); in keyboard_getSetModState() 404 refRect.x = SDLTest_RandomIntegerInRange(1, 50); in keyboard_setTextInputRect() 405 refRect.y = SDLTest_RandomIntegerInRange(1, 50); in keyboard_setTextInputRect() 406 refRect.w = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() 407 refRect.h = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() 413 refRect.w = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() 414 refRect.h = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() 418 refRect.x = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() 419 refRect.y = SDLTest_RandomIntegerInRange(10, 50); in keyboard_setTextInputRect() [all …]
|
D | testautomation_mouse.c | 460 x = SDLTest_RandomIntegerInRange(1, w-1); in mouse_warpMouseInWindow() 461 y = SDLTest_RandomIntegerInRange(1, h-1); in mouse_warpMouseInWindow() 512 x = SDLTest_RandomIntegerInRange(1, w-1); in mouse_getMouseFocus() 513 y = SDLTest_RandomIntegerInRange(1, h-1); in mouse_getMouseFocus() 528 x = SDLTest_RandomIntegerInRange(-9, -1); in mouse_getMouseFocus() 529 y = SDLTest_RandomIntegerInRange(-9, -1); in mouse_getMouseFocus()
|
D | testautomation_audio.c | 312 pause_on = (k==0) ? 1 : SDLTest_RandomIntegerInRange(99, 9999); in audio_pauseUnpauseAudio() 363 tt = t + SDLTest_RandomIntegerInRange(1,10); in audio_enumerateAndNameAudioDevices() 380 tt = t + SDLTest_RandomIntegerInRange(1,10); in audio_enumerateAndNameAudioDevices() 419 i = SDLTest_RandomIntegerInRange(-10,-1); in audio_enumerateAndNameAudioDevicesNegativeTests() 551 ii = SDLTest_RandomIntegerInRange(0, _numAudioFormats - 1); in audio_buildAudioCVT() 552 jj = SDLTest_RandomIntegerInRange(0, _numAudioChannels - 1); in audio_buildAudioCVT() 553 kk = SDLTest_RandomIntegerInRange(0, _numAudioFrequencies - 1); in audio_buildAudioCVT() 851 ii = SDLTest_RandomIntegerInRange(0, _numAudioFormats - 1); in audio_convertAudio() 856 jj = SDLTest_RandomIntegerInRange(0, _numAudioChannels - 1); in audio_convertAudio() 861 kk = SDLTest_RandomIntegerInRange(0, _numAudioFrequencies - 1); in audio_convertAudio()
|
D | testsprite2.c | 365 positions[i].x = SDLTest_RandomIntegerInRange(0, state->window_w - sprite_w); in main() 366 positions[i].y = SDLTest_RandomIntegerInRange(0, state->window_h - sprite_h); in main() 372 velocities[i].x = SDLTest_RandomIntegerInRange(-MAX_SPEED, MAX_SPEED); in main() 373 velocities[i].y = SDLTest_RandomIntegerInRange(-MAX_SPEED, MAX_SPEED); in main()
|
D | testautomation_timer.c | 85 SDL_Delay(SDLTest_RandomIntegerInRange(5, 15)); in timer_delayAndGetTicks() 152 param = SDLTest_RandomIntegerInRange(-1024, 1024); in timer_addRemoveTimer()
|
D | testautomation_sdltest.c | 1056 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1063 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1070 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1077 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1084 result = SDLTest_RandomIntegerInRange(max, min); in sdltest_randomIntegerInRange() 1091 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1098 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange() 1105 result = SDLTest_RandomIntegerInRange(min, max); in sdltest_randomIntegerInRange()
|
D | testautomation_events.c | 146 _userdataValue = SDLTest_RandomIntegerInRange(-1024, 1024); in events_addDelEventWatchWithUserdata()
|
D | testautomation_pixels.c | 340 ncolors = SDLTest_RandomIntegerInRange(8, 16); in pixels_allocFreePalette() 453 i = SDLTest_RandomIntegerInRange(64,192); in pixels_calcGammaRamp()
|
D | testautomation_stdlib.c | 142 name[counter] = (char)SDLTest_RandomIntegerInRange(65, 90); in stdlib_getsetenv()
|
D | testautomation_rwops.c | 100 int seekPos = SDLTest_RandomIntegerInRange(4, 8); in _testGenericRWopsValidations()
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/ |
D | variator_random.c | 66 vars[i].bool_value = SDLTest_RandomIntegerInRange(0, 1) ? SDL_FALSE : in SDLVisualTest_GetNextRandomVariation() 75 vars[i].enumerated.index = SDLTest_RandomIntegerInRange(0, emx - 1); in SDLVisualTest_GetNextRandomVariation() 80 vars[i].integer.value = SDLTest_RandomIntegerInRange( in SDLVisualTest_GetNextRandomVariation()
|
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_test_fuzzer.h | 329 Sint32 SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max);
|
/third_party/flutter/skia/third_party/externals/sdl/src/test/ |
D | SDL_test_fuzzer.c | 156 SDLTest_RandomIntegerInRange(Sint32 pMin, Sint32 pMax) in SDLTest_RandomIntegerInRange() function 517 string[counter] = (char)SDLTest_RandomIntegerInRange(32, 126); in SDLTest_RandomAsciiStringOfSize()
|