Lines Matching refs:U32

57 typedef uint32_t U32;
63 typedef unsigned int U32;
96 static const U32 g_refreshRate = 250;
97 static U32 g_time = 0;
103 static U32 FUZ_GetMilliStart(void)
106 U32 nCount;
108 nCount = (U32) (((tb.time & 0xFFFFF) * 1000) + tb.millitm);
112 static U32 FUZ_GetMilliSpan(U32 nTimeStart)
114 U32 nCurrent = FUZ_GetMilliStart();
115 U32 nSpan = nCurrent - nTimeStart;
121 static U32 FUZ_rotl32(U32 u32, U32 nbBits)
126 static U32 FUZ_rand(U32* src)
128 U32 rand32 = *src;
139 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* seed)
143 U32 P32 = (U32)(32768 * proba);
205 //printf("%08X ", (U32)(size_t)(buffers[nbBuff]));
276 static int FUZ_test(U32 seed, const U32 nbCycles, const U32 startCycle, const double compressibility)
296 U32 crcOrig, crcCheck;
297 U32 coreRandState = seed;
298 U32 randState = coreRandState ^ PRIME3;
340 U32 testNb = 0;
603 U32 missingBytes = (FUZ_rand(&randState) & 0xF) + 2;
604 if ((U32)blockSize > missingBytes)
693 U32 randState = 1;
730 const U32 maxMessageSizeLog = 10;
731 const U32 maxMessageSizeMask = (1<<maxMessageSizeLog) - 1;
732 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
733 U32 iNext = 0;
734 U32 rNext = 0;
735 U32 dNext = 0;
736 const U32 dBufferSize = ringBufferSize + maxMessageSizeMask;
872 DISPLAY("Bad decompression at %u / %u \n", (U32)c, (U32)segSize);
893 const U32 maxMessageSizeLog = 10;
894 const U32 maxMessageSizeMask = (1<<maxMessageSizeLog) - 1;
895 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
896 U32 iNext = 0;
897 U32 rNext = 0;
898 U32 dNext = 0;
899 const U32 dBufferSize = ringBufferSize + maxMessageSizeMask;
937 const U32 maxMessageSizeLog = 10;
938 const U32 maxMessageSizeMask = (1<<maxMessageSizeLog) - 1;
939 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
940 U32 totalMessageSize = 0;
941 U32 iNext = 0;
942 U32 dNext = 0;
943 const U32 dBufferSize = 64 KB + maxMessageSizeMask;
983 U32 segNb = 1;
985 DISPLAY("Long HC streaming test (%u MB)\n", (U32)(totalTestSize >> 20));
996 FUZ_displayUpdate((U32)(totalTestDone >> 20));
1016 DISPLAY("Bad decompression at %u / %u \n", (U32)c, (U32)testSize);
1057 U32 seed=0;