Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dtarith.c613 int randbits = 0; in validation_muldiv() local
626 while (randbuffer != 0) ++randbits, randbuffer >>= 1; in validation_muldiv()
627 printf("Using random number generator that makes %d bits\n", randbits); in validation_muldiv()
628 for (div=0; div<32; div += randbits) in validation_muldiv()
629 randbuffer = (randbuffer << randbits) ^ rand(); in validation_muldiv()
720 randbuffer = (randbuffer << randbits) ^ rand(); in validation_muldiv()
/external/libevent/
Devdns.c2730 char randbits[(sizeof(namebuf)+7)/8]; in request_new() local
2732 evutil_secure_rng_get_bytes(randbits, (name_len+7)/8); in request_new()
2735 if ((randbits[i >> 3] & (1<<(i & 7)))) in request_new()