Home
last modified time | relevance | path

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

/external/lz4/programs/
Ddatagen.c99 U32 rand32 = *src; in CDG_rand() local
100 rand32 *= PRIME1; in CDG_rand()
101 rand32 += PRIME2; in CDG_rand()
102 rand32 = CDG_rotl32(rand32, 13); in CDG_rand()
103 *src = rand32; in CDG_rand()
104 return rand32; in CDG_rand()
Dframetest.c137 U32 rand32 = *src; in FUZ_rand() local
138 rand32 *= prime1; in FUZ_rand()
139 rand32 += prime2; in FUZ_rand()
140 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand()
141 *src = rand32; in FUZ_rand()
142 return rand32 >> 5; in FUZ_rand()
Dfuzzer.c128 U32 rand32 = *src; in FUZ_rand() local
129 rand32 *= PRIME1; in FUZ_rand()
130 rand32 += PRIME2; in FUZ_rand()
131 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand()
132 *src = rand32; in FUZ_rand()
133 return rand32 >> 3; 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()