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;
130 Uint32 *vp = (
void *)&value;
144 Uint32 *vp = (
void *)&value;
168 }
else if(pMin == pMax) {
175 return (
Sint32)((number % ((max + 1) - min)) + min);
210 if (boundary1 > boundary2) {
230 }
while (index < delta);
234 tempBuf[
index] = b1 + 1;
236 tempBuf[
index] = b2 - 1;
244 tempBuf[
index] = b1 - 1;
249 tempBuf[
index] = b2 + 1;
268 const Uint64 maxValue = UCHAR_MAX;
278 const Uint64 maxValue = USHRT_MAX;
288 #if ((ULONG_MAX) == (UINT_MAX)) 289 const Uint64 maxValue = ULONG_MAX;
291 const Uint64 maxValue = UINT_MAX;
342 if (boundary1 > boundary2) {
362 }
while (index < delta);
366 tempBuf[
index] = b1 + 1;
368 tempBuf[
index] = b2 - 1;
376 tempBuf[
index] = b1 - 1;
381 tempBuf[
index] = b2 + 1;
400 const Sint64 maxValue = SCHAR_MAX;
401 const Sint64 minValue = SCHAR_MIN;
411 const Sint64 maxValue = SHRT_MAX;
412 const Sint64 minValue = SHRT_MIN;
422 #if ((ULONG_MAX) == (UINT_MAX)) 423 const Sint64 maxValue = LONG_MAX;
424 const Sint64 minValue = LONG_MIN;
426 const Sint64 maxValue = INT_MAX;
427 const Sint64 minValue = INT_MIN;
438 const Sint64 maxValue = INT64_MAX;
439 const Sint64 minValue = INT64_MIN;
441 boundary1, boundary2,
471 }
while (s > DBL_EPSILON);
512 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)