Lines Matching refs:U32
50 static void FUZ_writeLE32 (void* dstVoidPtr, U32 value32) in FUZ_writeLE32()
69 static const U32 nbTestsDefault = 256 KB;
72 static const U32 prime1 = 2654435761U;
73 static const U32 prime2 = 2246822519U;
93 static U32 no_prompt = 0;
94 static U32 displayLevel = 2;
95 static U32 use_pause = 0;
113 U32 rand32 = *src; in FUZ_rand()
124 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer()
128 U32 P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
155 static unsigned FUZ_highbit(U32 v32) in FUZ_highbit()
167 int basicTests(U32 seed, double compressibility) in basicTests()
174 U32 randState = seed; in basicTests()
193 DISPLAYLEVEL(3, " %u \n", (U32)cBound); in basicTests()
224 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
240 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedBufferSize); in basicTests()
250 DISPLAYLEVEL(3, "Missing last %u bytes : ", (U32)missingBytes); in basicTests()
254 … DISPLAY("%u bytes missing != %u bytes requested \n", (U32)missingBytes, (U32)decResult); in basicTests()
343 unsigned const maxBits = FUZ_highbit((U32)decodedBufferSize); in basicTests()
367 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedSize); in basicTests()
398 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity) in basicTests()
401 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
407 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity) in basicTests()
410 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests()
465 unsigned maxBits = FUZ_highbit((U32)decodedBufferSize); in basicTests()
476 FUZ_writeLE32(ip+4, (U32)cSize); in basicTests()
559 int fuzzerTests(U32 seed, unsigned nbTests, unsigned startTest, double compressibility, U32 duratio… in fuzzerTests()
568 U32 coreRand = seed; in fuzzerTests()
595 U32 randState = coreRand ^ prime1; in fuzzerTests()
596 … unsigned const srcBits = (FUZ_rand(&randState) % (FUZ_highbit((U32)(srcDataLength-1)) - 1)) + 1; in fuzzerTests()
622 FUZ_writeLE32(op+4, (U32)srcSize); in fuzzerTests()
632 unsigned const maxBits = FUZ_highbit((U32)srcSize); in fuzzerTests()
662 DISPLAYLEVEL(5, "\nCompressed %u bytes into %u \n", (U32)srcSize, (U32)cSize); in fuzzerTests()
670 unsigned const suggestedBits = FUZ_highbit((U32)cSize); in fuzzerTests()
690 XXH64_update(&xxh64, op, (U32)oSize); in fuzzerTests()
746 U32 seed=0; in main()
753 U32 duration=0; in main()
867 U32 const h = XXH32(&t, sizeof(t), 1); in main()