Home
last modified time | relevance | path

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

/external/lz4/programs/
Ddatagen.c61 static unsigned int RDG_rand(U32* src) in RDG_rand() function
94 U32 id = RDG_rand(seed) & LTMASK; in RDG_genChar()
100 #define RDG_RAND15BITS ((RDG_rand(seed) >> 3) & 32767)
101 #define RDG_RANDLENGTH ( ((RDG_rand(seed) >> 7) & 7) ? (RDG_rand(seed) & 15) : (RDG_rand(seed) & 5…
111 size_t size0 = RDG_rand(seed) & 3; in RDG_genBlock()
113 size0 += RDG_rand(seed) & (size0-1); /* because size0 is power of 2*/ in RDG_genBlock()