Home
last modified time | relevance | path

Searched refs:SDLTest_RandomIntegerInRange (Results 1 – 15 of 15) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_rect.c57 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 …]
Dtestautomation_video.c33 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 …]
Dtestautomation_keyboard.c272 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 …]
Dtestautomation_mouse.c460 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()
Dtestautomation_audio.c312 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()
Dtestsprite2.c365 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()
Dtestautomation_timer.c85 SDL_Delay(SDLTest_RandomIntegerInRange(5, 15)); in timer_delayAndGetTicks()
152 param = SDLTest_RandomIntegerInRange(-1024, 1024); in timer_addRemoveTimer()
Dtestautomation_sdltest.c1056 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()
Dtestautomation_events.c146 _userdataValue = SDLTest_RandomIntegerInRange(-1024, 1024); in events_addDelEventWatchWithUserdata()
Dtestautomation_pixels.c340 ncolors = SDLTest_RandomIntegerInRange(8, 16); in pixels_allocFreePalette()
453 i = SDLTest_RandomIntegerInRange(64,192); in pixels_calcGammaRamp()
Dtestautomation_stdlib.c142 name[counter] = (char)SDLTest_RandomIntegerInRange(65, 90); in stdlib_getsetenv()
Dtestautomation_rwops.c100 int seekPos = SDLTest_RandomIntegerInRange(4, 8); in _testGenericRWopsValidations()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dvariator_random.c66 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/
DSDL_test_fuzzer.h329 Sint32 SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max);
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_fuzzer.c156 SDLTest_RandomIntegerInRange(Sint32 pMin, Sint32 pMax) in SDLTest_RandomIntegerInRange() function
517 string[counter] = (char)SDLTest_RandomIntegerInRange(32, 126); in SDLTest_RandomAsciiStringOfSize()