32 #if defined(_MSC_VER) && _MSC_VER <= 1500 33 #define UINT8_MAX _UI8_MAX 34 #define UINT16_MAX _UI16_MAX 35 #define UINT32_MAX _UI32_MAX 36 #define INT64_MIN _I64_MIN 37 #define INT64_MAX _I64_MAX 38 #define UINT64_MAX _UI64_MAX 65 Uint32 a = (execKey >> 32) & 0x00000000FFFFFFFF;
66 Uint32 b = execKey & 0x00000000FFFFFFFF;
174 }
else if(pMin == pMax) {
181 return (
Sint32)((number % ((max + 1) - min)) + min);
216 if (boundary1 > boundary2) {
236 }
while (index < delta);
240 tempBuf[
index] = b1 + 1;
242 tempBuf[
index] = b2 - 1;
250 tempBuf[
index] = b1 - 1;
255 tempBuf[
index] = b2 + 1;
274 const Uint64 maxValue = UCHAR_MAX;
284 const Uint64 maxValue = USHRT_MAX;
294 #if ((ULONG_MAX) == (UINT_MAX)) 295 const Uint64 maxValue = ULONG_MAX;
297 const Uint64 maxValue = UINT_MAX;
348 if (boundary1 > boundary2) {
368 }
while (index < delta);
372 tempBuf[
index] = b1 + 1;
374 tempBuf[
index] = b2 - 1;
382 tempBuf[
index] = b1 - 1;
387 tempBuf[
index] = b2 + 1;
406 const Sint64 maxValue = SCHAR_MAX;
407 const Sint64 minValue = SCHAR_MIN;
417 const Sint64 maxValue = SHRT_MAX;
418 const Sint64 minValue = SHRT_MIN;
428 #if ((ULONG_MAX) == (UINT_MAX)) 429 const Sint64 maxValue = LONG_MAX;
430 const Sint64 minValue = LONG_MIN;
432 const Sint64 maxValue = INT_MAX;
433 const Sint64 minValue = INT_MIN;
444 const Sint64 maxValue = INT64_MAX;
445 const Sint64 minValue = INT64_MIN;
447 boundary1, boundary2,
477 }
while (s > DBL_EPSILON);
518 string = (
char *)
SDL_malloc((size + 1) *
sizeof(char));
Sint8 SDLTest_RandomSint8()
GLdouble GLdouble GLdouble r
Uint32 SDLTest_RandomUint32()
Uint16 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain)
GLsizei const GLchar *const * string
Uint8 SDLTest_RandomUint8BoundaryValue(Uint8 boundary1, Uint8 boundary2, SDL_bool validDomain)
double SDLTest_RandomDouble()
Uint8 SDLTest_RandomUint8()
char * SDLTest_RandomAsciiStringOfSize(int size)
Uint64 SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain)
#define SDL_InvalidParamError(param)
Sint32 SDLTest_RandomIntegerInRange(Sint32 pMin, Sint32 pMax)
void SDLTest_RandomInit(SDLTest_RandomContext *rndContext, unsigned int xi, unsigned int ci)
Initialize random number generator with two integers.
float SDLTest_RandomFloat()
static Sint64 SDLTest_GenerateSignedBoundaryValues(const Sint64 minValue, const Sint64 maxValue, Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain)
Sint8 SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain)
Uint64 SDLTest_RandomUint64()
GLsizei const GLfloat * value
Sint32 SDLTest_RandomSint32()
char * SDLTest_RandomAsciiString()
float SDLTest_RandomUnitFloat()
Sint16 SDLTest_RandomSint16()
void SDLTest_FuzzerInit(Uint64 execKey)
static SDLTest_RandomContext rndContext
double SDLTest_RandomUnitDouble()
static int fuzzerInvocationCounter
Sint32 SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 boundary2, SDL_bool validDomain)
Sint16 SDLTest_RandomSint16BoundaryValue(Sint16 boundary1, Sint16 boundary2, SDL_bool validDomain)
#define SDLTest_RandomInt(c)
static Uint64 SDLTest_GenerateUnsignedBoundaryValues(const Uint64 maxValue, Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain)
Uint16 SDLTest_RandomUint16()
char * SDLTest_RandomAsciiStringWithMaximumLength(int maxLength)
Sint64 SDLTest_RandomSint64()
GLboolean GLboolean GLboolean GLboolean a
int SDLTest_GetFuzzerInvocationCount()
GLboolean GLboolean GLboolean b
#define SDL_Unsupported()
Uint32 SDLTest_RandomUint32BoundaryValue(Uint32 boundary1, Uint32 boundary2, SDL_bool validDomain)
Sint64 SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain)