Home
last modified time | relevance | path

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

/external/lz4/programs/
Ddatagen.c62 U32 rand32 = *src; in RDG_rand() local
63 rand32 *= PRIME1; in RDG_rand()
64 rand32 ^= PRIME2; in RDG_rand()
65 rand32 = RDG_rotl32(rand32, 13); in RDG_rand()
66 *src = rand32; in RDG_rand()
67 return rand32; in RDG_rand()
/external/lz4/tests/
Dframetest.c113 U32 rand32 = *src; in FUZ_rand() local
114 rand32 *= prime1; in FUZ_rand()
115 rand32 += prime2; in FUZ_rand()
116 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand()
117 *src = rand32; in FUZ_rand()
118 return rand32 >> 5; in FUZ_rand()
Dfuzzer.c111 U32 rand32 = *src; in FUZ_rand() local
112 rand32 *= PRIME1; in FUZ_rand()
113 rand32 ^= PRIME2; in FUZ_rand()
114 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand()
115 *src = rand32; in FUZ_rand()
116 return rand32; in FUZ_rand()
/external/netperf/src/
Dnetlib.c714 rand32(){ in rand32() function
741 addr = (addr & ~mask) | (rand32() & mask); in random_ip_address()
767 addr[i] = (addr[i] & ~mask) | (rand32() & mask); in random_ip_address()