Home
last modified time | relevance | path

Searched refs:SDLTest_RandomInt (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_fuzzer.c83 return (Uint8) SDLTest_RandomInt(&rndContext) & 0x000000FF; in SDLTest_RandomUint8()
91 return (Sint8) SDLTest_RandomInt(&rndContext) & 0x000000FF; in SDLTest_RandomSint8()
99 return (Uint16) SDLTest_RandomInt(&rndContext) & 0x0000FFFF; in SDLTest_RandomUint16()
107 return (Sint16) SDLTest_RandomInt(&rndContext) & 0x0000FFFF; in SDLTest_RandomSint16()
115 return (Sint32) SDLTest_RandomInt(&rndContext); in SDLTest_RandomSint32()
123 return (Uint32) SDLTest_RandomInt(&rndContext); in SDLTest_RandomUint32()
476 r += (double)SDLTest_RandomInt(&rndContext) * s; in SDLTest_RandomDouble()
/AliOS-Things-master/components/SDL2/include/
A DSDL_test_random.h54 #define SDLTest_RandomInt(c) ((int)SDLTest_Random(c)) macro
/AliOS-Things-master/components/SDL2/test/
A Dtestqsort.c97 nums[i] = SDLTest_RandomInt(&rndctx); in main()

Completed in 6 milliseconds